Skip to content

Commit 46a3c36

Browse files
committed
Use the same format for labels fields
1 parent ed4eff2 commit 46a3c36

26 files changed

+42
-42
lines changed

mmv1/products/cloudrun/DomainMapping.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ properties:
158158
description: Metadata associated with this DomainMapping.
159159
properties:
160160
- !ruby/object:Api::Type::KeyValuePairs
161-
name: labels
161+
name: 'labels'
162162
description: |-
163163
Map of string keys and values that can be used to organize and categorize
164164
(scope and select) objects. May match selectors of replication controllers
@@ -204,7 +204,7 @@ properties:
204204
project ID or project number.
205205
custom_flatten: templates/terraform/custom_flatten/set_to_project.go.erb
206206
- !ruby/object:Api::Type::KeyValuePairs
207-
name: annotations
207+
name: 'annotations'
208208
description: |-
209209
Annotations is a key value map stored with a resource that
210210
may be set by external tools to store and retrieve arbitrary metadata. More

mmv1/products/cloudrun/Service.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ properties:
240240
default_from_api: true
241241
properties:
242242
- !ruby/object:Api::Type::KeyValuePairs
243-
name: labels
243+
name: 'labels'
244244
description: |-
245245
Map of string keys and values that can be used to organize and categorize
246246
(scope and select) objects.
@@ -279,7 +279,7 @@ properties:
279279
default_from_api: true
280280
custom_expand: 'templates/terraform/custom_expand/default_to_project.go.erb'
281281
- !ruby/object:Api::Type::KeyValuePairs
282-
name: annotations
282+
name: 'annotations'
283283
description: |-
284284
Annotations is a key value map stored with a resource that
285285
may be set by external tools to store and retrieve arbitrary metadata. More
@@ -971,7 +971,7 @@ properties:
971971
default_from_api: true
972972
properties:
973973
- !ruby/object:Api::Type::KeyValuePairs
974-
name: labels
974+
name: 'labels'
975975
description: |-
976976
Map of string keys and values that can be used to organize and categorize
977977
(scope and select) objects. May match selectors of replication controllers
@@ -1013,7 +1013,7 @@ properties:
10131013
custom_flatten: templates/terraform/custom_flatten/set_to_project.go.erb
10141014
custom_expand: 'templates/terraform/custom_expand/default_to_project.go.erb'
10151015
- !ruby/object:Api::Type::KeyValuePairs
1016-
name: annotations
1016+
name: 'annotations'
10171017
description: |-
10181018
Annotations is a key value map stored with a resource that
10191019
may be set by external tools to store and retrieve arbitrary metadata. More

mmv1/products/cloudrunv2/Job.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ properties:
138138
Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
139139
All system labels in v1 now have a corresponding field in v2 Job.
140140
- !ruby/object:Api::Type::KeyValueAnnotations
141-
name: "annotations"
141+
name: 'annotations'
142142
description: |-
143143
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
144144
@@ -229,7 +229,7 @@ properties:
229229
Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
230230
All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
231231
- !ruby/object:Api::Type::KeyValuePairs
232-
name: "annotations"
232+
name: 'annotations'
233233
description: |-
234234
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
235235

mmv1/products/containerattached/Cluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ properties:
203203
The Kubernetes version of the cluster.
204204
output: true
205205
- !ruby/object:Api::Type::KeyValueAnnotations
206-
name: annotations
206+
name: 'annotations'
207207
description: |
208208
Optional. Annotations on the cluster. This field has the same
209209
restrictions as Kubernetes annotations. The total size of all keys and

mmv1/products/firebasehosting/Channel.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ properties:
7777
purposes. Must be a number between 1-100. Defaults to 10 for new channels.
7878
default_from_api: true
7979
- !ruby/object:Api::Type::KeyValueLabels
80-
name: labels
80+
name: 'labels'
8181
description: Text labels used for extra metadata and/or filtering
8282
- !ruby/object:Api::Type::Time
8383
name: expireTime

