google-apis-memcache_v1 0.35.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73a89a27b8ea44f7c5b9ee860ff91db80a18a91f1ed8870af9db92755b22a390
4
- data.tar.gz: 3cff9663af8622edb27d4fa0aa679221f667fb2e9bfe03c177e95d134042ee8e
3
+ metadata.gz: 7adfd50d59e0423854b6b1e062590d3e2e39c38b014bda0a16a53078d487a7b2
4
+ data.tar.gz: 3faefd7aa6d496bda440e20c8fe05cbeafc9025f55d3b5ba8258f63a71a42826
5
5
  SHA512:
6
- metadata.gz: 8b206b4786045606574dcd62edff0809fd6c8c9019bf377b6d8458eca73d86ebdab40cb7af113558dd9438432e8d66aa7183911dbc8cb35e8654b013d1449e66
7
- data.tar.gz: 56a67536fc61cbf9e6694f6a0b1b02344e3744b8ddff61bc97999f082ee205d7822d24a0971f428bfb2f6d83b8bdaaa0737ef161a100ce167b1c473196509beb
6
+ metadata.gz: d326142cdc204940a2cb7e6ce7d781a5d658bed5385a70a5b44556eec73a13b885c10018b33656f86a5980e7073c26c5e304d37348901c37756b3e1a6b5c4aa2
7
+ data.tar.gz: 79d95a5b84ef71e1693919e8ee548e7e8d6ab03818c16220999678a93d809dd3f996266b45904b3b4f8da39e647b52c9261bdc9e8b86c7850277875bba61ed27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-memcache_v1
2
2
 
3
+ ### v0.36.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
3
7
  ### v0.35.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230803
@@ -315,6 +315,25 @@ module Google
315
315
  end
316
316
  end
317
317
 
318
+ # Request for UpgradeInstance.
319
+ class GoogleCloudMemcacheV1UpgradeInstanceRequest
320
+ include Google::Apis::Core::Hashable
321
+
322
+ # Required. Specifies the target version of memcached engine to upgrade to.
323
+ # Corresponds to the JSON property `memcacheVersion`
324
+ # @return [String]
325
+ attr_accessor :memcache_version
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
334
+ end
335
+ end
336
+
318
337
  #
319
338
  class GoogleCloudMemcacheV1ZoneMetadata
320
339
  include Google::Apis::Core::Hashable
@@ -1247,6 +1266,18 @@ module Google
1247
1266
  # @return [String]
1248
1267
  attr_accessor :host
1249
1268
 
1269
+ # Output only. The full version of memcached server running on this node. e.g. -
1270
+ # memcached-1.5.16
1271
+ # Corresponds to the JSON property `memcacheFullVersion`
1272
+ # @return [String]
1273
+ attr_accessor :memcache_full_version
1274
+
1275
+ # Output only. Major version of memcached server running on this node, e.g.
1276
+ # MEMCACHE_1_5
1277
+ # Corresponds to the JSON property `memcacheVersion`
1278
+ # @return [String]
1279
+ attr_accessor :memcache_version
1280
+
1250
1281
  # Output only. Identifier of the Memcached node. The node id does not include
1251
1282
  # project or location like the Memcached instance name.
1252
1283
  # Corresponds to the JSON property `nodeId`
@@ -1280,6 +1311,8 @@ module Google
1280
1311
  # Update properties of this object
1281
1312
  def update!(**args)
1282
1313
  @host = args[:host] if args.key?(:host)
1314
+ @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
1315
+ @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
1283
1316
  @node_id = args[:node_id] if args.key?(:node_id)
1284
1317
  @parameters = args[:parameters] if args.key?(:parameters)
1285
1318
  @port = args[:port] if args.key?(:port)
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230803"
25
+ REVISION = "20230907"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudMemcacheV1UpgradeInstanceRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class GoogleCloudMemcacheV1ZoneMetadata
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -362,6 +368,13 @@ module Google
362
368
  end
363
369
  end
364
370
 
371
+ class GoogleCloudMemcacheV1UpgradeInstanceRequest
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :memcache_version, as: 'memcacheVersion'
375
+ end
376
+ end
377
+
365
378
  class GoogleCloudMemcacheV1ZoneMetadata
366
379
  # @private
367
380
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -600,6 +613,8 @@ module Google
600
613
  # @private
601
614
  class Representation < Google::Apis::Core::JsonRepresentation
602
615
  property :host, as: 'host'
616
+ property :memcache_full_version, as: 'memcacheFullVersion'
617
+ property :memcache_version, as: 'memcacheVersion'
603
618
  property :node_id, as: 'nodeId'
604
619
  property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1::MemcacheParameters, decorator: Google::Apis::MemcacheV1::MemcacheParameters::Representation
605
620
 
@@ -426,6 +426,42 @@ module Google
426
426
  execute_or_queue_command(command, &block)
427
427
  end
428
428
 
429
+ # Upgrades the Memcache instance to a newer memcached engine version specified
430
+ # in the request.
431
+ # @param [String] name
432
+ # Required. Memcache instance resource name using the form: `projects/`project`/
433
+ # locations/`location`/instances/`instance`` where `location_id` refers to a GCP
434
+ # region.
435
+ # @param [Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest] google_cloud_memcache_v1_upgrade_instance_request_object
436
+ # @param [String] fields
437
+ # Selector specifying which fields to include in a partial response.
438
+ # @param [String] quota_user
439
+ # Available to use for quota purposes for server-side applications. Can be any
440
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
441
+ # @param [Google::Apis::RequestOptions] options
442
+ # Request-specific options
443
+ #
444
+ # @yield [result, err] Result & error if block supplied
445
+ # @yieldparam result [Google::Apis::MemcacheV1::Operation] parsed result object
446
+ # @yieldparam err [StandardError] error object if request failed
447
+ #
448
+ # @return [Google::Apis::MemcacheV1::Operation]
449
+ #
450
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
451
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
452
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
453
+ def upgrade_project_location_instance(name, google_cloud_memcache_v1_upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
454
+ command = make_simple_command(:post, 'v1/{+name}:upgrade', options)
455
+ command.request_representation = Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest::Representation
456
+ command.request_object = google_cloud_memcache_v1_upgrade_instance_request_object
457
+ command.response_representation = Google::Apis::MemcacheV1::Operation::Representation
458
+ command.response_class = Google::Apis::MemcacheV1::Operation
459
+ command.params['name'] = name unless name.nil?
460
+ command.query['fields'] = fields unless fields.nil?
461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
462
+ execute_or_queue_command(command, &block)
463
+ end
464
+
429
465
  # Starts asynchronous cancellation on a long-running operation. The server makes
430
466
  # a best effort to cancel the operation, but success is not guaranteed. If the
431
467
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-memcache_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-20 00:00:00.000000000 Z
11
+ date: 2023-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Memorystore for Memcached API V1