Skip to content

Commit

Permalink
feat(backupdr): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jul 25, 2024
1 parent 94b103b commit 94e533d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ <h3>Method Details</h3>
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
&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
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
{ # Feature type of the Guest OS.
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
Expand Down Expand Up @@ -301,7 +302,7 @@ <h3>Method Details</h3>
],
},
],
&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.
&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
&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).
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
&quot;A String&quot;,
Expand Down Expand Up @@ -405,6 +406,7 @@ <h3>Method Details</h3>
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
&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
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
{ # Feature type of the Guest OS.
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
Expand Down Expand Up @@ -517,7 +519,7 @@ <h3>Method Details</h3>
],
},
],
&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.
&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
&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).
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
&quot;A String&quot;,
Expand Down Expand Up @@ -630,6 +632,7 @@ <h3>Method Details</h3>
&quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
&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
&quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
{ # Feature type of the Guest OS.
&quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
Expand Down Expand Up @@ -742,7 +745,7 @@ <h3>Method Details</h3>
],
},
],
&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.
&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
&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).
&quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
&quot;A String&quot;,
Expand Down
5 changes: 3 additions & 2 deletions docs/dyn/backupdr_v1.projects.locations.backupVaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h2>Instance Methods</h2>
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
<code><a href="#patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the settings of a BackupVault.</p>
<p class="toc_element">
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
Expand Down Expand Up @@ -386,7 +386,7 @@ <h3>Method Details</h3>
</div>

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

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

force: boolean, Optional. If set to true, will not check plan duration against backup vault enforcement duration. Non-standard field.
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).
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.
validateOnly: boolean, Optional. Only validate the request, but do not perform mutations. The default is &#x27;false&#x27;.
Expand Down
16 changes: 13 additions & 3 deletions googleapiclient/discovery_cache/documents/backupdr.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, will not check plan duration against backup vault enforcement duration. Non-standard field.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Output only. The resource name.",
"location": "path",
Expand Down Expand Up @@ -1256,7 +1261,7 @@
}
}
},
"revision": "20240626",
"revision": "20240711",
"rootUrl": "https://backupdr.googleapis.com/",
"schemas": {
"AbandonBackupRequest": {
Expand Down Expand Up @@ -1418,6 +1423,11 @@
],
"type": "string"
},
"diskTypeUri": {
"description": "Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
"readOnly": true,
"type": "string"
},
"guestOsFeature": {
"description": "Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.",
"items": {
Expand Down Expand Up @@ -2022,8 +2032,8 @@
},
"type": "array"
},
"sourceInstanceName": {
"description": "Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.",
"sourceInstance": {
"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",
"type": "string"
},
"tags": {
Expand Down

0 comments on commit 94e533d

Please sign in to comment.