Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::CreateTraceScopeRequest.
Request for creating a TraceScope.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String-
(::String) —
Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]For example:
projects/my-project/locations/global
#parent=
def parent=(value) -> ::String-
value (::String) —
Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]For example:
projects/my-project/locations/global
-
(::String) —
Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]For example:
projects/my-project/locations/global
#trace_scope
def trace_scope() -> ::Google::Cloud::Observability::V1::TraceScope- (::Google::Cloud::Observability::V1::TraceScope) — Required. The new trace scope.
#trace_scope=
def trace_scope=(value) -> ::Google::Cloud::Observability::V1::TraceScope- value (::Google::Cloud::Observability::V1::TraceScope) — Required. The new trace scope.
- (::Google::Cloud::Observability::V1::TraceScope) — Required. The new trace scope.
#trace_scope_id
def trace_scope_id() -> ::String- (::String) — Required. A client-assigned identifier for the trace scope.
#trace_scope_id=
def trace_scope_id=(value) -> ::String- value (::String) — Required. A client-assigned identifier for the trace scope.
- (::String) — Required. A client-assigned identifier for the trace scope.