google-apis-memcache_v1 0.49.0 → 0.50.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c86f03b5d938f425aa778f85188a543f049a4fa2fd5a8f8e99de240eeb5c1dc1
|
|
4
|
+
data.tar.gz: 75787cbff97653795e41272206359999aab6ee4c5077390b7848aa21b5260880
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a56dcdefee5a326ce2e9dceae2737c88aface8fd1c2178064a226444fdacc1810b91f85e13d9ad9af8ef89a14895656d6a3bcb3782dfe713e310e52e1c2a108
|
|
7
|
+
data.tar.gz: 72f6db2496546c385a781868172525a1d0c09732785c6ffd16f13eb0ee44ed6fc1119b678fe11f9a6bd913ea81c706a3f285c64cfbb7ae0d4584606b5ccf7352
|
data/CHANGELOG.md
CHANGED
|
@@ -199,7 +199,7 @@ module Google
|
|
|
199
199
|
class GetTagsRequest
|
|
200
200
|
include Google::Apis::Core::Hashable
|
|
201
201
|
|
|
202
|
-
# Required. The full
|
|
202
|
+
# Required. The full resource name of the service resource.
|
|
203
203
|
# Corresponds to the JSON property `name`
|
|
204
204
|
# @return [String]
|
|
205
205
|
attr_accessor :name
|
|
@@ -218,7 +218,13 @@ module Google
|
|
|
218
218
|
class GetTagsResponse
|
|
219
219
|
include Google::Apis::Core::Hashable
|
|
220
220
|
|
|
221
|
-
#
|
|
221
|
+
# A checksum based on the current bindings. This field is always set in server
|
|
222
|
+
# responses.
|
|
223
|
+
# Corresponds to the JSON property `etag`
|
|
224
|
+
# @return [String]
|
|
225
|
+
attr_accessor :etag
|
|
226
|
+
|
|
227
|
+
# Required. The full resource name of the service resource.
|
|
222
228
|
# Corresponds to the JSON property `name`
|
|
223
229
|
# @return [String]
|
|
224
230
|
attr_accessor :name
|
|
@@ -230,21 +236,15 @@ module Google
|
|
|
230
236
|
# @return [Hash<String,String>]
|
|
231
237
|
attr_accessor :tags
|
|
232
238
|
|
|
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
239
|
def initialize(**args)
|
|
240
240
|
update!(**args)
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Update properties of this object
|
|
244
244
|
def update!(**args)
|
|
245
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
245
246
|
@name = args[:name] if args.key?(:name)
|
|
246
247
|
@tags = args[:tags] if args.key?(:tags)
|
|
247
|
-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
|
|
248
248
|
end
|
|
249
249
|
end
|
|
250
250
|
|
|
@@ -1107,8 +1107,9 @@ module Google
|
|
|
1107
1107
|
attr_accessor :operations
|
|
1108
1108
|
|
|
1109
1109
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1110
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
1111
|
-
# when attempting to list all resources across all supported
|
|
1110
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1111
|
+
# For example, when attempting to list all resources across all supported
|
|
1112
|
+
# locations.
|
|
1112
1113
|
# Corresponds to the JSON property `unreachable`
|
|
1113
1114
|
# @return [Array<String>]
|
|
1114
1115
|
attr_accessor :unreachable
|
|
@@ -1618,7 +1619,13 @@ module Google
|
|
|
1618
1619
|
class SetTagsRequest
|
|
1619
1620
|
include Google::Apis::Core::Hashable
|
|
1620
1621
|
|
|
1621
|
-
#
|
|
1622
|
+
# Optional. A checksum based on the current bindings which can be passed to
|
|
1623
|
+
# prevent race conditions. If not passed, etag check would be skipped.
|
|
1624
|
+
# Corresponds to the JSON property `etag`
|
|
1625
|
+
# @return [String]
|
|
1626
|
+
attr_accessor :etag
|
|
1627
|
+
|
|
1628
|
+
# Required. The full resource name of the service resource.
|
|
1622
1629
|
# Corresponds to the JSON property `name`
|
|
1623
1630
|
# @return [String]
|
|
1624
1631
|
attr_accessor :name
|
|
@@ -1636,22 +1643,16 @@ module Google
|
|
|
1636
1643
|
# @return [Hash<String,String>]
|
|
1637
1644
|
attr_accessor :tags
|
|
1638
1645
|
|
|
1639
|
-
# Optional. A checksum based on the current bindings which can be passed to
|
|
1640
|
-
# prevent race conditions. If not passed, etag check would be skipped.
|
|
1641
|
-
# Corresponds to the JSON property `tagsEtag`
|
|
1642
|
-
# @return [String]
|
|
1643
|
-
attr_accessor :tags_etag
|
|
1644
|
-
|
|
1645
1646
|
def initialize(**args)
|
|
1646
1647
|
update!(**args)
|
|
1647
1648
|
end
|
|
1648
1649
|
|
|
1649
1650
|
# Update properties of this object
|
|
1650
1651
|
def update!(**args)
|
|
1652
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1651
1653
|
@name = args[:name] if args.key?(:name)
|
|
1652
1654
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
1653
1655
|
@tags = args[:tags] if args.key?(:tags)
|
|
1654
|
-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
|
|
1655
1656
|
end
|
|
1656
1657
|
end
|
|
1657
1658
|
|
|
@@ -1659,7 +1660,13 @@ module Google
|
|
|
1659
1660
|
class SetTagsResponse
|
|
1660
1661
|
include Google::Apis::Core::Hashable
|
|
1661
1662
|
|
|
1662
|
-
#
|
|
1663
|
+
# A checksum based on the current bindings. This field is always set in server
|
|
1664
|
+
# responses.
|
|
1665
|
+
# Corresponds to the JSON property `etag`
|
|
1666
|
+
# @return [String]
|
|
1667
|
+
attr_accessor :etag
|
|
1668
|
+
|
|
1669
|
+
# Required. The full resource name of the service resource.
|
|
1663
1670
|
# Corresponds to the JSON property `name`
|
|
1664
1671
|
# @return [String]
|
|
1665
1672
|
attr_accessor :name
|
|
@@ -1671,21 +1678,15 @@ module Google
|
|
|
1671
1678
|
# @return [Hash<String,String>]
|
|
1672
1679
|
attr_accessor :tags
|
|
1673
1680
|
|
|
1674
|
-
# A checksum based on the current bindings. This field is always set in server
|
|
1675
|
-
# responses.
|
|
1676
|
-
# Corresponds to the JSON property `tagsEtag`
|
|
1677
|
-
# @return [String]
|
|
1678
|
-
attr_accessor :tags_etag
|
|
1679
|
-
|
|
1680
1681
|
def initialize(**args)
|
|
1681
1682
|
update!(**args)
|
|
1682
1683
|
end
|
|
1683
1684
|
|
|
1684
1685
|
# Update properties of this object
|
|
1685
1686
|
def update!(**args)
|
|
1687
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1686
1688
|
@name = args[:name] if args.key?(:name)
|
|
1687
1689
|
@tags = args[:tags] if args.key?(:tags)
|
|
1688
|
-
@tags_etag = args[:tags_etag] if args.key?(:tags_etag)
|
|
1689
1690
|
end
|
|
1690
1691
|
end
|
|
1691
1692
|
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.50.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260115"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -370,9 +370,9 @@ module Google
|
|
|
370
370
|
class GetTagsResponse
|
|
371
371
|
# @private
|
|
372
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
property :etag, as: 'etag'
|
|
373
374
|
property :name, as: 'name'
|
|
374
375
|
hash :tags, as: 'tags'
|
|
375
|
-
property :tags_etag, as: 'tagsEtag'
|
|
376
376
|
end
|
|
377
377
|
end
|
|
378
378
|
|
|
@@ -722,19 +722,19 @@ module Google
|
|
|
722
722
|
class SetTagsRequest
|
|
723
723
|
# @private
|
|
724
724
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
725
|
+
property :etag, as: 'etag'
|
|
725
726
|
property :name, as: 'name'
|
|
726
727
|
property :request_id, as: 'requestId'
|
|
727
728
|
hash :tags, as: 'tags'
|
|
728
|
-
property :tags_etag, as: 'tagsEtag'
|
|
729
729
|
end
|
|
730
730
|
end
|
|
731
731
|
|
|
732
732
|
class SetTagsResponse
|
|
733
733
|
# @private
|
|
734
734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
735
|
+
property :etag, as: 'etag'
|
|
735
736
|
property :name, as: 'name'
|
|
736
737
|
hash :tags, as: 'tags'
|
|
737
|
-
property :tags_etag, as: 'tagsEtag'
|
|
738
738
|
end
|
|
739
739
|
end
|
|
740
740
|
|
|
@@ -86,8 +86,8 @@ module Google
|
|
|
86
86
|
# @param [String] name
|
|
87
87
|
# The resource that owns the locations collection, if applicable.
|
|
88
88
|
# @param [Array<String>, String] extra_location_types
|
|
89
|
-
# Optional.
|
|
90
|
-
#
|
|
89
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
90
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
91
91
|
# @param [String] filter
|
|
92
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
93
93
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -271,6 +271,36 @@ module Google
|
|
|
271
271
|
execute_or_queue_command(command, &block)
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
+
# Returns tags directly bound to a GCP resource.
|
|
275
|
+
# @param [String] name
|
|
276
|
+
# Required. The full resource name of the service resource.
|
|
277
|
+
# @param [String] fields
|
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
|
279
|
+
# @param [String] quota_user
|
|
280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
282
|
+
# @param [Google::Apis::RequestOptions] options
|
|
283
|
+
# Request-specific options
|
|
284
|
+
#
|
|
285
|
+
# @yield [result, err] Result & error if block supplied
|
|
286
|
+
# @yieldparam result [Google::Apis::MemcacheV1::GetTagsResponse] parsed result object
|
|
287
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
288
|
+
#
|
|
289
|
+
# @return [Google::Apis::MemcacheV1::GetTagsResponse]
|
|
290
|
+
#
|
|
291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
294
|
+
def get_project_location_instance_tags(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
295
|
+
command = make_simple_command(:get, 'v1/{+name}:getTags', options)
|
|
296
|
+
command.response_representation = Google::Apis::MemcacheV1::GetTagsResponse::Representation
|
|
297
|
+
command.response_class = Google::Apis::MemcacheV1::GetTagsResponse
|
|
298
|
+
command.params['name'] = name unless name.nil?
|
|
299
|
+
command.query['fields'] = fields unless fields.nil?
|
|
300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
301
|
+
execute_or_queue_command(command, &block)
|
|
302
|
+
end
|
|
303
|
+
|
|
274
304
|
# Lists Instances in a given location.
|
|
275
305
|
# @param [String] parent
|
|
276
306
|
# Required. The resource name of the instance location using the form: `projects/
|
|
@@ -396,6 +426,39 @@ module Google
|
|
|
396
426
|
execute_or_queue_command(command, &block)
|
|
397
427
|
end
|
|
398
428
|
|
|
429
|
+
# Updates tags directly bound to a GCP resource.
|
|
430
|
+
# @param [String] name
|
|
431
|
+
# Required. The full resource name of the service resource.
|
|
432
|
+
# @param [Google::Apis::MemcacheV1::SetTagsRequest] set_tags_request_object
|
|
433
|
+
# @param [String] fields
|
|
434
|
+
# Selector specifying which fields to include in a partial response.
|
|
435
|
+
# @param [String] quota_user
|
|
436
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
437
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
438
|
+
# @param [Google::Apis::RequestOptions] options
|
|
439
|
+
# Request-specific options
|
|
440
|
+
#
|
|
441
|
+
# @yield [result, err] Result & error if block supplied
|
|
442
|
+
# @yieldparam result [Google::Apis::MemcacheV1::SetTagsResponse] parsed result object
|
|
443
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
444
|
+
#
|
|
445
|
+
# @return [Google::Apis::MemcacheV1::SetTagsResponse]
|
|
446
|
+
#
|
|
447
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
448
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
449
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
450
|
+
def set_instance_tags(name, set_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
451
|
+
command = make_simple_command(:post, 'v1/{+name}:setTags', options)
|
|
452
|
+
command.request_representation = Google::Apis::MemcacheV1::SetTagsRequest::Representation
|
|
453
|
+
command.request_object = set_tags_request_object
|
|
454
|
+
command.response_representation = Google::Apis::MemcacheV1::SetTagsResponse::Representation
|
|
455
|
+
command.response_class = Google::Apis::MemcacheV1::SetTagsResponse
|
|
456
|
+
command.params['name'] = name unless name.nil?
|
|
457
|
+
command.query['fields'] = fields unless fields.nil?
|
|
458
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
459
|
+
execute_or_queue_command(command, &block)
|
|
460
|
+
end
|
|
461
|
+
|
|
399
462
|
# Updates the defined Memcached parameters for an existing instance. This method
|
|
400
463
|
# only stages the parameters, it must be followed by `ApplyParameters` to apply
|
|
401
464
|
# the parameters to nodes of the Memcached instance.
|
|
@@ -584,11 +647,12 @@ module Google
|
|
|
584
647
|
# The standard list page token.
|
|
585
648
|
# @param [Boolean] return_partial_success
|
|
586
649
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
587
|
-
# those that are unreachable are returned in the
|
|
588
|
-
# unreachable
|
|
589
|
-
#
|
|
590
|
-
# by default
|
|
591
|
-
# explicitly documented otherwise in service or product specific
|
|
650
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
651
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
652
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
653
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
654
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
655
|
+
# documentation.
|
|
592
656
|
# @param [String] fields
|
|
593
657
|
# Selector specifying which fields to include in a partial response.
|
|
594
658
|
# @param [String] quota_user
|
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.
|
|
4
|
+
version: 0.50.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.50.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:
|