Skip to content

Commit 2c3efbb

Browse files
authored
1 parent 9cc70a0 commit 2c3efbb

File tree

162 files changed

+1647
-1402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+1647
-1402
lines changed

.yamllint

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extends: default
2+
3+
rules:
4+
line-length: disable

mmv1/products/accesscontextmanager/AccessLevel.yaml

+14-4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
# This is the singular of `AccessLevels`, any changes here should be made to `AccessLevels` as well
1516
name: 'AccessLevel'
@@ -224,7 +225,10 @@ properties:
224225
Format: "major.minor.patch" such as "10.5.301", "9.2.1".
225226
- !ruby/object:Api::Type::Boolean
226227
name: 'requireVerifiedChromeOs'
227-
description: If you specify DESKTOP_CHROME_OS for osType, you can optionally include requireVerifiedChromeOs to require Chrome Verified Access.
228+
description:
229+
If you specify DESKTOP_CHROME_OS for osType, you can
230+
optionally include requireVerifiedChromeOs to require
231+
Chrome Verified Access.
228232
- !ruby/object:Api::Type::Enum
229233
name: 'osType'
230234
required: true
@@ -272,13 +276,19 @@ properties:
272276
- !ruby/object:Api::Type::String
273277
name: 'expression'
274278
required: true
275-
description: Textual representation of an expression in Common Expression Language syntax.
279+
description:
280+
Textual representation of an expression in Common Expression
281+
Language syntax.
276282
- !ruby/object:Api::Type::String
277283
name: 'title'
278-
description: Title for the expression, i.e. a short string describing its purpose.
284+
description:
285+
Title for the expression, i.e. a short string describing its
286+
purpose.
279287
- !ruby/object:Api::Type::String
280288
name: 'description'
281289
description: Description of the expression
282290
- !ruby/object:Api::Type::String
283291
name: 'location'
284-
description: String indicating the location of the expression for error reporting, e.g. a file name and a position in the file
292+
description:
293+
String indicating the location of the expression for error
294+
reporting, e.g. a file name and a position in the file

mmv1/products/accesscontextmanager/AccessLevelCondition.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'AccessLevelCondition'
1516
# This is an unusual API, so we need to use a few fields to map the methods

mmv1/products/accesscontextmanager/AccessLevels.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
# This is the plural of `AccessLevel`, any changes here should be made to `AccessLevel` as well
1516
name: 'AccessLevels'
@@ -266,13 +267,19 @@ properties:
266267
- !ruby/object:Api::Type::String
267268
name: 'expression'
268269
required: true
269-
description: Textual representation of an expression in Common Expression Language syntax.
270+
description:
271+
Textual representation of an expression in Common Expression
272+
Language syntax.
270273
- !ruby/object:Api::Type::String
271274
name: 'title'
272-
description: Title for the expression, i.e. a short string describing its purpose.
275+
description:
276+
Title for the expression, i.e. a short string describing its
277+
purpose.
273278
- !ruby/object:Api::Type::String
274279
name: 'description'
275280
description: Description of the expression
276281
- !ruby/object:Api::Type::String
277282
name: 'location'
278-
description: String indicating the location of the expression for error reporting, e.g. a file name and a position in the file
283+
description:
284+
String indicating the location of the expression for error
285+
reporting, e.g. a file name and a position in the file

mmv1/products/accesscontextmanager/AccessPolicy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'AccessPolicy'
1516
base_url: accessPolicies

mmv1/products/accesscontextmanager/AuthorizedOrgsDesc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'AuthorizedOrgsDesc'
1516
base_url: ''

mmv1/products/accesscontextmanager/EgressPolicy.yaml

