# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::CreateConnectivityTestRequest (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::CreateConnectivityTestRequest.

Request for the `CreateConnectivityTest` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`
**Returns**

- (::String) --- Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`

### #resource

    def resource() -> ::Google::Cloud::NetworkManagement::V1::ConnectivityTest

**Returns**

- ([::Google::Cloud::NetworkManagement::V1::ConnectivityTest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-ConnectivityTest)) --- Required. A `ConnectivityTest` resource

### #resource=

    def resource=(value) -> ::Google::Cloud::NetworkManagement::V1::ConnectivityTest

**Parameter**

- **value** ([::Google::Cloud::NetworkManagement::V1::ConnectivityTest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-ConnectivityTest)) --- Required. A `ConnectivityTest` resource
**Returns**

- ([::Google::Cloud::NetworkManagement::V1::ConnectivityTest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-ConnectivityTest)) --- Required. A `ConnectivityTest` resource

### #test_id

    def test_id() -> ::String

**Returns**

- (::String) --- Required. The logical name of the Connectivity Test in your project
  with the following restrictions:

  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-40 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project

### #test_id=

    def test_id=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Required. The logical name of the Connectivity Test in your project
  with the following restrictions:
  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-40 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project
**Returns**

- (::String) --- Required. The logical name of the Connectivity Test in your project
  with the following restrictions:

  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-40 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project