Skip to content

Commit

Permalink
region_compute_disk: move several parameters into properties since …
Browse files Browse the repository at this point in the history
…they arent used in URL (#12440)
  • Loading branch information
BBBmau authored Nov 27, 2024
1 parent f322db3 commit 35c44b9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions mmv1/products/compute/RegionDisk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,22 @@ parameters:
custom_expand: 'templates/terraform/custom_expand/resourceref_with_validation.go.tmpl'
resource: 'Region'
imports: 'name'
- name: 'snapshot'
type: ResourceRef
description: |
The source snapshot used to create this disk. You can provide this as
a partial or full URL to the resource. For example, the following are
valid values:
* `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
* `projects/project/global/snapshots/snapshot`
* `global/snapshots/snapshot`
* `snapshot`
api_name: sourceSnapshot
custom_expand: 'templates/terraform/custom_expand/resourceref_with_validation.go.tmpl'
resource: 'Snapshot'
imports: 'selfLink'
properties:
- name: 'diskEncryptionKey'
type: NestedObject
description: |
Expand Down Expand Up @@ -134,21 +150,6 @@ parameters:
type: String
description: |
The name of the encryption key that is stored in Google Cloud KMS.
- name: 'snapshot'
type: ResourceRef
description: |
The source snapshot used to create this disk. You can provide this as
a partial or full URL to the resource. For example, the following are
valid values:
* `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
* `projects/project/global/snapshots/snapshot`
* `global/snapshots/snapshot`
* `snapshot`
api_name: sourceSnapshot
custom_expand: 'templates/terraform/custom_expand/resourceref_with_validation.go.tmpl'
resource: 'Snapshot'
imports: 'selfLink'
- name: 'sourceSnapshotEncryptionKey'
type: NestedObject
description: |
Expand Down Expand Up @@ -184,7 +185,6 @@ parameters:
snapshot ID would identify the exact version of the snapshot that was
used.
output: true
properties:
- name: 'labelFingerprint'
type: Fingerprint
description: |
Expand Down

0 comments on commit 35c44b9

Please sign in to comment.