Skip to content

Commit

Permalink
fix lint yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Mar 23, 2024
1 parent 15c6c6b commit 145c880
Show file tree
Hide file tree
Showing 36 changed files with 0 additions and 43 deletions.
1 change: 0 additions & 1 deletion mmv1/products/backupdr/ManagementServer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ properties:
description: |
Network with format `projects/{{project_id}}/global/networks/{{network_id}}`
required: true

- !ruby/object:Api::Type::Enum
name: 'peeringMode'
description: |
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/certificatemanager/CertificateMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ parameters:
required: true
immutable: true
url_param_only: true

description: |
A user-defined name of the Certificate Map. Certificate Map names must be unique
globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/cloudfunctions/CloudFunction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ properties:
description: |
A user-defined name of the function. Function names must
be unique globally and match pattern `projects/*/locations/*/functions/*`.
- !ruby/object:Api::Type::String
name: 'description'
description: 'User-provided description of a function.'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/cloudfunctions2/Function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ properties:
description: |
A user-defined name of the function. Function names must
be unique globally and match pattern `projects/*/locations/*/functions/*`.
custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
custom_expand: 'templates/terraform/custom_expand/shortname_to_url.go.erb'
- !ruby/object:Api::Type::String
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/cloudrunv2/Job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ properties:
url_param_only: true
description: |
Name of the Job.
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/resource_from_self_link.go.erb
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/cloudrunv2/Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ properties:
url_param_only: true
description: |
Name of the Service.
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/resource_from_self_link.go.erb
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/cloudtasks/Queue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ properties:
name: 'name'
immutable: true
description: The queue name.

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
custom_expand: templates/terraform/custom_expand/qualify_queue_name.go.erb
- !ruby/object:Api::Type::NestedObject
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/datapipeline/Pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ properties:
"PIPELINE_ID is the ID of the pipeline. Must be unique for the selected project and location."
required: true
immutable: true

custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
custom_expand: 'templates/terraform/custom_expand/shortname_to_url.go.erb'
- !ruby/object:Api::Type::String
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/filestore/Backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ properties:
required: true
immutable: true
url_param_only: true

- !ruby/object:Api::Type::String
name: 'description'
description: |
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/filestore/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ properties:
The resource name of the instance.
required: true
url_param_only: true

custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
- !ruby/object:Api::Type::String
name: 'description'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/filestore/Snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ properties:
required: true
immutable: true
url_param_only: true

- !ruby/object:Api::Type::String
name: 'description'
description: |
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebaseappcheck/AppAttestConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ properties:
description: |
The relative resource name of the App Attest configuration object
output: true

- !ruby/object:Api::Type::String
name: tokenTtl
description: |
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebaseappcheck/PlayIntegrityConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ properties:
description: |
The relative resource name of the Play Integrity configuration object
output: true

- !ruby/object:Api::Type::String
name: tokenTtl
description: |
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebaseappcheck/ServiceConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ properties:
description: |
The fully-qualified resource name of the service enforcement configuration.
output: true

- !ruby/object:Api::Type::Enum
name: enforcementMode
description: |
Expand Down
4 changes: 0 additions & 4 deletions mmv1/products/firebaseextensions/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ properties:
description: |
The fully-qualified resource name of the Extension Instance.
output: true

- !ruby/object:Api::Type::Time
name: createTime
description: The time at which the Extension Instance was created.
Expand All @@ -104,7 +103,6 @@ properties:
name: name
description: The unique identifier for this configuration.
output: true

- !ruby/object:Api::Type::Time
name: createTime
description: The time at which the Extension Instance Config was created.
Expand Down Expand Up @@ -143,7 +141,6 @@ properties:
name: eventarcChannel
description: |
Fully qualified Eventarc resource name that consumers should use for event triggers.
default_from_api: true
- !ruby/object:Api::Type::String
name: populatedPostinstallContent
Expand Down Expand Up @@ -211,7 +208,6 @@ properties:
description: |
The name of the last operation that acted on this Extension
Instance
- !ruby/object:Api::Type::String
name: lastOperationType
output: true
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebasehosting/Channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ parameters:
properties:
- !ruby/object:Api::Type::String
name: name

description: |
The fully-qualified resource name for the channel, in the format:
sites/SITE_ID/channels/CHANNEL_ID
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebasehosting/CustomDomain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ virtual_fields:
properties:
- !ruby/object:Api::Type::String
name: name

description: |
The fully-qualified name of the `CustomDomain`.
output: true
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/firebasestorage/Bucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ parameters:
properties:
- !ruby/object:Api::Type::String
name: name

description:
Resource name of the bucket in the format
projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/memcache/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ properties:
required: true
immutable: true
url_param_only: true

custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
- !ruby/object:Api::Type::String
name: 'displayName'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/notebooks/Environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ properties:
required: true
immutable: true
url_param_only: true

- !ruby/object:Api::Type::ResourceRef
name: 'location'
description: 'A reference to the zone where the machine resides.'
Expand Down
2 changes: 0 additions & 2 deletions mmv1/products/notebooks/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ properties:
required: true
immutable: true
url_param_only: true

custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
- !ruby/object:Api::Type::String
name: 'machineType'
Expand All @@ -143,7 +142,6 @@ properties:
# TODO: Implement allow_stopping_for_update here and for acceleratorConfig
# update_verb: :PATCH
# update_url: 'projects/{{project}}/locations/{{location}}/instances/{{name}}:setMachineType'

diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/notebooks/Runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ properties:
required: true
immutable: true
url_param_only: true

- !ruby/object:Api::Type::NestedObject
name: 'virtualMachine'
exactly_one_of:
Expand Down
2 changes: 0 additions & 2 deletions mmv1/products/pubsub/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ properties:
description: 'Name of the subscription.'
required: true
immutable: true

custom_expand: templates/terraform/custom_expand/shortname_to_url.go.erb
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::ResourceRef
Expand All @@ -105,7 +104,6 @@ properties:
the topic is in the same project as the subscription.
required: true
immutable: true

diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/computed_subscription_topic.erb
- !ruby/object:Api::Type::KeyValueLabels
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/pubsub/Topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ properties:
required: true
description: 'Name of the topic.'
immutable: true

diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/resource_from_self_link.go.erb
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
Expand Down
2 changes: 0 additions & 2 deletions mmv1/products/pubsub/go_Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ properties:
- name: 'name'
type: String
description: "Name of the subscription."

required: true
immutable: true
custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
Expand All @@ -107,7 +106,6 @@ properties:
description: "A reference to a Topic resource, of the form projects/{project}/topics/{{name}}
(as in the id property of a google_pubsub_topic), or just a topic name if
the topic is in the same project as the subscription."

required: true
immutable: true
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/pubsub/go_Topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ properties:
- name: 'name'
type: String
description: "Name of the topic."

required: true
immutable: true
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/pubsublite/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ properties:
A reference to a Topic resource.
required: true
immutable: true

diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/computed_lite_subscription_topic.erb
- !ruby/object:Api::Type::NestedObject
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/pubsublite/Topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,5 @@ properties:
imports: 'name'
description: |
The Reservation to use for this topic's throughput capacity.
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_expand: templates/terraform/custom_expand/pubsublite_topic_reservation_config_throughput_reservation.go.erb
1 change: 0 additions & 1 deletion mmv1/products/runtimeconfig/Config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ parameters:
The name of the runtime config.
required: true
immutable: true

properties:
- !ruby/object:Api::Type::String
name: 'description'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/sourcerepo/Repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ properties:
description: |
Resource name of the repository, of the form `{{repo}}`.
The repo name may contain slashes. eg, `name/with/slash`
custom_expand: templates/terraform/custom_expand/shortname_to_url.go.erb
custom_flatten: templates/terraform/custom_flatten/repository_short_name_from_name.go.erb
- !ruby/object:Api::Type::String
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/vertexai/FeatureOnlineStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ properties:
immutable: true
required: true
url_param_only: true

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
name: createTime
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/vertexai/Featurestore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ properties:
valid characters are [a-z0-9_]. The first character cannot be a number.
immutable: true
url_param_only: true

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
name: 'etag'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/vertexai/FeaturestoreEntitytype.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ properties:
valid characters are [a-z0-9_]. The first character cannot be a number.
immutable: true
url_param_only: true

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
name: 'description'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/vertexai/FeaturestoreEntitytypeFeature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ properties:
entity type.
immutable: true
url_param_only: true

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
name: 'etag'
Expand Down
1 change: 0 additions & 1 deletion mmv1/products/vertexai/MetadataStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ properties:
valid characters are [a-z0-9_]. The first character cannot be a number.
immutable: true
url_param_only: true

custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::String
name: 'description'
Expand Down
2 changes: 0 additions & 2 deletions mmv1/products/workbench/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ properties:
required: true
immutable: true
url_param_only: true

custom_flatten: 'templates/terraform/custom_flatten/name_from_self_link.erb'
- !ruby/object:Api::Type::NestedObject
name: gceSetup
Expand All @@ -132,7 +131,6 @@ properties:
default_from_api: true
description: |
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb
- !ruby/object:Api::Type::Array
Expand Down

0 comments on commit 145c880

Please sign in to comment.