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- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of the trace scope.
#description
def description() -> ::String-
(::String) — Optional. Describes this trace scope.
The maximum length of the description is 8000 characters.
#description=
def description=(value) -> ::String-
value (::String) — Optional. Describes this trace scope.
The maximum length of the description is 8000 characters.
-
(::String) — Optional. Describes this trace scope.
The maximum length of the description is 8000 characters.
#name
def name() -> ::String-
(::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-
value (::String) —
Identifier. The resource name of the trace scope.
For example:
projects/my-project/locations/global/traceScopes/my-trace-scope
-
(::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>-
(::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>-
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.
-
-
(::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- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of the trace scope.