google-cloud-design_center-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +151 -8
- data/lib/google/cloud/design_center/v1/bindings_override.rb +108 -0
- data/lib/google/cloud/design_center/v1/design_center/client.rb +8904 -0
- data/lib/google/cloud/design_center/v1/design_center/credentials.rb +47 -0
- data/lib/google/cloud/design_center/v1/design_center/operations.rb +843 -0
- data/lib/google/cloud/design_center/v1/design_center/paths.rb +477 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/client.rb +8308 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/operations.rb +927 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/service_stub.rb +5000 -0
- data/lib/google/cloud/design_center/v1/design_center/rest.rb +54 -0
- data/lib/google/cloud/design_center/v1/design_center.rb +56 -0
- data/lib/google/cloud/design_center/v1/rest.rb +38 -0
- data/lib/google/cloud/design_center/v1/version.rb +7 -2
- data/lib/google/cloud/design_center/v1.rb +45 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_messages_pb.rb +27 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_pb.rb +24 -0
- data/lib/google/cloud/designcenter/v1/assessment_pb.rb +48 -0
- data/lib/google/cloud/designcenter/v1/authoring_messages_pb.rb +73 -0
- data/lib/google/cloud/designcenter/v1/authoring_pb.rb +46 -0
- data/lib/google/cloud/designcenter/v1/best_practices_messages_pb.rb +45 -0
- data/lib/google/cloud/designcenter/v1/best_practices_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_messages_pb.rb +54 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_pb.rb +34 -0
- data/lib/google/cloud/designcenter/v1/deployment_messages_pb.rb +56 -0
- data/lib/google/cloud/designcenter/v1/deployment_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/deployment_resources_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/designcenter_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/designcenter_services_pb.rb +229 -0
- data/lib/google/cloud/designcenter/v1/enums_pb.rb +31 -0
- data/lib/google/cloud/designcenter/v1/export_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/iac_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/ingestion_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/metadata_pb.rb +74 -0
- data/lib/google/cloud/designcenter/v1/parameters_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/sharing_messages_pb.rb +42 -0
- data/lib/google/cloud/designcenter/v1/sharing_pb.rb +33 -0
- data/lib/google-cloud-design_center-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/apphub/v1/application.rb +149 -0
- data/proto_docs/google/cloud/apphub/v1/attributes.rb +115 -0
- data/proto_docs/google/cloud/apphub/v1/properties.rb +94 -0
- data/proto_docs/google/cloud/config/v1/config.rb +2709 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration.rb +55 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration_messages.rb +81 -0
- data/proto_docs/google/cloud/designcenter/v1/assessment.rb +502 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring.rb +492 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring_messages.rb +779 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices.rb +123 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices_messages.rb +296 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management.rb +258 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management_messages.rb +438 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment.rb +476 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_messages.rb +466 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_resources.rb +182 -0
- data/proto_docs/google/cloud/designcenter/v1/designcenter.rb +245 -0
- data/proto_docs/google/cloud/designcenter/v1/enums.rb +223 -0
- data/proto_docs/google/cloud/designcenter/v1/export.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/iac.rb +138 -0
- data/proto_docs/google/cloud/designcenter/v1/ingestion.rb +276 -0
- data/proto_docs/google/cloud/designcenter/v1/metadata.rb +945 -0
- data/proto_docs/google/cloud/designcenter/v1/parameters.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing.rb +188 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing_messages.rb +258 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +168 -9
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DesignCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Aggregated assessment report from all domains.
|
|
25
|
+
# @!attribute [r] adc_application_uri
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Output only. Application URI.
|
|
28
|
+
#
|
|
29
|
+
# Note: The following fields are mutually exclusive: `adc_application_uri`, `adc_application_template_uri`, `adc_catalog_template_uri`, `adc_space_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
30
|
+
# @!attribute [r] adc_application_template_uri
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Output only. Application Template URI.
|
|
33
|
+
#
|
|
34
|
+
# Note: The following fields are mutually exclusive: `adc_application_template_uri`, `adc_application_uri`, `adc_catalog_template_uri`, `adc_space_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
35
|
+
# @!attribute [r] adc_catalog_template_uri
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Output only. Catalog Template URI.
|
|
38
|
+
#
|
|
39
|
+
# Note: The following fields are mutually exclusive: `adc_catalog_template_uri`, `adc_application_uri`, `adc_application_template_uri`, `adc_space_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
40
|
+
# @!attribute [r] adc_space_uri
|
|
41
|
+
# @return [::String]
|
|
42
|
+
# Output only. Space URI.
|
|
43
|
+
#
|
|
44
|
+
# Note: The following fields are mutually exclusive: `adc_space_uri`, `adc_application_uri`, `adc_application_template_uri`, `adc_catalog_template_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
45
|
+
# @!attribute [r] domain_assessment_reports
|
|
46
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::DomainAssessmentReport>]
|
|
47
|
+
# Output only. Generated best practice reports.
|
|
48
|
+
# @!attribute [r] skipped_domains
|
|
49
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::SkippedDomain>]
|
|
50
|
+
# Output only. Skipped domains.
|
|
51
|
+
# @!attribute [r] create_time
|
|
52
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
53
|
+
# Output only. The time at which the report was created.
|
|
54
|
+
class AssessmentReport
|
|
55
|
+
include ::Google::Protobuf::MessageExts
|
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# A Policy is a resource within an Application Template that refers to a Policy
|
|
60
|
+
# that you author outside of Application Design Center and attach to an
|
|
61
|
+
# application template.
|
|
62
|
+
# @!attribute [rw] policy_uri
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Optional. URI of the policy.
|
|
65
|
+
#
|
|
66
|
+
# Note: The following fields are mutually exclusive: `policy_uri`, `policy_revision_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
67
|
+
# @!attribute [rw] policy_revision_uri
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Optional. URI of the policy revision.
|
|
70
|
+
#
|
|
71
|
+
# Note: The following fields are mutually exclusive: `policy_revision_uri`, `policy_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
72
|
+
# @!attribute [rw] name
|
|
73
|
+
# @return [::String]
|
|
74
|
+
# Identifier. The policy name in the following format:
|
|
75
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate/policies/$policy`
|
|
76
|
+
# @!attribute [rw] display_name
|
|
77
|
+
# @return [::String]
|
|
78
|
+
# Optional. The policy display name.
|
|
79
|
+
# @!attribute [rw] description
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# Optional. The policy description.
|
|
82
|
+
# @!attribute [rw] policy_type
|
|
83
|
+
# @return [::Google::Cloud::DesignCenter::V1::Policy::PolicyType]
|
|
84
|
+
# Required. The policy type.
|
|
85
|
+
# Policy type is used to determine the domain of the policy.
|
|
86
|
+
# @!attribute [rw] apply_conditions
|
|
87
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>]
|
|
88
|
+
# Optional. Conditions for applying the policy. Condition accepts the
|
|
89
|
+
# `criticality` and `environment` parameters from the application template.
|
|
90
|
+
# @!attribute [r] create_time
|
|
91
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
92
|
+
# Output only. The policy creation timestamp.
|
|
93
|
+
# @!attribute [r] update_time
|
|
94
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
95
|
+
# Output only. The policy update timestamp.
|
|
96
|
+
# @!attribute [rw] cloud_control_configs
|
|
97
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>]
|
|
98
|
+
# Optional. Input only. Parameter values for the cloud controls of the
|
|
99
|
+
# policy's framework, grouped by cloud control. Only honored when framework
|
|
100
|
+
# parameter support is enabled for the project; ignored otherwise.
|
|
101
|
+
#
|
|
102
|
+
# The values are saved with the application template and are not returned on
|
|
103
|
+
# the policy. On update, they replace the saved values. If they are empty,
|
|
104
|
+
# the saved values are cleared if `cloud_control_configs` is named in the
|
|
105
|
+
# update mask. Otherwise, the saved values are kept, unless the policy's
|
|
106
|
+
# framework changes.
|
|
107
|
+
class Policy
|
|
108
|
+
include ::Google::Protobuf::MessageExts
|
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
110
|
+
|
|
111
|
+
# The policy type.
|
|
112
|
+
module PolicyType
|
|
113
|
+
# Default.
|
|
114
|
+
POLICY_TYPE_UNSPECIFIED = 0
|
|
115
|
+
|
|
116
|
+
# Compliance framework policy.
|
|
117
|
+
COMPLIANCE_FRAMEWORK = 1
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DesignCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Message for fetching an application assessment report.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The application name in the following format:
|
|
28
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
29
|
+
class FetchApplicationAssessmentReportRequest
|
|
30
|
+
include ::Google::Protobuf::MessageExts
|
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Message for response of fetching an application assessment report.
|
|
35
|
+
# @!attribute [rw] assessment_report
|
|
36
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
37
|
+
# Assessment report for the application.
|
|
38
|
+
class FetchApplicationAssessmentReportResponse
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Message for generating an application assessment report.
|
|
44
|
+
# @!attribute [rw] name
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Required. The application name in the following format:
|
|
47
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
48
|
+
class GenerateApplicationAssessmentReportRequest
|
|
49
|
+
include ::Google::Protobuf::MessageExts
|
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Response for GenerateApplicationAssessmentReport.
|
|
54
|
+
# @!attribute [r] assessment_report
|
|
55
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
56
|
+
# Output only. Best practices by Design Assessment report
|
|
57
|
+
class GenerateApplicationAssessmentReportResponse
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Message for generate assessment report application template.
|
|
63
|
+
# @!attribute [rw] name
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# Required. The application template name in the following format:
|
|
66
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`
|
|
67
|
+
# @!attribute [rw] service_account
|
|
68
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
69
|
+
# @return [::String]
|
|
70
|
+
# Optional. Deprecated: This field is no longer used since we moved to fast
|
|
71
|
+
# plan assessment.
|
|
72
|
+
#
|
|
73
|
+
# - This service account will be used to execute the preview
|
|
74
|
+
# process.
|
|
75
|
+
# - The caller must have the 'iam.serviceAccounts.actAs' permission on this
|
|
76
|
+
# service account.
|
|
77
|
+
# Format: projects/\\{PROJECT}/serviceAccounts/\\{EMAIL_ADDRESS}
|
|
78
|
+
class GenerateApplicationTemplateAssessmentReportRequest
|
|
79
|
+
include ::Google::Protobuf::MessageExts
|
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Response for GenerateAssessmentReport for application template.
|
|
84
|
+
# @!attribute [rw] preview
|
|
85
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
86
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview]
|
|
87
|
+
# Deprecated: This field is no longer used since we moved to fast plan
|
|
88
|
+
# assessment.
|
|
89
|
+
# Infrastructure Manager preview.
|
|
90
|
+
# @!attribute [rw] assessment_report
|
|
91
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
92
|
+
# Best practices by Design Assessment report
|
|
93
|
+
class GenerateApplicationTemplateAssessmentReportResponse
|
|
94
|
+
include ::Google::Protobuf::MessageExts
|
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Deprecated: Use GenerateTerraformPlanAssessmentReportRequest instead.
|
|
99
|
+
#
|
|
100
|
+
# Message for the request to generate a best practice report for a given
|
|
101
|
+
# Terraform plan.
|
|
102
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
|
103
|
+
# @!attribute [rw] terraform_plan
|
|
104
|
+
# @return [::String]
|
|
105
|
+
# Required. Terraform plan bytes.
|
|
106
|
+
# @!attribute [rw] additional_frameworks
|
|
107
|
+
# @return [::Array<::String>]
|
|
108
|
+
# Optional. Additional Frameworks to run assessment against. If empty, run
|
|
109
|
+
# against default frameworks. Frameworks refers to the policies.
|
|
110
|
+
# @!attribute [rw] space_name
|
|
111
|
+
# @return [::String]
|
|
112
|
+
# Required. The name of the space at which Generate Assessment Report is
|
|
113
|
+
# called. Format: `projects/$project/locations/$location/spaces/$space`
|
|
114
|
+
class GenerateAssessmentReportRequest
|
|
115
|
+
include ::Google::Protobuf::MessageExts
|
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Deprecated: Use GenerateTerraformPlanAssessmentReportResponse instead.
|
|
120
|
+
#
|
|
121
|
+
# Response for GenerateAssessmentReport.
|
|
122
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
|
123
|
+
# @!attribute [rw] assessment_report
|
|
124
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
125
|
+
# Aggregated assessment report from all domains.
|
|
126
|
+
class GenerateAssessmentReportResponse
|
|
127
|
+
include ::Google::Protobuf::MessageExts
|
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Message for the request to generate a best practice report for a given
|
|
132
|
+
# Terraform plan at the collection level.
|
|
133
|
+
# @!attribute [rw] name
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Required. The parent resource in which to generate the assessment report.
|
|
136
|
+
# Format: projects/$project/locations/$location/spaces/$space
|
|
137
|
+
# @!attribute [rw] terraform_plan
|
|
138
|
+
# @return [::String]
|
|
139
|
+
# Required. The raw JSON representation of the generated Terraform plan,
|
|
140
|
+
# provided as bytes.
|
|
141
|
+
# @!attribute [rw] additional_frameworks
|
|
142
|
+
# @return [::Array<::String>]
|
|
143
|
+
# Optional. Additional Frameworks to run assessment against. If empty, run
|
|
144
|
+
# against default frameworks. Frameworks refers to the policies.
|
|
145
|
+
class GenerateTerraformPlanAssessmentReportRequest
|
|
146
|
+
include ::Google::Protobuf::MessageExts
|
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Response for GenerateTerraformPlanAssessmentReport.
|
|
151
|
+
# @!attribute [rw] assessment_report
|
|
152
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
153
|
+
# Aggregated assessment report from all domains.
|
|
154
|
+
class GenerateTerraformPlanAssessmentReportResponse
|
|
155
|
+
include ::Google::Protobuf::MessageExts
|
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Request for FetchFrameworks rpc
|
|
160
|
+
# @!attribute [rw] parent
|
|
161
|
+
# @return [::String]
|
|
162
|
+
# Required. The parent resource name.
|
|
163
|
+
# Format: projects/\\{project}/locations/\\{location}
|
|
164
|
+
# @!attribute [rw] projects
|
|
165
|
+
# @return [::Array<::String>]
|
|
166
|
+
# Optional. Projects to fetch frameworks for.
|
|
167
|
+
# Format: projects/\\{project}
|
|
168
|
+
# @!attribute [rw] page_size
|
|
169
|
+
# @return [::Integer]
|
|
170
|
+
# Optional. The maximum number of results to return from this request.
|
|
171
|
+
# Non-positive values are ignored. The presence of nextPageToken in the
|
|
172
|
+
# response indicates that more results might be available.
|
|
173
|
+
# @!attribute [rw] page_token
|
|
174
|
+
# @return [::String]
|
|
175
|
+
# Optional. If present, then retrieve the next batch of results from the
|
|
176
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
|
177
|
+
# from the previous response. The values of other method parameters should be
|
|
178
|
+
# identical to those in the previous call.
|
|
179
|
+
# @!attribute [rw] filter
|
|
180
|
+
# @return [::String]
|
|
181
|
+
# Optional. Filter for frameworks list.
|
|
182
|
+
class FetchFrameworksRequest
|
|
183
|
+
include ::Google::Protobuf::MessageExts
|
|
184
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Response for FetchFrameworks rpc
|
|
188
|
+
# @!attribute [rw] frameworks
|
|
189
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Framework>]
|
|
190
|
+
# The list of frameworks.
|
|
191
|
+
# @!attribute [rw] next_page_token
|
|
192
|
+
# @return [::String]
|
|
193
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
194
|
+
# If this field is omitted, there are no subsequent pages.
|
|
195
|
+
class FetchFrameworksResponse
|
|
196
|
+
include ::Google::Protobuf::MessageExts
|
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Message for getting a policy.
|
|
201
|
+
# @!attribute [rw] name
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# Required. The policy name in the following format:
|
|
204
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate/policies/$policy`
|
|
205
|
+
class GetPolicyRequest
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
# Message for requesting a list of policies.
|
|
211
|
+
# @!attribute [rw] parent
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# Required. The parent application template from which policies are listed in
|
|
214
|
+
# the following format:
|
|
215
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`
|
|
216
|
+
# @!attribute [rw] page_size
|
|
217
|
+
# @return [::Integer]
|
|
218
|
+
# Optional. The maximum number of results to return from this request.
|
|
219
|
+
# Non-positive values are ignored. The presence of nextPageToken in the
|
|
220
|
+
# response indicates that more results might be available.
|
|
221
|
+
# @!attribute [rw] page_token
|
|
222
|
+
# @return [::String]
|
|
223
|
+
# Optional. If present, retrieve the next batch of results from the preceding
|
|
224
|
+
# call to this method. pageToken must be the value of nextPageToken from the
|
|
225
|
+
# previous response. The values of other method parameters should be
|
|
226
|
+
# identical to those in the previous call.
|
|
227
|
+
# @!attribute [rw] filter
|
|
228
|
+
# @return [::String]
|
|
229
|
+
# Optional. A filter that chooses which policies to return.
|
|
230
|
+
# @!attribute [rw] order_by
|
|
231
|
+
# @return [::String]
|
|
232
|
+
# Optional. How the results should be sorted.
|
|
233
|
+
class ListPoliciesRequest
|
|
234
|
+
include ::Google::Protobuf::MessageExts
|
|
235
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Message for response to listing policies.
|
|
239
|
+
# @!attribute [rw] policies
|
|
240
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Policy>]
|
|
241
|
+
# A list of policies.
|
|
242
|
+
# @!attribute [rw] next_page_token
|
|
243
|
+
# @return [::String]
|
|
244
|
+
# If there might be more results than those appearing in this response, then
|
|
245
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
246
|
+
# again using the value of nextPageToken as pageToken.
|
|
247
|
+
class ListPoliciesResponse
|
|
248
|
+
include ::Google::Protobuf::MessageExts
|
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Message for creating a policy.
|
|
253
|
+
# @!attribute [rw] parent
|
|
254
|
+
# @return [::String]
|
|
255
|
+
# Required. The parent resource in which to create the policy in the
|
|
256
|
+
# following format:
|
|
257
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate`
|
|
258
|
+
# @!attribute [rw] policy_id
|
|
259
|
+
# @return [::String]
|
|
260
|
+
# Required. The ID of the policy to create.
|
|
261
|
+
# @!attribute [rw] policy
|
|
262
|
+
# @return [::Google::Cloud::DesignCenter::V1::Policy]
|
|
263
|
+
# Required. The policy to create.
|
|
264
|
+
class CreatePolicyRequest
|
|
265
|
+
include ::Google::Protobuf::MessageExts
|
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Message for updating a policy.
|
|
270
|
+
# @!attribute [rw] update_mask
|
|
271
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
272
|
+
# Optional. The fields to overwrite in the policy update. The fields
|
|
273
|
+
# specified in the update_mask are relative to the resource, not the full
|
|
274
|
+
# request. A field will be overwritten if it is in the mask. If you don't
|
|
275
|
+
# provide a mask, all fields are overwritten.
|
|
276
|
+
# @!attribute [rw] policy
|
|
277
|
+
# @return [::Google::Cloud::DesignCenter::V1::Policy]
|
|
278
|
+
# Required. The policy to update.
|
|
279
|
+
class UpdatePolicyRequest
|
|
280
|
+
include ::Google::Protobuf::MessageExts
|
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Message for deleting a policy.
|
|
285
|
+
# @!attribute [rw] name
|
|
286
|
+
# @return [::String]
|
|
287
|
+
# Required. The policy name in the following format:
|
|
288
|
+
# `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate/policies/$policy`
|
|
289
|
+
class DeletePolicyRequest
|
|
290
|
+
include ::Google::Protobuf::MessageExts
|
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
end
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DesignCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Space is a top level resource for managing teams building applications
|
|
25
|
+
# through Application Design Center.
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Identifier. The space name.
|
|
29
|
+
# @!attribute [rw] display_name
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Optional. Display name for the space.
|
|
32
|
+
# @!attribute [rw] description
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. Description for the space.
|
|
35
|
+
# @!attribute [r] create_time
|
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
37
|
+
# Output only. Space creation timestamp.
|
|
38
|
+
# @!attribute [r] update_time
|
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
40
|
+
# Output only. Space update timestamp
|
|
41
|
+
# @!attribute [rw] enable_gcp_shared_templates
|
|
42
|
+
# @return [::Boolean]
|
|
43
|
+
# Optional. Flag to enable Google opinionated shared templates.
|
|
44
|
+
# @!attribute [rw] gcs_bucket
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Optional. An existing Google Cloud Storage bucket that you want to use
|
|
47
|
+
# instead of creating a new bucket during Application Design Center setup. If
|
|
48
|
+
# not provided, a default bucket is created during setup. The bucket must
|
|
49
|
+
# exist in the same project as the space. If the bucket name does not exist
|
|
50
|
+
# in the same project as the space, the request fails with an
|
|
51
|
+
# INVALID_ARGUMENT error. If you do not have access to the bucket, the
|
|
52
|
+
# request fails with a PERMISSION_DENIED error. Format: \\{$bucket_name} For
|
|
53
|
+
# example, if the Cloud Storage bucket URI is gs:\/\/\\{$bucket_name}, the
|
|
54
|
+
# format is \\{$bucket_name}.
|
|
55
|
+
# @!attribute [rw] tags
|
|
56
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
57
|
+
# Optional. Input only. Immutable. Tags are key/values bound to space
|
|
58
|
+
# resource. Example:
|
|
59
|
+
# ```
|
|
60
|
+
# "123/environment": "production"
|
|
61
|
+
# "123/costCenter": "marketing"
|
|
62
|
+
# ```
|
|
63
|
+
#
|
|
64
|
+
# For more information on tag creation and management, see
|
|
65
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-overview.
|
|
66
|
+
class Space
|
|
67
|
+
include ::Google::Protobuf::MessageExts
|
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
69
|
+
|
|
70
|
+
# @!attribute [rw] key
|
|
71
|
+
# @return [::String]
|
|
72
|
+
# @!attribute [rw] value
|
|
73
|
+
# @return [::String]
|
|
74
|
+
class TagsEntry
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# A catalog is a collection of templates.
|
|
81
|
+
# @!attribute [rw] name
|
|
82
|
+
# @return [::String]
|
|
83
|
+
# Identifier. The catalog name in the following format:
|
|
84
|
+
# `projects/$project/locations/$location/spaces/$space/catalogs/$catalog`
|
|
85
|
+
# @!attribute [rw] display_name
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# Optional. The catalog display name.
|
|
88
|
+
# @!attribute [rw] description
|
|
89
|
+
# @return [::String]
|
|
90
|
+
# Optional. The catalog description.
|
|
91
|
+
# @!attribute [r] create_time
|
|
92
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
93
|
+
# Output only. The catalog creation timestamp.
|
|
94
|
+
# @!attribute [r] update_time
|
|
95
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
96
|
+
# Output only. The catalog update timestamp.
|
|
97
|
+
class Catalog
|
|
98
|
+
include ::Google::Protobuf::MessageExts
|
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# A template inside a catalog.
|
|
103
|
+
# @!attribute [rw] name
|
|
104
|
+
# @return [::String]
|
|
105
|
+
# Identifier. The catalog template name in following format:
|
|
106
|
+
# `projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template`
|
|
107
|
+
# @!attribute [rw] display_name
|
|
108
|
+
# @return [::String]
|
|
109
|
+
# Optional. The display name of a catalog template.
|
|
110
|
+
# @!attribute [rw] description
|
|
111
|
+
# @return [::String]
|
|
112
|
+
# Optional. The catalog template description.
|
|
113
|
+
# @!attribute [r] uuid
|
|
114
|
+
# @return [::String]
|
|
115
|
+
# Output only. The template revisions UUID.
|
|
116
|
+
# @!attribute [r] create_time
|
|
117
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
118
|
+
# Output only. The catalog template creation timestamp.
|
|
119
|
+
# @!attribute [r] update_time
|
|
120
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
121
|
+
# Output only. The catalog template update timestamp.
|
|
122
|
+
# @!attribute [r] latest_revision_id
|
|
123
|
+
# @return [::String]
|
|
124
|
+
# Output only. Latest revision of the template.
|
|
125
|
+
# @!attribute [rw] template_category
|
|
126
|
+
# @return [::Google::Cloud::DesignCenter::V1::TemplateCategory]
|
|
127
|
+
# Required. The category of the Application Design Center application
|
|
128
|
+
# template.
|
|
129
|
+
# @!attribute [rw] type
|
|
130
|
+
# @return [::Google::Cloud::DesignCenter::V1::TemplateType]
|
|
131
|
+
# Optional. The Application Design Center application template type.
|
|
132
|
+
class CatalogTemplate
|
|
133
|
+
include ::Google::Protobuf::MessageExts
|
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Template revisions inside a catalog.
|
|
138
|
+
# @!attribute [rw] git_source
|
|
139
|
+
# @return [::Google::Cloud::DesignCenter::V1::GitSource]
|
|
140
|
+
# Optional. The git source.
|
|
141
|
+
#
|
|
142
|
+
# Note: The following fields are mutually exclusive: `git_source`, `gcs_source_uri`, `application_template_revision_source`, `developer_connect_source_config`, `oci_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
143
|
+
# @!attribute [rw] gcs_source_uri
|
|
144
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
145
|
+
# @return [::String]
|
|
146
|
+
# Optional. Deprecated: Added new field tf_module_gcs_uri.
|
|
147
|
+
# The Cloud Storage URI, which must be in the format gs://[bucket] or
|
|
148
|
+
# gs://[bucket]/[object].
|
|
149
|
+
#
|
|
150
|
+
# Note: The following fields are mutually exclusive: `gcs_source_uri`, `git_source`, `application_template_revision_source`, `developer_connect_source_config`, `oci_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
151
|
+
# @!attribute [rw] application_template_revision_source
|
|
152
|
+
# @return [::String]
|
|
153
|
+
# Optional. The application template revision source.
|
|
154
|
+
#
|
|
155
|
+
# Note: The following fields are mutually exclusive: `application_template_revision_source`, `git_source`, `gcs_source_uri`, `developer_connect_source_config`, `oci_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
156
|
+
# @!attribute [rw] developer_connect_source_config
|
|
157
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig]
|
|
158
|
+
# Optional. Configuration for fetching content from source code repository
|
|
159
|
+
# such as GitHub or Bitbucket through Developer Connect.
|
|
160
|
+
#
|
|
161
|
+
# Note: The following fields are mutually exclusive: `developer_connect_source_config`, `git_source`, `gcs_source_uri`, `application_template_revision_source`, `oci_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
162
|
+
# @!attribute [rw] oci_repo
|
|
163
|
+
# @return [::Google::Cloud::DesignCenter::V1::OciRepo]
|
|
164
|
+
# Optional. The Open Container Initiative (OCI) repo source that contains
|
|
165
|
+
# helm charts.
|
|
166
|
+
#
|
|
167
|
+
# Note: The following fields are mutually exclusive: `oci_repo`, `git_source`, `gcs_source_uri`, `application_template_revision_source`, `developer_connect_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
168
|
+
# @!attribute [rw] name
|
|
169
|
+
# @return [::String]
|
|
170
|
+
# Identifier. The catalog template revision name.
|
|
171
|
+
# `projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template/revisions/$revision`
|
|
172
|
+
# @!attribute [rw] description
|
|
173
|
+
# @return [::String]
|
|
174
|
+
# Optional. The catalog template revision description.
|
|
175
|
+
# @!attribute [rw] type
|
|
176
|
+
# @return [::Google::Cloud::DesignCenter::V1::TemplateType]
|
|
177
|
+
# Optional. The Application Design Center application template type.
|
|
178
|
+
# @!attribute [r] create_time
|
|
179
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
180
|
+
# Output only. The catalog template creation timestamp.
|
|
181
|
+
# @!attribute [r] update_time
|
|
182
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
183
|
+
# Output only. The catalog template update timestamp.
|
|
184
|
+
# @!attribute [r] template_metadata
|
|
185
|
+
# @return [::Google::Cloud::DesignCenter::V1::TFBlueprintMetadata]
|
|
186
|
+
# Output only. Template metadata related to Terraform input and output.
|
|
187
|
+
# @!attribute [r] state
|
|
188
|
+
# @return [::Google::Cloud::DesignCenter::V1::CatalogTemplateRevision::State]
|
|
189
|
+
# Output only. The template state (validating/ready/invalid).
|
|
190
|
+
# @!attribute [r] application_template_revision
|
|
191
|
+
# @return [::Google::Cloud::DesignCenter::V1::SerializedApplicationTemplate]
|
|
192
|
+
# Output only. The application template revision.
|
|
193
|
+
# @!attribute [r] helm_chart_metadata
|
|
194
|
+
# @return [::Google::Cloud::DesignCenter::V1::HelmChartMetadata]
|
|
195
|
+
# Output only. The helm chart metadata.
|
|
196
|
+
# @!attribute [r] uuid
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# Output only. UUID of the template revision.
|
|
199
|
+
# @!attribute [rw] metadata_input
|
|
200
|
+
# @return [::Google::Cloud::DesignCenter::V1::MetadataInput]
|
|
201
|
+
# Optional. Metadata input.
|
|
202
|
+
# @!attribute [r] template_category
|
|
203
|
+
# @return [::Google::Cloud::DesignCenter::V1::TemplateCategory]
|
|
204
|
+
# Output only. The category of the template.
|
|
205
|
+
# @!attribute [r] logical_products
|
|
206
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::LogicalProduct>]
|
|
207
|
+
# Output only. The Product Main logical product type information.
|
|
208
|
+
# @!attribute [rw] annotations
|
|
209
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
210
|
+
# Optional. The annotations of the template revision.
|
|
211
|
+
# Key is the annotation name. Value is the annotation value.
|
|
212
|
+
# @!attribute [r] inferred_metadata
|
|
213
|
+
# @return [::Google::Cloud::DesignCenter::V1::InferredMetadata]
|
|
214
|
+
# Output only. Metadata that was automatically inferred from the template
|
|
215
|
+
# content. This field can be updated by the system as it gets new
|
|
216
|
+
# information.
|
|
217
|
+
# @!attribute [r] resource_types
|
|
218
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ResourceType>]
|
|
219
|
+
# Output only. The resource types present in the template revision.
|
|
220
|
+
# @!attribute [r] iac_source
|
|
221
|
+
# @return [::Google::Cloud::DesignCenter::V1::IACSource]
|
|
222
|
+
# Output only. Indicates the IaC source format of this catalog template
|
|
223
|
+
# revision.
|
|
224
|
+
# @!attribute [rw] application_parameters
|
|
225
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
226
|
+
# Optional. The values provided for the input variables.
|
|
227
|
+
class CatalogTemplateRevision
|
|
228
|
+
include ::Google::Protobuf::MessageExts
|
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
230
|
+
|
|
231
|
+
# @!attribute [rw] key
|
|
232
|
+
# @return [::String]
|
|
233
|
+
# @!attribute [rw] value
|
|
234
|
+
# @return [::String]
|
|
235
|
+
class AnnotationsEntry
|
|
236
|
+
include ::Google::Protobuf::MessageExts
|
|
237
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# The template state.
|
|
241
|
+
module State
|
|
242
|
+
# Default.
|
|
243
|
+
STATE_UNSPECIFIED = 0
|
|
244
|
+
|
|
245
|
+
# The template is being validated.
|
|
246
|
+
VALIDATING = 1
|
|
247
|
+
|
|
248
|
+
# The template is ready to be used.
|
|
249
|
+
ACTIVE = 2
|
|
250
|
+
|
|
251
|
+
# The template is invalid.
|
|
252
|
+
INVALID = 3
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|