Skip to content

Commit f73eac8

Browse files
feat: Automated regeneration of file v1 client (googleapis#21861)
Auto-created at 2025-02-26 21:13:15 +0000 using the toys pull request generator.
1 parent 054d741 commit f73eac8

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227349,6 +227349,7 @@
227349227349
"/file:v1/PerformanceLimits/maxWriteThroughput": max_write_throughput
227350227350
"/file:v1/PerformanceLimits/maxWriteThroughputBps": max_write_throughput_bps
227351227351
"/file:v1/PromoteReplicaRequest": promote_replica_request
227352+
"/file:v1/PromoteReplicaRequest/peerInstance": peer_instance
227352227353
"/file:v1/ReplicaConfig": replica_config
227353227354
"/file:v1/ReplicaConfig/lastActiveSyncTime": last_active_sync_time
227354227355
"/file:v1/ReplicaConfig/peerInstance": peer_instance

generated/google-apis-file_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-file_v1
22

3-
### v0.51.0 (2025-01-19)
3+
### v0.51.0 (2025-02-26)
44

5-
* Regenerated from discovery document revision 20250106
5+
* Regenerated from discovery document revision 20250205
66
* Regenerated using generator version 0.16.0
77

88
### v0.50.0 (2024-12-15)

generated/google-apis-file_v1/lib/google/apis/file_v1/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,12 +1581,20 @@ def update!(**args)
15811581
class PromoteReplicaRequest
15821582
include Google::Apis::Core::Hashable
15831583

1584+
# Optional. The resource name of the peer instance to promote, in the format `
1585+
# projects/`project_id`/locations/`location_id`/instances/`instance_id``. The
1586+
# peer instance is required if the operation is called on an active instance.
1587+
# Corresponds to the JSON property `peerInstance`
1588+
# @return [String]
1589+
attr_accessor :peer_instance
1590+
15841591
def initialize(**args)
15851592
update!(**args)
15861593
end
15871594

15881595
# Update properties of this object
15891596
def update!(**args)
1597+
@peer_instance = args[:peer_instance] if args.key?(:peer_instance)
15901598
end
15911599
end
15921600

generated/google-apis-file_v1/lib/google/apis/file_v1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module FileV1
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250106"
25+
REVISION = "20250205"
2626
end
2727
end
2828
end

generated/google-apis-file_v1/lib/google/apis/file_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
663663
class PromoteReplicaRequest
664664
# @private
665665
class Representation < Google::Apis::Core::JsonRepresentation
666+
property :peer_instance, as: 'peerInstance'
666667
end
667668
end
668669

0 commit comments

Comments
 (0)