mmv1/products/gkebackup/BackupPlan.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ properties:
139139
the locked field itself.
140140
default_from_api: true
141141
- !ruby/object:Api::Type::KeyValueLabels
142-
name: labels
142+
name: 'labels'
143143
description: |
144144
Description: A set of custom labels supplied by the user.
145145
A list of key->value pairs.

mmv1/products/gkehub2/Feature.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ properties:
106106
custom_expand: templates/terraform/custom_expand/resource_from_self_link.go.erb
107107
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
108108
- !ruby/object:Api::Type::KeyValueLabels
109-
name: labels
109+
name: 'labels'
110110
description: GCP labels for this Feature.
111111
- !ruby/object:Api::Type::NestedObject
112112
name: resourceState

mmv1/products/gkeonprem/BareMetalAdminCluster.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ properties:
134134
through optimistic concurrency control.
135135
output: true
136136
- !ruby/object:Api::Type::KeyValueAnnotations
137-
name: "annotations"
137+
name: 'annotations'
138138
description: |
139139
Annotations on the Bare Metal Admin Cluster.
140140
This field has the same restrictions as Kubernetes annotations.
@@ -194,7 +194,7 @@ properties:
194194
The default IPv4 address for SSH access and Kubernetes node.
195195
Example: 192.168.0.1
196196
- !ruby/object:Api::Type::KeyValuePairs
197-
name: "labels"
197+
name: 'labels'
198198
description: |
199199
The map of Kubernetes labels (key/value pairs) to be applied to
200200
each node. These will added in addition to any default label(s)
@@ -233,7 +233,7 @@ properties:
233233
- PREFER_NO_SCHEDULE
234234
- NO_EXECUTE
235235
- !ruby/object:Api::Type::KeyValuePairs
236-
name: "labels"
236+
name: 'labels'
237237
description: |
238238
The map of Kubernetes labels (key/value pairs) to be applied to
239239
each node. These will added in addition to any default label(s)

mmv1/products/gkeonprem/BareMetalCluster.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ properties:
8686
description: |
8787
A human readable description of this Bare Metal User Cluster.
8888
- !ruby/object:Api::Type::KeyValueAnnotations
89-
name: "annotations"
89+
name: 'annotations'
9090
description: |
9191
Annotations on the Bare Metal User Cluster.
9292
This field has the same restrictions as Kubernetes annotations.
@@ -176,7 +176,7 @@ properties:
176176
The default IPv4 address for SSH access and Kubernetes node.
177177
Example: 192.168.0.1
178178
- !ruby/object:Api::Type::KeyValuePairs
179-
name: "labels"
179+
name: 'labels'
180180
description: |
181181
The map of Kubernetes labels (key/value pairs) to be applied to
182182
each node. These will added in addition to any default label(s)
@@ -217,7 +217,7 @@ properties:
217217
- PREFER_NO_SCHEDULE
218218
- NO_EXECUTE
219219
- !ruby/object:Api::Type::KeyValuePairs
220-
name: "labels"
220+
name: 'labels'
221221
description: |
222222
The map of Kubernetes labels (key/value pairs) to be applied to
223223
each node. These will added in addition to any default label(s)
@@ -340,7 +340,7 @@ properties:
340340
The default IPv4 address for SSH access and Kubernetes node.
341341
Example: 192.168.0.1
342342
- !ruby/object:Api::Type::KeyValuePairs
343-
name: "labels"
343+
name: 'labels'
344344
description: |
345345
The map of Kubernetes labels (key/value pairs) to be applied to
346346
each node. These will added in addition to any default label(s)
@@ -381,7 +381,7 @@ properties:
381381
- PREFER_NO_SCHEDULE
382382
- NO_EXECUTE
383383
- !ruby/object:Api::Type::KeyValuePairs
384-
name: "labels"
384+
name: 'labels'
385385
description: |
386386
The map of Kubernetes labels (key/value pairs) to be applied to
387387
each node. These will added in addition to any default label(s)
@@ -504,7 +504,7 @@ properties:
504504
The default IPv4 address for SSH access and Kubernetes node.
505505
Example: 192.168.0.1
506506
- !ruby/object:Api::Type::KeyValuePairs
507-
name: "labels"
507+
name: 'labels'
508508
description: |
509509
The map of Kubernetes labels (key/value pairs) to be applied to
510510
each node. These will added in addition to any default label(s)
@@ -543,7 +543,7 @@ properties:
543543
- PREFER_NO_SCHEDULE
544544
- NO_EXECUTE
545545
- !ruby/object:Api::Type::KeyValuePairs
546-
name: "labels"
546+
name: 'labels'
547547
description: |
548548
The map of Kubernetes labels (key/value pairs) to be applied to
549549
each node. These will added in addition to any default label(s)

