Google Cloud Service Directory V1 Client - Class UpdateNamespaceRequest (1.1.2)

Reference documentation and code samples for the Google Cloud Service Directory V1 Client class UpdateNamespaceRequest.

The request message for RegistrationService.UpdateNamespace.

Generated from protobuf message google.cloud.servicedirectory.v1.UpdateNamespaceRequest

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ namespace Google\Cloud\ServiceDirectory\V1\PBNamespace

Required. The updated namespace.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields to be updated in this request.

getNamespace

Required. The updated namespace.

Returns
TypeDescription
Google\Cloud\ServiceDirectory\V1\PBNamespace|null

hasNamespace

clearNamespace

setNamespace

Required. The updated namespace.

Parameter
NameDescription
var Google\Cloud\ServiceDirectory\V1\PBNamespace
Returns
TypeDescription
$this

getUpdateMask

Required. List of fields to be updated in this request.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields to be updated in this request.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
namespace Google\Cloud\ServiceDirectory\V1\PBNamespace

Required. The updated namespace.

updateMask Google\Protobuf\FieldMask

Required. List of fields to be updated in this request.

Returns
TypeDescription
Google\Cloud\ServiceDirectory\V1\UpdateNamespaceRequest