+52-51
Original file line numberDiff line numberDiff line change
@@ -10,55 +10,56 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
14-
name: 'EgressPolicy'
15-
create_url: "{{egress_policy_name}}"
16-
base_url: ""
17-
self_link: "{{egress_policy_name}}"
18-
create_verb: :PATCH
19-
delete_verb: :PATCH
20-
immutable: true
21-
update_mask: true
22-
identity:
23-
- resource
24-
nested_query: !ruby/object:Api::Resource::NestedQuery
25-
modify_by_patch: true
26-
is_list_of_ids: true
27-
keys:
28-
- status
29-
- resources
30-
references: !ruby/object:Api::Resource::ReferenceLinks
31-
api: 'https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#egresspolicy'
32-
description: |
33-
EgressPolicies match requests based on egressFrom and egressTo stanzas.
34-
For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched.
35-
If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter
36-
boundary. For example, an EgressPolicy can be used to allow VMs on networks
37-
within the ServicePerimeter to access a defined set of projects outside the
38-
perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket
39-
or query against a BigQuery dataset).
40-
autogen_async: true
41-
exclude_validator: true
42-
# Skipping the sweeper due to the non-standard base_url and because this is fine-grained under ServicePerimeter/IngressPolicy
43-
skip_sweeper: true
44-
id_format: "{{egress_policy_name}}/{{resource}}"
45-
import_format: ["{{egress_policy_name}}/{{resource}}"]
46-
custom_code: !ruby/object:Provider::Terraform::CustomCode
47-
custom_import: templates/terraform/custom_import/access_context_manager_service_perimeter_egress_policy.go.erb
48-
parameters:
49-
- !ruby/object:Api::Type::ResourceRef
50-
name: 'egressPolicyName'
51-
resource: 'ServicePerimeter'
52-
imports: 'name'
53-
description: |
54-
The name of the Service Perimeter to add this resource to.
55-
required: true
56-
immutable: true
57-
url_param_only: true
58-
properties:
59-
- !ruby/object:Api::Type::String
60-
name: 'resource'
61-
description: |
62-
A GCP resource that is inside of the service perimeter.
63-
required: true
64-
immutable: true
15+
name: 'EgressPolicy'
16+
create_url: '{{egress_policy_name}}'
17+
base_url: ''
18+
self_link: '{{egress_policy_name}}'
19+
create_verb: :PATCH
20+
delete_verb: :PATCH
21+
immutable: true
22+
update_mask: true
23+
identity:
24+
- resource
25+
nested_query: !ruby/object:Api::Resource::NestedQuery
26+
modify_by_patch: true
27+
is_list_of_ids: true
28+
keys:
29+
- status
30+
- resources
31+
references: !ruby/object:Api::Resource::ReferenceLinks
32+
api: 'https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#egresspolicy'
33+
description: |
34+
EgressPolicies match requests based on egressFrom and egressTo stanzas.
35+
For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched.
36+
If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter
37+
boundary. For example, an EgressPolicy can be used to allow VMs on networks
38+
within the ServicePerimeter to access a defined set of projects outside the
39+
perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket
40+
or query against a BigQuery dataset).
41+
autogen_async: true
42+
exclude_validator: true
43+
# Skipping the sweeper due to the non-standard base_url and because this is fine-grained under ServicePerimeter/IngressPolicy
44+
skip_sweeper: true
45+
id_format: '{{egress_policy_name}}/{{resource}}'
46+
import_format: ['{{egress_policy_name}}/{{resource}}']
47+
custom_code: !ruby/object:Provider::Terraform::CustomCode
48+
custom_import: templates/terraform/custom_import/access_context_manager_service_perimeter_egress_policy.go.erb
49+
parameters:
50+
- !ruby/object:Api::Type::ResourceRef
51+
name: 'egressPolicyName'
52+
resource: 'ServicePerimeter'
53+
imports: 'name'
54+
description: |
55+
The name of the Service Perimeter to add this resource to.
56+
required: true
57+
immutable: true
58+
url_param_only: true
59+
properties:
60+
- !ruby/object:Api::Type::String
61+
name: 'resource'
62+
description: |
63+
A GCP resource that is inside of the service perimeter.
64+
required: true
65+
immutable: true

mmv1/products/accesscontextmanager/GcpUserAccessBinding.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'GcpUserAccessBinding'
1516
base_url: 'organizations/{{organization_id}}/gcpUserAccessBindings'

mmv1/products/accesscontextmanager/IngressPolicy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'IngressPolicy'
1516
create_url: '{{ingress_policy_name}}'

mmv1/products/accesscontextmanager/ServicePerimeterResource.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource
1415
name: 'ServicePerimeterResource'
1516
create_url: '{{perimeter_name}}'

mmv1/products/accesscontextmanager/ServicePerimeters.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13+
1314
--- !ruby/object:Api::Resource # This is the plural of `ServicePerimeter`, any changes here should be made to `ServicePerimeter` as well
1415
name: 'ServicePerimeters'
1516
base_url: '{{parent}}/servicePerimeters:replaceAll'

mmv1/products/activedirectory/Domain.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ properties:
8181
- !ruby/object:Api::Type::String
8282
name: 'name'
8383
output: true
84-
description: 'The unique name of the domain using the format: `projects/{project}/locations/global/domains/{domainName}`.'
84+
description:
85+
'The unique name of the domain using the format:
86+
`projects/{project}/locations/global/domains/{domainName}`.'
8587
- !ruby/object:Api::Type::KeyValuePairs
8688
name: 'labels'
8789
description: 'Resource labels that can contain user-provided metadata'

