public interface ProvisionDeploymentGroupRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsDeploymentSpecs(String key)
public abstract boolean containsDeploymentSpecs(String key) Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDeploymentSpecs() (deprecated)
public abstract Map<String,DeploymentSpec> getDeploymentSpecs()Use #getDeploymentSpecsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,DeploymentSpec> |
|
getDeploymentSpecsCount()
public abstract int getDeploymentSpecsCount() Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDeploymentSpecsMap()
public abstract Map<String,DeploymentSpec> getDeploymentSpecsMap() Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,DeploymentSpec> |
|
getDeploymentSpecsOrDefault(String key, DeploymentSpec defaultValue)
public abstract DeploymentSpec getDeploymentSpecsOrDefault(String key, DeploymentSpec defaultValue) Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
DeploymentSpec |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec |
|
getDeploymentSpecsOrThrow(String key)
public abstract DeploymentSpec getDeploymentSpecsOrThrow(String key) Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec |
|
getName()
public abstract String getName()Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |