NAME

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

SYNOPSIS

use Google::Cloud::Designcenter::V1::BestPracticesMessages;

my $msg = Google::Cloud::Designcenter::V1::BestPracticesMessages::FetchApplicationAssessmentReportRequest->new({
    name => $name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/designcenter/v1/best_practices_messages.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::BestPracticesMessages::FetchApplicationAssessmentReportRequest

Message for fetching an application assessment report.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The application name in the following format: `projects/$project/locations/$location/spaces/$space/applications/$application`

Google::Cloud::Designcenter::V1::BestPracticesMessages::FetchApplicationAssessmentReportResponse

Message for response of fetching an application assessment report.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateApplicationAssessmentReportRequest

Message for generating an application assessment report.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The application name in the following format: `projects/$project/locations/$location/spaces/$space/applications/$application`

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateApplicationAssessmentReportResponse

Response for GenerateApplicationAssessmentReport.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateApplicationTemplateAssessmentReportRequest

Message for generate assessment report application template.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The application template name in the following format: `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`

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

    Type: String

    Optional. Deprecated: This field is no longer used since we moved to fast plan assessment.

    - This service account will be used to execute the preview process. - The caller must have the 'iam.serviceAccounts.actAs' permission on this service account. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateApplicationTemplateAssessmentReportResponse

Response for GenerateAssessmentReport for application template.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateAssessmentReportRequest

Deprecated: Use GenerateTerraformPlanAssessmentReportRequest instead.

Message for the request to generate a best practice report for a given Terraform plan.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Required. Terraform plan bytes.

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

    Type: String

    Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.

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

    Type: String

    Required. The name of the space at which Generate Assessment Report is called. Format: `projects/$project/locations/$location/spaces/$space`

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateAssessmentReportResponse

Deprecated: Use GenerateTerraformPlanAssessmentReportResponse instead.

Response for GenerateAssessmentReport.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateTerraformPlanAssessmentReportRequest

Message for the request to generate a best practice report for a given Terraform plan at the collection level.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space

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

    Type: Bytes

    Required. The raw JSON representation of the generated Terraform plan, provided as bytes.

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

    Type: String

    Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.

Google::Cloud::Designcenter::V1::BestPracticesMessages::GenerateTerraformPlanAssessmentReportResponse

Response for GenerateTerraformPlanAssessmentReport.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::BestPracticesMessages::FetchFrameworksRequest

Request for FetchFrameworks rpc

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource name. Format: projects/{project}/locations/{location}

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

    Type: String

    Optional. Projects to fetch frameworks for. Format: projects/{project}

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

    Type: Int32

    Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

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

    Type: String

    Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

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

    Type: String

    Optional. Filter for frameworks list.

Google::Cloud::Designcenter::V1::BestPracticesMessages::FetchFrameworksResponse

Response for FetchFrameworks rpc

Inherits from Protobuf::Message.

Accessors

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

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

    The list of frameworks.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Designcenter::V1::BestPracticesMessages::GetPolicyRequest

Message for getting a policy.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Designcenter::V1::BestPracticesMessages::ListPoliciesRequest

Message for requesting a list of policies.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent application template from which policies are listed in the following format: `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`

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

    Type: Int32

    Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

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

    Type: String

    Optional. If present, retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

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

    Type: String

    Optional. A filter that chooses which policies to return.

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

    Type: String

    Optional. How the results should be sorted.

Google::Cloud::Designcenter::V1::BestPracticesMessages::ListPoliciesResponse

Message for response to listing policies.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Designcenter::V1::BestPractices::Policy)

    A list of policies.

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

    Type: String

    If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

Google::Cloud::Designcenter::V1::BestPracticesMessages::CreatePolicyRequest

Message for creating a policy.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource in which to create the policy in the following format: `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`

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

    Type: String

    Required. The ID of the policy to create.

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

    Type: Message (Google::Cloud::Designcenter::V1::BestPractices::Policy)

    Required. The policy to create.

Google::Cloud::Designcenter::V1::BestPracticesMessages::UpdatePolicyRequest

Message for updating a policy.

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

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

    Type: Message (Google::Cloud::Designcenter::V1::BestPractices::Policy)

    Required. The policy to update.

Google::Cloud::Designcenter::V1::BestPracticesMessages::DeletePolicyRequest

Message for deleting a policy.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.