google-apis-memcache_v1 0.45.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66b2ccdb1d5f6afa7c703eb8e554cc80ad8f6eb9ac9db0105d23112541b852b3
4
- data.tar.gz: 6bced78af0fdbac92c57be77669e51eafb35a6db7af891cabea1306f1bd3ccdf
3
+ metadata.gz: 007ccb5a99d7e8280fd3465d20dbbb48a4fee067eb0524ed41fa141d9a918bc5
4
+ data.tar.gz: 23709524c692d8a0945da6a21c2e811855b6a3c67050326ff554cb06d8c5e2f4
5
5
  SHA512:
6
- metadata.gz: 275c453a5e3a6c905d6a81690fc25540c2d8db9d0b3f8a71e25c8fa797a231c6c3dce6bfed284688dfdf438e117f116d1e3b71e73147bdde8d8236d9f4fd051d
7
- data.tar.gz: 0c8b749f07a60f29de34de2743bb2f3a15cbfe0f2ddfe68111dd548c3ed6e79c091430cd0b5494ab1dc25caebd75a2add542422ba4c8c998c8291a8de67ab1f4
6
+ metadata.gz: 894cd21d4871c5d6066c0cbcd67a059f799a175a29895dd6e5fbf24d42d0811f7158efe7c9cf538026175830fe68339e825eede0f17a01c8e9c326067b0f1e9c
7
+ data.tar.gz: c74ab5e8101063067345f797dc9b2c130c8a61a7675334bf8fd92e455b84c1fe40a2231729e826b30852334bce7318ee73626d63c0a33d9fa60192b541daf58f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-memcache_v1
2
2
 
3
+ ### v0.47.0 (2025-08-31)
4
+
5
+ * Regenerated from discovery document revision 20250821
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.46.0 (2025-05-11)
9
+
10
+ * Regenerated from discovery document revision 20250505
11
+
3
12
  ### v0.45.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -195,6 +195,59 @@ module Google
195
195
  end
196
196
  end
197
197
 
198
+ # Request message for GetTags.
199
+ class GetTagsRequest
200
+ include Google::Apis::Core::Hashable
201
+
202
+ # Required. The full One Platform resource name of the service resource.
203
+ # Corresponds to the JSON property `name`
204
+ # @return [String]
205
+ attr_accessor :name
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @name = args[:name] if args.key?(:name)
214
+ end
215
+ end
216
+
217
+ # Response message for GetTags.
218
+ class GetTagsResponse
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # Required. The full One Platform resource name of the service resource.
222
+ # Corresponds to the JSON property `name`
223
+ # @return [String]
224
+ attr_accessor :name
225
+
226
+ # Required. Tag keys/values directly bound to this resource. Each item in the
227
+ # map must be expressed as " : ". For example: "123/environment" : "production",
228
+ # "123/costCenter" : "marketing"
229
+ # Corresponds to the JSON property `tags`
230
+ # @return [Hash<String,String>]
231
+ attr_accessor :tags
232
+
233
+ # A checksum based on the current bindings. This field is always set in server
234
+ # responses.
235
+ # Corresponds to the JSON property `tagsEtag`
236
+ # @return [String]
237
+ attr_accessor :tags_etag
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @name = args[:name] if args.key?(:name)
246
+ @tags = args[:tags] if args.key?(:tags)
247
+ @tags_etag = args[:tags_etag] if args.key?(:tags_etag)
248
+ end
249
+ end
250
+
198
251
  # Metadata for the given google.cloud.location.Location.
199
252
  class GoogleCloudMemcacheV1LocationMetadata
200
253
  include Google::Apis::Core::Hashable
@@ -375,6 +428,17 @@ module Google
375
428
  # @return [String]
376
429
  attr_accessor :consumer_defined_name
377
430
 
431
+ # Optional. The consumer_project_number associated with this Apigee instance.
432
+ # This field is added specifically to support Apigee integration with SLM
433
+ # Rollout and UMM. It represents the numerical project ID of the GCP project
434
+ # that consumes this Apigee instance. It is used for SLM rollout notifications
435
+ # and UMM integration, enabling proper mapping to customer projects and log
436
+ # delivery for Apigee instances. This field complements consumer_project_id and
437
+ # may be used for specific Apigee scenarios where the numerical ID is required.
438
+ # Corresponds to the JSON property `consumerProjectNumber`
439
+ # @return [String]
440
+ attr_accessor :consumer_project_number
441
+
378
442
  # Output only. Timestamp when the resource was created.
379
443
  # Corresponds to the JSON property `createTime`
380
444
  # @return [String]
@@ -491,6 +555,7 @@ module Google
491
555
  # Update properties of this object
492
556
  def update!(**args)
493
557
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
558
+ @consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
494
559
  @create_time = args[:create_time] if args.key?(:create_time)
495
560
  @instance_type = args[:instance_type] if args.key?(:instance_type)
496
561
  @labels = args[:labels] if args.key?(:labels)
@@ -1541,6 +1606,81 @@ module Google
1541
1606
  end
1542
1607
  end
1543
1608
 
