Interface CreateConnectivityTestRequestOrBuilder (1.30.0)

public interface CreateConnectivityTestRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource of the Connectivity Test to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource of the Connectivity Test to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getResource()

public abstract ConnectivityTest getResource()

Required. A ConnectivityTest resource

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectivityTest

The resource.

getResourceOrBuilder()

public abstract ConnectivityTestOrBuilder getResourceOrBuilder()

Required. A ConnectivityTest resource

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectivityTestOrBuilder

getTestId()

public abstract String getTestId()

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

string test_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The testId.

getTestIdBytes()

public abstract ByteString getTestIdBytes()

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

string test_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for testId.

hasResource()

public abstract boolean hasResource()

Required. A ConnectivityTest resource

.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the resource field is set.