google-apis-memcache_v1 0.35.0 → 0.37.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: 545b0991de5ad451cf694786e5d91bfa393c0578c1e1a38381f81a7668cd9269
|
4
|
+
data.tar.gz: 38d990510faf9243473742a4c1ea1d438a0d48531af860d64618c3a0642560aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 580f33c6830ffed2d0d82a2295c25f20f7ad41ba73e72290e784e2eb1fa0dfa5e15a4d4429261b30423cae16d87e7f50acabcd359f946cd4ba708e7238407590
|
7
|
+
data.tar.gz: efb57dcb7ed744060fb1bb7a5c32f46ed094c1872c49055cb624a548a7d3021f0ee6e1bf93bd0b3adf8cf7d83f679744e7409281228426109b55ca7791b3d761
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240104
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.36.0 (2023-09-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20230907
|
11
|
+
|
3
12
|
### v0.35.0 (2023-08-13)
|
4
13
|
|
5
14
|
* 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
|
@@ -381,7 +400,7 @@ module Google
|
|
381
400
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
382
401
|
# key must be of the type name of the oneof policy name defined in
|
383
402
|
# MaintenancePolicy, and the referenced policy must define the same policy type.
|
384
|
-
# For details, please refer to go/
|
403
|
+
# For details, please refer to go/mr-user-guide. Should not be set if
|
385
404
|
# maintenance_settings.maintenance_policies is set.
|
386
405
|
# Corresponds to the JSON property `maintenancePolicyNames`
|
387
406
|
# @return [Hash<String,String>]
|
@@ -565,7 +584,7 @@ module Google
|
|
565
584
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
566
585
|
# key must be of the type name of the oneof policy name defined in
|
567
586
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
568
|
-
# For details, please refer to go/
|
587
|
+
# For details, please refer to go/mr-user-guide. Should not be set if
|
569
588
|
# maintenance_policy_names is set. If only the name is needed, then only
|
570
589
|
# populate MaintenancePolicy.name.
|
571
590
|
# Corresponds to the JSON property `maintenancePolicies`
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240104"
|
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
|
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/memorystore/
|
35
35
|
class CloudMemorystoreforMemcachedService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://memcache.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-memcache_v1',
|
49
51
|
client_version: Google::Apis::MemcacheV1::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
@@ -426,6 +428,42 @@ module Google
|
|
426
428
|
execute_or_queue_command(command, &block)
|
427
429
|
end
|
428
430
|
|
431
|
+
# Upgrades the Memcache instance to a newer memcached engine version specified
|
432
|
+
# in the request.
|
433
|
+
# @param [String] name
|
434
|
+
# Required. Memcache instance resource name using the form: `projects/`project`/
|
435
|
+
# locations/`location`/instances/`instance`` where `location_id` refers to a GCP
|
436
|
+
# region.
|
437
|
+
# @param [Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest] google_cloud_memcache_v1_upgrade_instance_request_object
|
438
|
+
# @param [String] fields
|
439
|
+
# Selector specifying which fields to include in a partial response.
|
440
|
+
# @param [String] quota_user
|
441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
443
|
+
# @param [Google::Apis::RequestOptions] options
|
444
|
+
# Request-specific options
|
445
|
+
#
|
446
|
+
# @yield [result, err] Result & error if block supplied
|
447
|
+
# @yieldparam result [Google::Apis::MemcacheV1::Operation] parsed result object
|
448
|
+
# @yieldparam err [StandardError] error object if request failed
|
449
|
+
#
|
450
|
+
# @return [Google::Apis::MemcacheV1::Operation]
|
451
|
+
#
|
452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
455
|
+
def upgrade_project_location_instance(name, google_cloud_memcache_v1_upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
456
|
+
command = make_simple_command(:post, 'v1/{+name}:upgrade', options)
|
457
|
+
command.request_representation = Google::Apis::MemcacheV1::GoogleCloudMemcacheV1UpgradeInstanceRequest::Representation
|
458
|
+
command.request_object = google_cloud_memcache_v1_upgrade_instance_request_object
|
459
|
+
command.response_representation = Google::Apis::MemcacheV1::Operation::Representation
|
460
|
+
command.response_class = Google::Apis::MemcacheV1::Operation
|
461
|
+
command.params['name'] = name unless name.nil?
|
462
|
+
command.query['fields'] = fields unless fields.nil?
|
463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
464
|
+
execute_or_queue_command(command, &block)
|
465
|
+
end
|
466
|
+
|
429
467
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
430
468
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
431
469
|
# 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.
|
4
|
+
version: 0.37.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.37.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.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Memorystore for Memcached API V1
|