Observability V1 API - Class Google::Cloud::Observability::V1::CreateTraceScopeRequest (v0.1.0)

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
Returns
  • (::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
Parameter
  • 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
    
Returns
  • (::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
Returns

#trace_scope=

def trace_scope=(value) -> ::Google::Cloud::Observability::V1::TraceScope
Parameter
Returns

#trace_scope_id

def trace_scope_id() -> ::String
Returns
  • (::String) — Required. A client-assigned identifier for the trace scope.

#trace_scope_id=

def trace_scope_id=(value) -> ::String
Parameter
  • value (::String) — Required. A client-assigned identifier for the trace scope.
Returns
  • (::String) — Required. A client-assigned identifier for the trace scope.