Service Client: Google::Cloud::Config::V1::Config::ConfigClient

Client stub representing the remote Config gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to config.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Config::V1::Config - Compiled Protocol Buffers messages for google/cloud/config/v1/config.proto

SYNOPSIS

use Google::Cloud::Config::V1::Config;

my $msg = Google::Cloud::Config::V1::Config::Deployment->new({
    terraform_blueprint => $terraform_blueprint,
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
});

# Read or update a field
my $val = $msg->terraform_blueprint();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Config::V1::Config::Deployment->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/config/v1/config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Config::V1::Config::Deployment

A Deployment is a group of resources and configs managed and provisioned by Infra Manager.

Inherits from Protobuf::Message.

Accessors

  • $msg->terraform_blueprint() / $msg->terraform_blueprint($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformBlueprint)

    A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the deployment was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the deployment was last modified.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment::LabelsEntry)

    Optional. User-defined metadata for the deployment.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Config::V1::Deployment::State)

    Output only. Current state of the deployment.

  • $msg->latest_revision() / $msg->latest_revision($value)

    Type: String

    Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`

  • $msg->state_detail() / $msg->state_detail($value)

    Type: String

    Output only. Additional information regarding the current state.

  • $msg->error_code() / $msg->error_code($value)

    Type: Enum (Google::Cloud::Config::V1::Deployment::ErrorCode)

    Output only. Error code describing errors that may have occurred.

  • $msg->delete_results() / $msg->delete_results($value)

    Type: Message (Google::Cloud::Config::V1::Config::ApplyResults)

    Output only. Location of artifacts from a DeleteDeployment operation.

  • $msg->delete_build() / $msg->delete_build($value)

    Type: String

    Output only. Cloud Build instance UUID associated with deleting this deployment.

  • $msg->delete_logs() / $msg->delete_logs($value)

    Type: String

    Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.

  • $msg->tf_errors() / $msg->tf_errors($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformError)

    Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.

  • $msg->error_logs() / $msg->error_logs($value)

    Type: String

    Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.

  • $msg->artifacts_gcs_bucket() / $msg->artifacts_gcs_bucket($value)

    Type: String

    User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}`

    A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`

  • $msg->import_existing_resources() / $msg->import_existing_resources($value)

    Type: Bool

    By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

    Not all resource types are supported, refer to documentation.

  • $msg->worker_pool() / $msg->worker_pool($value)

    Type: String

    The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.

  • $msg->lock_state() / $msg->lock_state($value)

    Type: Enum (Google::Cloud::Config::V1::Deployment::LockState)

    Output only. Current lock state of the deployment.

  • $msg->tf_version_constraint() / $msg->tf_version_constraint($value)

    Type: String

    The user-specified Terraform version constraint. Example: "=1.3.10".

  • $msg->tf_version() / $msg->tf_version($value)

    Type: String

    Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

  • $msg->quota_validation() / $msg->quota_validation($value)

    Type: Enum (Google::Cloud::Config::V1::QuotaValidation)

    Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment::AnnotationsEntry)

    Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

  • $msg->provider_config() / $msg->provider_config($value)

    Type: Message (Google::Cloud::Config::V1::Config::ProviderConfig)

    Optional. This field specifies the provider configurations.

Enum: Deployment::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • UPDATING => 3

  • DELETING => 4

  • FAILED => 5

  • SUSPENDED => 6

  • DELETED => 7

Enum: Deployment::ErrorCode

  • ERROR_CODE_UNSPECIFIED => 0

  • REVISION_FAILED => 1

  • CLOUD_BUILD_PERMISSION_DENIED => 3

  • DELETE_BUILD_API_FAILED => 5

  • DELETE_BUILD_RUN_FAILED => 6

  • BUCKET_CREATION_PERMISSION_DENIED => 7

  • BUCKET_CREATION_FAILED => 8

  • EXTERNAL_VALUE_SOURCE_IMPORT_FAILED => 10

Enum: Deployment::LockState

  • LOCK_STATE_UNSPECIFIED => 0

  • LOCKED => 1

  • UNLOCKED => 2

  • LOCKING => 3

  • UNLOCKING => 4

  • LOCK_FAILED => 5

  • UNLOCK_FAILED => 6

Google::Cloud::Config::V1::Config::TerraformBlueprint

TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Config::V1::Config::TerraformVariable

A Terraform input variable.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Config::V1::Config::ExternalValueSource

Configuration for a source of an external value.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Config::V1::Config::DeploymentSource

Configuration for a value sourced from a Deployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment() / $msg->deployment($value)

    Type: String

    Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.

  • $msg->output_name() / $msg->output_name($value)

    Type: String

    Required. The name of the output variable in the source deployment's latest successfully applied revision.

Google::Cloud::Config::V1::Config::ApplyResults

Outputs and artifacts from applying a deployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->content() / $msg->content($value)

    Type: String

    Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`

  • $msg->artifacts() / $msg->artifacts($value)

    Type: String

    Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`

  • $msg->outputs() / $msg->outputs($value)

    Type: Message (Google::Cloud::Config::V1::Config::ApplyResults::OutputsEntry)

    Map of output name to output info.

Google::Cloud::Config::V1::Config::TerraformOutput

Describes a Terraform output.

Inherits from Protobuf::Message.

Accessors

  • $msg->sensitive() / $msg->sensitive($value)

    Type: Bool

    Identifies whether Terraform has set this output as a potential sensitive value.

  • $msg->value() / $msg->value($value)

    Type: Message (Google::Protobuf::Struct::Value)

    Value of output.

Google::Cloud::Config::V1::Config::ListDeploymentsRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/bar

    - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar

    - Filter by state: - Deployments in CREATING state. state=CREATING

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListDeploymentsResponse

Inherits from Protobuf::Message.

Accessors

  • $msg->deployments() / $msg->deployments($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment)

    List of [Deployment][google.cloud.config.v1.Deployment]s.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to be supplied to the next ListDeployments request via `page_token` to obtain the next set of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Config::V1::Config::GetDeploymentRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

Google::Cloud::Config::V1::Config::ListRevisionsRequest

A request to list Revisions passed to a 'ListRevisions' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    When requesting a page of resources, `page_size` specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Token returned by previous call to 'ListRevisions' which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Lists the Revisions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar

    - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar

    - Filter by state: - Revisions in CREATING state. state=CREATING

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListRevisionsResponse

A response to a 'ListRevisions' call. Contains a list of Revisions.

Inherits from Protobuf::Message.

Accessors

  • $msg->revisions() / $msg->revisions($value)

    Type: Message (Google::Cloud::Config::V1::Config::Revision)

    List of [Revision][google.cloud.config.v1.Revision]s.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Config::V1::Config::GetRevisionRequest

A request to get a Revision from a 'GetRevision' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

Google::Cloud::Config::V1::Config::CreateDeploymentRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

  • $msg->deployment_id() / $msg->deployment_id($value)

    Type: String

    Required. The Deployment ID.

  • $msg->deployment() / $msg->deployment($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment)

    Required. [Deployment][google.cloud.config.v1.Deployment] resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::CreateDeploymentGroupRequest

A request to create a deployment group

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'

  • $msg->deployment_group_id() / $msg->deployment_group_id($value)

    Type: String

    Required. The deployment group ID.

  • $msg->deployment_group() / $msg->deployment_group($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup)

    Required. [Deployment Group][] resource to create

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::UpdateDeploymentGroupRequest

A request message for updating a deployment group

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask used to specify the fields to be overwritten in the Deployment Group resource by the update.

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->deployment_group() / $msg->deployment_group($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup)

    Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to update.

    The deployment group's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::DeleteDeploymentGroupRequest

Request message for Delete DeploymentGroup

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any revisions for this deployment group will also be deleted. (Otherwise, the request will only work if the deployment group has no revisions.)

  • $msg->deployment_reference_policy() / $msg->deployment_reference_policy($value)

    Type: Enum (Google::Cloud::Config::V1::DeleteDeploymentGroupRequest::DeploymentReferencePolicy)

    Optional. Policy on how to handle referenced deployments when deleting the DeploymentGroup. If unspecified, the default behavior is to fail the deletion if any deployments currently referenced in the `deployment_units` of the DeploymentGroup or in the latest revision are not deleted.

Enum: DeleteDeploymentGroupRequest::DeploymentReferencePolicy

  • DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED => 0

  • FAIL_IF_ANY_REFERENCES_EXIST => 1

  • FAIL_IF_METADATA_REFERENCES_EXIST => 2

  • IGNORE_DEPLOYMENT_REFERENCES => 3

Google::Cloud::Config::V1::Config::UpdateDeploymentRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update.

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->deployment() / $msg->deployment($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment)

    Required. [Deployment][google.cloud.config.v1.Deployment] to update.

    The deployment's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deployments/{deployment}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::DeleteDeploymentRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any revisions for this deployment will also be deleted. (Otherwise, the request will only work if the deployment has no revisions.)

  • $msg->delete_policy() / $msg->delete_policy($value)

    Type: Enum (Google::Cloud::Config::V1::DeleteDeploymentRequest::DeletePolicy)

    Optional. Policy on how resources actuated by the deployment should be deleted. If unspecified, the default behavior is to delete the underlying resources.

Enum: DeleteDeploymentRequest::DeletePolicy

  • DELETE_POLICY_UNSPECIFIED => 0

  • DELETE => 1

  • ABANDON => 2

Google::Cloud::Config::V1::Config::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_metadata() / $msg->deployment_metadata($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentOperationMetadata)

    Output only. Metadata about the deployment operation state.

  • $msg->preview_metadata() / $msg->preview_metadata($value)

    Type: Message (Google::Cloud::Config::V1::Config::PreviewOperationMetadata)

    Output only. Metadata about the preview operation state.

  • $msg->provision_deployment_group_metadata() / $msg->provision_deployment_group_metadata($value)

    Type: Message (Google::Cloud::Config::V1::Config::ProvisionDeploymentGroupOperationMetadata)

    Output only. Metadata about ProvisionDeploymentGroup operation state.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the operation finished running.

  • $msg->target() / $msg->target($value)

    Type: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.

  • $msg->api_version() / $msg->api_version($value)

    Type: String

    Output only. API version used to start the operation.

Google::Cloud::Config::V1::Config::Revision

A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->terraform_blueprint() / $msg->terraform_blueprint($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformBlueprint)

    Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

  • $msg->name() / $msg->name($value)

    Type: String

    Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the revision was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the revision was last modified.

  • $msg->action() / $msg->action($value)

    Type: Enum (Google::Cloud::Config::V1::Revision::Action)

    Output only. The action which created this revision

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Config::V1::Revision::State)

    Output only. Current state of the revision.

  • $msg->apply_results() / $msg->apply_results($value)

    Type: Message (Google::Cloud::Config::V1::Config::ApplyResults)

    Output only. Outputs and artifacts from applying a deployment.

  • $msg->state_detail() / $msg->state_detail($value)

    Type: String

    Output only. Additional info regarding the current state.

  • $msg->error_code() / $msg->error_code($value)

    Type: Enum (Google::Cloud::Config::V1::Revision::ErrorCode)

    Output only. Code describing any errors that may have occurred.

  • $msg->build() / $msg->build($value)

    Type: String

    Output only. Cloud Build instance UUID associated with this revision.

  • $msg->logs() / $msg->logs($value)

    Type: String

    Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.

  • $msg->tf_errors() / $msg->tf_errors($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformError)

    Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.

  • $msg->error_logs() / $msg->error_logs($value)

    Type: String

    Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`

  • $msg->import_existing_resources() / $msg->import_existing_resources($value)

    Type: Bool

    Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

    Not all resource types are supported, refer to documentation.

  • $msg->worker_pool() / $msg->worker_pool($value)

    Type: String

    Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.

  • $msg->tf_version_constraint() / $msg->tf_version_constraint($value)

    Type: String

    Output only. The user-specified Terraform version constraint. Example: "=1.3.10".

  • $msg->tf_version() / $msg->tf_version($value)

    Type: String

    Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

  • $msg->quota_validation_results() / $msg->quota_validation_results($value)

    Type: String

    Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`.

  • $msg->quota_validation() / $msg->quota_validation($value)

    Type: Enum (Google::Cloud::Config::V1::QuotaValidation)

    Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

  • $msg->provider_config() / $msg->provider_config($value)

    Type: Message (Google::Cloud::Config::V1::Config::ProviderConfig)

    Output only. This field specifies the provider configurations.

Enum: Revision::Action

  • ACTION_UNSPECIFIED => 0

  • CREATE => 1

  • UPDATE => 2

  • DELETE => 3

Enum: Revision::State

  • STATE_UNSPECIFIED => 0

  • APPLYING => 1

  • APPLIED => 2

  • FAILED => 3

Enum: Revision::ErrorCode

  • ERROR_CODE_UNSPECIFIED => 0

  • CLOUD_BUILD_PERMISSION_DENIED => 1

  • APPLY_BUILD_API_FAILED => 4

  • APPLY_BUILD_RUN_FAILED => 5

  • QUOTA_VALIDATION_FAILED => 7

  • EXTERNAL_VALUE_SOURCE_IMPORT_FAILED => 8

Google::Cloud::Config::V1::Config::TerraformError

Errors encountered during actuation using Terraform

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_address() / $msg->resource_address($value)

    Type: String

    Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.

  • $msg->http_response_code() / $msg->http_response_code($value)

    Type: Int32

    HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.

  • $msg->error_description() / $msg->error_description($value)

    Type: String

    A human-readable error description.

  • $msg->error() / $msg->error($value)

    Type: Message (Google::Rpc::Status::Status)

    Output only. Original error response from underlying Google API, if available.

Google::Cloud::Config::V1::Config::GitSource

A set of files in a Git repository.

Inherits from Protobuf::Message.

Accessors

  • $msg->repo() / $msg->repo($value)

    Type: String

    Repository URL. Example: 'https://github.com/kubernetes/examples.git'

  • $msg->directory() / $msg->directory($value)

    Type: String

    Subdirectory inside the repository. Example: 'staging/my-package'

  • $msg->ref() / $msg->ref($value)

    Type: String

    Git reference (e.g. branch or tag).

Google::Cloud::Config::V1::Config::DeploymentOperationMetadata

Ephemeral metadata content describing the state of a deployment operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->step() / $msg->step($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentOperationMetadata::DeploymentStep)

    The current step the deployment operation is running.

  • $msg->apply_results() / $msg->apply_results($value)

    Type: Message (Google::Cloud::Config::V1::Config::ApplyResults)

    Outputs and artifacts from applying a deployment.

  • $msg->build() / $msg->build($value)

    Type: String

    Output only. Cloud Build instance UUID associated with this operation.

  • $msg->logs() / $msg->logs($value)

    Type: String

    Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.

  • $msg->apply_results_available() / $msg->apply_results_available($value)

    Type: Bool

    Output only. Indicating if early apply results are available.

Enum: DeploymentOperationMetadata::DeploymentStep

  • DEPLOYMENT_STEP_UNSPECIFIED => 0

  • PREPARING_STORAGE_BUCKET => 1

  • DOWNLOADING_BLUEPRINT => 2

  • RUNNING_TF_INIT => 3

  • RUNNING_TF_PLAN => 4

  • RUNNING_TF_APPLY => 5

  • RUNNING_TF_DESTROY => 6

  • RUNNING_TF_VALIDATE => 7

  • UNLOCKING_DEPLOYMENT => 8

  • SUCCEEDED => 9

  • FAILED => 10

  • VALIDATING_REPOSITORY => 11

  • RUNNING_QUOTA_VALIDATION => 12

Google::Cloud::Config::V1::Config::Resource

Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.

Inherits from Protobuf::Message.

Accessors

Enum: Resource::Intent

  • INTENT_UNSPECIFIED => 0

  • CREATE => 1

  • UPDATE => 2

  • DELETE => 3

  • RECREATE => 4

  • UNCHANGED => 5

Enum: Resource::State

  • STATE_UNSPECIFIED => 0

  • PLANNED => 1

  • IN_PROGRESS => 2

  • RECONCILED => 3

  • FAILED => 4

Google::Cloud::Config::V1::Config::ResourceTerraformInfo

Terraform info of a Resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->address() / $msg->address($value)

    Type: String

    TF resource address that uniquely identifies this resource within this deployment.

  • $msg->type() / $msg->type($value)

    Type: String

    TF resource type

  • $msg->id() / $msg->id($value)

    Type: String

    ID attribute of the TF resource

Google::Cloud::Config::V1::Config::ResourceCAIInfo

CAI info of a Resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->full_resource_name() / $msg->full_resource_name($value)

    Type: String

    CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name

Google::Cloud::Config::V1::Config::GetResourceRequest

A request to get a Resource from a 'GetResource' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.

Google::Cloud::Config::V1::Config::ListResourcesRequest

A request to list Resources passed to a 'ListResources' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListResourcesResponse

A response to a 'ListResources' call. Contains a list of Resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->resources() / $msg->resources($value)

    Type: Message (Google::Cloud::Config::V1::Config::Resource)

    List of [Resources][google.cloud.config.v1.Resource].

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Config::V1::Config::Statefile

Contains info about a Terraform state file

Inherits from Protobuf::Message.

Accessors

  • $msg->signed_uri() / $msg->signed_uri($value)

    Type: String

    Output only. Cloud Storage signed URI used for downloading or uploading the state file.

Google::Cloud::Config::V1::Config::ExportDeploymentStatefileRequest

A request to export a state file passed to a 'ExportDeploymentStatefile' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->draft() / $msg->draft($value)

    Type: Bool

    Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.

Google::Cloud::Config::V1::Config::ExportRevisionStatefileRequest

A request to export a state file passed to a 'ExportRevisionStatefile' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

Google::Cloud::Config::V1::Config::ImportStatefileRequest

A request to import a state file passed to a 'ImportStatefile' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->lock_id() / $msg->lock_id($value)

    Type: Int64

    Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.

  • $msg->skip_draft() / $msg->skip_draft($value)

    Type: Bool

    Optional.

Google::Cloud::Config::V1::Config::DeleteStatefileRequest

A request to delete a state file passed to a 'DeleteStatefile' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->lock_id() / $msg->lock_id($value)

    Type: Int64

    Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.

Google::Cloud::Config::V1::Config::LockDeploymentRequest

A request to lock a deployment passed to a 'LockDeployment' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

Google::Cloud::Config::V1::Config::UnlockDeploymentRequest

A request to unlock a state file passed to a 'UnlockDeployment' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->lock_id() / $msg->lock_id($value)

    Type: Int64

    Required. Lock ID of the lock file to be unlocked.

Google::Cloud::Config::V1::Config::ExportLockInfoRequest

A request to get a state file lock info passed to a 'ExportLockInfo' call.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

Google::Cloud::Config::V1::Config::LockInfo

Details about the lock which locked the deployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->lock_id() / $msg->lock_id($value)

    Type: Int64

    Unique ID for the lock to be overridden with generation ID in the backend.

  • $msg->operation() / $msg->operation($value)

    Type: String

    Terraform operation, provided by the caller.

  • $msg->info() / $msg->info($value)

    Type: String

    Extra information to store with the lock, provided by the caller.

  • $msg->who() / $msg->who($value)

    Type: String

    user@hostname when available

  • $msg->version() / $msg->version($value)

    Type: String

    Terraform version

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Time that the lock was taken.

Google::Cloud::Config::V1::Config::Preview

A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->terraform_blueprint() / $msg->terraform_blueprint($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformBlueprint)

    The terraform blueprint to preview.

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time the preview was created.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Config::V1::Config::Preview::LabelsEntry)

    Optional. User-defined labels for the preview.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Config::V1::Preview::State)

    Output only. Current state of the preview.

  • $msg->deployment() / $msg->deployment($value)

    Type: String

    Optional. Deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.

  • $msg->preview_mode() / $msg->preview_mode($value)

    Type: Enum (Google::Cloud::Config::V1::Preview::PreviewMode)

    Optional. Current mode of preview.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`

  • $msg->artifacts_gcs_bucket() / $msg->artifacts_gcs_bucket($value)

    Type: String

    User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.

  • $msg->worker_pool() / $msg->worker_pool($value)

    Type: String

    The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.

  • $msg->error_code() / $msg->error_code($value)

    Type: Enum (Google::Cloud::Config::V1::Preview::ErrorCode)

    Output only. Code describing any errors that may have occurred.

  • $msg->error_status() / $msg->error_status($value)

    Type: Message (Google::Rpc::Status::Status)

    Output only. Additional information regarding the current state.

  • $msg->build() / $msg->build($value)

    Type: String

    Output only. Cloud Build instance UUID associated with this preview.

  • $msg->tf_errors() / $msg->tf_errors($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformError)

    Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.

  • $msg->error_logs() / $msg->error_logs($value)

    Type: String

    Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`.

  • $msg->preview_artifacts() / $msg->preview_artifacts($value)

    Type: Message (Google::Cloud::Config::V1::Config::PreviewArtifacts)

    Output only. Artifacts from preview.

  • $msg->logs() / $msg->logs($value)

    Type: String

    Output only. Location of preview logs in `gs://{bucket}/{object}` format.

  • $msg->tf_version() / $msg->tf_version($value)

    Type: String

    Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

  • $msg->tf_version_constraint() / $msg->tf_version_constraint($value)

    Type: String

    The user-specified Terraform version constraint. Example: "=1.3.10".

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Config::V1::Config::Preview::AnnotationsEntry)

    Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

  • $msg->provider_config() / $msg->provider_config($value)

    Type: Message (Google::Cloud::Config::V1::Config::ProviderConfig)

    Optional. This field specifies the provider configurations.

