Google Cloud Observability V1 Client - Class GetScopeRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Observability V1 Client class GetScopeRequest.

Message for getting a Scope.

Generated from protobuf message google.cloud.observability.v1.GetScopeRequest

Namespace

Google \ Cloud \ Observability \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. 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.

getName

Required. 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
Type Description
string

setName

Required. 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.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. 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. Please see ObservabilityClient::scopeName() for help formatting this field.

Returns
Type Description
GetScopeRequest