Interface CreateDeploymentRequestOrBuilder (0.5.0)

public interface CreateDeploymentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployment()

public abstract Deployment getDeployment()

Required. The deployment resource to create.

.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Deployment

The deployment.

getDeploymentId()

public abstract String getDeploymentId()

Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub.
  • If not provided, a system generated id will be used.

    This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.

string deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deploymentId.

getDeploymentIdBytes()

public abstract ByteString getDeploymentIdBytes()

Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub.
  • If not provided, a system generated id will be used.

    This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.

string deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deploymentId.

getDeploymentOrBuilder()

public abstract DeploymentOrBuilder getDeploymentOrBuilder()

Required. The deployment resource to create.

.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource for the deployment resource. Format: projects/{project}/locations/{location}

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 for the deployment resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasDeployment()

public abstract boolean hasDeployment()

Required. The deployment resource to create.

.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deployment field is set.