google-apis-memcache_v1beta2 0.34.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: b650d528467dd550deed4bc2957eeb84ccc9321d6cd8f327428425a00d54e06e
4
- data.tar.gz: 3f16e503f5df3770e7daa7d06562b461f566d595a70271e1f8efaa1055865391
3
+ metadata.gz: 836be1eaa769cbc7a4027803a0c397ea6ef9bee18bf4f910089aefaefa1b7ef4
4
+ data.tar.gz: 531e3df50d2600d34b10855e1cd54de1d63ef3992179b08e29d1263ea365886d
5
5
  SHA512:
6
- metadata.gz: c4ac828a02c1fd93efe810d78b82b54f7bbcd6bc98bab5680d62cb26ccf3821da8d30f34c6b804c6c10c1418d93705de1438f01416cefbf1278b15ad744e0969
7
- data.tar.gz: bff46e538bd78add133cc96e21da1fbe22e8ad27cb48e249bdeca96448ed5a21ab4b6e95afc4f2a9746fb2910e26b0b132a77e37d9ddcf91b6cd61bb6a4151f7
6
+ metadata.gz: fe7831944e6f84df5ac4ca0f5f51913aa2a1c0f08affb27578697b0032511ebf74a3b7d9cfda7b9147c0f4fc68ac721ce312a28e9e9bacab260f9cdd4adc4a6f
7
+ data.tar.gz: 1bf64309aa2b4c70075fe1354df5982fec5176d5cf18a00a6f65462b3247cc5d5fb1fd283787f07ad7947b754628e50aa399b9ada6a98f44b7d280bbc31d5f37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-memcache_v1beta2
2
2
 
3
+ ### v0.36.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.35.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.34.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230727
@@ -344,6 +344,25 @@ module Google
344
344
  end
345
345
  end
346
346
 
347
+ # Request for UpgradeInstance.
348
+ class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # Required. Specifies the target version of memcached engine to upgrade to.
352
+ # Corresponds to the JSON property `memcacheVersion`
353
+ # @return [String]
354
+ attr_accessor :memcache_version
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
363
+ end
364
+ end
365
+
347
366
  #
348
367
  class GoogleCloudMemcacheV1beta2ZoneMetadata
349
368
  include Google::Apis::Core::Hashable
@@ -1283,6 +1302,18 @@ module Google
1283
1302
  # @return [String]
1284
1303
  attr_accessor :host
1285
1304
 
1305
+ # Output only. The full version of memcached server running on this node. e.g. -
1306
+ # memcached-1.5.16
1307
+ # Corresponds to the JSON property `memcacheFullVersion`
1308
+ # @return [String]
1309
+ attr_accessor :memcache_full_version
1310
+
1311
+ # Output only. Major version of memcached server running on this node, e.g.
1312
+ # MEMCACHE_1_5
1313
+ # Corresponds to the JSON property `memcacheVersion`
1314
+ # @return [String]
1315
+ attr_accessor :memcache_version
1316
+
1286
1317
  # Output only. Identifier of the Memcached node. The node id does not include
1287
1318
  # project or location like the Memcached instance name.
1288
1319
  # Corresponds to the JSON property `nodeId`
@@ -1322,6 +1353,8 @@ module Google
1322
1353
  # Update properties of this object
1323
1354
  def update!(**args)
1324
1355
  @host = args[:host] if args.key?(:host)
1356
+ @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
1357
+ @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
1325
1358
  @node_id = args[:node_id] if args.key?(:node_id)
1326
1359
  @parameters = args[:parameters] if args.key?(:parameters)
1327
1360
  @port = args[:port] if args.key?(:port)
@@ -1393,13 +1426,13 @@ module Google
1393
1426
  # @return [String]
1394
1427
  attr_accessor :name
1395
1428
 
