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 \ V1Methods
__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 |
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 |
| Returns | |
|---|---|
| Type | Description |
GetScopeRequest |
|