# GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::CreateScopeNamespaceRequest (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::CreateScopeNamespaceRequest.

Request to create a fleet namespace.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

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

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`.
**Returns**

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

### #scope_namespace

    def scope_namespace() -> ::Google::Cloud::GkeHub::V1::Namespace

**Returns**

- ([::Google::Cloud::GkeHub::V1::Namespace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Namespace)) --- Required. The fleet namespace to create.

### #scope_namespace=

    def scope_namespace=(value) -> ::Google::Cloud::GkeHub::V1::Namespace

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1::Namespace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Namespace)) --- Required. The fleet namespace to create.
**Returns**

- ([::Google::Cloud::GkeHub::V1::Namespace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Namespace)) --- Required. The fleet namespace to create.

### #scope_namespace_id

    def scope_namespace_id() -> ::String

**Returns**

- (::String) --- 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.

### #scope_namespace_id=

    def scope_namespace_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.