Class CreateNamespaceRequest (0.1.1)

CreateNamespaceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for RegistrationService.CreateNamespace.

Attributes

NameDescription
parent str
Required. The resource name of the project and location the namespace will be created in.
namespace_id str
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 .gcs_namespace.Namespace
Required. A namespace with initial fields set.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.