Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class UpdateScopeRequest.
Request to update a Scope.
Generated from protobuf message google.cloud.gkehub.v1.UpdateScopeRequest
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ scope |
Scope
Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The fields to be updated. |
getScope
Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.
| Returns | |
|---|---|
| Type | Description |
Scope|null |
|
hasScope
clearScope
setScope
Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Scope
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Required. The fields to be updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The fields to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
scope |
Scope
Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update. |
updateMask |
Google\Protobuf\FieldMask
Required. The fields to be updated. |
| Returns | |
|---|---|
| Type | Description |
UpdateScopeRequest |
|