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:
StringRequired. 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:
Int64Output only. The major version of the framework, which is incremented in ascending order.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The friendly name of the framework. The maximum length is 200 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. 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=>0BUILT_IN=>1CUSTOM=>2
Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControlDetails
The details of a cloud control.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
Int64Required. 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:
StringRequired. 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:
Int64Optional. 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
$msg->name()/$msg->name($value)Type:
StringRequired. The name or key of the parameter.
$msg->parameter_value()/$msg->parameter_value($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue)Required. The value of the parameter.
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:
StringRequired. 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:
Int64Output only. The major version of the cloud control, which is incremented in ascending order.
$msg->description()/$msg->description($value)Type:
StringOptional. A description of the cloud control. The maximum length is 2000 characters.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOutput only. The frameworks that include this cloud control.
$msg->remediation_steps()/$msg->remediation_steps($value)Type:
StringOptional. 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=>0CUSTOM=>1BUILT_IN=>2
Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec
The parameter specification for the cloud control.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the parameter.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The friendly name of the parameter. The maximum length is 200 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. The description of the parameter. The maximum length is 2000 characters.
$msg->is_required()/$msg->is_required($value)Type:
BoolRequired. Whether the parameter is required.
$msg->value_type()/$msg->value_type($value)Type:
Enum(Google::Cloud::Cloudsecuritycompliance::V1::ParameterSpec::ValueType)Required. The parameter value type.
$msg->default_value()/$msg->default_value($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue)Optional. The default value of the parameter.
$msg->substitution_rules()/$msg->substitution_rules($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule)Optional. The list of parameter substitutions.
$msg->sub_parameters()/$msg->sub_parameters($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec)Optional. The parameter specification for `oneOf` attributes.
$msg->validation()/$msg->validation($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation)Optional. The permitted set of values for the parameter.
Enum: ParameterSpec::ValueType
VALUE_TYPE_UNSPECIFIED=>0STRING=>3BOOLEAN=>4STRINGLIST=>5NUMBER=>6ONEOF=>7
Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation
The validation of the parameter.
Inherits from Protobuf::Message.
Accessors
$msg->allowed_values()/$msg->allowed_values($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues)The permitted set of values for the parameter.
$msg->int_range()/$msg->int_range($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::IntRange)The permitted range for numeric parameters.
$msg->regexp_pattern()/$msg->regexp_pattern($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::RegexpPattern)The regular expression for string parameters.
Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues
The allowed set of values for the parameter.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue)Required. The list of allowed values for the parameter.
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:
StringRequired. 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:
Int64Required. The minimum permitted value for the numeric parameter (inclusive).
$msg->max()/$msg->max($value)Type:
Int64Required. 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:
StringRequired. The strings in the list.
Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue
The possible parameter value types.
Inherits from Protobuf::Message.
Accessors
$msg->string_value()/$msg->string_value($value)Type:
StringOptional. A string value.
$msg->bool_value()/$msg->bool_value($value)Type:
BoolOptional. A boolean value.
$msg->string_list_value()/$msg->string_list_value($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::StringList)Optional. A repeated string.
$msg->number_value()/$msg->number_value($value)Type:
DoubleOptional. A double value.
$msg->oneof_value()/$msg->oneof_value($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::Parameter)Optional. Sub-parameter values.
Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule
The parameter substitution rules.
Inherits from Protobuf::Message.
Accessors
$msg->placeholder_substitution_rule()/$msg->placeholder_substitution_rule($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::PlaceholderSubstitutionRule)The placeholder substitution rule.
$msg->attribute_substitution_rule()/$msg->attribute_substitution_rule($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::AttributeSubstitutionRule)The attribute substitution rule.
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:
StringThe 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:
StringThe 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
$msg->cel_expression()/$msg->cel_expression($value)Type:
Message(Google::Cloud::Cloudsecuritycompliance::V1::Common::CELExpression)The rule's logic expression in Common Expression Language (CEL).
$msg->description()/$msg->description($value)Type:
StringOptional. The rule description. The maximum length is 2000 characters.
$msg->rule_action_types()/$msg->rule_action_types($value)Type:
Enum(Google::Cloud::Cloudsecuritycompliance::V1::RuleActionType)Required. The functionality that's enabled by the rule.
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:
StringRequired. 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:
StringOutput only. The server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. The name of the verb that was executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. The human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput 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:
StringOutput 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:
StringOutput 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:
StringOutput only. The friendly name for the regulatory control.
$msg->description()/$msg->description($value)Type:
StringOutput 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:
StringOutput only. A description of Google's responsibility for the regulatory control.
$msg->google_responsibility_implementation()/$msg->google_responsibility_implementation($value)Type:
StringOutput only. A description of Google's responsibility for implementing the regulatory control.
$msg->customer_responsibility_description()/$msg->customer_responsibility_description($value)Type:
StringOutput only. A description of your responsibility for the regulatory control.
$msg->customer_responsibility_implementation()/$msg->customer_responsibility_implementation($value)Type:
StringOutput only. A description of the your responsibility for implementing the regulatory control.
$msg->shared_responsibility_description()/$msg->shared_responsibility_description($value)Type:
StringOutput 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:
StringOutput only. A link to the documentation that's related to this control.
$msg->related_frameworks()/$msg->related_frameworks($value)Type:
StringOutput only. The frameworks that include this control.
Enum: Control::Family
FAMILY_UNSPECIFIED=>0AC=>1AT=>2AU=>3CA=>4CM=>5CP=>6IA=>7IR=>8MA=>9MP=>10PE=>11PL=>12PS=>13RA=>14SA=>15SC=>16SI=>17SR=>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:
StringThe identifier for the regulatory control family.
$msg->display_name()/$msg->display_name($value)Type:
StringThe 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.