google-apis-memcache_v1 0.2.0 → 0.7.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 +22 -0
- data/lib/google/apis/memcache_v1.rb +1 -1
- data/lib/google/apis/memcache_v1/classes.rb +112 -43
- data/lib/google/apis/memcache_v1/gem_version.rb +3 -3
- data/lib/google/apis/memcache_v1/representations.rb +42 -2
- 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: 6f9b9f7db8a3a0fbc3d6b1cb4bffa8e968d717091d5b357efcf4345375061f2c
|
4
|
+
data.tar.gz: 368d479497b74ea04931afa2c95ee14f935a06422f4054ddf74a3a9f0746f2d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a9d89443b2af82f86662af6e51cc7fdcd373df7d8425ea5635ccbb87c4168eaa07f5dba862477c3e4feb243df158cbe15aaa0432af34f0d4ca59adbc549ee5a
|
7
|
+
data.tar.gz: 1f555a638d6cc2acc32d4b0110ddf074627b3bb56f455243c7036af7a6327a33abebe7c27d356d7488f84252d448cc4b0c7c3054956837da273fde07ed7fb2df
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-06-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210615
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.6.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210517
|
11
|
+
|
12
|
+
### v0.5.0 (2021-05-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210504
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-27)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210324
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.3.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Unspecified changes
|
24
|
+
|
3
25
|
### v0.2.0 (2021-02-11)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210209
|
@@ -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
|
@@ -509,6 +544,35 @@ module Google
|
|
509
544
|
end
|
510
545
|
end
|
511
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
|
+
|
512
576
|
# Describes provisioned dataplane resources.
|
513
577
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
514
578
|
include Google::Apis::Core::Hashable
|
@@ -591,8 +655,7 @@ module Google
|
|
591
655
|
attr_accessor :reason
|
592
656
|
|
593
657
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
594
|
-
# that the instance should be excluded from all SLIs
|
595
|
-
# configuration.
|
658
|
+
# that the instance should be excluded from all SLIs.
|
596
659
|
# Corresponds to the JSON property `sliName`
|
597
660
|
# @return [String]
|
598
661
|
attr_accessor :sli_name
|
@@ -620,13 +683,6 @@ module Google
|
|
620
683
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
621
684
|
include Google::Apis::Core::Hashable
|
622
685
|
|
623
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
624
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
625
|
-
# related calculations along with a user-defined reason.
|
626
|
-
# Corresponds to the JSON property `eligibility`
|
627
|
-
# @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
628
|
-
attr_accessor :eligibility
|
629
|
-
|
630
686
|
# List of SLO exclusion windows. When multiple entries in the list match (
|
631
687
|
# matching the exclusion time-window against current time point) the exclusion
|
632
688
|
# reason used in the first matching entry will be published. It is not needed to
|
@@ -649,6 +705,11 @@ module Google
|
|
649
705
|
# @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
650
706
|
attr_accessor :nodes
|
651
707
|
|
708
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
709
|
+
# Corresponds to the JSON property `perSliEligibility`
|
710
|
+
# @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
711
|
+
attr_accessor :per_sli_eligibility
|
712
|
+
|
652
713
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
653
714
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
654
715
|
# and must not be empty.
|
@@ -662,14 +723,14 @@ module Google
|
|
662
723
|
|
663
724
|
# Update properties of this object
|
664
725
|
def update!(**args)
|
665
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
666
726
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
667
727
|
@nodes = args[:nodes] if args.key?(:nodes)
|
728
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
668
729
|
@tier = args[:tier] if args.key?(:tier)
|
669
730
|
end
|
670
731
|
end
|
671
732
|
|
672
|
-
#
|
733
|
+
# A Memorystore for Memcached instance
|
673
734
|
class Instance
|
674
735
|
include Google::Apis::Core::Hashable
|
675
736
|
|
@@ -685,18 +746,18 @@ module Google
|
|
685
746
|
# @return [String]
|
686
747
|
attr_accessor :create_time
|
687
748
|
|
688
|
-
# Output only. Endpoint for Discovery API
|
749
|
+
# Output only. Endpoint for the Discovery API.
|
689
750
|
# Corresponds to the JSON property `discoveryEndpoint`
|
690
751
|
# @return [String]
|
691
752
|
attr_accessor :discovery_endpoint
|
692
753
|
|
693
|
-
# User provided name for the instance only used for display purposes.
|
694
|
-
# more than 80 characters.
|
754
|
+
# User provided name for the instance, which is only used for display purposes.
|
755
|
+
# Cannot be more than 80 characters.
|
695
756
|
# Corresponds to the JSON property `displayName`
|
696
757
|
# @return [String]
|
697
758
|
attr_accessor :display_name
|
698
759
|
|
699
|
-
# List of messages that describe current
|
760
|
+
# List of messages that describe the current state of the Memcached instance.
|
700
761
|
# Corresponds to the JSON property `instanceMessages`
|
701
762
|
# @return [Array<Google::Apis::MemcacheV1::InstanceMessage>]
|
702
763
|
attr_accessor :instance_messages
|
@@ -716,15 +777,15 @@ module Google
|
|
716
777
|
# @return [String]
|
717
778
|
attr_accessor :memcache_full_version
|
718
779
|
|
719
|
-
# Output only. List of Memcached nodes. Refer to
|
780
|
+
# Output only. List of Memcached nodes. Refer to Node message for more details.
|
720
781
|
# Corresponds to the JSON property `memcacheNodes`
|
721
782
|
# @return [Array<Google::Apis::MemcacheV1::Node>]
|
722
783
|
attr_accessor :memcache_nodes
|
723
784
|
|
724
785
|
# The major version of Memcached software. If not provided, latest supported
|
725
|
-
# version will be used. Currently the latest supported major version is
|
726
|
-
# MEMCACHE_1_5
|
727
|
-
# based on the latest supported minor version.
|
786
|
+
# version will be used. Currently the latest supported major version is `
|
787
|
+
# MEMCACHE_1_5`. The minor version will be automatically determined by our
|
788
|
+
# system based on the latest supported minor version.
|
728
789
|
# Corresponds to the JSON property `memcacheVersion`
|
729
790
|
# @return [String]
|
730
791
|
attr_accessor :memcache_version
|
@@ -732,9 +793,9 @@ module Google
|
|
732
793
|
# Required. Unique name of the resource in this scope including project and
|
733
794
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
734
795
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
735
|
-
# at regional level so location_id here refers to a
|
736
|
-
# may choose which zones Memcached nodes
|
737
|
-
#
|
796
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
797
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
798
|
+
# within an instance. Refer to zones field for more details.
|
738
799
|
# Corresponds to the JSON property `name`
|
739
800
|
# @return [String]
|
740
801
|
attr_accessor :name
|
@@ -749,8 +810,10 @@ module Google
|
|
749
810
|
# @return [Fixnum]
|
750
811
|
attr_accessor :node_count
|
751
812
|
|
752
|
-
#
|
753
|
-
#
|
813
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
814
|
+
# determine if the parameters associated with the instance differ from the
|
815
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
816
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
754
817
|
# Corresponds to the JSON property `parameters`
|
755
818
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
756
819
|
attr_accessor :parameters
|
@@ -765,7 +828,7 @@ module Google
|
|
765
828
|
# @return [String]
|
766
829
|
attr_accessor :update_time
|
767
830
|
|
768
|
-
# Zones
|
831
|
+
# Zones in which Memcached nodes should be provisioned. Memcached nodes will be
|
769
832
|
# equally distributed across these zones. If not provided, the service will by
|
770
833
|
# default create nodes in all zones in the region for the instance.
|
771
834
|
# Corresponds to the JSON property `zones`
|
@@ -1062,14 +1125,14 @@ module Google
|
|
1062
1125
|
end
|
1063
1126
|
end
|
1064
1127
|
|
1065
|
-
#
|
1128
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1129
|
+
# determine if the parameters associated with the instance differ from the
|
1130
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1131
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1066
1132
|
class MemcacheParameters
|
1067
1133
|
include Google::Apis::Core::Hashable
|
1068
1134
|
|
1069
|
-
# Output only.
|
1070
|
-
# use this id to determine if the parameters associated with the instance differ
|
1071
|
-
# from the parameters associated with the nodes and any action needs to be taken
|
1072
|
-
# to apply parameters on nodes.
|
1135
|
+
# Output only.
|
1073
1136
|
# Corresponds to the JSON property `id`
|
1074
1137
|
# @return [String]
|
1075
1138
|
attr_accessor :id
|
@@ -1106,7 +1169,10 @@ module Google
|
|
1106
1169
|
# @return [String]
|
1107
1170
|
attr_accessor :node_id
|
1108
1171
|
|
1109
|
-
#
|
1172
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1173
|
+
# determine if the parameters associated with the instance differ from the
|
1174
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1175
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1110
1176
|
# Corresponds to the JSON property `parameters`
|
1111
1177
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1112
1178
|
attr_accessor :parameters
|
@@ -1404,7 +1470,10 @@ module Google
|
|
1404
1470
|
class UpdateParametersRequest
|
1405
1471
|
include Google::Apis::Core::Hashable
|
1406
1472
|
|
1407
|
-
# The parameters
|
1473
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1474
|
+
# determine if the parameters associated with the instance differ from the
|
1475
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1476
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1408
1477
|
# Corresponds to the JSON property `parameters`
|
1409
1478
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1410
1479
|
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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210615"
|
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
|
@@ -357,6 +389,14 @@ module Google
|
|
357
389
|
end
|
358
390
|
end
|
359
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
|
+
|
360
400
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
361
401
|
# @private
|
362
402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -386,12 +426,12 @@ module Google
|
|
386
426
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
387
427
|
# @private
|
388
428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
390
|
-
|
391
429
|
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
392
430
|
|
393
431
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
394
432
|
|
433
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
434
|
+
|
395
435
|
property :tier, as: 'tier'
|
396
436
|
end
|
397
437
|
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.7.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-06-21 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.7.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
|