Reference documentation and code samples for the Google Cloud Service Directory V1 Client class CreateNamespaceRequest.
The request message for RegistrationService.CreateNamespace .
Generated from protobuf message google.cloud.servicedirectory.v1.CreateNamespaceRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the project and location the namespace will be created in.
↳ namespace_id
string
Required. The Resource ID must be 1-63 characters long, and comply with RFC1035
. Specifically, the name must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
↳ namespace
getParent
Required. The resource name of the project and location the namespace will be created in.
string
setParent
Required. The resource name of the project and location the namespace will be created in.
var
string
$this
getNamespaceId
Required. The Resource ID must be 1-63 characters long, and comply with RFC1035 .
Specifically, the name must be 1-63 characters long and match the regular
expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
string
setNamespaceId
Required. The Resource ID must be 1-63 characters long, and comply with RFC1035 .
Specifically, the name must be 1-63 characters long and match the regular
expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
var
string
$this
getNamespace
Required. A namespace with initial fields set.
hasNamespace
clearNamespace
setNamespace
Required. A namespace with initial fields set.
$this