NAME

Google::Cloud::Designcenter::V1::BestPractices - Compiled Protocol Buffers messages for google/cloud/designcenter/v1/best_practices.proto

SYNOPSIS

use Google::Cloud::Designcenter::V1::BestPractices;

my $msg = Google::Cloud::Designcenter::V1::BestPractices::AssessmentReport->new({
    adc_application_uri => $adc_application_uri,
    adc_application_template_uri => $adc_application_template_uri,
    adc_catalog_template_uri => $adc_catalog_template_uri,
    adc_space_uri => $adc_space_uri,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/designcenter/v1/best_practices.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::Designcenter::V1::BestPractices::AssessmentReport

Aggregated assessment report from all domains.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Application URI.

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

    Type: String

    Output only. Application Template URI.

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

    Type: String

    Output only. Catalog Template URI.

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

    Type: String

    Output only. Space URI.

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

    Type: Message (Google::Cloud::Designcenter::V1::Assessment::DomainAssessmentReport)

    Output only. Generated best practice reports.

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

    Type: Message (Google::Cloud::Designcenter::V1::Assessment::SkippedDomain)

    Output only. Skipped domains.

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

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

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

Google::Cloud::Designcenter::V1::BestPractices::Policy

A Policy is a resource within an Application Template that refers to a Policy that you author outside of Application Design Center and attach to an application template.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. URI of the policy.

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

    Type: String

    Optional. URI of the policy revision.

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

    Type: String

    Identifier. The policy name in the following format: `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate/policies/$policy`

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

    Type: String

    Optional. The policy display name.

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

    Type: String

    Optional. The policy description.

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

    Type: Enum (Google::Cloud::Designcenter::V1::Policy::PolicyType)

    Required. The policy type. Policy type is used to determine the domain of the policy.

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

    Type: Message (Google::Cloud::Designcenter::V1::Assessment::ApplyCondition)

    Optional. Conditions for applying the policy. Condition accepts the `criticality` and `environment` parameters from the application template.

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

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

    Output only. The policy creation timestamp.

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

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

    Output only. The policy update timestamp.

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

    Type: Message (Google::Cloud::Designcenter::V1::Parameters::CloudControlConfig)

    Optional. Input only. Parameter values for the cloud controls of the policy's framework, grouped by cloud control. Only honored when framework parameter support is enabled for the project; ignored otherwise.

    The values are saved with the application template and are not returned on the policy. On update, they replace the saved values. If they are empty, the saved values are cleared if `cloud_control_configs` is named in the update mask. Otherwise, the saved values are kept, unless the policy's framework changes.

Enum: Policy::PolicyType

  • POLICY_TYPE_UNSPECIFIED => 0

  • COMPLIANCE_FRAMEWORK => 1

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Designcenter::V1::BestPractices::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.