Skip to content

Commit 84eab2a

Browse files
feat(file): update the api
#### file:v1 The following keys were added: - schemas.PromoteReplicaRequest.properties.peerInstance.type (Total Keys: 1) #### file:v1beta1 The following keys were added: - schemas.PromoteReplicaRequest.properties.peerInstance.type (Total Keys: 1)
1 parent 5b829e4 commit 84eab2a

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

docs/dyn/file_v1.projects.locations.instances.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ <h3>Method Details</h3>
635635
The object takes the form of:
636636

637637
{ # PromoteReplicaRequest promotes a Filestore standby instance (replica).
638+
&quot;peerInstance&quot;: &quot;A String&quot;, # Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.
638639
}
639640

640641
x__xgafv: string, V1 error format.

docs/dyn/file_v1beta1.projects.locations.instances.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ <h3>Method Details</h3>
696696
The object takes the form of:
697697

698698
{ # PromoteReplicaRequest promotes a Filestore standby instance (replica).
699+
&quot;peerInstance&quot;: &quot;A String&quot;, # Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.
699700
}
700701

701702
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/file.v1.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@
907907
}
908908
}
909909
},
910-
"revision": "20250129",
910+
"revision": "20250205",
911911
"rootUrl": "https://file.googleapis.com/",
912912
"schemas": {
913913
"Backup": {
@@ -2080,7 +2080,12 @@
20802080
"PromoteReplicaRequest": {
20812081
"description": "PromoteReplicaRequest promotes a Filestore standby instance (replica).",
20822082
"id": "PromoteReplicaRequest",
2083-
"properties": {},
2083+
"properties": {
2084+
"peerInstance": {
2085+
"description": "Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.",
2086+
"type": "string"
2087+
}
2088+
},
20842089
"type": "object"
20852090
},
20862091
"ReplicaConfig": {
@@ -2121,11 +2126,13 @@
21212126
"items": {
21222127
"enum": [
21232128
"STATE_REASON_UNSPECIFIED",
2124-
"PEER_INSTANCE_UNREACHABLE"
2129+
"PEER_INSTANCE_UNREACHABLE",
2130+
"REMOVE_FAILED"
21252131
],
21262132
"enumDescriptions": [
21272133
"Reason not specified.",
2128-
"The peer instance is unreachable."
2134+
"The peer instance is unreachable.",
2135+
"The remove replica peer instance operation failed."
21292136
],
21302137
"type": "string"
21312138
},

googleapiclient/discovery_cache/documents/file.v1beta1.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@
10741074
}
10751075
}
10761076
},
1077-
"revision": "20250129",
1077+
"revision": "20250205",
10781078
"rootUrl": "https://file.googleapis.com/",
10791079
"schemas": {
10801080
"Backup": {
@@ -2349,7 +2349,12 @@
23492349
"PromoteReplicaRequest": {
23502350
"description": "PromoteReplicaRequest promotes a Filestore standby instance (replica).",
23512351
"id": "PromoteReplicaRequest",
2352-
"properties": {},
2352+
"properties": {
2353+
"peerInstance": {
2354+
"description": "Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.",
2355+
"type": "string"
2356+
}
2357+
},
23532358
"type": "object"
23542359
},
23552360
"ReplicaConfig": {
@@ -2388,11 +2393,13 @@
23882393
"items": {
23892394
"enum": [
23902395
"STATE_REASON_UNSPECIFIED",
2391-
"PEER_INSTANCE_UNREACHABLE"
2396+
"PEER_INSTANCE_UNREACHABLE",
2397+
"REMOVE_FAILED"
23922398
],
23932399
"enumDescriptions": [
23942400
"Reason not specified.",
2395-
"The peer instance is unreachable."
2401+
"The peer instance is unreachable.",
2402+
"The remove replica peer instance operation failed."
23962403
],
23972404
"type": "string"
23982405
},

0 commit comments

Comments
 (0)