Skip to content

Commit 94e533d

Browse files
feat(backupdr): update the api
#### backupdr:v1 The following keys were deleted: - schemas.ComputeInstanceBackupProperties.properties.sourceInstanceName.type (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.backupVaults.methods.patch.parameters.force (Total Keys: 2) - schemas.AttachedDisk.properties.diskTypeUri (Total Keys: 2) - schemas.ComputeInstanceBackupProperties.properties.sourceInstance.type (Total Keys: 1)
1 parent 94b103b commit 94e533d

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

docs/dyn/backupdr_v1.projects.locations.backupVaults.dataSources.backups.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ <h3>Method Details</h3>
189189
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
190190
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
191191
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
192+
&quot;diskTypeUri&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
192193
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
193194
{ # Feature type of the Guest OS.
194195
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
@@ -301,7 +302,7 @@ <h3>Method Details</h3>
301302
],
302303
},
303304
],
304-
&quot;sourceInstanceName&quot;: &quot;A String&quot;, # Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.
305+
&quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
305306
&quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
306307
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
307308
&quot;A String&quot;,
@@ -405,6 +406,7 @@ <h3>Method Details</h3>
405406
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
406407
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
407408
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
409+
&quot;diskTypeUri&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
408410
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
409411
{ # Feature type of the Guest OS.
410412
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
@@ -517,7 +519,7 @@ <h3>Method Details</h3>
517519
],
518520
},
519521
],
520-
&quot;sourceInstanceName&quot;: &quot;A String&quot;, # Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.
522+
&quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
521523
&quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
522524
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
523525
&quot;A String&quot;,
@@ -630,6 +632,7 @@ <h3>Method Details</h3>
630632
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
631633
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
632634
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
635+
&quot;diskTypeUri&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
633636
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
634637
{ # Feature type of the Guest OS.
635638
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
@@ -742,7 +745,7 @@ <h3>Method Details</h3>
742745
],
743746
},
744747
],
745-
&quot;sourceInstanceName&quot;: &quot;A String&quot;, # Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.
748+
&quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
746749
&quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
747750
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
748751
&quot;A String&quot;,

docs/dyn/backupdr_v1.projects.locations.backupVaults.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h2>Instance Methods</h2>
104104
<code><a href="#list_next">list_next()</a></code></p>
105105
<p class="firstline">Retrieves the next page of results.</p>
106106
<p class="toc_element">
107-
<code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
107+
<code><a href="#patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
108108
<p class="firstline">Updates the settings of a BackupVault.</p>
109109
<p class="toc_element">
110110
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
@@ -386,7 +386,7 @@ <h3>Method Details</h3>
386386
</div>
387387

388388
<div class="method">
389-
<code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
389+
<code class="details" id="patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
390390
<pre>Updates the settings of a BackupVault.
391391

392392
Args:
@@ -417,6 +417,7 @@ <h3>Method Details</h3>
417417
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was updated.
418418
}
419419

420+
force: boolean, Optional. If set to true, will not check plan duration against backup vault enforcement duration. Non-standard field.
420421
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
421422
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the BackupVault resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.
422423
validateOnly: boolean, Optional. Only validate the request, but do not perform mutations. The default is &#x27;false&#x27;.

googleapiclient/discovery_cache/documents/backupdr.v1.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,11 @@
398398
"name"
399399
],
400400
"parameters": {
401+
"force": {
402+
"description": "Optional. If set to true, will not check plan duration against backup vault enforcement duration. Non-standard field.",
403+
"location": "query",
404+
"type": "boolean"
405+
},
401406
"name": {
402407
"description": "Output only. The resource name.",
403408
"location": "path",
@@ -1256,7 +1261,7 @@
12561261
}
12571262
}
12581263
},
1259-
"revision": "20240626",
1264+
"revision": "20240711",
12601265
"rootUrl": "https://backupdr.googleapis.com/",
12611266
"schemas": {
12621267
"AbandonBackupRequest": {
@@ -1418,6 +1423,11 @@
14181423
],
14191424
"type": "string"
14201425
},
1426+
"diskTypeUri": {
1427+
"description": "Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
1428+
"readOnly": true,
1429+
"type": "string"
1430+
},
14211431
"guestOsFeature": {
14221432
"description": "Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.",
14231433
"items": {
@@ -2022,8 +2032,8 @@
20222032
},
20232033
"type": "array"
20242034
},
2025-
"sourceInstanceName": {
2026-
"description": "Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.",
2035+
"sourceInstance": {
2036+
"description": "The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance",
20272037
"type": "string"
20282038
},
20292039
"tags": {

0 commit comments

Comments
 (0)