NAME

Google::Cloud::Securitycenter::V1::OrganizationSettings - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/organization_settings.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V1::OrganizationSettings;

my $msg = Google::Cloud::Securitycenter::V1::OrganizationSettings::OrganizationSettings->new({
    name => $name,
    enable_asset_discovery => $enable_asset_discovery,
    asset_discovery_config => $asset_discovery_config,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/organization_settings.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::Securitycenter::V1::OrganizationSettings::OrganizationSettings

User specified settings that are attached to the Security Command Center organization.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".

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

    Type: Bool

    A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.

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

    Type: Message (Google::Cloud::Securitycenter::V1::OrganizationSettings::OrganizationSettings::AssetDiscoveryConfig)

    The configuration used for Asset Discovery runs.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.