Interface CreateConnectivityTestRequestOrBuilder (1.54.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, (.google.api.resource_reference) = { ... }

Returns
Type Description
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, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getResource()

public abstract ConnectivityTest getResource()

Required. A ConnectivityTest resource

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

Returns
Type Description
ConnectivityTest

The resource.

getResourceOrBuilder()

public abstract ConnectivityTestOrBuilder getResourceOrBuilder()

Required. A ConnectivityTest resource

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for testId.

hasResource()

public abstract boolean hasResource()

Required. A ConnectivityTest resource

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

Returns
Type Description
boolean

Whether the resource field is set.