1609
+ # Request message for SetTags.
1610
+ class SetTagsRequest
1611
+ include Google::Apis::Core::Hashable
1612
+
1613
+ # Required. The full One Platform resource name of the service resource.
1614
+ # Corresponds to the JSON property `name`
1615
+ # @return [String]
1616
+ attr_accessor :name
1617
+
1618
+ # Optional. A unique identifier for this request. Must be a valid UUID. This
1619
+ # request is only idempotent if a `request_id` is provided.
1620
+ # Corresponds to the JSON property `requestId`
1621
+ # @return [String]
1622
+ attr_accessor :request_id
1623
+
1624
+ # Required. These bindings will override any bindings previously set and will be
1625
+ # effective immediately. Each item in the map must be expressed as " : ". For
1626
+ # example: "123/environment" : "production", "123/costCenter" : "marketing"
1627
+ # Corresponds to the JSON property `tags`
1628
+ # @return [Hash<String,String>]
1629
+ attr_accessor :tags
1630
+
1631
+ # Optional. A checksum based on the current bindings which can be passed to
1632
+ # prevent race conditions. If not passed, etag check would be skipped.
1633
+ # Corresponds to the JSON property `tagsEtag`
1634
+ # @return [String]
1635
+ attr_accessor :tags_etag
1636
+
1637
+ def initialize(**args)
1638
+ update!(**args)
1639
+ end
1640
+
1641
+ # Update properties of this object
1642
+ def update!(**args)
1643
+ @name = args[:name] if args.key?(:name)
1644
+ @request_id = args[:request_id] if args.key?(:request_id)
1645
+ @tags = args[:tags] if args.key?(:tags)
1646
+ @tags_etag = args[:tags_etag] if args.key?(:tags_etag)
1647
+ end
1648
+ end
1649
+
1650
+ # Response message for SetTags.
1651
+ class SetTagsResponse
1652
+ include Google::Apis::Core::Hashable
1653
+
1654
+ # Required. The full One Platform resource name of the service resource.
1655
+ # Corresponds to the JSON property `name`
1656
+ # @return [String]
1657
+ attr_accessor :name
1658
+
1659
+ # Required. Tag keys/values directly bound to this resource. Each item in the
1660
+ # map must be expressed as " : ". For example: "123/environment" : "production",
1661
+ # "123/costCenter" : "marketing"
1662
+ # Corresponds to the JSON property `tags`
1663
+ # @return [Hash<String,String>]
1664
+ attr_accessor :tags
1665
+
1666
+ # A checksum based on the current bindings. This field is always set in server
1667
+ # responses.
1668
+ # Corresponds to the JSON property `tagsEtag`
1669
+ # @return [String]
1670
+ attr_accessor :tags_etag
1671
+
1672
+ def initialize(**args)
1673
+ update!(**args)
1674
+ end
1675
+
1676
+ # Update properties of this object
1677
+ def update!(**args)
1678
+ @name = args[:name] if args.key?(:name)
1679
+ @tags = args[:tags] if args.key?(:tags)
1680
+ @tags_etag = args[:tags_etag] if args.key?(:tags_etag)
1681
+ end
1682
+ end
1683
+
1544
1684
  # The `Status` type defines a logical error model that is suitable for different
1545
1685
  # programming environments, including REST APIs and RPC APIs. It is used by [
1546
1686
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MemcacheV1
18
18
  # Version of the google-apis-memcache_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250206"
25
+ REVISION = "20250821"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,18 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GetTagsRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GetTagsResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class GoogleCloudMemcacheV1LocationMetadata
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -244,6 +256,18 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class SetTagsRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class SetTagsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
247
271
  class Status
248
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
273
 
@@ -336,6 +360,22 @@ module Google
336
360
  end
337
361
  end
338
362
 
363
+ class GetTagsRequest
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ property :name, as: 'name'
367
+ end
368
+ end
369
+
370
+ class GetTagsResponse
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :name, as: 'name'
374
+ hash :tags, as: 'tags'
375
+ property :tags_etag, as: 'tagsEtag'
376
+ end
377
+ end
378
+
339
379
  class GoogleCloudMemcacheV1LocationMetadata
340
380
  # @private
341
381
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -385,6 +425,7 @@ module Google
385
425
  # @private
386
426
  class Representation < Google::Apis::Core::JsonRepresentation
387
427
  property :consumer_defined_name, as: 'consumerDefinedName'
428
+ property :consumer_project_number, as: 'consumerProjectNumber'
388
429
  property :create_time, as: 'createTime'
389
430
  property :instance_type, as: 'instanceType'
390
431
  hash :labels, as: 'labels'
@@ -677,6 +718,25 @@ module Google
677
718
  end
678
719
  end
679
720
 
721
+ class SetTagsRequest
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :name, as: 'name'
725
+ property :request_id, as: 'requestId'
726
+ hash :tags, as: 'tags'
727
+ property :tags_etag, as: 'tagsEtag'
728
+ end
729
+ end
730
+
731
+ class SetTagsResponse
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :name, as: 'name'
735
+ hash :tags, as: 'tags'
736
+ property :tags_etag, as: 'tagsEtag'
737
+ end
738
+ end
739
+
680
740
  class Status
681
741
  # @private
682
742
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -85,6 +85,9 @@ module Google
85
85
  # Lists information about the supported locations for this service.
86
86
  # @param [String] name
87
87
  # The resource that owns the locations collection, if applicable.
88
+ # @param [Array<String>, String] extra_location_types
89
+ # Optional. Do not use this field. It is unsupported and is ignored unless
90
+ # explicitly documented otherwise. This is primarily for internal usage.
88
91
  # @param [String] filter
89
92
  # A filter to narrow down results to a preferred subset. The filtering language
90
93
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -112,11 +115,12 @@ module Google
112
115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
118
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
116
119
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
117
120
  command.response_representation = Google::Apis::MemcacheV1::ListLocationsResponse::Representation
118
121
  command.response_class = Google::Apis::MemcacheV1::ListLocationsResponse
119
122
  command.params['name'] = name unless name.nil?
123
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
120
124
  command.query['filter'] = filter unless filter.nil?
121
125
  command.query['pageSize'] = page_size unless page_size.nil?
122
126
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-memcache_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.47.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Memorystore for Memcached API V1
79
79
  test_files: []