GKE Hub v1 API - Class CreateScopeNamespaceRequest (2.8.0)

public sealed class CreateScopeNamespaceRequest : IMessage<CreateScopeNamespaceRequest>, IEquatable<CreateScopeNamespaceRequest>, IDeepCloneable<CreateScopeNamespaceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class CreateScopeNamespaceRequest.

Request to create a fleet namespace.

Inheritance

object > CreateScopeNamespaceRequest

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

CreateScopeNamespaceRequest()

public CreateScopeNamespaceRequest()

CreateScopeNamespaceRequest(CreateScopeNamespaceRequest)

public CreateScopeNamespaceRequest(CreateScopeNamespaceRequest other)
Parameter
Name Description
other CreateScopeNamespaceRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent (project and location) where the Namespace will be created. Specified in the format projects/*/locations/*/scopes/*.

Property Value
Type Description
string

ParentAsScopeName

public ScopeName ParentAsScopeName { get; set; }

ScopeName-typed view over the Parent resource name property.

Property Value
Type Description
ScopeName

ScopeNamespace

public Namespace ScopeNamespace { get; set; }

Required. The fleet namespace to create.

Property Value
Type Description
Namespace

ScopeNamespaceId

public string ScopeNamespaceId { get; set; }

Required. Client chosen ID for the Namespace. namespace_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character

Which can be expressed as the regex: [a-z0-9]([-a-z0-9]*[a-z0-9])?, with a maximum length of 63 characters.

Property Value
Type Description
string