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

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

Message describing Scope object

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#log_scope

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

    Required. The full resource name of the logging.googleapis.com/LogScope. For example:

    //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
    

#log_scope=

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

    Required. The full resource name of the logging.googleapis.com/LogScope. For example:

    //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
    
Returns
  • (::String) —

    Required. The full resource name of the logging.googleapis.com/LogScope. For example:

    //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
    

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of the resource. The format is:

    projects/\\{project}/locations/\\{location}/scopes/\\{scope}
    

    The {location} field must be set to global. The {scope} field must be set to _Default.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of the resource. The format is:

    projects/\\{project}/locations/\\{location}/scopes/\\{scope}
    

    The {location} field must be set to global. The {scope} field must be set to _Default.

Returns
  • (::String) — Identifier. Name of the resource. The format is:

    projects/\\{project}/locations/\\{location}/scopes/\\{scope}
    

    The {location} field must be set to global. The {scope} field must be set to _Default.

#trace_scope

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

    Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example:

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

#trace_scope=

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

    Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example:

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

    Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example:

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

#update_time

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