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

Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::TraceScope.

A trace scope is a collection of resources whose traces are queried together.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Describes this trace scope.

    The maximum length of the description is 8000 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Describes this trace scope.

    The maximum length of the description is 8000 characters.

Returns
  • (::String) — Optional. Describes this trace scope.

    The maximum length of the description is 8000 characters.

#name

def name() -> ::String
Returns
  • (::String) —

    Identifier. The resource name of the trace scope.

    For example:

    projects/my-project/locations/global/traceScopes/my-trace-scope
    

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    Identifier. The resource name of the trace scope.

    For example:

    projects/my-project/locations/global/traceScopes/my-trace-scope
    
Returns
  • (::String) —

    Identifier. The resource name of the trace scope.

    For example:

    projects/my-project/locations/global/traceScopes/my-trace-scope
    

#resource_names

def resource_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. Names of the projects that are included in this trace scope.

    • projects/[PROJECT_ID]

    A trace scope can include a maximum of 20 projects.

#resource_names=

def resource_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. Names of the projects that are included in this trace scope.

    • projects/[PROJECT_ID]

    A trace scope can include a maximum of 20 projects.

Returns
  • (::Array<::String>) — Required. Names of the projects that are included in this trace scope.

    • projects/[PROJECT_ID]

    A trace scope can include a maximum of 20 projects.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns