google-apis-memcache_v1 0.11.0 → 0.15.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_v1/classes.rb +9 -87
- data/lib/google/apis/memcache_v1/gem_version.rb +2 -2
- data/lib/google/apis/memcache_v1/representations.rb +0 -20
- data/lib/google/apis/memcache_v1.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: 3279cb48ed45ea10d7352acd7347bbbff9fd6bf2b7267f93c0b35f83b6d13e45
|
4
|
+
data.tar.gz: 95728a33fcf0400536d12187596750234b3e0f1f8c20f1c8800b584535c6047c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f4888328324822f6636fa498389e28556a50176e9a5e1be1b03fa8df73a8058d370e6c330f30cbbaff5ee90dc3668ef96530b2777320361c35dc173e39bbb01
|
7
|
+
data.tar.gz: 63d8002751365548bc05b8c9016be9b735b0ec7b258352cb9e3ee600d0a6bed27d7ea6b92162f8f76a44d8ad495ef6818bd447f9db87171e37b9ce6e62c10777
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.14.0 (2021-11-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211028
|
10
|
+
|
11
|
+
### v0.13.0 (2021-10-21)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.12.0 (2021-09-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210907
|
18
|
+
|
3
19
|
### v0.11.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_v1"
|
|
51
51
|
client = Google::Apis::MemcacheV1::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
|
|
@@ -514,14 +514,6 @@ module Google
|
|
514
514
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
515
515
|
include Google::Apis::Core::Hashable
|
516
516
|
|
517
|
-
# By default node is eligible if instance is eligible. But individual node might
|
518
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
519
|
-
# exclusions. If both instance and node level exclusions are present for time
|
520
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
521
|
-
# Corresponds to the JSON property `exclusions`
|
522
|
-
# @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
523
|
-
attr_accessor :exclusions
|
524
|
-
|
525
517
|
# The location of the node, if different from instance location.
|
526
518
|
# Corresponds to the JSON property `location`
|
527
519
|
# @return [String]
|
@@ -543,7 +535,6 @@ module Google
|
|
543
535
|
|
544
536
|
# Update properties of this object
|
545
537
|
def update!(**args)
|
546
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
547
538
|
@location = args[:location] if args.key?(:location)
|
548
539
|
@node_id = args[:node_id] if args.key?(:node_id)
|
549
540
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -638,71 +629,11 @@ module Google
|
|
638
629
|
end
|
639
630
|
end
|
640
631
|
|
641
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
642
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
643
|
-
include Google::Apis::Core::Hashable
|
644
|
-
|
645
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
646
|
-
# operation is taking longer than initially expected, an existing entry in the
|
647
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
648
|
-
# the subsystem exporting eligibility data as long as such extension is
|
649
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
650
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
651
|
-
# application in the exported timeseries.
|
652
|
-
# Corresponds to the JSON property `duration`
|
653
|
-
# @return [String]
|
654
|
-
attr_accessor :duration
|
655
|
-
|
656
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
657
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
658
|
-
# data (e.g. instance name). Can be left empty.
|
659
|
-
# Corresponds to the JSON property `reason`
|
660
|
-
# @return [String]
|
661
|
-
attr_accessor :reason
|
662
|
-
|
663
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
664
|
-
# that the instance should be excluded from all SLIs.
|
665
|
-
# Corresponds to the JSON property `sliName`
|
666
|
-
# @return [String]
|
667
|
-
attr_accessor :sli_name
|
668
|
-
|
669
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
670
|
-
# Corresponds to the JSON property `startTime`
|
671
|
-
# @return [String]
|
672
|
-
attr_accessor :start_time
|
673
|
-
|
674
|
-
def initialize(**args)
|
675
|
-
update!(**args)
|
676
|
-
end
|
677
|
-
|
678
|
-
# Update properties of this object
|
679
|
-
def update!(**args)
|
680
|
-
@duration = args[:duration] if args.key?(:duration)
|
681
|
-
@reason = args[:reason] if args.key?(:reason)
|
682
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
683
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
684
|
-
end
|
685
|
-
end
|
686
|
-
|
687
632
|
# SloMetadata contains resources required for proper SLO classification of the
|
688
633
|
# instance.
|
689
634
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
690
635
|
include Google::Apis::Core::Hashable
|
691
636
|
|
692
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
693
|
-
# matching the exclusion time-window against current time point) the exclusion
|
694
|
-
# reason used in the first matching entry will be published. It is not needed to
|
695
|
-
# include expired exclusion in this list, as only the currently applicable
|
696
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
697
|
-
# historical state of exclusions will be reflected in the historically produced
|
698
|
-
# timeseries regardless of the current state). This field can be used to mark
|
699
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
700
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
701
|
-
# recommended. See 'eligibility' field below.
|
702
|
-
# Corresponds to the JSON property `exclusions`
|
703
|
-
# @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
704
|
-
attr_accessor :exclusions
|
705
|
-
|
706
637
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
707
638
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
708
639
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -729,7 +660,6 @@ module Google
|
|
729
660
|
|
730
661
|
# Update properties of this object
|
731
662
|
def update!(**args)
|
732
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
733
663
|
@nodes = args[:nodes] if args.key?(:nodes)
|
734
664
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
735
665
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -816,10 +746,7 @@ module Google
|
|
816
746
|
# @return [Fixnum]
|
817
747
|
attr_accessor :node_count
|
818
748
|
|
819
|
-
#
|
820
|
-
# determine if the parameters associated with the instance differ from the
|
821
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
822
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
749
|
+
# User defined parameters to apply to the memcached process on each node.
|
823
750
|
# Corresponds to the JSON property `parameters`
|
824
751
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
825
752
|
attr_accessor :parameters
|
@@ -1131,14 +1058,15 @@ module Google
|
|
1131
1058
|
end
|
1132
1059
|
end
|
1133
1060
|
|
1134
|
-
#
|
1135
|
-
# determine if the parameters associated with the instance differ from the
|
1136
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1137
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1061
|
+
#
|
1138
1062
|
class MemcacheParameters
|
1139
1063
|
include Google::Apis::Core::Hashable
|
1140
1064
|
|
1141
|
-
# Output only.
|
1065
|
+
# Output only. The unique ID associated with this set of parameters. Users can
|
1066
|
+
# use this id to determine if the parameters associated with the instance differ
|
1067
|
+
# from the parameters associated with the nodes. A discrepancy between parameter
|
1068
|
+
# ids can inform users that they may need to take action to apply parameters on
|
1069
|
+
# nodes.
|
1142
1070
|
# Corresponds to the JSON property `id`
|
1143
1071
|
# @return [String]
|
1144
1072
|
attr_accessor :id
|
@@ -1175,10 +1103,7 @@ module Google
|
|
1175
1103
|
# @return [String]
|
1176
1104
|
attr_accessor :node_id
|
1177
1105
|
|
1178
|
-
#
|
1179
|
-
# determine if the parameters associated with the instance differ from the
|
1180
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1181
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1106
|
+
# User defined parameters currently applied to the node.
|
1182
1107
|
# Corresponds to the JSON property `parameters`
|
1183
1108
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1184
1109
|
attr_accessor :parameters
|
@@ -1476,10 +1401,7 @@ module Google
|
|
1476
1401
|
class UpdateParametersRequest
|
1477
1402
|
include Google::Apis::Core::Hashable
|
1478
1403
|
|
1479
|
-
# The
|
1480
|
-
# determine if the parameters associated with the instance differ from the
|
1481
|
-
# parameters associated with the nodes. A discrepancy between parameter ids can
|
1482
|
-
# inform users that they may need to take action to apply parameters on nodes.
|
1404
|
+
# The parameters to apply to the instance.
|
1483
1405
|
# Corresponds to the JSON property `parameters`
|
1484
1406
|
# @return [Google::Apis::MemcacheV1::MemcacheParameters]
|
1485
1407
|
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.15.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
|
@@ -118,12 +118,6 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
121
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
128
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
123
|
|
@@ -382,8 +376,6 @@ module Google
|
|
382
376
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
383
377
|
# @private
|
384
378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
386
|
-
|
387
379
|
property :location, as: 'location'
|
388
380
|
property :node_id, as: 'nodeId'
|
389
381
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -415,21 +407,9 @@ module Google
|
|
415
407
|
end
|
416
408
|
end
|
417
409
|
|
418
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
419
|
-
# @private
|
420
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
-
property :duration, as: 'duration'
|
422
|
-
property :reason, as: 'reason'
|
423
|
-
property :sli_name, as: 'sliName'
|
424
|
-
property :start_time, as: 'startTime'
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
410
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
429
411
|
# @private
|
430
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
432
|
-
|
433
413
|
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
434
414
|
|
435
415
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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_v1/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_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.15.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1
|
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 V1
|