mmv1/products/activedirectory/DomainTrust.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ properties:
8585
name: 'targetDomainName'
8686
required: true
8787
description:
88-
'The fully qualified target domain name which will be in trust with
89-
the current domain.'
88+
'The fully qualified target domain name which will be in trust with the
89+
current domain.'
9090
- !ruby/object:Api::Type::Enum
9191
name: 'trustType'
9292
required: true

mmv1/products/alloydb/Backup.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ properties:
103103
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
104104
- !ruby/object:Api::Type::String
105105
name: 'clusterName'
106-
description: 'The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).'
106+
description:
107+
'The full resource name of the backup source cluster (e.g.,
108+
projects/{project}/locations/{location}/clusters/{clusterId}).'
107109
required: true
108110
immutable: true
109111
diff_suppress_func: 'ProjectNumberDiffSuppress'
@@ -141,24 +143,24 @@ properties:
141143
A hash of the resource.
142144
output: true
143145
- !ruby/object:Api::Type::NestedObject
144-
name: "encryptionConfig"
146+
name: 'encryptionConfig'
145147
description: |
146148
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
147149
properties:
148150
- !ruby/object:Api::Type::String
149-
name: "kmsKeyName"
151+
name: 'kmsKeyName'
150152
description: |
151153
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
152154
immutable: true
153155
- !ruby/object:Api::Type::NestedObject
154-
name: "encryptionInfo"
156+
name: 'encryptionInfo'
155157
description: |
156158
EncryptionInfo describes the encryption information of a cluster or a backup.
157159
output: true
158160
properties:
159161
- !ruby/object:Api::Type::Enum
160162
name: 'encryptionType'
161-
description: "Output only. Type of encryption."
163+
description: 'Output only. Type of encryption.'
162164
values:
163165
- :TYPE_UNSPECIFIED
164166
- :GOOGLE_DEFAULT_ENCRYPTION
@@ -169,4 +171,4 @@ properties:
169171
item_type: Api::Type::String
170172
description: |
171173
Output only. Cloud KMS key versions that are being used to protect the database or the backup.
172-
output: true
174+
output: true

mmv1/products/alloydb/Cluster.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -90,24 +90,24 @@ properties:
9090
name: 'labels'
9191
description: 'User-defined labels for the alloydb cluster.'
9292
- !ruby/object:Api::Type::NestedObject
93-
name: "encryptionConfig"
93+
name: 'encryptionConfig'
9494
description: |
9595
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
9696
properties:
9797
- !ruby/object:Api::Type::String
98-
name: "kmsKeyName"
98+
name: 'kmsKeyName'
9999
description: |
100100
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
101101
immutable: true
102102
- !ruby/object:Api::Type::NestedObject
103-
name: "encryptionInfo"
103+
name: 'encryptionInfo'
104104
description: |
105105
EncryptionInfo describes the encryption information of a cluster or a backup.
106106
output: true
107107
properties:
108108
- !ruby/object:Api::Type::Enum
109109
name: 'encryptionType'
110-
description: "Output only. Type of encryption."
110+
description: 'Output only. Type of encryption.'
111111
values:
112112
- :TYPE_UNSPECIFIED
113113
- :GOOGLE_DEFAULT_ENCRYPTION
@@ -178,12 +178,12 @@ properties:
178178
description:
179179
'Labels to apply to backups created using this configuration.'
180180
- !ruby/object:Api::Type::NestedObject
181-
name: "encryptionConfig"
181+
name: 'encryptionConfig'
182182
description: |
183183
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
184184
properties:
185185
- !ruby/object:Api::Type::String
186-
name: "kmsKeyName"
186+
name: 'kmsKeyName'
187187
description: |
188188
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
189189
- !ruby/object:Api::Type::NestedObject
@@ -278,9 +278,9 @@ properties:
278278
'The host and port of the on-premises instance in host:port format'
279279
- !ruby/object:Api::Type::String
280280
name: 'referenceId'
281-
description: "Place holder for the external source identifier(e.g DMS
282-
job\
283-
\ name) that created the cluster."
281+
description:
282+
'Place holder for the external source identifier(e.g DMS job name)
283+
that created the cluster.'
284284
- !ruby/object:Api::Type::String
285285
name: 'sourceType'
286286
description: 'Type of migration source.'

0 commit comments

Comments
 (0)