Google Cloud Service Directory V1 Client - Class GetNamespaceRequest (2.0.0-RC1)

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

The request message for RegistrationService.GetNamespace.

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

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the namespace to retrieve.

getName

Required. The name of the namespace to retrieve.

Returns
Type Description
string

setName

Required. The name of the namespace to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the namespace to retrieve. Please see Google\Cloud\ServiceDirectory\V1\RegistrationServiceClient::namespaceName() for help formatting this field.

Returns
Type Description
Google\Cloud\ServiceDirectory\V1\GetNamespaceRequest