google-apis-memcache_v1 0.1.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/memcache_v1.rb +1 -1
- data/lib/google/apis/memcache_v1/classes.rb +119 -35
- data/lib/google/apis/memcache_v1/gem_version.rb +3 -3
- data/lib/google/apis/memcache_v1/representations.rb +43 -0
- data/lib/google/apis/memcache_v1/service.rb +22 -16
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38fcd717c4f61145e8717dd99b814f533b6d4fcfbb4ff5208546b170878bdd15
|
4
|
+
data.tar.gz: d37957ea0cfe40a29f603d762c6bbcd1ddaee4c489f4f529faf25300c559425a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b9a6a284e29e92eb0078e678ef28f464455036fad5cf23362ce3599e3264cef1c53b3b0645c90db52aecd636e315bf299b5d8c8b3dd1e405355ec56fc11a477
|
7
|
+
data.tar.gz: eeda8b4df02a7cce651792ba3e09a4474dfd6ac81b68d1d57d799bd1ff871b6b7a74c7f9b41067760cf54f2234071f3aa2c109280207d8c67a91059a898bdfff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210517
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210504
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210324
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-11)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210209
|
23
|
+
|
3
24
|
### v0.1.0 (2021-01-22)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210121
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -27,14 +27,14 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# Whether to apply instance-level parameter group to all nodes. If set to true,
|
30
|
-
#
|
31
|
-
#
|
30
|
+
# users are restricted from specifying individual nodes, and `ApplyParameters`
|
31
|
+
# updates all nodes within the instance.
|
32
32
|
# Corresponds to the JSON property `applyAll`
|
33
33
|
# @return [Boolean]
|
34
34
|
attr_accessor :apply_all
|
35
35
|
alias_method :apply_all?, :apply_all
|
36
36
|
|
37
|
-
# Nodes to which
|
37
|
+
# Nodes to which the instance-level parameter group is applied.
|
38
38
|
# Corresponds to the JSON property `nodeIds`
|
39
39
|
# @return [Array<String>]
|
40
40
|
attr_accessor :node_ids
|
@@ -196,6 +196,27 @@ module Google
|
|
196
196
|
end
|
197
197
|
end
|
198
198
|
|
199
|
+
# Metadata for the given google.cloud.location.Location.
|
200
|
+
class GoogleCloudMemcacheV1LocationMetadata
|
201
|
+
include Google::Apis::Core::Hashable
|
202
|
+
|
203
|
+
# Output only. The set of available zones in the location. The map is keyed by
|
204
|
+
# the lowercase ID of each zone, as defined by GCE. These keys can be specified
|
205
|
+
# in the `zones` field when creating a Memcached instance.
|
206
|
+
# Corresponds to the JSON property `availableZones`
|
207
|
+
# @return [Hash<String,Google::Apis::MemcacheV1::GoogleCloudMemcacheV1ZoneMetadata>]
|
208
|
+
attr_accessor :available_zones
|
209
|
+
|
210
|
+
def initialize(**args)
|
211
|
+
update!(**args)
|
212
|
+
end
|
213
|
+
|
214
|
+
# Update properties of this object
|
215
|
+
def update!(**args)
|
216
|
+
@available_zones = args[:available_zones] if args.key?(:available_zones)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
199
220
|
# Represents the metadata of a long-running operation.
|
200
221
|
class GoogleCloudMemcacheV1OperationMetadata
|
201
222
|
include Google::Apis::Core::Hashable
|
@@ -255,6 +276,19 @@ module Google
|
|
255
276
|
end
|
256
277
|
end
|
257
278
|
|
279
|
+
#
|
280
|
+
class GoogleCloudMemcacheV1ZoneMetadata
|
281
|
+
include Google::Apis::Core::Hashable
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
258
292
|
#
|
259
293
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
260
294
|
include Google::Apis::Core::Hashable
|
@@ -299,8 +333,10 @@ module Google
|
|
299
333
|
# @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
300
334
|
attr_accessor :maintenance_settings
|
301
335
|
|
302
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
303
|
-
# locations/`location_id`/instances/`instance_id``
|
336
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
337
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
338
|
+
# project_id or project_number can be used, but keep it consistent with other
|
339
|
+
# APIs (e.g. RescheduleUpdate)
|
304
340
|
# Corresponds to the JSON property `name`
|
305
341
|
# @return [String]
|
306
342
|
attr_accessor :name
|
@@ -383,9 +419,9 @@ module Google
|
|
383
419
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
384
420
|
include Google::Apis::Core::Hashable
|
385
421
|
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
422
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
423
|
+
# happen multiple times now. This field should not be removed until all service
|
424
|
+
# producers remove this for their customers.
|
389
425
|
# Corresponds to the JSON property `canReschedule`
|
390
426
|
# @return [Boolean]
|
391
427
|
attr_accessor :can_reschedule
|
@@ -405,9 +441,8 @@ module Google
|
|
405
441
|
|
406
442
|
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
407
443
|
# beyond, including reschedule. It's normally the initial schedule start time
|
408
|
-
# plus
|
409
|
-
#
|
410
|
-
# time cannot go beyond this deadline.
|
444
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
445
|
+
# scheduled to start beyond this deadline.
|
411
446
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
412
447
|
# @return [String]
|
413
448
|
attr_accessor :schedule_deadline_time
|
@@ -444,6 +479,12 @@ module Google
|
|
444
479
|
attr_accessor :exclude
|
445
480
|
alias_method :exclude?, :exclude
|
446
481
|
|
482
|
+
# Optional. If the update call is triggered from rollback, set the value as true.
|
483
|
+
# Corresponds to the JSON property `isRollback`
|
484
|
+
# @return [Boolean]
|
485
|
+
attr_accessor :is_rollback
|
486
|
+
alias_method :is_rollback?, :is_rollback
|
487
|
+
|
447
488
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
448
489
|
# key must be of the type name of the oneof policy name defined in
|
449
490
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -461,6 +502,7 @@ module Google
|
|
461
502
|
# Update properties of this object
|
462
503
|
def update!(**args)
|
463
504
|
@exclude = args[:exclude] if args.key?(:exclude)
|
505
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
464
506
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
465
507
|
end
|
466
508
|
end
|
@@ -502,6 +544,35 @@ module Google
|
|
502
544
|
end
|
503
545
|
end
|
504
546
|
|
547
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
548
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
549
|
+
include Google::Apis::Core::Hashable
|
550
|
+
|
551
|
+
# An entry in the eligibilities map specifies an eligibility for a particular
|
552
|
+
# SLI for the given instance. The SLI key in the name must be a valid SLI name
|
553
|
+
# specified in the Eligibility Exporter binary flags otherwise an error will be
|
554
|
+
# emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
|
555
|
+
# has been defined in the binary flags but the eligibilities map does not
|
556
|
+
# contain it, the corresponding SLI time series will not be emitted by the
|
557
|
+
# Eligibility Exporter. This ensures a smooth rollout and compatibility between
|
558
|
+
# the data produced by different versions of the Eligibility Exporters. If
|
559
|
+
# eligibilities map contains a key for an SLI which has not been declared in the
|
560
|
+
# binary flags, there will be an error message emitted in the Eligibility
|
561
|
+
# Exporter log and the metric for the SLI in question will not be emitted.
|
562
|
+
# Corresponds to the JSON property `eligibilities`
|
563
|
+
# @return [Hash<String,Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
|
564
|
+
attr_accessor :eligibilities
|
565
|
+
|
566
|
+
def initialize(**args)
|
567
|
+
update!(**args)
|
568
|
+
end
|
569
|
+
|
570
|
+
# Update properties of this object
|
571
|
+
def update!(**args)
|
572
|
+
@eligibilities = args[:eligibilities] if args.key?(:eligibilities)
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
505
576
|
# Describes provisioned dataplane resources.
|
506
577
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
507
578
|
include Google::Apis::Core::Hashable
|
@@ -584,8 +655,7 @@ module Google
|
|
584
655
|
attr_accessor :reason
|
585
656
|
|
586
657
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
587
|
-
# that the instance should be excluded from all SLIs
|
588
|
-
# configuration.
|
658
|
+
# that the instance should be excluded from all SLIs.
|
589
659
|
# Corresponds to the JSON property `sliName`
|
590
660
|
# @return [String]
|
591
661
|
attr_accessor :sli_name
|
@@ -642,6 +712,11 @@ module Google
|
|
642
712
|
# @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
643
713
|
attr_accessor :nodes
|
644
714
|
|
715
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
716
|
+
# Corresponds to the JSON property `perSliEligibility`
|
717
|
+
# @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
718
|
+
attr_accessor :per_sli_eligibility
|
719
|
+
|
645
720
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
646
721
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
647
722
|
# and must not be empty.
|
@@ -658,11 +733,12 @@ module Google
|
|
658
733
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
659
734
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
660
735
|
@nodes = args[:nodes] if args.key?(:nodes)
|
736
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
661
737
|
@tier = args[:tier] if args.key?(:tier)
|
662
738
|
end
|
663
739
|
end
|
664
740
|
|
665
|
-
#
|
741
|
+
# A Memorystore for Memcached instance
|
666
742
|
class Instance
|
667
743
|
include Google::Apis::Core::Hashable
|
668
744
|
|
@@ -678,18 +754,18 @@ module Google
|
|
678
754
|
# @return [String]
|
679
755
|
attr_accessor :create_time
|
680
756
|
|
681
|
-
# Output only. Endpoint for Discovery API
|
757
|
+
# Output only. Endpoint for the Discovery API.
|
682
758
|
# Corresponds to the JSON property `discoveryEndpoint`
|
683
759
|
# @return [String]
|
684
760
|
attr_accessor :discovery_endpoint
|
685
761
|
|
686
|
-
# User provided name for the instance only used for display purposes.
|
687
|
-
# more than 80 characters.
|
762
|
+
# User provided name for the instance, which is only used for display purposes.
|
763
|
+
# Cannot be more than 80 characters.
|
688
764
|
# Corresponds to the JSON property `displayName`
|
689
765
|
# @return [String]
|
690
766
|
attr_accessor :display_name
|
691
767
|
|
692
|
-
# List of messages that describe current
|
768
|
+
# List of messages that describe the current state of the Memcached instance.
|
693
769
|
# Corresponds to the JSON property `instanceMessages`
|
694
770
|
# @return [Array<Google::Apis::MemcacheV1::InstanceMessage>]
|
695
771
|
attr_accessor :instance_messages
|
@@ -709,15 +785,15 @@ module Google
|
|
709
785
|
# @return [String]
|
710
786
|
attr_accessor :memcache_full_version
|
711
787
|
|
712
|
-
# Output only. List of Memcached nodes. Refer to
|
788
|
+
# Output only. List of Memcached nodes. Refer to Node message for more details.
|
713
789
|
# Corresponds to the JSON property `memcacheNodes`
|
714
790
|
# @return [Array<Google::Apis::MemcacheV1::Node>]
|
715
791
|
attr_accessor :memcache_nodes
|
716
792
|
|
717
793
|
# The major version of Memcached software. If not provided, latest supported
|
718
|
-
# version will be used. Currently the latest supported major version is
|
719
|
-
# MEMCACHE_1_5
|
720
|
-
# based on the latest supported minor version.
|
794
|
+
# version will be used. Currently the latest supported major version is `
|
795
|
+
# MEMCACHE_1_5`. The minor version will be automatically determined by our
|
796
|
+
# system based on the latest supported minor version.
|
721
797
|
# Corresponds to the JSON property `memcacheVersion`
|
722
798
|
# @return [String]
|
723
799
|
attr_accessor :memcache_version
|
@@ -725,9 +801,9 @@ module Google
|
|
725
801
|
# Required. Unique name of the resource in this scope including project and
|
726
802
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
727
803
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
728
|
-
# at regional level so location_id here refers to a
|
729
|
-
# may choose which zones Memcached nodes
|
730
|
-
#
|
804
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
805
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
806
|
+
# within an instance. Refer to zones field for more details.
|
731
807
|
# Corresponds to the JSON property `name`
|
732
808
|
# @return [String]
|
733
809
|
attr_accessor :name
|
@@ -742,8 +818,10 @@ module Google
|
|
742
818
|
# @return [Fixnum]
|
743
819
|
attr_accessor :node_count
|
744
820
|
|
745
|
-
#
|
746
|
-
#
|
821
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
822
|
+
# determine if the parameters associated with the instance differ from the
|
823
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
824
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
747
825
|
# Corresponds to the JSON property `parameters`
|
748
826
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
749
827
|
attr_accessor :parameters
|
@@ -758,7 +836,7 @@ module Google
|
|
758
836
|
# @return [String]
|
759
837
|
attr_accessor :update_time
|
760
838
|
|
761
|
-
# Zones
|
839
|
+
# Zones in which Memcached nodes should be provisioned. Memcached nodes will be
|
762
840
|
# equally distributed across these zones. If not provided, the service will by
|
763
841
|
# default create nodes in all zones in the region for the instance.
|
764
842
|
# Corresponds to the JSON property `zones`
|
@@ -1055,14 +1133,14 @@ module Google
|
|
1055
1133
|
end
|
1056
1134
|
end
|
1057
1135
|
|
1058
|
-
#
|
1136
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1137
|
+
# determine if the parameters associated with the instance differ from the
|
1138
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1139
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1059
1140
|
class MemcacheParameters
|
1060
1141
|
include Google::Apis::Core::Hashable
|
1061
1142
|
|
1062
|
-
# Output only.
|
1063
|
-
# use this id to determine if the parameters associated with the instance differ
|
1064
|
-
# from the parameters associated with the nodes and any action needs to be taken
|
1065
|
-
# to apply parameters on nodes.
|
1143
|
+
# Output only.
|
1066
1144
|
# Corresponds to the JSON property `id`
|
1067
1145
|
# @return [String]
|
1068
1146
|
attr_accessor :id
|
@@ -1099,7 +1177,10 @@ module Google
|
|
1099
1177
|
# @return [String]
|
1100
1178
|
attr_accessor :node_id
|
1101
1179
|
|
1102
|
-
#
|
1180
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1181
|
+
# determine if the parameters associated with the instance differ from the
|
1182
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1183
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1103
1184
|
# Corresponds to the JSON property `parameters`
|
1104
1185
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1105
1186
|
attr_accessor :parameters
|
@@ -1397,7 +1478,10 @@ module Google
|
|
1397
1478
|
class UpdateParametersRequest
|
1398
1479
|
include Google::Apis::Core::Hashable
|
1399
1480
|
|
1400
|
-
# The parameters
|
1481
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1482
|
+
# determine if the parameters associated with the instance differ from the
|
1483
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1484
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1401
1485
|
# Corresponds to the JSON property `parameters`
|
1402
1486
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1403
1487
|
attr_accessor :parameters
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,12 +58,24 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class GoogleCloudMemcacheV1LocationMetadata
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class GoogleCloudMemcacheV1OperationMetadata
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudMemcacheV1ZoneMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -88,6 +100,12 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -288,6 +306,14 @@ module Google
|
|
288
306
|
end
|
289
307
|
end
|
290
308
|
|
309
|
+
class GoogleCloudMemcacheV1LocationMetadata
|
310
|
+
# @private
|
311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
+
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1ZoneMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1ZoneMetadata::Representation
|
313
|
+
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
291
317
|
class GoogleCloudMemcacheV1OperationMetadata
|
292
318
|
# @private
|
293
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -301,6 +327,12 @@ module Google
|
|
301
327
|
end
|
302
328
|
end
|
303
329
|
|
330
|
+
class GoogleCloudMemcacheV1ZoneMetadata
|
331
|
+
# @private
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
304
336
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
305
337
|
# @private
|
306
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -341,6 +373,7 @@ module Google
|
|
341
373
|
# @private
|
342
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
343
375
|
property :exclude, as: 'exclude'
|
376
|
+
property :is_rollback, as: 'isRollback'
|
344
377
|
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::MemcacheV1::MaintenancePolicy, decorator: Google::Apis::MemcacheV1::MaintenancePolicy::Representation
|
345
378
|
|
346
379
|
end
|
@@ -356,6 +389,14 @@ module Google
|
|
356
389
|
end
|
357
390
|
end
|
358
391
|
|
392
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
hash :eligibilities, as: 'eligibilities', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
396
|
+
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
359
400
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
360
401
|
# @private
|
361
402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -391,6 +432,8 @@ module Google
|
|
391
432
|
|
392
433
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
393
434
|
|
435
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
436
|
+
|
394
437
|
property :tier, as: 'tier'
|
395
438
|
end
|
396
439
|
end
|
@@ -84,11 +84,15 @@ module Google
|
|
84
84
|
# @param [String] name
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
|
-
#
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
88
90
|
# @param [Fixnum] page_size
|
89
|
-
# The
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
92
96
|
# @param [String] fields
|
93
97
|
# Selector specifying which fields to include in a partial response.
|
94
98
|
# @param [String] quota_user
|
@@ -119,8 +123,8 @@ module Google
|
|
119
123
|
execute_or_queue_command(command, &block)
|
120
124
|
end
|
121
125
|
|
122
|
-
# ApplyParameters
|
123
|
-
#
|
126
|
+
# `ApplyParameters` restarts the set of specified nodes in order to update them
|
127
|
+
# to the current set of parameters for the Memcached Instance.
|
124
128
|
# @param [String] name
|
125
129
|
# Required. Resource name of the Memcached instance for which parameter group
|
126
130
|
# updates should be applied.
|
@@ -165,7 +169,8 @@ module Google
|
|
165
169
|
# the following restrictions: * Must contain only lowercase letters, numbers,
|
166
170
|
# and hyphens. * Must start with a letter. * Must be between 1-40 characters. *
|
167
171
|
# Must end with a number or a letter. * Must be unique within the user project /
|
168
|
-
# location If any of the above are not met,
|
172
|
+
# location. If any of the above are not met, the API raises an invalid argument
|
173
|
+
# error.
|
169
174
|
# @param [String] fields
|
170
175
|
# Selector specifying which fields to include in a partial response.
|
171
176
|
# @param [String] quota_user
|
@@ -267,16 +272,17 @@ module Google
|
|
267
272
|
# region
|
268
273
|
# @param [String] filter
|
269
274
|
# List filter. For example, exclude all Memcached instances with name as my-
|
270
|
-
# instance by specifying "name != my-instance"
|
275
|
+
# instance by specifying `"name != my-instance"`.
|
271
276
|
# @param [String] order_by
|
272
277
|
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
273
278
|
# @param [Fixnum] page_size
|
274
279
|
# The maximum number of items to return. If not specified, a default value of
|
275
|
-
# 1000 will be used by the service. Regardless of the page_size value, the
|
280
|
+
# 1000 will be used by the service. Regardless of the `page_size` value, the
|
276
281
|
# response may include a partial list and a caller should only rely on response'
|
277
|
-
# s next_page_token to determine if there are more instances left to be
|
282
|
+
# s `next_page_token` to determine if there are more instances left to be
|
283
|
+
# queried.
|
278
284
|
# @param [String] page_token
|
279
|
-
# The next_page_token value returned from a previous List request, if any.
|
285
|
+
# The `next_page_token` value returned from a previous List request, if any.
|
280
286
|
# @param [String] fields
|
281
287
|
# Selector specifying which fields to include in a partial response.
|
282
288
|
# @param [String] quota_user
|
@@ -313,9 +319,9 @@ module Google
|
|
313
319
|
# Required. Unique name of the resource in this scope including project and
|
314
320
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
315
321
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
316
|
-
# at regional level so location_id here refers to a
|
317
|
-
# may choose which zones Memcached nodes
|
318
|
-
#
|
322
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
323
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
324
|
+
# within an instance. Refer to zones field for more details.
|
319
325
|
# @param [Google::Apis::MemcacheV1::Instance] instance_object
|
320
326
|
# @param [String] update_mask
|
321
327
|
# Required. Mask of fields to update. * `displayName`
|
@@ -349,9 +355,9 @@ module Google
|
|
349
355
|
execute_or_queue_command(command, &block)
|
350
356
|
end
|
351
357
|
|
352
|
-
# Updates the defined Memcached
|
353
|
-
# only stages the parameters, it must be followed by ApplyParameters to apply
|
354
|
-
# the parameters to nodes of the Memcached
|
358
|
+
# Updates the defined Memcached parameters for an existing instance. This method
|
359
|
+
# only stages the parameters, it must be followed by `ApplyParameters` to apply
|
360
|
+
# the parameters to nodes of the Memcached instance.
|
355
361
|
# @param [String] name
|
356
362
|
# Required. Resource name of the Memcached instance for which the parameters
|
357
363
|
# should be updated.
|
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.6.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: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Memorystore for Memcached API V1
|