Reference documentation and code samples for the Google Cloud Observability V1 Client class UpdateScopeRequest.
Message for updating a Scope.
Generated from protobuf message google.cloud.observability.v1.UpdateScopeRequest
Namespace
Google \ Cloud \ Observability \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten. |
↳ scope |
Scope
Required. The resource being updated. |
getUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScope
Required. The resource being updated.
| Returns | |
|---|---|
| Type | Description |
Scope|null |
|
hasScope
clearScope
setScope
Required. The resource being updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Scope
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
scope |
Scope
Required. The resource being updated. |
updateMask |
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdateScopeRequest |
|