NAME

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

SYNOPSIS

use Google::Cloud::Cloudsecuritycompliance::V1::Common;

my $msg = Google::Cloud::Cloudsecuritycompliance::V1::Common::Framework->new({
    name => $name,
    major_revision_id => $major_revision_id,
    display_name => $display_name,
    description => $description,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/cloudsecuritycompliance/v1/common.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::Common::Framework

A framework is a collection of cloud controls and regulatory controls that represent security best practices or industry-defined standards such as FedRAMP or NIST.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Identifier. The name of the framework, in one of the following formats: `organizations/{organization}/locations/{location}/frameworks/{framework}` or `projects/{project}/locations/{location}/frameworks/{framework}`.

    The only supported location is `global`.

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

    Type: Int64

    Output only. The major version of the framework, which is incremented in ascending order.

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

    Type: String

    Optional. The friendly name of the framework. The maximum length is 200 characters.

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

    Type: String

    Optional. The description of the framework. The maximum length is 2000 characters.

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::Framework::FrameworkType)

    Output only. The type of framework.

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

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

    Optional. The cloud control details that are directly added without any grouping in the framework.

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

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

    Optional. The category of the framework.

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

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

    Output only. The cloud providers that are supported by the framework.

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

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

    Output only. The target resource types that are supported by the framework.

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

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

    Output only. The supported enforcement modes of the framework.

Enum: Framework::FrameworkType

  • FRAMEWORK_TYPE_UNSPECIFIED => 0

  • BUILT_IN => 1

  • CUSTOM => 2

Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControlDetails

The details of a cloud control.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the cloud control, in one of the following formats: `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}` or `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.

    The only supported location is `global`.

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

    Type: Int64

    Required. The major version of the cloud control.

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

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

    Optional. Parameters are key-value pairs that let you provide your custom location requirements, environment requirements, or other settings that are relevant to the cloud control. An example parameter is `{"name": "location","value": "us-west-1"}`.

Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference

The reference of a framework, in one of the following formats: - `organizations/{organization}/locations/{location}/frameworks/{framework}` - `projects/{project}/locations/{location}/frameworks/{framework}`.

The only supported location is `global`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

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

    Type: Int64

    Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

Google::Cloud::Cloudsecuritycompliance::V1::Common::Parameter

Parameters are key-value pairs that let you provide your custom location requirements, environment requirements, or other settings that are relevant to the cloud control.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControl

A cloud control is a set of rules and associated metadata that you can use to define your organization's security or compliance intent.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Identifier. The name of the cloud control, in either of the formats: `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}` or `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.

    The only supported location is `global`.

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

    Type: Int64

    Output only. The major version of the cloud control, which is incremented in ascending order.

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

    Type: String

    Optional. A description of the cloud control. The maximum length is 2000 characters.

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

    Type: String

    Optional. The friendly name of the cloud control. The maximum length is 200 characters.

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

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

    Output only. The supported enforcement modes for the cloud control.

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

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

    Optional. The parameter specifications for the cloud control.

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

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

    Optional. The rules that you can enforce to meet your security or compliance intent.

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

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

    Optional. The severity of the findings that are generated by the cloud control.

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

    Type: String

    Optional. The finding category for the cloud control findings. The maximum length is 255 characters.

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

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

    Optional. The supported cloud providers.

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

    Type: String

    Output only. The frameworks that include this cloud control.

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

    Type: String

    Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.

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

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

    Optional. The categories for the cloud control.

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

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

    Output only. The time that the cloud control was last updated. `create_time` is used because a new cloud control is created whenever an existing cloud control is updated.

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

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

    Optional. The target resource types that are supported by the cloud control.

Enum: CloudControl::Type

  • TYPE_UNSPECIFIED => 0

  • CUSTOM => 1

  • BUILT_IN => 2

Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec

The parameter specification for the cloud control.

Inherits from Protobuf::Message.

Accessors

Enum: ParameterSpec::ValueType

  • VALUE_TYPE_UNSPECIFIED => 0

  • STRING => 3

  • BOOLEAN => 4

  • STRINGLIST => 5

  • NUMBER => 6

  • ONEOF => 7

Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation

The validation of the parameter.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues

The allowed set of values for the parameter.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::RegexpPattern

The regular expression (regex) validator for parameter values.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The regex pattern to match the values of the parameter with.

Google::Cloud::Cloudsecuritycompliance::V1::Common::IntRange

The number range for number parameters.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Required. The minimum permitted value for the numeric parameter (inclusive).

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

    Type: Int64

    Required. The maximum permitted value for the numeric parameter (inclusive).

Google::Cloud::Cloudsecuritycompliance::V1::Common::StringList

A list of strings for the parameter value.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The strings in the list.

Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue

The possible parameter value types.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule

The parameter substitution rules.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::AttributeSubstitutionRule

The attribute at the given path that's substituted entirely.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The fully qualified proto attribute path, in dot notation. For example: `rules[0].cel_expression.resource_types_values`

Google::Cloud::Cloudsecuritycompliance::V1::Common::PlaceholderSubstitutionRule

The placeholder that's substituted in the rendered string.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The fully qualified proto attribute path, in dot notation.

Google::Cloud::Cloudsecuritycompliance::V1::Common::Rule

A rule in the cloud control.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Common::CELExpression

A Common Expression Language (CEL) expression that's used to create a rule.

Inherits from Protobuf::Message.

Accessors

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

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

    The resource instance types on which this expression is defined. The format is `<SERVICE_NAME>/<type>`. For example: `compute.googleapis.com/Instance`

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

    Type: String

    Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see [CEL expression](https://cloud.google.com/security-command-center/docs/compliance-manager-write-cel-expressions).

Google::Cloud::Cloudsecuritycompliance::V1::Common::OperationMetadata

The metadata for the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The time the operation was created.

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

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

    Output only. The time the operation finished running.

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

    Type: String

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

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

    Type: String

    Output only. The name of the verb that was executed by the operation.

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

    Type: String

    Output only. The 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 that the operation be cancelled. If an operation was cancelled successfully, then the field [google.longrunning.Operation.error][google.longrunning.Operation.error] contains the value [google.rpc.Code.CANCELLED][google.rpc.Code.CANCELLED].

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

    Type: String

    Output only. The API version that was used to start the operation.

Google::Cloud::Cloudsecuritycompliance::V1::Common::Control

The regulatory control.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of a regulatory control, in one of the following formats: - `organizations/{organization}/locations/{location}/controls/{control}` - `projects/{project}/locations/{location}/controls/{control}`.

    The only supported location is `global`.

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

    Type: String

    Output only. The friendly name for the regulatory control.

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

    Type: String

    Output only. The description of the regulatory control.

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::Control::Family)

    Output only. The regulatory group that the control belongs to.

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

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

    Output only. The regulatory family that the control belongs to.

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

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

    Output only. The entity that's responsible for the control, whether Google, you as the customer, or both.

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

    Type: String

    Output only. A description of Google's responsibility for the regulatory control.

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

    Type: String

    Output only. A description of Google's responsibility for implementing the regulatory control.

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

    Type: String

    Output only. A description of your responsibility for the regulatory control.

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

    Type: String

    Output only. A description of the your responsibility for implementing the regulatory control.

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

    Type: String

    Output only. A description of the responsibility that's shared between Google and you in implementing this control.

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

    Type: String

    Output only. A link to the documentation that's related to this control.

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

    Type: String

    Output only. The frameworks that include this control.

Enum: Control::Family

  • FAMILY_UNSPECIFIED => 0

  • AC => 1

  • AT => 2

  • AU => 3

  • CA => 4

  • CM => 5

  • CP => 6

  • IA => 7

  • IR => 8

  • MA => 9

  • MP => 10

  • PE => 11

  • PL => 12

  • PS => 13

  • RA => 14

  • SA => 15

  • SC => 16

  • SI => 17

  • SR => 18

Google::Cloud::Cloudsecuritycompliance::V1::Common::ControlFamily

The regulatory family of the control.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The identifier for the regulatory control family.

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

    Type: String

    The friendly name for the regulatory control family.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.