1396
- # The normal response of the operation in case of success. If the original
1397
- # method returns no data on success, such as `Delete`, the response is `google.
1398
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1399
- # the response should be the resource. For other methods, the response should
1400
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1401
- # example, if the original method name is `TakeSnapshot()`, the inferred
1402
- # response type is `TakeSnapshotResponse`.
1429
+ # The normal, successful response of the operation. If the original method
1430
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1431
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1432
+ # response should be the resource. For other methods, the response should have
1433
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1434
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1435
+ # `TakeSnapshotResponse`.
1403
1436
  # Corresponds to the JSON property `response`
1404
1437
  # @return [Hash<String,Object>]
1405
1438
  attr_accessor :response
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MemcacheV1beta2
18
18
  # Version of the google-apis-memcache_v1beta2 gem
19
- GEM_VERSION = "0.34.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 = "20230727"
25
+ REVISION = "20230907"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudMemcacheV1beta2ZoneMetadata
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -376,6 +382,13 @@ module Google
376
382
  end
377
383
  end
378
384
 
385
+ class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :memcache_version, as: 'memcacheVersion'
389
+ end
390
+ end
391
+
379
392
  class GoogleCloudMemcacheV1beta2ZoneMetadata
380
393
  # @private
381
394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -615,6 +628,8 @@ module Google
615
628
  # @private
616
629
  class Representation < Google::Apis::Core::JsonRepresentation
617
630
  property :host, as: 'host'
631
+ property :memcache_full_version, as: 'memcacheFullVersion'
632
+ property :memcache_version, as: 'memcacheVersion'
618
633
  property :node_id, as: 'nodeId'
619
634
  property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1beta2::MemcacheParameters, decorator: Google::Apis::MemcacheV1beta2::MemcacheParameters::Representation
620
635
 
@@ -460,6 +460,42 @@ module Google
460
460
  execute_or_queue_command(command, &block)
461
461
  end
462
462
 
463
+ # Upgrades the Memcache instance to a newer memcached engine version specified
464
+ # in the request.
465
+ # @param [String] name
466
+ # Required. Memcache instance resource name using the form: `projects/`project`/
467
+ # locations/`location`/instances/`instance`` where `location_id` refers to a GCP
468
+ # region.
469
+ # @param [Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2UpgradeInstanceRequest] google_cloud_memcache_v1beta2_upgrade_instance_request_object
470
+ # @param [String] fields
471
+ # Selector specifying which fields to include in a partial response.
472
+ # @param [String] quota_user
473
+ # Available to use for quota purposes for server-side applications. Can be any
474
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
475
+ # @param [Google::Apis::RequestOptions] options
476
+ # Request-specific options
477
+ #
478
+ # @yield [result, err] Result & error if block supplied
479
+ # @yieldparam result [Google::Apis::MemcacheV1beta2::Operation] parsed result object
480
+ # @yieldparam err [StandardError] error object if request failed
481
+ #
482
+ # @return [Google::Apis::MemcacheV1beta2::Operation]
483
+ #
484
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
485
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
486
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
487
+ def upgrade_project_location_instance(name, google_cloud_memcache_v1beta2_upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
488
+ command = make_simple_command(:post, 'v1beta2/{+name}:upgrade', options)
489
+ command.request_representation = Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2UpgradeInstanceRequest::Representation
490
+ command.request_object = google_cloud_memcache_v1beta2_upgrade_instance_request_object
491
+ command.response_representation = Google::Apis::MemcacheV1beta2::Operation::Representation
492
+ command.response_class = Google::Apis::MemcacheV1beta2::Operation
493
+ command.params['name'] = name unless name.nil?
494
+ command.query['fields'] = fields unless fields.nil?
495
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
496
+ execute_or_queue_command(command, &block)
497
+ end
498
+
463
499
  # Starts asynchronous cancellation on a long-running operation. The server makes
464
500
  # a best effort to cancel the operation, but success is not guaranteed. If the
465
501
  # 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_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.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-06 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2
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 V1beta2