google-apis-memcache_v1beta2 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/memcache_v1beta2.rb +1 -1
- data/lib/google/apis/memcache_v1beta2/classes.rb +113 -44
- data/lib/google/apis/memcache_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/memcache_v1beta2/representations.rb +43 -3
- data/lib/google/apis/memcache_v1beta2/service.rb +22 -16
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce85c973908df361a71d2fc57a1d644434af56e68f2abb3f2ee9cbd5435799e1
|
4
|
+
data.tar.gz: 4402adeb0876aca5d863aa4796411b1b158bbe2f986e1492bcfa8956f151649f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59e35bb45f5a1874e78d8848fcef5e822d609ee8fb9dc9c517e10bd3e7464af78bc3cafc19fb6417409b6177653f28a3bcd18ba1bda0d944f2a619f2670d9cec
|
7
|
+
data.tar.gz: f9f189566e92588ebfb82aabd51dd118822e77ee5fb949ce2ce51b9cee4f0862a3df48a5c6d612a50ff615a8f3d831898b1eef9a5a820fe4203b8dd40c2758cd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1beta2
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210615
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210517
|
15
|
+
|
16
|
+
### v0.6.0 (2021-05-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210504
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-26)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210324
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.4.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Unspecified changes
|
@@ -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
|
@@ -559,6 +573,35 @@ module Google
|
|
559
573
|
end
|
560
574
|
end
|
561
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
|
+
|
562
605
|
# Describes provisioned dataplane resources.
|
563
606
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
564
607
|
include Google::Apis::Core::Hashable
|
@@ -641,8 +684,7 @@ module Google
|
|
641
684
|
attr_accessor :reason
|
642
685
|
|
643
686
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
644
|
-
# that the instance should be excluded from all SLIs
|
645
|
-
# configuration.
|
687
|
+
# that the instance should be excluded from all SLIs.
|
646
688
|
# Corresponds to the JSON property `sliName`
|
647
689
|
# @return [String]
|
648
690
|
attr_accessor :sli_name
|
@@ -670,13 +712,6 @@ module Google
|
|
670
712
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
671
713
|
include Google::Apis::Core::Hashable
|
672
714
|
|
673
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
674
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
675
|
-
# related calculations along with a user-defined reason.
|
676
|
-
# Corresponds to the JSON property `eligibility`
|
677
|
-
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
678
|
-
attr_accessor :eligibility
|
679
|
-
|
680
715
|
# List of SLO exclusion windows. When multiple entries in the list match (
|
681
716
|
# matching the exclusion time-window against current time point) the exclusion
|
682
717
|
# reason used in the first matching entry will be published. It is not needed to
|
@@ -699,6 +734,11 @@ module Google
|
|
699
734
|
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
700
735
|
attr_accessor :nodes
|
701
736
|
|
737
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
738
|
+
# Corresponds to the JSON property `perSliEligibility`
|
739
|
+
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
740
|
+
attr_accessor :per_sli_eligibility
|
741
|
+
|
702
742
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
703
743
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
704
744
|
# and must not be empty.
|
@@ -712,14 +752,14 @@ module Google
|
|
712
752
|
|
713
753
|
# Update properties of this object
|
714
754
|
def update!(**args)
|
715
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
716
755
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
717
756
|
@nodes = args[:nodes] if args.key?(:nodes)
|
757
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
718
758
|
@tier = args[:tier] if args.key?(:tier)
|
719
759
|
end
|
720
760
|
end
|
721
761
|
|
722
|
-
#
|
762
|
+
# A Memorystore for Memcached instance
|
723
763
|
class Instance
|
724
764
|
include Google::Apis::Core::Hashable
|
725
765
|
|
@@ -735,18 +775,18 @@ module Google
|
|
735
775
|
# @return [String]
|
736
776
|
attr_accessor :create_time
|
737
777
|
|
738
|
-
# Output only. Endpoint for Discovery API
|
778
|
+
# Output only. Endpoint for the Discovery API.
|
739
779
|
# Corresponds to the JSON property `discoveryEndpoint`
|
740
780
|
# @return [String]
|
741
781
|
attr_accessor :discovery_endpoint
|
742
782
|
|
743
|
-
# User provided name for the instance only used for display purposes.
|
744
|
-
# more than 80 characters.
|
783
|
+
# User provided name for the instance, which is only used for display purposes.
|
784
|
+
# Cannot be more than 80 characters.
|
745
785
|
# Corresponds to the JSON property `displayName`
|
746
786
|
# @return [String]
|
747
787
|
attr_accessor :display_name
|
748
788
|
|
749
|
-
# List of messages that describe current
|
789
|
+
# List of messages that describe the current state of the Memcached instance.
|
750
790
|
# Corresponds to the JSON property `instanceMessages`
|
751
791
|
# @return [Array<Google::Apis::MemcacheV1beta2::InstanceMessage>]
|
752
792
|
attr_accessor :instance_messages
|
@@ -766,15 +806,15 @@ module Google
|
|
766
806
|
# @return [String]
|
767
807
|
attr_accessor :memcache_full_version
|
768
808
|
|
769
|
-
# Output only. List of Memcached nodes. Refer to
|
809
|
+
# Output only. List of Memcached nodes. Refer to Node message for more details.
|
770
810
|
# Corresponds to the JSON property `memcacheNodes`
|
771
811
|
# @return [Array<Google::Apis::MemcacheV1beta2::Node>]
|
772
812
|
attr_accessor :memcache_nodes
|
773
813
|
|
774
814
|
# The major version of Memcached software. If not provided, latest supported
|
775
|
-
# version will be used. Currently the latest supported major version is
|
776
|
-
# MEMCACHE_1_5
|
777
|
-
# based on the latest supported minor version.
|
815
|
+
# version will be used. Currently the latest supported major version is `
|
816
|
+
# MEMCACHE_1_5`. The minor version will be automatically determined by our
|
817
|
+
# system based on the latest supported minor version.
|
778
818
|
# Corresponds to the JSON property `memcacheVersion`
|
779
819
|
# @return [String]
|
780
820
|
attr_accessor :memcache_version
|
@@ -782,9 +822,9 @@ module Google
|
|
782
822
|
# Required. Unique name of the resource in this scope including project and
|
783
823
|
# location using the form: `projects/`project_id`/locations/`location_id`/
|
784
824
|
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
785
|
-
# at regional level so location_id here refers to a
|
786
|
-
# may choose which zones Memcached nodes
|
787
|
-
#
|
825
|
+
# at the regional level so `location_id` here refers to a Google Cloud region;
|
826
|
+
# however, users may choose which zones Memcached nodes should be provisioned in
|
827
|
+
# within an instance. Refer to zones field for more details.
|
788
828
|
# Corresponds to the JSON property `name`
|
789
829
|
# @return [String]
|
790
830
|
attr_accessor :name
|
@@ -799,8 +839,10 @@ module Google
|
|
799
839
|
# @return [Fixnum]
|
800
840
|
attr_accessor :node_count
|
801
841
|
|
802
|
-
#
|
803
|
-
#
|
842
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
843
|
+
# determine if the parameters associated with the instance differ from the
|
844
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
845
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
804
846
|
# Corresponds to the JSON property `parameters`
|
805
847
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
806
848
|
attr_accessor :parameters
|
@@ -821,7 +863,7 @@ module Google
|
|
821
863
|
# @return [String]
|
822
864
|
attr_accessor :update_time
|
823
865
|
|
824
|
-
# Zones
|
866
|
+
# Zones in which Memcached nodes should be provisioned. Memcached nodes will be
|
825
867
|
# equally distributed across these zones. If not provided, the service will by
|
826
868
|
# default create nodes in all zones in the region for the instance.
|
827
869
|
# Corresponds to the JSON property `zones`
|
@@ -1011,6 +1053,27 @@ module Google
|
|
1011
1053
|
end
|
1012
1054
|
end
|
1013
1055
|
|
1056
|
+
# Metadata for the given google.cloud.location.Location.
|
1057
|
+
class LocationMetadata
|
1058
|
+
include Google::Apis::Core::Hashable
|
1059
|
+
|
1060
|
+
# Output only. The set of available zones in the location. The map is keyed by
|
1061
|
+
# the lowercase ID of each zone, as defined by GCE. These keys can be specified
|
1062
|
+
# in the `zones` field when creating a Memcached instance.
|
1063
|
+
# Corresponds to the JSON property `availableZones`
|
1064
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::ZoneMetadata>]
|
1065
|
+
attr_accessor :available_zones
|
1066
|
+
|
1067
|
+
def initialize(**args)
|
1068
|
+
update!(**args)
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# Update properties of this object
|
1072
|
+
def update!(**args)
|
1073
|
+
@available_zones = args[:available_zones] if args.key?(:available_zones)
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1014
1077
|
# Defines policies to service maintenance events.
|
1015
1078
|
class MaintenancePolicy
|
1016
1079
|
include Google::Apis::Core::Hashable
|
@@ -1098,14 +1161,14 @@ module Google
|
|
1098
1161
|
end
|
1099
1162
|
end
|
1100
1163
|
|
1101
|
-
#
|
1164
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1165
|
+
# determine if the parameters associated with the instance differ from the
|
1166
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1167
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1102
1168
|
class MemcacheParameters
|
1103
1169
|
include Google::Apis::Core::Hashable
|
1104
1170
|
|
1105
|
-
# Output only.
|
1106
|
-
# use this id to determine if the parameters associated with the instance differ
|
1107
|
-
# from the parameters associated with the nodes and any action needs to be taken
|
1108
|
-
# to apply parameters on nodes.
|
1171
|
+
# Output only.
|
1109
1172
|
# Corresponds to the JSON property `id`
|
1110
1173
|
# @return [String]
|
1111
1174
|
attr_accessor :id
|
@@ -1142,7 +1205,10 @@ module Google
|
|
1142
1205
|
# @return [String]
|
1143
1206
|
attr_accessor :node_id
|
1144
1207
|
|
1145
|
-
#
|
1208
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1209
|
+
# determine if the parameters associated with the instance differ from the
|
1210
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1211
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1146
1212
|
# Corresponds to the JSON property `parameters`
|
1147
1213
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1148
1214
|
attr_accessor :parameters
|
@@ -1447,7 +1513,10 @@ module Google
|
|
1447
1513
|
class UpdateParametersRequest
|
1448
1514
|
include Google::Apis::Core::Hashable
|
1449
1515
|
|
1450
|
-
# The parameters
|
1516
|
+
# The unique ID associated with this set of parameters. Users can use this id to
|
1517
|
+
# determine if the parameters associated with the instance differ from the
|
1518
|
+
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1519
|
+
# inform users that they may need to take action to apply parameters on nodes.
|
1451
1520
|
# Corresponds to the JSON property `parameters`
|
1452
1521
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1453
1522
|
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.9.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
|
@@ -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
|
@@ -379,6 +403,14 @@ module Google
|
|
379
403
|
end
|
380
404
|
end
|
381
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
|
+
|
382
414
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
383
415
|
# @private
|
384
416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -408,12 +440,12 @@ module Google
|
|
408
440
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
409
441
|
# @private
|
410
442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
412
|
-
|
413
443
|
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
414
444
|
|
415
445
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
416
446
|
|
447
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
448
|
+
|
417
449
|
property :tier, as: 'tier'
|
418
450
|
end
|
419
451
|
end
|
@@ -492,6 +524,14 @@ module Google
|
|
492
524
|
end
|
493
525
|
end
|
494
526
|
|
527
|
+
class LocationMetadata
|
528
|
+
# @private
|
529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1beta2::ZoneMetadata, decorator: Google::Apis::MemcacheV1beta2::ZoneMetadata::Representation
|
531
|
+
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
495
535
|
class MaintenancePolicy
|
496
536
|
# @private
|
497
537
|
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,29 +1,35 @@
|
|
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.9.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Memorystore for Memcached API
|
28
34
|
V1beta2. Simple REST clients are Ruby client libraries that provide access to Google
|
29
35
|
services via their HTTP REST API endpoints. These libraries are generated and updated
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1beta2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Memorystore for Memcached API V1beta2
|