google-apis-memcache_v1beta2 0.12.0 → 0.16.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/memcache_v1beta2/classes.rb +9 -87
- data/lib/google/apis/memcache_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/memcache_v1beta2/representations.rb +0 -20
- data/lib/google/apis/memcache_v1beta2.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0c5af33302451df79d4288a761c4afbd604a86ad62ea99b294913853678a3c
|
4
|
+
data.tar.gz: aebe4738af76e49c41b2ffa38c9636ec850174b1b67beec13b9ceb5ad5e01361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a98a0c893c4f1cf05981f21e32d7f6c44a310e4ae901c8d6194fb92521ea83662857112b99e4671565d8c4faea168a30fbaf009ccc818cb1739050349823121
|
7
|
+
data.tar.gz: cc27ec5e29aec3cf582b3acc46c2e7ea78a855741de7ccd6644f85728d0771905b1e99a41bcfe2ffaac21af97b3a6794d23b4a0b5728bc1ebeb4d445f98cc20c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1beta2
|
2
2
|
|
3
|
+
### v0.16.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.15.0 (2021-11-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211028
|
10
|
+
|
11
|
+
### v0.14.0 (2021-10-21)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.13.0 (2021-09-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210907
|
18
|
+
|
3
19
|
### v0.12.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210810
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/memcache_v1beta2"
|
|
51
51
|
client = Google::Apis::MemcacheV1beta2::CloudMemorystoreforMemcachedService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Memcache service in particular.)
|
67
67
|
|
@@ -543,14 +543,6 @@ module Google
|
|
543
543
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
544
544
|
include Google::Apis::Core::Hashable
|
545
545
|
|
546
|
-
# By default node is eligible if instance is eligible. But individual node might
|
547
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
548
|
-
# exclusions. If both instance and node level exclusions are present for time
|
549
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
550
|
-
# Corresponds to the JSON property `exclusions`
|
551
|
-
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
552
|
-
attr_accessor :exclusions
|
553
|
-
|
554
546
|
# The location of the node, if different from instance location.
|
555
547
|
# Corresponds to the JSON property `location`
|
556
548
|
# @return [String]
|
@@ -572,7 +564,6 @@ module Google
|
|
572
564
|
|
573
565
|
# Update properties of this object
|
574
566
|
def update!(**args)
|
575
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
576
567
|
@location = args[:location] if args.key?(:location)
|
577
568
|
@node_id = args[:node_id] if args.key?(:node_id)
|
578
569
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -667,71 +658,11 @@ module Google
|
|
667
658
|
end
|
668
659
|
end
|
669
660
|
|
670
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
671
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
672
|
-
include Google::Apis::Core::Hashable
|
673
|
-
|
674
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
675
|
-
# operation is taking longer than initially expected, an existing entry in the
|
676
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
677
|
-
# the subsystem exporting eligibility data as long as such extension is
|
678
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
679
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
680
|
-
# application in the exported timeseries.
|
681
|
-
# Corresponds to the JSON property `duration`
|
682
|
-
# @return [String]
|
683
|
-
attr_accessor :duration
|
684
|
-
|
685
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
686
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
687
|
-
# data (e.g. instance name). Can be left empty.
|
688
|
-
# Corresponds to the JSON property `reason`
|
689
|
-
# @return [String]
|
690
|
-
attr_accessor :reason
|
691
|
-
|
692
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
693
|
-
# that the instance should be excluded from all SLIs.
|
694
|
-
# Corresponds to the JSON property `sliName`
|
695
|
-
# @return [String]
|
696
|
-
attr_accessor :sli_name
|
697
|
-
|
698
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
699
|
-
# Corresponds to the JSON property `startTime`
|
700
|
-
# @return [String]
|
701
|
-
attr_accessor :start_time
|
702
|
-
|
703
|
-
def initialize(**args)
|
704
|
-
update!(**args)
|
705
|
-
end
|
706
|
-
|
707
|
-
# Update properties of this object
|
708
|
-
def update!(**args)
|
709
|
-
@duration = args[:duration] if args.key?(:duration)
|
710
|
-
@reason = args[:reason] if args.key?(:reason)
|
711
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
712
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
713
|
-
end
|
714
|
-
end
|
715
|
-
|
716
661
|
# SloMetadata contains resources required for proper SLO classification of the
|
717
662
|
# instance.
|
718
663
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
719
664
|
include Google::Apis::Core::Hashable
|
720
665
|
|
721
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
722
|
-
# matching the exclusion time-window against current time point) the exclusion
|
723
|
-
# reason used in the first matching entry will be published. It is not needed to
|
724
|
-
# include expired exclusion in this list, as only the currently applicable
|
725
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
726
|
-
# historical state of exclusions will be reflected in the historically produced
|
727
|
-
# timeseries regardless of the current state). This field can be used to mark
|
728
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
729
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
730
|
-
# recommended. See 'eligibility' field below.
|
731
|
-
# Corresponds to the JSON property `exclusions`
|
732
|
-
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
733
|
-
attr_accessor :exclusions
|
734
|
-
|
735
666
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
736
667
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
737
668
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -758,7 +689,6 @@ module Google
|
|
758
689
|
|
759
690
|
# Update properties of this object
|
760
691
|
def update!(**args)
|
761
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
762
692
|
@nodes = args[:nodes] if args.key?(:nodes)
|
763
693
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
764
694
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -845,10 +775,7 @@ module Google
|
|
845
775
|
# @return [Fixnum]
|
846
776
|
attr_accessor :node_count
|
847
777
|
|
848
|
-
#
|
849
|
-
# determine if the parameters associated with the instance differ from the
|
850
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
851
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
778
|
+
# User defined parameters to apply to the memcached process on each node.
|
852
779
|
# Corresponds to the JSON property `parameters`
|
853
780
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
854
781
|
attr_accessor :parameters
|
@@ -1167,14 +1094,15 @@ module Google
|
|
1167
1094
|
end
|
1168
1095
|
end
|
1169
1096
|
|
1170
|
-
#
|
1171
|
-
# determine if the parameters associated with the instance differ from the
|
1172
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1173
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1097
|
+
#
|
1174
1098
|
class MemcacheParameters
|
1175
1099
|
include Google::Apis::Core::Hashable
|
1176
1100
|
|
1177
|
-
# Output only.
|
1101
|
+
# Output only. The unique ID associated with this set of parameters. Users can
|
1102
|
+
# use this id to determine if the parameters associated with the instance differ
|
1103
|
+
# from the parameters associated with the nodes. A discrepancy between parameter
|
1104
|
+
# ids can inform users that they may need to take action to apply parameters on
|
1105
|
+
# nodes.
|
1178
1106
|
# Corresponds to the JSON property `id`
|
1179
1107
|
# @return [String]
|
1180
1108
|
attr_accessor :id
|
@@ -1211,10 +1139,7 @@ module Google
|
|
1211
1139
|
# @return [String]
|
1212
1140
|
attr_accessor :node_id
|
1213
1141
|
|
1214
|
-
#
|
1215
|
-
# determine if the parameters associated with the instance differ from the
|
1216
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1217
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1142
|
+
# User defined parameters currently applied to the node.
|
1218
1143
|
# Corresponds to the JSON property `parameters`
|
1219
1144
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1220
1145
|
attr_accessor :parameters
|
@@ -1519,10 +1444,7 @@ module Google
|
|
1519
1444
|
class UpdateParametersRequest
|
1520
1445
|
include Google::Apis::Core::Hashable
|
1521
1446
|
|
1522
|
-
# The
|
1523
|
-
# determine if the parameters associated with the instance differ from the
|
1524
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1525
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1447
|
+
# The parameters to apply to the instance.
|
1526
1448
|
# Corresponds to the JSON property `parameters`
|
1527
1449
|
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
1528
1450
|
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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211028"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,12 +124,6 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
127
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
134
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
129
|
|
@@ -396,8 +390,6 @@ module Google
|
|
396
390
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
397
391
|
# @private
|
398
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
400
|
-
|
401
393
|
property :location, as: 'location'
|
402
394
|
property :node_id, as: 'nodeId'
|
403
395
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -429,21 +421,9 @@ module Google
|
|
429
421
|
end
|
430
422
|
end
|
431
423
|
|
432
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
433
|
-
# @private
|
434
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
-
property :duration, as: 'duration'
|
436
|
-
property :reason, as: 'reason'
|
437
|
-
property :sli_name, as: 'sliName'
|
438
|
-
property :start_time, as: 'startTime'
|
439
|
-
end
|
440
|
-
end
|
441
|
-
|
442
424
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
443
425
|
# @private
|
444
426
|
class Representation < Google::Apis::Core::JsonRepresentation
|
445
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
446
|
-
|
447
427
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
448
428
|
|
449
429
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta2'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
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.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.16.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Memorystore for Memcached API V1beta2
|