Service Client: Google::Cloud::Cloudsecuritycompliance::V1::Deployment::DeploymentClient

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

target

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

credentials

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

NAME

Google::Cloud::Cloudsecuritycompliance::V1::Deployment - Compiled Protocol Buffers messages for google/cloud/cloudsecuritycompliance/v1/deployment.proto

SYNOPSIS

use Google::Cloud::Cloudsecuritycompliance::V1::Deployment;

my $msg = Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment->new({
    name => $name,
    target_resource_config => $target_resource_config,
    computed_target_resource => $computed_target_resource,
    framework => $framework,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/cloudsecuritycompliance/v1/deployment.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::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment

Framework deployments represent the assignment of a framework to a target resource. Supported target resources are organizations, folders, and projects.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name of the framework deployment, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig)

    Required. The details of the target resource that you want to deploy the framework to. You can specify an existing resource, or create a new one.

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

    Type: String

    Output only. The target resource to deploy the framework to, in one the following formats:

    - `organizations/{organizationID}` - `folders/{folderID}` - `projects/{projectID}`

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference)

    Required. A reference to the framework that you're deploying.

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

    Type: String

    Optional. A user-provided description of the framework deployment.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata)

    Required. The deployment mode and parameters for each of the cloud controls in the framework. Every cloud control in the framework includes metadata.

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::DeploymentState)

    Output only. The state for the framework deployment.

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

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

    Output only. The time at which the resource was created.

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

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

    Output only. The time at which the resource last updated.

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

    Type: String

    Optional. To prevent concurrent updates from overwriting each other, always provide the `etag` when you update a framework deployment. You can also provide the `etag` when you delete a framework deployment, to help ensure that you're deleting the intended version of the framework deployment.

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

    Type: String

    Output only. The display name of the target resource.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeploymentReference)

    Output only. The references to the cloud control deployments. The reference includes all the cloud control deployments that are in the framework or in a cloud control group.

    For example, if a framework deployment deploys two cloud controls, `cc-deployment-1` and `cc-deployment-2`, then the references are:

    ``` { cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1" }, cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2" } ```

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeployment

A cloud control deployment represents the deployment of a particular cloud control on a target resource. Supported target resources are `organizations/{organizationID}`, `folders/{folderID}`, and `projects/{projectID}`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name for the cloud control deployment, in the format `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}` or `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`. The only supported location is `global`.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig)

    Required. The details of the target resource that the cloud control is deployed You can use an existing target resource or create a new target.

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

    Type: String

    Output only. The resource that the cloud control is deployed on, in one of the following formats:

    - `organizations/{organizationID}` - `folders/{folderID}` - `projects/{projectID}`

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata)

    Required. The deployment mode and parameters for the cloud control.

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

    Type: String

    Optional. A friendly description for the cloud control deployment.

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::DeploymentState)

    Output only. The state of the cloud control deployment.

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

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

    Output only. The time when the resource was created.

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

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

    Output only. The time when the resource was last updated.

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

    Type: String

    Optional. To prevent concurrent updates from overwriting each other, provide the `etag` when you update a cloud control deployment. You can also provide the `etag` when you delete a cloud control deployment to help ensure that you're deleting the intended version of the deployment.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControl)

    Output only. The cloud control after the given parameters are substituted.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeploymentReference)

    Output only. The references to the framework deployments that this cloud control deployment is part of. A cloud control deployment can be part of multiple framework deployments.

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

    Type: String

    Output only. The display name of the target resource.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig

The name of the target resource or the configuration that's required to create a new target resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The resource hierarchy node, in one of the following formats:

    - `organizations/{organizationID}` - `folders/{folderID}` - `projects/{projectID}`

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceCreationConfig)

    Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceCreationConfig

The configuration that's required to create a target resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FolderCreationConfig

The configuration that's required to create a folder to be used as the target resource for a deployment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent of the folder, in the format `organizations/{organizationID}` or `folders/{folderID}`.

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

    Type: String

    Required. The display name of the folder.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ProjectCreationConfig

The configuration that's required to create a project to be used as the target resource of a deployment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent of the project, in the format `organizations/{organizationID}` or `folders/{folderID}`.

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

    Type: String

    Required. The display name of the project.

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

    Type: String

    Required. The billing account ID for the project.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata

The enforcement mode and parameters of a cloud control deployment.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CreateFrameworkDeploymentRequest

The request message for [CreateFrameworkDeployment][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the framework deployment in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. Only the global location is supported.

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

    Type: String

    Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment)

    Required. The framework deployment that you're creating.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::DeleteFrameworkDeploymentRequest

The request message for [DeleteFrameworkDeployment][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the framework deployment that you want to delete, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.

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

    Type: String

    Optional. An opaque identifier for the current version of the resource.

    If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an [`ABORTED`][google.rpc.Code.ABORTED] error.

    If you omit this value, then the resource is deleted regardless of its current `etag` value.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetFrameworkDeploymentRequest

The request message for [GetFrameworkDeployment][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the framework deployment, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsRequest

The request message for [ListFrameworkDeployments][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the framework deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`.

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

    Type: Int32

    Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

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

    Type: String

    Optional. A token that identifies a page of results the server should return.

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

    Type: String

    Optional. The filter to be applied on the resource, as defined by [AIP-160: Filtering](https://google.aip.dev/160).

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

    Type: String

    Optional. The sort order for the results. The following values are supported:

    * `name` * `name desc`

    If you do not specify a value, then the results are not sorted.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsResponse

The response message for [ListFrameworkDeployments][].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetCloudControlDeploymentRequest

The request message for [GetCloudControlDeployment][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name for the cloud control deployment, in the format `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}` or `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`. The only supported location is `global`.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsRequest

The request message for [ListCloudControlDeployments][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource for the cloud control deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`.

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

    Type: Int32

    Optional. The requested page size. The server might return fewer items than you requested. If unspecified, the server picks an appropriate default.

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

    Type: String

    Optional. A token that identifies the page of results that the server should return.

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

    Type: String

    Optional. The filter to apply on the resource, as defined by [AIP-160: Filtering](https://google.aip.dev/160).

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

    Type: String

    Optional. The sort order for the results. The following values are supported:

    * `name` * `name desc`

    If you do not specify a value, then the results are not sorted.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsResponse

The response message for [ListCloudControlDeployments][].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeploymentReference

The reference to a cloud control deployment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of the CloudControlDeployment. The format is `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}` or `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`. The only supported location is `global`.

Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeploymentReference

The reference to a framework deployment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of the framework deployment, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference)

    Optional. The reference to the framework that this deployment is for. For example:

    ``` { framework: "organizations/{organization}/locations/{location}/frameworks/{framework}", major_revision_id: 1 } ```

    The only supported location is `global`.

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

    Type: String

    Optional. The display name of the framework that this framework deployment is for.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.