Enum: Preview::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • SUCCEEDED => 2

  • APPLYING => 3

  • STALE => 4

  • DELETING => 5

  • FAILED => 6

  • DELETED => 7

Enum: Preview::PreviewMode

  • PREVIEW_MODE_UNSPECIFIED => 0

  • DEFAULT => 1

  • DELETE => 2

Enum: Preview::ErrorCode

  • ERROR_CODE_UNSPECIFIED => 0

  • CLOUD_BUILD_PERMISSION_DENIED => 1

  • BUCKET_CREATION_PERMISSION_DENIED => 2

  • BUCKET_CREATION_FAILED => 3

  • DEPLOYMENT_LOCK_ACQUIRE_FAILED => 4

  • PREVIEW_BUILD_API_FAILED => 5

  • PREVIEW_BUILD_RUN_FAILED => 6

  • EXTERNAL_VALUE_SOURCE_IMPORT_FAILED => 7

Google::Cloud::Config::V1::Config::PreviewOperationMetadata

Ephemeral metadata content describing the state of a preview operation.

Inherits from Protobuf::Message.

Accessors

Enum: PreviewOperationMetadata::PreviewStep

  • PREVIEW_STEP_UNSPECIFIED => 0

  • PREPARING_STORAGE_BUCKET => 1

  • DOWNLOADING_BLUEPRINT => 2

  • RUNNING_TF_INIT => 3

  • RUNNING_TF_PLAN => 4

  • FETCHING_DEPLOYMENT => 5

  • LOCKING_DEPLOYMENT => 6

  • UNLOCKING_DEPLOYMENT => 7

  • SUCCEEDED => 8

  • FAILED => 9

  • VALIDATING_REPOSITORY => 10

Google::Cloud::Config::V1::Config::PreviewArtifacts

Artifacts created by preview.

Inherits from Protobuf::Message.

Accessors

  • $msg->content() / $msg->content($value)

    Type: String

    Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: `gs://{bucket}/{object}`

  • $msg->artifacts() / $msg->artifacts($value)

    Type: String

    Output only. Location of artifacts in Google Cloud Storage. Format: `gs://{bucket}/{object}`

Google::Cloud::Config::V1::Config::CreatePreviewRequest

A request to create a preview.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

  • $msg->preview_id() / $msg->preview_id($value)

    Type: String

    Optional. The preview ID.

  • $msg->preview() / $msg->preview($value)

    Type: Message (Google::Cloud::Config::V1::Config::Preview)

    Required. [Preview][google.cloud.config.v1.Preview] resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::GetPreviewRequest

A request to get details about a preview.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Google::Cloud::Config::V1::Config::ListPreviewsRequest

A request to list all previews for a given project and location.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/bar

    - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar

    - Filter by state: - Deployments in CREATING state. state=CREATING

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListPreviewsResponse

A response to a `ListPreviews` call. Contains a list of Previews.

Inherits from Protobuf::Message.

Accessors

  • $msg->previews() / $msg->previews($value)

    Type: Message (Google::Cloud::Config::V1::Config::Preview)

    List of [Previews][google.cloud.config.v1.Preview].

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Config::V1::Config::DeletePreviewRequest

A request to delete a preview.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Config::V1::Config::ExportPreviewResultRequest

A request to export preview results.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Google::Cloud::Config::V1::Config::ExportPreviewResultResponse

A response to `ExportPreviewResult` call. Contains preview results.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Config::V1::Config::PreviewResult

Contains a signed Cloud Storage URLs.

Inherits from Protobuf::Message.

Accessors

  • $msg->binary_signed_uri() / $msg->binary_signed_uri($value)

    Type: String

    Output only. Plan binary signed URL

  • $msg->json_signed_uri() / $msg->json_signed_uri($value)

    Type: String

    Output only. Plan JSON signed URL

Google::Cloud::Config::V1::Config::GetTerraformVersionRequest

The request message for the GetTerraformVersion method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'

Google::Cloud::Config::V1::Config::ListTerraformVersionsRequest

The request message for the ListTerraformVersions method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of terraform versions, 'page_size' specifies number of terraform versions to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListTerraformVersions' which specifies the position in the list from where to continue listing the terraform versions.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists the TerraformVersions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListTerraformVersionsResponse

The response message for the `ListTerraformVersions` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->terraform_versions() / $msg->terraform_versions($value)

    Type: Message (Google::Cloud::Config::V1::Config::TerraformVersion)

    List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unreachable resources, if any.

Google::Cloud::Config::V1::Config::TerraformVersion

A TerraformVersion represents the support state the corresponding Terraform version.

Inherits from Protobuf::Message.

Accessors

Enum: TerraformVersion::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • DEPRECATED => 2

  • OBSOLETE => 3

Google::Cloud::Config::V1::Config::ResourceChangeTerraformInfo

Terraform info of a ResourceChange.

Inherits from Protobuf::Message.

Accessors

  • $msg->address() / $msg->address($value)

    Type: String

    Output only. TF resource address that uniquely identifies the resource.

  • $msg->type() / $msg->type($value)

    Type: String

    Output only. TF resource type.

  • $msg->resource_name() / $msg->resource_name($value)

    Type: String

    Output only. TF resource name.

  • $msg->provider() / $msg->provider($value)

    Type: String

    Output only. TF resource provider.

  • $msg->actions() / $msg->actions($value)

    Type: String

    Output only. TF resource actions.

Google::Cloud::Config::V1::Config::ResourceChange

A resource change represents a change to a resource in the state file.

Inherits from Protobuf::Message.

Accessors

Enum: ResourceChange::Intent

  • INTENT_UNSPECIFIED => 0

  • CREATE => 1

  • UPDATE => 2

  • DELETE => 3

  • RECREATE => 4

  • UNCHANGED => 5

Google::Cloud::Config::V1::Config::PropertyChange

A property change represents a change to a property in the state file.

Inherits from Protobuf::Message.

Accessors

  • $msg->path() / $msg->path($value)

    Type: String

    Output only. The path of the property change.

  • $msg->before_sensitive_paths() / $msg->before_sensitive_paths($value)

    Type: String

    Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.

  • $msg->before() / $msg->before($value)

    Type: Message (Google::Protobuf::Struct::Value)

    Output only. Representations of the object value before the actions.

  • $msg->after_sensitive_paths() / $msg->after_sensitive_paths($value)

    Type: String

    Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.

  • $msg->after() / $msg->after($value)

    Type: Message (Google::Protobuf::Struct::Value)

    Output only. Representations of the object value after the actions.

Google::Cloud::Config::V1::Config::ListResourceChangesRequest

The request message for the ListResourceChanges method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of resource changes, 'page_size' specifies number of resource changes to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListResourceChanges' which specifies the position in the list from where to continue listing the resource changes.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists the resource changes that match the filter expression. A filter expression filters the resource changes listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/previews/dep/resourceChanges/baz

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListResourceChangesResponse

A response to a 'ListResourceChanges' call. Contains a list of ResourceChanges.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_changes() / $msg->resource_changes($value)

    Type: Message (Google::Cloud::Config::V1::Config::ResourceChange)

    List of ResourceChanges.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the 'ListResourceChanges' method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unreachable resources, if any.

Google::Cloud::Config::V1::Config::GetResourceChangeRequest

The request message for the GetResourceChange method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.

Google::Cloud::Config::V1::Config::ResourceDriftTerraformInfo

Terraform info of a ResourceChange.

Inherits from Protobuf::Message.

Accessors

  • $msg->address() / $msg->address($value)

    Type: String

    Output only. The address of the drifted resource.

  • $msg->type() / $msg->type($value)

    Type: String

    Output only. The type of the drifted resource.

  • $msg->resource_name() / $msg->resource_name($value)

    Type: String

    Output only. TF resource name.

  • $msg->provider() / $msg->provider($value)

    Type: String

    Output only. The provider of the drifted resource.

Google::Cloud::Config::V1::Config::ResourceDrift

A resource drift represents a drift to a resource in the state file.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

  • $msg->terraform_info() / $msg->terraform_info($value)

    Type: Message (Google::Cloud::Config::V1::Config::ResourceDriftTerraformInfo)

    Output only. Terraform info of the resource drift.

  • $msg->property_drifts() / $msg->property_drifts($value)

    Type: Message (Google::Cloud::Config::V1::Config::PropertyDrift)

    Output only. The property drifts of the resource drift.

Google::Cloud::Config::V1::Config::PropertyDrift

A property drift represents a drift to a property in the state file.

Inherits from Protobuf::Message.

Accessors

  • $msg->path() / $msg->path($value)

    Type: String

    Output only. The path of the property drift.

  • $msg->before_sensitive_paths() / $msg->before_sensitive_paths($value)

    Type: String

    Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.

  • $msg->before() / $msg->before($value)

    Type: Message (Google::Protobuf::Struct::Value)

    Output only. Representations of the object value before the actions.

  • $msg->after_sensitive_paths() / $msg->after_sensitive_paths($value)

    Type: String

    Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.

  • $msg->after() / $msg->after($value)

    Type: Message (Google::Protobuf::Struct::Value)

    Output only. Representations of the object value after the actions.

Google::Cloud::Config::V1::Config::ListResourceDriftsRequest

The request message for the ListResourceDrifts method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of resource drifts, 'page_size' specifies number of resource drifts to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListResourceDrifts' which specifies the position in the list from where to continue listing the resource drifts.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists the resource drifts that match the filter expression. A filter expression filters the resource drifts listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListResourceDriftsResponse

A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_drifts() / $msg->resource_drifts($value)

    Type: Message (Google::Cloud::Config::V1::Config::ResourceDrift)

    List of ResourceDrifts.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the 'ListResourceDrifts' method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unreachable resources, if any.

Google::Cloud::Config::V1::Config::GetResourceDriftRequest

The request message for the GetResourceDrift method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

Google::Cloud::Config::V1::Config::ProviderConfig

ProviderConfig contains the provider configurations.

Inherits from Protobuf::Message.

Accessors

Enum: ProviderConfig::ProviderSource

  • PROVIDER_SOURCE_UNSPECIFIED => 0

  • SERVICE_MAINTAINED => 1

Google::Cloud::Config::V1::Config::GetAutoMigrationConfigRequest

The request message for the GetAutoMigrationConfig method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.

Google::Cloud::Config::V1::Config::AutoMigrationConfig

AutoMigrationConfig contains the automigration configuration for a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time the AutoMigrationConfig was last updated.

  • $msg->auto_migration_enabled() / $msg->auto_migration_enabled($value)

    Type: Bool

    Optional. Whether the auto migration is enabled for the project.

Google::Cloud::Config::V1::Config::UpdateAutoMigrationConfigRequest

The request message for the UpdateAutoMigrationConfig method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Config::V1::Config::DeploymentGroup

A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the deployment group. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the deployment group was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the deployment group was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup::LabelsEntry)

    Optional. User-defined metadata for the deployment group.

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup::AnnotationsEntry)

    Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentGroup::State)

    Output only. Current state of the deployment group.

  • $msg->state_description() / $msg->state_description($value)

    Type: String

    Output only. Additional information regarding the current state.

  • $msg->deployment_units() / $msg->deployment_units($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentUnit)

    The deployment units of the deployment group in a DAG like structure. When a deployment group is being provisioned, the deployment units are deployed in a DAG order. The provided units must be in a DAG order, otherwise an error will be returned.

  • $msg->provisioning_state() / $msg->provisioning_state($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentGroup::ProvisioningState)

    Output only. The provisioning state of the deployment group.

  • $msg->provisioning_state_description() / $msg->provisioning_state_description($value)

    Type: String

    Output only. Additional information regarding the current provisioning state.

  • $msg->provisioning_error() / $msg->provisioning_error($value)

    Type: Message (Google::Rpc::Status::Status)

    Output only. The error status of the deployment group provisioning or deprovisioning.

Enum: DeploymentGroup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • UPDATING => 3

  • DELETING => 4

  • FAILED => 5

  • SUSPENDED => 6

  • DELETED => 7

Enum: DeploymentGroup::ProvisioningState

  • PROVISIONING_STATE_UNSPECIFIED => 0

  • PROVISIONING => 1

  • PROVISIONED => 2

  • FAILED_TO_PROVISION => 3

  • DEPROVISIONING => 4

  • DEPROVISIONED => 5

  • FAILED_TO_DEPROVISION => 6

Google::Cloud::Config::V1::Config::DeploymentUnit

A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a `provisionDeploymentRequest`.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    The id of the deployment unit. Must be unique within the deployment group.

  • $msg->deployment() / $msg->deployment($value)

    Type: String

    Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

  • $msg->dependencies() / $msg->dependencies($value)

    Type: String

    Required. The IDs of the deployment units within the deployment group that this unit depends on.

Google::Cloud::Config::V1::Config::DeploymentSpec

Spec for a deployment to be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_id() / $msg->deployment_id($value)

    Type: String

    Required. The id of the deployment to be created which doesn't include the project id and location.

  • $msg->deployment() / $msg->deployment($value)

    Type: Message (Google::Cloud::Config::V1::Config::Deployment)

    Required. The deployment to be created.

Google::Cloud::Config::V1::Config::GetDeploymentGroupRequest

The request message for the GetDeploymentGroup method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

Google::Cloud::Config::V1::Config::ListDeploymentGroupsRequest

The request message for the ListDeploymentGroups method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListDeploymentGroups' which specifies the position in the list from where to continue listing the deployment groups.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists the DeploymentGroups that match the filter expression. A filter expression filters the deployment groups listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/foo/locations/us-central1/deploymentGroups/bar"

    - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar

    - Filter by state: - DeploymentGroups in CREATING state. state=CREATING

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field to use to sort the list.

Google::Cloud::Config::V1::Config::ListDeploymentGroupsResponse

The response message for the ListDeploymentGroups method.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_groups() / $msg->deployment_groups($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup)

    The deployment groups from the specified collection.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Config::V1::Config::ProvisionDeploymentGroupRequest

