google-apis-memcache_v1beta2 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 +21 -0
- data/lib/google/apis/memcache_v1beta2.rb +1 -1
- data/lib/google/apis/memcache_v1beta2/classes.rb +120 -36
- data/lib/google/apis/memcache_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/memcache_v1beta2/representations.rb +44 -1
- data/lib/google/apis/memcache_v1beta2/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: 7fed42bbc6256140d370c6c963e46576ccafa7e57ada3fca6409f98b73bb6229
|
4
|
+
data.tar.gz: 0ba5f450eebcaa2edd30369914f901c5ca93a60e0dfac7bc1cea861a2be54020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e7554fe50ac4de6530eed87e91f160ed78db0fd2d8bdb00307a7a075a39f242bb1866b51a149468813044e35e81307b85be47d191ed60e646b5a4286535387
|
7
|
+
data.tar.gz: aa19d1947d2a504645e53f7131de9fc456d0ae5dcbf6283d7eb7aa9851cad7f096f7f288f6e95c4642a8641865b3e3a0195d31f6a5db89900e5c974b5fb28bbe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1beta2
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210517
|
6
|
+
|
7
|
+
### v0.6.0 (2021-05-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210504
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210324
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-10)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210209
|
23
|
+
|
3
24
|
### v0.2.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 = 'V1beta2'
|
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
|
@@ -233,7 +233,7 @@ module Google
|
|
233
233
|
# the lowercase ID of each zone, as defined by GCE. These keys can be specified
|
234
234
|
# in the `zones` field when creating a Memcached instance.
|
235
235
|
# Corresponds to the JSON property `availableZones`
|
236
|
-
# @return [Hash<String,Google::Apis::MemcacheV1beta2::
|
236
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2ZoneMetadata>]
|
237
237
|
attr_accessor :available_zones
|
238
238
|
|
239
239
|
def initialize(**args)
|
@@ -305,6 +305,19 @@ module Google
|
|
305
305
|
end
|
306
306
|
end
|
307
307
|
|
308
|
+
#
|
309
|
+
class GoogleCloudMemcacheV1beta2ZoneMetadata
|
310
|
+
include Google::Apis::Core::Hashable
|
311
|
+
|
312
|
+
def initialize(**args)
|
313
|
+
update!(**args)
|
314
|
+
end
|
315
|
+
|
316
|
+
# Update properties of this object
|
317
|
+
def update!(**args)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
308
321
|
#
|
309
322
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
310
323
|
include Google::Apis::Core::Hashable
|
@@ -349,8 +362,10 @@ module Google
|
|
349
362
|
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
350
363
|
attr_accessor :maintenance_settings
|
351
364
|
|
352
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
353
|
-
# locations/`location_id`/instances/`instance_id``
|
365
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
366
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
367
|
+
# project_id or project_number can be used, but keep it consistent with other
|
368
|
+
# APIs (e.g. RescheduleUpdate)
|
354
369
|
# Corresponds to the JSON property `name`
|
355
370
|
# @return [String]
|
356
371
|
attr_accessor :name
|
@@ -433,9 +448,9 @@ module Google
|
|
433
448
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
434
449
|
include Google::Apis::Core::Hashable
|
435
450
|
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
451
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
452
|
+
# happen multiple times now. This field should not be removed until all service
|
453
|
+
# producers remove this for their customers.
|
439
454
|
# Corresponds to the JSON property `canReschedule`
|
440
455
|
# @return [Boolean]
|
441
456
|
attr_accessor :can_reschedule
|
@@ -455,9 +470,8 @@ module Google
|
|
455
470
|
|
456
471
|
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
457
472
|
# beyond, including reschedule. It's normally the initial schedule start time
|
458
|
-
# plus
|
459
|
-
#
|
460
|
-
# time cannot go beyond this deadline.
|
473
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
474
|
+
# scheduled to start beyond this deadline.
|
461
475
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
462
476
|
# @return [String]
|
463
477
|
attr_accessor :schedule_deadline_time
|
@@ -494,6 +508,12 @@ module Google
|
|
494
508
|
attr_accessor :exclude
|
495
509
|
alias_method :exclude?, :exclude
|
496
510
|
|
511
|
+
# Optional. If the update call is triggered from rollback, set the value as true.
|
512
|
+
# Corresponds to the JSON property `isRollback`
|
513
|
+
# @return [Boolean]
|
514
|
+
attr_accessor :is_rollback
|
515
|
+
alias_method :is_rollback?, :is_rollback
|
516
|
+
|
497
517
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
498
518
|
# key must be of the type name of the oneof policy name defined in
|
499
519
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -511,6 +531,7 @@ module Google
|
|
511
531
|
# Update properties of this object
|
512
532
|
def update!(**args)
|
513
533
|
@exclude = args[:exclude] if args.key?(:exclude)
|
534
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
514
535
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
515
536
|
end
|
516
537
|
end
|
@@ -552,6 +573,35 @@ module Google
|
|
552
573
|
end
|
553
574
|
end
|
554
575
|
|
576
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
577
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
578
|
+
include Google::Apis::Core::Hashable
|
579
|
+
|
580
|
+
# An entry in the eligibilities map specifies an eligibility for a particular
|
581
|
+
# SLI for the given instance. The SLI key in the name must be a valid SLI name
|
582
|
+
# specified in the Eligibility Exporter binary flags otherwise an error will be
|
583
|
+
# emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
|
584
|
+
# has been defined in the binary flags but the eligibilities map does not
|
585
|
+
# contain it, the corresponding SLI time series will not be emitted by the
|
586
|
+
# Eligibility Exporter. This ensures a smooth rollout and compatibility between
|
587
|
+
# the data produced by different versions of the Eligibility Exporters. If
|
588
|
+
# eligibilities map contains a key for an SLI which has not been declared in the
|
589
|
+
# binary flags, there will be an error message emitted in the Eligibility
|
590
|
+
# Exporter log and the metric for the SLI in question will not be emitted.
|
591
|
+
# Corresponds to the JSON property `eligibilities`
|
592
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
|
593
|
+
attr_accessor :eligibilities
|
594
|
+
|
595
|
+
def initialize(**args)
|
596
|
+
update!(**args)
|
597
|
+
end
|
598
|
+
|
599
|
+
# Update properties of this object
|
600
|
+
def update!(**args)
|
601
|
+
@eligibilities = args[:eligibilities] if args.key?(:eligibilities)
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
555
605
|
# Describes provisioned dataplane resources.
|
556
606
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
557
607
|
include Google::Apis::Core::Hashable
|
@@ -634,8 +684,7 @@ module Google
|
|
634
684
|
attr_accessor :reason
|
635
685
|
|
636
686
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
637
|
-
# that the instance should be excluded from all SLIs
|
638
|
-
# configuration.
|
687
|
+
# that the instance should be excluded from all SLIs.
|
639
688
|
# Corresponds to the JSON property `sliName`
|
640
689
|
# @return [String]
|
641
690
|
attr_accessor :sli_name
|
@@ -692,6 +741,11 @@ module Google
|
|
692
741
|
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
693
742
|
attr_accessor :nodes
|
694
743
|
|
744
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
745
|
+
# Corresponds to the JSON property `perSliEligibility`
|
746
|
+
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
747
|
+
attr_accessor :per_sli_eligibility
|
748
|
+
|
695
749
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
696
750
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
697
751
|
# and must not be empty.
|
@@ -708,11 +762,12 @@ module Google
|
|
708
762
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
709
763
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
710
764
|
@nodes = args[:nodes] if args.key?(:nodes)
|
765
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
711
766
|
@tier = args[:tier] if args.key?(:tier)
|
712
767
|
end
|
713
768
|
end
|
714
769
|
|
715
|
-
#
|
770
|
+
# A Memorystore for Memcached instance
|
716
771
|
class Instance
|
717
772
|
include Google::Apis::Core::Hashable
|
718
773
|
|
@@ -728,18 +783,18 @@ module Google
|
|
728
783
|
# @return [String]
|
729
784
|
attr_accessor :create_time
|
730
785
|
|
731
|
-
# Output only. Endpoint for Discovery API
|
786
|
+
# Output only. Endpoint for the Discovery API.
|
732
787
|
# Corresponds to the JSON property `discoveryEndpoint`
|
733
788
|
# @return [String]
|
734
789
|
attr_accessor :discovery_endpoint
|
735
790
|
|
736
|
-
# User provided name for the instance only used for display purposes.
|
737
|
-
# more than 80 characters.
|
791
|
+
# User provided name for the instance, which is only used for display purposes.
|
792
|
+
# Cannot be more than 80 characters.
|
738
793
|
# Corresponds to the JSON property `displayName`
|
739
794
|
# @return [String]
|
740
795
|
attr_accessor :display_name
|
741
796
|
|
742
|
-
# List of messages that describe current
|
797
|
+
# List of messages that describe the current state of the Memcached instance.
|
743
798
|
# Corresponds to the JSON property `instanceMessages`
|
744
799
|
# @return [Array<Google::Apis::MemcacheV1beta2::InstanceMessage>]
|
745
800
|
attr_accessor :instance_messages
|
@@ -759,15 +814,15 @@ module Google
|
|
759
814
|
# @return [String]
|
760
815
|
attr_accessor :memcache_full_version
|
761
816
|
|
762
|
-
# Output only. List of Memcached nodes. Refer to
|
817
|
+
# Output only. List of Memcached nodes. Refer to Node message for more details.
|
763
818
|
# Corresponds to the JSON property `memcacheNodes`
|
764
819
|
# @return [Array<Google::Apis::MemcacheV1beta2::Node>]
|
765
820
|
attr_accessor :memcache_nodes
|
766
821
|
|
767
822
|
# The major version of Memcached software. If not provided, latest supported
|
768
|
-
# version will be used. Currently the latest supported major version is
|
769
|
-
# MEMCACHE_1_5
|
770
|
-
# based on the latest supported minor version.
|
823
|
+
# version will be used. Currently the latest supported major version is `
|
824
|
+
# MEMCACHE_1_5`. The minor version will be automatically determined by our
|
825
|
+
# system based on the latest supported minor version.
|
771
826
|
# Corresponds to the JSON property `memcacheVersion`
|
772
827
|
# @return [String]
|
773
828
|
attr_accessor :memcache_version
|
@@ -775,9 +830,9 @@ module Google
|
|
775
830
|
# Required. Unique name of the resource in this scope including project and
|
776
831
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
777
832
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
778
|
-
# at regional level so location_id here refers to a
|
779
|
-
# may choose which zones Memcached nodes
|
780
|
-
#
|
833
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
834
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
835
|
+
# within an instance. Refer to zones field for more details.
|
781
836
|
# Corresponds to the JSON property `name`
|
782
837
|
# @return [String]
|
783
838
|
attr_accessor :name
|
@@ -792,8 +847,10 @@ module Google
|
|
792
847
|
# @return [Fixnum]
|
793
848
|
attr_accessor :node_count
|
794
849
|
|
795
|
-
#
|
796
|
-
#
|
850
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
851
|
+
# determine if the parameters associated with the instance differ from the
|
852
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
853
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
797
854
|
# Corresponds to the JSON property `parameters`
|
798
855
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
799
856
|
attr_accessor :parameters
|
@@ -814,7 +871,7 @@ module Google
|
|
814
871
|
# @return [String]
|
815
872
|
attr_accessor :update_time
|
816
873
|
|
817
|
-
# Zones
|
874
|
+
# Zones in which Memcached nodes should be provisioned. Memcached nodes will be
|
818
875
|
# equally distributed across these zones. If not provided, the service will by
|
819
876
|
# default create nodes in all zones in the region for the instance.
|
820
877
|
# Corresponds to the JSON property `zones`
|
@@ -1004,6 +1061,27 @@ module Google
|
|
1004
1061
|
end
|
1005
1062
|
end
|
1006
1063
|
|
1064
|
+
# Metadata for the given google.cloud.location.Location.
|
1065
|
+
class LocationMetadata
|
1066
|
+
include Google::Apis::Core::Hashable
|
1067
|
+
|
1068
|
+
# Output only. The set of available zones in the location. The map is keyed by
|
1069
|
+
# the lowercase ID of each zone, as defined by GCE. These keys can be specified
|
1070
|
+
# in the `zones` field when creating a Memcached instance.
|
1071
|
+
# Corresponds to the JSON property `availableZones`
|
1072
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::ZoneMetadata>]
|
1073
|
+
attr_accessor :available_zones
|
1074
|
+
|
1075
|
+
def initialize(**args)
|
1076
|
+
update!(**args)
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# Update properties of this object
|
1080
|
+
def update!(**args)
|
1081
|
+
@available_zones = args[:available_zones] if args.key?(:available_zones)
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1007
1085
|
# Defines policies to service maintenance events.
|
1008
1086
|
class MaintenancePolicy
|
1009
1087
|
include Google::Apis::Core::Hashable
|
@@ -1091,14 +1169,14 @@ module Google
|
|
1091
1169
|
end
|
1092
1170
|
end
|
1093
1171
|
|
1094
|
-
#
|
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.
|
1095
1176
|
class MemcacheParameters
|
1096
1177
|
include Google::Apis::Core::Hashable
|
1097
1178
|
|
1098
|
-
# Output only.
|
1099
|
-
# use this id to determine if the parameters associated with the instance differ
|
1100
|
-
# from the parameters associated with the nodes and any action needs to be taken
|
1101
|
-
# to apply parameters on nodes.
|
1179
|
+
# Output only.
|
1102
1180
|
# Corresponds to the JSON property `id`
|
1103
1181
|
# @return [String]
|
1104
1182
|
attr_accessor :id
|
@@ -1135,7 +1213,10 @@ module Google
|
|
1135
1213
|
# @return [String]
|
1136
1214
|
attr_accessor :node_id
|
1137
1215
|
|
1138
|
-
#
|
1216
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1217
|
+
# determine if the parameters associated with the instance differ from the
|
1218
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1219
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1139
1220
|
# Corresponds to the JSON property `parameters`
|
1140
1221
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1141
1222
|
attr_accessor :parameters
|
@@ -1440,7 +1521,10 @@ module Google
|
|
1440
1521
|
class UpdateParametersRequest
|
1441
1522
|
include Google::Apis::Core::Hashable
|
1442
1523
|
|
1443
|
-
# The parameters
|
1524
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1525
|
+
# determine if the parameters associated with the instance differ from the
|
1526
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1527
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1444
1528
|
# Corresponds to the JSON property `parameters`
|
1445
1529
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1446
1530
|
attr_accessor :parameters
|
@@ -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.
|
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.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
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class GoogleCloudMemcacheV1beta2ZoneMetadata
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -100,6 +106,12 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class LocationMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class MaintenancePolicy
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -305,7 +323,7 @@ module Google
|
|
305
323
|
class GoogleCloudMemcacheV1beta2LocationMetadata
|
306
324
|
# @private
|
307
325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
-
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1beta2::
|
326
|
+
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2ZoneMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2ZoneMetadata::Representation
|
309
327
|
|
310
328
|
end
|
311
329
|
end
|
@@ -323,6 +341,12 @@ module Google
|
|
323
341
|
end
|
324
342
|
end
|
325
343
|
|
344
|
+
class GoogleCloudMemcacheV1beta2ZoneMetadata
|
345
|
+
# @private
|
346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
326
350
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
327
351
|
# @private
|
328
352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -363,6 +387,7 @@ module Google
|
|
363
387
|
# @private
|
364
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
365
389
|
property :exclude, as: 'exclude'
|
390
|
+
property :is_rollback, as: 'isRollback'
|
366
391
|
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::MemcacheV1beta2::MaintenancePolicy, decorator: Google::Apis::MemcacheV1beta2::MaintenancePolicy::Representation
|
367
392
|
|
368
393
|
end
|
@@ -378,6 +403,14 @@ module Google
|
|
378
403
|
end
|
379
404
|
end
|
380
405
|
|
406
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
hash :eligibilities, as: 'eligibilities', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
410
|
+
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
381
414
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
382
415
|
# @private
|
383
416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -413,6 +446,8 @@ module Google
|
|
413
446
|
|
414
447
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
415
448
|
|
449
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
450
|
+
|
416
451
|
property :tier, as: 'tier'
|
417
452
|
end
|
418
453
|
end
|
@@ -491,6 +526,14 @@ module Google
|
|
491
526
|
end
|
492
527
|
end
|
493
528
|
|
529
|
+
class LocationMetadata
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1beta2::ZoneMetadata, decorator: Google::Apis::MemcacheV1beta2::ZoneMetadata::Representation
|
533
|
+
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
494
537
|
class MaintenancePolicy
|
495
538
|
# @private
|
496
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.
|
@@ -199,7 +203,8 @@ module Google
|
|
199
203
|
# the following restrictions: * Must contain only lowercase letters, numbers,
|
200
204
|
# and hyphens. * Must start with a letter. * Must be between 1-40 characters. *
|
201
205
|
# Must end with a number or a letter. * Must be unique within the user project /
|
202
|
-
# location If any of the above are not met,
|
206
|
+
# location. If any of the above are not met, the API raises an invalid argument
|
207
|
+
# error.
|
203
208
|
# @param [String] fields
|
204
209
|
# Selector specifying which fields to include in a partial response.
|
205
210
|
# @param [String] quota_user
|
@@ -301,16 +306,17 @@ module Google
|
|
301
306
|
# region
|
302
307
|
# @param [String] filter
|
303
308
|
# List filter. For example, exclude all Memcached instances with name as my-
|
304
|
-
# instance by specifying "name != my-instance"
|
309
|
+
# instance by specifying `"name != my-instance"`.
|
305
310
|
# @param [String] order_by
|
306
311
|
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
307
312
|
# @param [Fixnum] page_size
|
308
313
|
# The maximum number of items to return. If not specified, a default value of
|
309
|
-
# 1000 will be used by the service. Regardless of the page_size value, the
|
314
|
+
# 1000 will be used by the service. Regardless of the `page_size` value, the
|
310
315
|
# response may include a partial list and a caller should only rely on response'
|
311
|
-
# s next_page_token to determine if there are more instances left to be
|
316
|
+
# s `next_page_token` to determine if there are more instances left to be
|
317
|
+
# queried.
|
312
318
|
# @param [String] page_token
|
313
|
-
# The next_page_token value returned from a previous List request, if any.
|
319
|
+
# The `next_page_token` value returned from a previous List request, if any.
|
314
320
|
# @param [String] fields
|
315
321
|
# Selector specifying which fields to include in a partial response.
|
316
322
|
# @param [String] quota_user
|
@@ -347,9 +353,9 @@ module Google
|
|
347
353
|
# Required. Unique name of the resource in this scope including project and
|
348
354
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
349
355
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
350
|
-
# at regional level so location_id here refers to a
|
351
|
-
# may choose which zones Memcached nodes
|
352
|
-
#
|
356
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
357
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
358
|
+
# within an instance. Refer to zones field for more details.
|
353
359
|
# @param [Google::Apis::MemcacheV1beta2::Instance] instance_object
|
354
360
|
# @param [String] update_mask
|
355
361
|
# Required. Mask of fields to update. * `displayName`
|
@@ -383,9 +389,9 @@ module Google
|
|
383
389
|
execute_or_queue_command(command, &block)
|
384
390
|
end
|
385
391
|
|
386
|
-
# Updates the defined Memcached
|
387
|
-
# only stages the parameters, it must be followed by ApplyParameters to apply
|
388
|
-
# the parameters to nodes of the Memcached
|
392
|
+
# Updates the defined Memcached parameters for an existing instance. This method
|
393
|
+
# only stages the parameters, it must be followed by `ApplyParameters` to apply
|
394
|
+
# the parameters to nodes of the Memcached instance.
|
389
395
|
# @param [String] name
|
390
396
|
# Required. Resource name of the Memcached instance for which the parameters
|
391
397
|
# should be updated.
|
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.
|
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-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_v1beta2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1beta2
|
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 V1beta2
|