google-apis-memcache_v1beta2 0.10.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc53b88e19c77cf4371aea49d46bb41ca01bd9b03061b06737fea8e30d27d3cc
4
- data.tar.gz: 96a9ff07f704092274b1afac8c1589f6b7a507cbca9bce66b814dcb7f04b9f2a
3
+ metadata.gz: b76a6e1bf7c17e45369343cedae9efb16a3196349556053f77aa46b2ec69878d
4
+ data.tar.gz: 40ba7dcdfac33c738132f9eb29080fbc1ba8a22ab990ea37245cd668df1f17be
5
5
  SHA512:
6
- metadata.gz: 76a933c3272dc3886f36db85f8afe80699a3f49396b2cecc78bd62051ee4e156b01c1b2ece5a4d1483750684366fbfabbea1543f342a3615a5d8699ffdc4f54b
7
- data.tar.gz: 75c3d0c899c2b69ec7396cb1bb9a81a372ad4f9dcb6497f005d0c2162727cf465385916c3e1fc6897c0f0d0cbcfbe7ed2defcc5f5ae14ecea1c76a08156c5e33
6
+ metadata.gz: 21e3135b158be1aa8b0db994e8074279a669ae9e2503c46e1b62dddbf000a01d34b09a437604668eb926766e64dd5f0da66c331df9ea400a5204026eef41112a
7
+ data.tar.gz: bafe364add0a34aaae6b896aff37b51682dba189ffcb0045f8339e60722a9bae3168e7ffb93d85893ed7d77ae69fff13c38928a17d270655f53fc8c91ae5fb61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-memcache_v1beta2
2
2
 
3
+ ### v0.14.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.13.0 (2021-09-12)
8
+
9
+ * Regenerated from discovery document revision 20210907
10
+
11
+ ### v0.12.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210810
14
+
15
+ ### v0.11.0 (2021-07-09)
16
+
17
+ * Regenerated from discovery document revision 20210707
18
+
3
19
  ### v0.10.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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]
@@ -561,15 +553,20 @@ module Google
561
553
  # @return [String]
562
554
  attr_accessor :node_id
563
555
 
556
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
557
+ # Corresponds to the JSON property `perSliEligibility`
558
+ # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
559
+ attr_accessor :per_sli_eligibility
560
+
564
561
  def initialize(**args)
565
562
  update!(**args)
566
563
  end
567
564
 
568
565
  # Update properties of this object
569
566
  def update!(**args)
570
- @exclusions = args[:exclusions] if args.key?(:exclusions)
571
567
  @location = args[:location] if args.key?(:location)
572
568
  @node_id = args[:node_id] if args.key?(:node_id)
569
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
573
570
  end
574
571
  end
575
572
 
@@ -661,71 +658,11 @@ module Google
661
658
  end
662
659
  end
663
660
 
664
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
665
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
666
- include Google::Apis::Core::Hashable
667
-
668
- # Exclusion duration. No restrictions on the possible values. When an ongoing
669
- # operation is taking longer than initially expected, an existing entry in the
670
- # exclusion list can be updated by extending the duration. This is supported by
671
- # the subsystem exporting eligibility data as long as such extension is
672
- # committed at least 10 minutes before the original exclusion expiration -
673
- # otherwise it is possible that there will be "gaps" in the exclusion
674
- # application in the exported timeseries.
675
- # Corresponds to the JSON property `duration`
676
- # @return [String]
677
- attr_accessor :duration
678
-
679
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
680
- # Disruptive update in progress") and should not contain dynamically generated
681
- # data (e.g. instance name). Can be left empty.
682
- # Corresponds to the JSON property `reason`
683
- # @return [String]
684
- attr_accessor :reason
685
-
686
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
687
- # that the instance should be excluded from all SLIs.
688
- # Corresponds to the JSON property `sliName`
689
- # @return [String]
690
- attr_accessor :sli_name
691
-
692
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
693
- # Corresponds to the JSON property `startTime`
694
- # @return [String]
695
- attr_accessor :start_time
696
-
697
- def initialize(**args)
698
- update!(**args)
699
- end
700
-
701
- # Update properties of this object
702
- def update!(**args)
703
- @duration = args[:duration] if args.key?(:duration)
704
- @reason = args[:reason] if args.key?(:reason)
705
- @sli_name = args[:sli_name] if args.key?(:sli_name)
706
- @start_time = args[:start_time] if args.key?(:start_time)
707
- end
708
- end
709
-
710
661
  # SloMetadata contains resources required for proper SLO classification of the
711
662
  # instance.
712
663
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
713
664
  include Google::Apis::Core::Hashable
714
665
 
715
- # List of SLO exclusion windows. When multiple entries in the list match (
716
- # matching the exclusion time-window against current time point) the exclusion
717
- # reason used in the first matching entry will be published. It is not needed to
718
- # include expired exclusion in this list, as only the currently applicable
719
- # exclusions are taken into account by the eligibility exporting subsystem (the
720
- # historical state of exclusions will be reflected in the historically produced
721
- # timeseries regardless of the current state). This field can be used to mark
722
- # the instance as temporary ineligible for the purpose of SLO calculation. For
723
- # permanent instance SLO exclusion, use of custom instance eligibility is
724
- # recommended. See 'eligibility' field below.
725
- # Corresponds to the JSON property `exclusions`
726
- # @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
727
- attr_accessor :exclusions
728
-
729
666
  # Optional. List of nodes. Some producers need to use per-node metadata to
730
667
  # calculate SLO. This field allows such producers to publish per-node SLO meta
731
668
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -752,7 +689,6 @@ module Google
752
689
 
753
690
  # Update properties of this object
754
691
  def update!(**args)
755
- @exclusions = args[:exclusions] if args.key?(:exclusions)
756
692
  @nodes = args[:nodes] if args.key?(:nodes)
757
693
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
758
694
  @tier = args[:tier] if args.key?(:tier)
@@ -1548,8 +1484,7 @@ module Google
1548
1484
 
1549
1485
  # Deny Maintenance Period that is applied to resource to indicate when
1550
1486
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
1551
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1552
- # one.
1487
+ # periods. Maximum number of deny_maintenance_periods expected is one.
1553
1488
  # Corresponds to the JSON property `denyMaintenancePeriods`
1554
1489
  # @return [Array<Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod>]
1555
1490
  attr_accessor :deny_maintenance_periods
@@ -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.10.0"
19
+ GEM_VERSION = "0.14.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 = "20210615"
25
+ REVISION = "20210907"
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,10 +390,10 @@ 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'
395
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
396
+
403
397
  end
404
398
  end
405
399
 
@@ -427,21 +421,9 @@ module Google
427
421
  end
428
422
  end
429
423
 
430
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
431
- # @private
432
- class Representation < Google::Apis::Core::JsonRepresentation
433
- property :duration, as: 'duration'
434
- property :reason, as: 'reason'
435
- property :sli_name, as: 'sliName'
436
- property :start_time, as: 'startTime'
437
- end
438
- end
439
-
440
424
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
441
425
  # @private
442
426
  class Representation < Google::Apis::Core::JsonRepresentation
443
- collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
444
-
445
427
  collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
446
428
 
447
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 Platform data
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.10.0
4
+ version: 0.14.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 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/master/generated/google-apis-memcache_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.10.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1beta2
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.14.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: