Service Client: Google::Cloud::Cloudsecuritycompliance::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 cloudsecuritycompliance.googleapis.com:443.

credentials

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

NAME

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

SYNOPSIS

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

my $msg = Google::Cloud::Cloudsecuritycompliance::V1::Config::ListFrameworksRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/cloudsecuritycompliance/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::Cloudsecuritycompliance::V1::Config::ListFrameworksRequest

Request message for [ListFrameworks][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`.

    The only supported location is `global`.

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

    Type: Int32

    Optional. The maximum number of frameworks to return. The default value is `500`.

    If you exceed the maximum value of `1000`, then the service uses the maximum value.

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

    Type: String

    Optional. A pagination token returned from a previous request to list frameworks. Provide this token to retrieve the next page of results.

Google::Cloud::Cloudsecuritycompliance::V1::Config::ListFrameworksResponse

The response message for [ListFrameworks][]. Returns a paginated list of Framework resources.

Inherits from Protobuf::Message.

Accessors

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

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

    The list of framework resources.

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

    Type: String

    A pagination token. To retrieve the next page of results, call the method again with this token.

Google::Cloud::Cloudsecuritycompliance::V1::Config::GetFrameworkRequest

The request message for [GetFramework][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the framework to retrieve, 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

    Optional. The framework major version to retrieve. If not specified, the most recently updated `revision_id` is retrieved.

Google::Cloud::Cloudsecuritycompliance::V1::Config::CreateFrameworkRequest

The request message for [CreateFramework][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`.

    The only supported location is `global`.

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

    Type: String

    Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.

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

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

    Required. The resource being created.

Google::Cloud::Cloudsecuritycompliance::V1::Config::UpdateFrameworkRequest

The request message for [UpdateFramework][].

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

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

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

    Required. The resource that is being updated.

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

    Type: Int64

    Optional. The major version ID of the framework to update.

Google::Cloud::Cloudsecuritycompliance::V1::Config::DeleteFrameworkRequest

Request message for [DeleteFramework][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource, 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`.

Google::Cloud::Cloudsecuritycompliance::V1::Config::ListCloudControlsRequest

Request message for [ListCloudControls][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`.

    The only supported location is `global`.

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

    Type: Int32

    Optional. The maximum number of cloud controls to return. The default value is `500`.

    If you exceed the maximum value of `1000`, then the service uses the maximum value.

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

    Type: String

    Optional. A pagination token that's returned from a previous request to list cloud controls. Provide this token to retrieve the next page of results.

    When paginating, the parent that you provide to the [ListCloudControls][google.cloud.cloudsecuritycompliance.v1.Config.ListCloudControls] request must match the call that provided the page token.

Google::Cloud::Cloudsecuritycompliance::V1::Config::ListCloudControlsResponse

The response message for [ListCloudControls][].

Inherits from Protobuf::Message.

Accessors

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

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

    The list of CloudControl resources.

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

    Type: String

    A pagination token. To retrieve the next page of results, call the method again with this token.

Google::Cloud::Cloudsecuritycompliance::V1::Config::GetCloudControlRequest

The request message for [GetCloudControl][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the cloud control to retrieve, 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

    Optional. The major version of the cloud control to retrieve. If not specified, the most recently updated `revision_id` is retrieved.

Google::Cloud::Cloudsecuritycompliance::V1::Config::CreateCloudControlRequest

The request message for [CreateCloudControl][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}`. - `projects/{project}/locations/{location}`.

    The only supported location is `global`.

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

    Type: String

    Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.

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

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

    Required. The cloud control that's being created.

Google::Cloud::Cloudsecuritycompliance::V1::Config::UpdateCloudControlRequest

The request message for [UpdateCloudControl][].

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update. The fields that you specify in the `update_mask` are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated.

    You can update the following fields:

    - Display name - Description - Parameters - Rules - Parameter specification

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

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

    Required. The cloud control that you're updating.

Google::Cloud::Cloudsecuritycompliance::V1::Config::DeleteCloudControlRequest

The request message for [DeleteCloudControl][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

    The only supported location is `global`.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.