Google Cloud Gke Hub V1 Client - Class UpdateScopeNamespaceRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class UpdateScopeNamespaceRequest.

Request to update a fleet namespace.

Generated from protobuf message google.cloud.gkehub.v1.UpdateScopeNamespaceRequest

Namespace

Google \ Cloud \ GkeHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scope_namespace PBNamespace

Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update. Given 'updated' prefix to follow go/proto-best-practices-checkers#keyword_conflict

↳ update_mask Google\Protobuf\FieldMask

Required. The fields to be updated.

getScopeNamespace

Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update. Given 'updated' prefix to follow go/proto-best-practices-checkers#keyword_conflict

Returns
Type Description
PBNamespace|null

hasScopeNamespace

clearScopeNamespace

setScopeNamespace

Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update. Given 'updated' prefix to follow go/proto-best-practices-checkers#keyword_conflict

Parameter
Name Description
var PBNamespace
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
scopeNamespace PBNamespace

Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update. Given 'updated' prefix to follow go/proto-best-practices-checkers#keyword_conflict

updateMask Google\Protobuf\FieldMask

Required. The fields to be updated.

Returns
Type Description
UpdateScopeNamespaceRequest