The request message for the ProvisionDeploymentGroup method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

  • $msg->deployment_specs() / $msg->deployment_specs($value)

    Type: Message (Google::Cloud::Config::V1::Config::ProvisionDeploymentGroupRequest::DeploymentSpecsEntry)

    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`.

Google::Cloud::Config::V1::Config::DeprovisionDeploymentGroupRequest

The request message for the DeprovisionDeploymentGroup method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

  • $msg->delete_policy() / $msg->delete_policy($value)

    Type: Enum (Google::Cloud::Config::V1::DeleteDeploymentRequest::DeletePolicy)

    Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

Google::Cloud::Config::V1::Config::DeploymentOperationSummary

The summary of the deployment operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_step() / $msg->deployment_step($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentOperationMetadata::DeploymentStep)

    Output only. The current step the deployment operation is running.

  • $msg->build() / $msg->build($value)

    Type: String

    Output only. Cloud Build instance UUID associated with this operation.

  • $msg->logs() / $msg->logs($value)

    Type: String

    Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.

  • $msg->content() / $msg->content($value)

    Type: String

    Output only. Location of Deployment operations content in `gs://{bucket}/{object}` format.

  • $msg->artifacts() / $msg->artifacts($value)

    Type: String

    Output only. Location of Deployment operations artifacts in `gs://{bucket}/{object}` format.

Google::Cloud::Config::V1::Config::DeploymentUnitProgress

The progress of a deployment unit provisioning or deprovisioning.

Inherits from Protobuf::Message.

Accessors

  • $msg->unit_id() / $msg->unit_id($value)

    Type: String

    Output only. The unit id of the deployment unit to be provisioned.

  • $msg->deployment() / $msg->deployment($value)

    Type: String

    Output only. The name of the deployment to be provisioned. Format: 'projects/{project}/locations/{location}/deployments/{deployment}'.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentUnitProgress::State)

    Output only. The current step of the deployment unit provisioning.

  • $msg->state_description() / $msg->state_description($value)

    Type: String

    Output only. Additional information regarding the current state.

  • $msg->deployment_operation_summary() / $msg->deployment_operation_summary($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentOperationSummary)

    Output only. The summary of the deployment operation.

  • $msg->error() / $msg->error($value)

    Type: Message (Google::Rpc::Status::Status)

    Output only. Holds the error status of the deployment unit provisioning.

  • $msg->intent() / $msg->intent($value)

    Type: Enum (Google::Cloud::Config::V1::DeploymentUnitProgress::Intent)

    Output only. The intent of the deployment unit.

Enum: DeploymentUnitProgress::State

  • STATE_UNSPECIFIED => 0

  • QUEUED => 1

  • APPLYING_DEPLOYMENT => 2

  • SUCCEEDED => 4

  • FAILED => 5

  • ABORTED => 6

  • SKIPPED => 7

  • DELETING_DEPLOYMENT => 8

  • PREVIEWING_DEPLOYMENT => 9

Enum: DeploymentUnitProgress::Intent

  • INTENT_UNSPECIFIED => 0

  • CREATE_DEPLOYMENT => 1

  • UPDATE_DEPLOYMENT => 2

  • DELETE_DEPLOYMENT => 3

  • RECREATE_DEPLOYMENT => 4

  • CLEAN_UP => 5

  • UNCHANGED => 6

Google::Cloud::Config::V1::Config::ProvisionDeploymentGroupOperationMetadata

Operation metadata for `ProvisionDeploymentGroup` and `DeprovisionDeploymentGroup` long-running operations.

Inherits from Protobuf::Message.

Accessors

Enum: ProvisionDeploymentGroupOperationMetadata::ProvisionDeploymentGroupStep

  • PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED => 0

  • VALIDATING_DEPLOYMENT_GROUP => 1

  • ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP => 2

  • PROVISIONING_DEPLOYMENT_UNITS => 3

  • DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP => 4

  • SUCCEEDED => 5

  • FAILED => 6

  • DEPROVISIONING_DEPLOYMENT_UNITS => 7

Google::Cloud::Config::V1::Config::DeploymentGroupRevision

A DeploymentGroupRevision represents a snapshot of a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

  • $msg->snapshot() / $msg->snapshot($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroup)

    Output only. The snapshot of the deployment group at this revision.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the deployment group revision was created.

  • $msg->alternative_ids() / $msg->alternative_ids($value)

    Type: String

    Output only. The alternative IDs of the deployment group revision.

Google::Cloud::Config::V1::Config::GetDeploymentGroupRevisionRequest

The request message for the GetDeploymentGroupRevision method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

Google::Cloud::Config::V1::Config::ListDeploymentGroupRevisionsRequest

The request message for the ListDeploymentGroupRevisions method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of deployment group revisions. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, a sensible default will be used by the server. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to 'ListDeploymentGroupRevisions' which specifies the position in the list from where to continue listing the deployment group revisions. All other parameters provided to `ListDeploymentGroupRevisions` must match the call that provided the page token.

Google::Cloud::Config::V1::Config::ListDeploymentGroupRevisionsResponse

The response message for the ListDeploymentGroupRevisions method.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_group_revisions() / $msg->deployment_group_revisions($value)

    Type: Message (Google::Cloud::Config::V1::Config::DeploymentGroupRevision)

    The deployment group revisions from the specified collection.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to be supplied to the next ListDeploymentGroupRevisions request via `page_token` to obtain the next set of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Config::V1::Config::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.