mmv1/products/gkeonprem/VmwareNodePool.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ properties:
7272
name: "displayName"
7373
description: The display name for the node pool.
7474
- !ruby/object:Api::Type::KeyValueAnnotations
75-
name: "annotations"
75+
name: 'annotations'
7676
description: |
7777
Annotations on the node Pool.
7878
This field has the same restrictions as Kubernetes annotations.
@@ -148,7 +148,7 @@ properties:
148148
- PREFER_NO_SCHEDULE
149149
- NO_EXECUTE
150150
- !ruby/object:Api::Type::KeyValuePairs
151-
name: "labels"
151+
name: 'labels'
152152
description: |
153153
The map of Kubernetes labels (key/value pairs) to be applied to each node.
154154
These will added in addition to any default label(s) that

mmv1/products/healthcare/ConsentStore.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ properties:
9494
description: |
9595
If true, [consents.patch] [google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist.
9696
- !ruby/object:Api::Type::KeyValueLabels
97-
name: labels
97+
name: 'labels'
9898
required: false
9999
description: |
100100
User-supplied key-value pairs used to organize Consent stores.

mmv1/products/healthcare/DicomStore.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ properties:
7474
required: true
7575
immutable: true
7676
- !ruby/object:Api::Type::KeyValueLabels
77-
name: labels
77+
name: 'labels'
7878
required: false
7979
description: |
8080
User-supplied key-value pairs used to organize DICOM stores.

mmv1/products/healthcare/FhirStore.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ properties:
167167
required: false
168168
immutable: true
169169
- !ruby/object:Api::Type::KeyValueLabels
170-
name: labels
170+
name: 'labels'
171171
required: false
172172
description: |
173173
User-supplied key-value pairs used to organize FHIR stores.

mmv1/products/healthcare/Hl7V2Store.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ properties:
130130
- :V2
131131
- :V3
132132
- !ruby/object:Api::Type::KeyValueLabels
133-
name: labels
133+
name: 'labels'
134134
required: false
135135
description: |
136136
User-supplied key-value pairs used to organize HL7v2 stores.

mmv1/products/logging/Metric.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ properties:
132132
- :CUMULATIVE
133133
required: true
134134
- !ruby/object:Api::Type::Array
135-
name: labels
135+
name: 'labels'
136136
description: |
137137
The set of labels that can be used to describe a specific instance of this metric type. For
138138
example, the appengine.googleapis.com/http/server/response_latencies metric type has a label

mmv1/products/monitoring/AlertPolicy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ properties:
859859
alerting rule, then this value should be taken from the enclosing
860860
rule group.
861861
- !ruby/object:Api::Type::KeyValuePairs
862-
name: labels
862+
name: 'labels'
863863
description: |
864864
Labels to add to or overwrite in the PromQL query result. Label names
865865
must be valid.

mmv1/products/monitoring/MetricDescriptor.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ properties:
6969
the DNS name custom.googleapis.com, external.googleapis.com, or
7070
logging.googleapis.com/user/.
7171
- !ruby/object:Api::Type::Array
72-
name: labels
72+
name: 'labels'
7373
description:
7474
The set of labels that can be used to describe a specific instance of this
7575
metric type. In order to delete a label, the entire resource must be

mmv1/products/monitoring/NotificationChannel.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ custom_diff: [
7979
]
8080
properties:
8181
- !ruby/object:Api::Type::KeyValuePairs
82-
name: labels
82+
name: 'labels'
8383
description: |
8484
Configuration fields that define the channel and its behavior. The
8585
permissible and required labels are specified in the

mmv1/products/monitoring/UptimeCheckConfig.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ properties:
402402
resource types
403403
(https://cloud.google.com/logging/docs/api/v2/resource-list).
404404
- !ruby/object:Api::Type::KeyValuePairs
405-
name: labels
405+
name: 'labels'
406406
immutable: true
407407
required: true
408408
description:

mmv1/products/networkconnectivity/ServiceConnectionPolicies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,6 @@ properties:
206206
description: |
207207
The type of underlying resources used to create the connection.
208208
- !ruby/object:Api::Type::KeyValueLabels
209-
name: "labels"
209+
name: 'labels'
210210
description: |
211211
User-defined labels.

mmv1/products/networksecurity/AddressGroup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ properties:
9696
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
9797
output: true
9898
- !ruby/object:Api::Type::KeyValueLabels
99-
name: "labels"
99+
name: 'labels'
100100
description: |
101101
Set of label tags associated with the AddressGroup resource.
102102
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

mmv1/products/privateca/CaPool.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ properties:
481481
- :PEM
482482
- :DER
483483
- !ruby/object:Api::Type::KeyValueLabels
484-
name: labels
484+
name: 'labels'
485485
description: |
486486
Labels with user-defined metadata.
487487

mmv1/products/privateca/CertificateAuthority.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ properties:
736736
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
737737
output: true
738738
- !ruby/object:Api::Type::KeyValueLabels
739-
name: labels
739+
name: 'labels'
740740
description: |
741741
Labels with user-defined metadata.
742742

mmv1/products/secretmanager/Secret.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ properties:
7070
description: |
7171
The time at which the Secret was created.
7272
- !ruby/object:Api::Type::KeyValueLabels
73-
name: labels
73+
name: 'labels'
7474
description: |
7575
The labels assigned to this Secret.
7676
@@ -85,7 +85,7 @@ properties:
8585
An object containing a list of "key": value pairs. Example:
8686
{ "name": "wrench", "mass": "1.3kg", "count": "3" }.
8787
- !ruby/object:Api::Type::KeyValueAnnotations
88-
name: annotations
88+
name: 'annotations'
8989
description: |
9090
Custom metadata about the secret.
9191

mmv1/products/vertexai/Endpoint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ properties:
360360
output: true
361361
ignore_read: true
362362
- !ruby/object:Api::Type::KeyValueLabels
363-
name: labels
363+
name: 'labels'
364364
description:
365365
The labels with user-defined metadata to organize your Endpoints. Label
366366
keys and values can be no longer than 64 characters (Unicode codepoints),

mmv1/products/workstations/WorkstationCluster.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ properties:
9090
description: |
9191
The system-generated UID of the resource.
9292
- !ruby/object:Api::Type::KeyValueLabels
93-
name: "labels"
93+
name: 'labels'
9494
description:
9595
"Client-specified labels that are applied to the resource and that are
9696
also propagated to the underlying Compute Engine resources."
@@ -119,7 +119,7 @@ properties:
119119
Details can be found in the conditions field.
120120
output: true
121121
- !ruby/object:Api::Type::KeyValueAnnotations
122-
name: "annotations"
122+
name: 'annotations'
123123
description: "Client-specified annotations. This is distinct from labels."
124124
- !ruby/object:Api::Type::Fingerprint
125125
name: "etag"

0 commit comments

Comments
 (0)