Skip to content

Commit 9cf09a7

Browse files
feat: Automated regeneration of memcache v1beta2 client (#25455)
Auto-created at 2026-01-25 09:51:55 +0000 using the toys pull request generator.
1 parent 47fc345 commit 9cf09a7

File tree

6 files changed

+48
-39
lines changed

6 files changed

+48
-39
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300264,6 +300264,7 @@
300264300264
"/memcache:v1beta2/GetTagsRequest": get_tags_request
300265300265
"/memcache:v1beta2/GetTagsRequest/name": name
300266300266
"/memcache:v1beta2/GetTagsResponse": get_tags_response
300267+
"/memcache:v1beta2/GetTagsResponse/etag": etag
300267300268
"/memcache:v1beta2/GetTagsResponse/name": name
300268300269
"/memcache:v1beta2/GetTagsResponse/tags": tags
300269300270
"/memcache:v1beta2/GetTagsResponse/tags/tag": tag
@@ -300509,12 +300510,14 @@
300509300510
"/memcache:v1beta2/SetIamPolicyRequest/policy": policy
300510300511
"/memcache:v1beta2/SetIamPolicyRequest/updateMask": update_mask
300511300512
"/memcache:v1beta2/SetTagsRequest": set_tags_request
300513+
"/memcache:v1beta2/SetTagsRequest/etag": etag
300512300514
"/memcache:v1beta2/SetTagsRequest/name": name
300513300515
"/memcache:v1beta2/SetTagsRequest/requestId": request_id
300514300516
"/memcache:v1beta2/SetTagsRequest/tags": tags
300515300517
"/memcache:v1beta2/SetTagsRequest/tags/tag": tag
300516300518
"/memcache:v1beta2/SetTagsRequest/tagsEtag": tags_etag
300517300519
"/memcache:v1beta2/SetTagsResponse": set_tags_response
300520+
"/memcache:v1beta2/SetTagsResponse/etag": etag
300518300521
"/memcache:v1beta2/SetTagsResponse/name": name
300519300522
"/memcache:v1beta2/SetTagsResponse/tags": tags
300520300523
"/memcache:v1beta2/SetTagsResponse/tags/tag": tag

generated/google-apis-memcache_v1beta2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-memcache_v1beta2
22

3+
### v0.48.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260115
6+
37
### v0.47.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251002

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

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def update!(**args)
228228
class GetTagsRequest
229229
include Google::Apis::Core::Hashable
230230

231-
# Required. The full One Platform resource name of the service resource.
231+
# Required. The full resource name of the service resource.
232232
# Corresponds to the JSON property `name`
233233
# @return [String]
234234
attr_accessor :name
@@ -247,7 +247,13 @@ def update!(**args)
247247
class GetTagsResponse
248248
include Google::Apis::Core::Hashable
249249

250-
# Required. The full One Platform resource name of the service resource.
250+
# A checksum based on the current bindings. This field is always set in server
251+
# responses.
252+
# Corresponds to the JSON property `etag`
253+
# @return [String]
254+
attr_accessor :etag
255+
256+
# Required. The full resource name of the service resource.
251257
# Corresponds to the JSON property `name`
252258
# @return [String]
253259
attr_accessor :name
@@ -259,21 +265,15 @@ class GetTagsResponse
259265
# @return [Hash<String,String>]
260266
attr_accessor :tags
261267

262-
# A checksum based on the current bindings. This field is always set in server
263-
# responses.
264-
# Corresponds to the JSON property `tagsEtag`
265-
# @return [String]
266-
attr_accessor :tags_etag
267-
268268
def initialize(**args)
269269
update!(**args)
270270
end
271271

272272
# Update properties of this object
273273
def update!(**args)
274+
@etag = args[:etag] if args.key?(:etag)
274275
@name = args[:name] if args.key?(:name)
275276
@tags = args[:tags] if args.key?(:tags)
276-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
277277
end
278278
end
279279

@@ -1143,8 +1143,9 @@ class ListOperationsResponse
11431143
attr_accessor :operations
11441144

11451145
# Unordered list. Unreachable resources. Populated when the request sets `
1146-
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
1147-
# when attempting to list all resources across all supported locations.
1146+
# ListOperationsRequest.return_partial_success` and reads across collections.
1147+
# For example, when attempting to list all resources across all supported
1148+
# locations.
11481149
# Corresponds to the JSON property `unreachable`
11491150
# @return [Array<String>]
11501151
attr_accessor :unreachable
@@ -1661,7 +1662,13 @@ def update!(**args)
16611662
class SetTagsRequest
16621663
include Google::Apis::Core::Hashable
16631664

1664-
# Required. The full One Platform resource name of the service resource.
1665+
# Optional. A checksum based on the current bindings which can be passed to
1666+
# prevent race conditions. If not passed, etag check would be skipped.
1667+
# Corresponds to the JSON property `etag`
1668+
# @return [String]
1669+
attr_accessor :etag
1670+
1671+
# Required. The full resource name of the service resource.
16651672
# Corresponds to the JSON property `name`
16661673
# @return [String]
16671674
attr_accessor :name
@@ -1679,30 +1686,30 @@ class SetTagsRequest
16791686
# @return [Hash<String,String>]
16801687
attr_accessor :tags
16811688

1682-
# Optional. A checksum based on the current bindings which can be passed to
1683-
# prevent race conditions. If not passed, etag check would be skipped.
1684-
# Corresponds to the JSON property `tagsEtag`
1685-
# @return [String]
1686-
attr_accessor :tags_etag
1687-
16881689
def initialize(**args)
16891690
update!(**args)
16901691
end
16911692

16921693
# Update properties of this object
16931694
def update!(**args)
1695+
@etag = args[:etag] if args.key?(:etag)
16941696
@name = args[:name] if args.key?(:name)
16951697
@request_id = args[:request_id] if args.key?(:request_id)
16961698
@tags = args[:tags] if args.key?(:tags)
1697-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
16981699
end
16991700
end
17001701

17011702
# Response message for SetTags.
17021703
class SetTagsResponse
17031704
include Google::Apis::Core::Hashable
17041705

1705-
# Required. The full One Platform resource name of the service resource.
1706+
# A checksum based on the current bindings. This field is always set in server
1707+
# responses.
1708+
# Corresponds to the JSON property `etag`
1709+
# @return [String]
1710+
attr_accessor :etag
1711+
1712+
# Required. The full resource name of the service resource.
17061713
# Corresponds to the JSON property `name`
17071714
# @return [String]
17081715
attr_accessor :name
@@ -1714,21 +1721,15 @@ class SetTagsResponse
17141721
# @return [Hash<String,String>]
17151722
attr_accessor :tags
17161723

1717-
# A checksum based on the current bindings. This field is always set in server
1718-
# responses.
1719-
# Corresponds to the JSON property `tagsEtag`
1720-
# @return [String]
1721-
attr_accessor :tags_etag
1722-
17231724
def initialize(**args)
17241725
update!(**args)
17251726
end
17261727

17271728
# Update properties of this object
17281729
def update!(**args)
1730+
@etag = args[:etag] if args.key?(:etag)
17291731
@name = args[:name] if args.key?(:name)
17301732
@tags = args[:tags] if args.key?(:tags)
1731-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
17321733
end
17331734
end
17341735

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MemcacheV1beta2
1818
# Version of the google-apis-memcache_v1beta2 gem
19-
GEM_VERSION = "0.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
384384
class GetTagsResponse
385385
# @private
386386
class Representation < Google::Apis::Core::JsonRepresentation
387+
property :etag, as: 'etag'
387388
property :name, as: 'name'
388389
hash :tags, as: 'tags'
389-
property :tags_etag, as: 'tagsEtag'
390390
end
391391
end
392392

@@ -738,19 +738,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
738738
class SetTagsRequest
739739
# @private
740740
class Representation < Google::Apis::Core::JsonRepresentation
741+
property :etag, as: 'etag'
741742
property :name, as: 'name'
742743
property :request_id, as: 'requestId'
743744
hash :tags, as: 'tags'
744-
property :tags_etag, as: 'tagsEtag'
745745
end
746746
end
747747

748748
class SetTagsResponse
749749
# @private
750750
class Representation < Google::Apis::Core::JsonRepresentation
751+
property :etag, as: 'etag'
751752
property :name, as: 'name'
752753
hash :tags, as: 'tags'
753-
property :tags_etag, as: 'tagsEtag'
754754
end
755755
end
756756

generated/google-apis-memcache_v1beta2/lib/google/apis/memcache_v1beta2/service.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8686
# @param [String] name
8787
# The resource that owns the locations collection, if applicable.
8888
# @param [Array<String>, String] extra_location_types
89-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
90-
# field which is primarily intended for internal usage.
89+
# Optional. Do not use this field. It is unsupported and is ignored unless
90+
# explicitly documented otherwise. This is primarily for internal usage.
9191
# @param [String] filter
9292
# A filter to narrow down results to a preferred subset. The filtering language
9393
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -618,11 +618,12 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
618618
# The standard list page token.
619619
# @param [Boolean] return_partial_success
620620
# When set to `true`, operations that are reachable are returned as normal, and
621-
# those that are unreachable are returned in the [ListOperationsResponse.
622-
# unreachable] field. This can only be `true` when reading across collections e.
623-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
624-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
625-
# explicitly documented otherwise in service or product specific documentation.
621+
# those that are unreachable are returned in the ListOperationsResponse.
622+
# unreachable field. This can only be `true` when reading across collections.
623+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
624+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
625+
# if set unless explicitly documented otherwise in service or product specific
626+
# documentation.
626627
# @param [String] fields
627628
# Selector specifying which fields to include in a partial response.
628629
# @param [String] quota_user

0 commit comments

Comments
 (0)