google-apis-memcache_v1 0.9.0 → 0.13.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: 324d6de11bd590c25f9fae1ee3c13efcb6fa5396bcc2bfce7e8cd8ce440526b0
4
- data.tar.gz: 673a0a54133639efee0d2d162b126fee81ba664c30d3b27c8aed1c187d1ca5c4
3
+ metadata.gz: 8c9d2667337157ff24d8b38c0e89b02a0e97820d47bb5a9f49b4c3a951328758
4
+ data.tar.gz: b14fbec8fe2dfbced40effc93cae56a297d9a7008c6bca19d12f7cb5937c3628
5
5
  SHA512:
6
- metadata.gz: e5acf21b6e4eeab7cfe25dae9facdf8e3ca9dc340b82ab3f58b6788e52ed344bf03febf785caf5fae1757c5c83f0b3dcd041874de062ebfb6c6664799ee7878c
7
- data.tar.gz: 8a427f48695d832ffa7142169065c2d569bec8ee0044c97a9cae934809dac622b4c946320f825f9131d510f2561cee068ea279b527cfd0b37635aa3cf98a6242
6
+ metadata.gz: 4d8adcc292ead50dfa0219f0d81299ad23dbf3104b0349974c07f3aed76522eb9779a76d842d7f5850effdc406d76dd221cea81c9294a6cc1b5bf75cb6f90564
7
+ data.tar.gz: 482c9f8b9097ebfdc92c963bdef7b9a19843b17d2f8f0bf8468afa55cb27d0d0684e394d3da88ec0684fc9ee76639041a4b81faf1dfa981ab7cdf7e12dc436f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-memcache_v1
2
2
 
3
+ ### v0.13.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-09-12)
8
+
9
+ * Regenerated from discovery document revision 20210907
10
+
11
+ ### v0.11.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210810
14
+
15
+ ### v0.10.0 (2021-07-09)
16
+
17
+ * Regenerated from discovery document revision 20210707
18
+
3
19
  ### v0.9.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
 
@@ -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]
@@ -532,15 +524,20 @@ module Google
532
524
  # @return [String]
533
525
  attr_accessor :node_id
534
526
 
527
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
528
+ # Corresponds to the JSON property `perSliEligibility`
529
+ # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
530
+ attr_accessor :per_sli_eligibility
531
+
535
532
  def initialize(**args)
536
533
  update!(**args)
537
534
  end
538
535
 
539
536
  # Update properties of this object
540
537
  def update!(**args)
541
- @exclusions = args[:exclusions] if args.key?(:exclusions)
542
538
  @location = args[:location] if args.key?(:location)
543
539
  @node_id = args[:node_id] if args.key?(:node_id)
540
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
544
541
  end
545
542
  end
546
543
 
@@ -632,71 +629,11 @@ module Google
632
629
  end
633
630
  end
634
631
 
635
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
636
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
637
- include Google::Apis::Core::Hashable
638
-
639
- # Exclusion duration. No restrictions on the possible values. When an ongoing
640
- # operation is taking longer than initially expected, an existing entry in the
641
- # exclusion list can be updated by extending the duration. This is supported by
642
- # the subsystem exporting eligibility data as long as such extension is
643
- # committed at least 10 minutes before the original exclusion expiration -
644
- # otherwise it is possible that there will be "gaps" in the exclusion
645
- # application in the exported timeseries.
646
- # Corresponds to the JSON property `duration`
647
- # @return [String]
648
- attr_accessor :duration
649
-
650
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
651
- # Disruptive update in progress") and should not contain dynamically generated
652
- # data (e.g. instance name). Can be left empty.
653
- # Corresponds to the JSON property `reason`
654
- # @return [String]
655
- attr_accessor :reason
656
-
657
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
658
- # that the instance should be excluded from all SLIs.
659
- # Corresponds to the JSON property `sliName`
660
- # @return [String]
661
- attr_accessor :sli_name
662
-
663
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
664
- # Corresponds to the JSON property `startTime`
665
- # @return [String]
666
- attr_accessor :start_time
667
-
668
- def initialize(**args)
669
- update!(**args)
670
- end
671
-
672
- # Update properties of this object
673
- def update!(**args)
674
- @duration = args[:duration] if args.key?(:duration)
675
- @reason = args[:reason] if args.key?(:reason)
676
- @sli_name = args[:sli_name] if args.key?(:sli_name)
677
- @start_time = args[:start_time] if args.key?(:start_time)
678
- end
679
- end
680
-
681
632
  # SloMetadata contains resources required for proper SLO classification of the
682
633
  # instance.
683
634
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
684
635
  include Google::Apis::Core::Hashable
685
636
 
686
- # List of SLO exclusion windows. When multiple entries in the list match (
687
- # matching the exclusion time-window against current time point) the exclusion
688
- # reason used in the first matching entry will be published. It is not needed to
689
- # include expired exclusion in this list, as only the currently applicable
690
- # exclusions are taken into account by the eligibility exporting subsystem (the
691
- # historical state of exclusions will be reflected in the historically produced
692
- # timeseries regardless of the current state). This field can be used to mark
693
- # the instance as temporary ineligible for the purpose of SLO calculation. For
694
- # permanent instance SLO exclusion, use of custom instance eligibility is
695
- # recommended. See 'eligibility' field below.
696
- # Corresponds to the JSON property `exclusions`
697
- # @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
698
- attr_accessor :exclusions
699
-
700
637
  # Optional. List of nodes. Some producers need to use per-node metadata to
701
638
  # calculate SLO. This field allows such producers to publish per-node SLO meta
702
639
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -723,7 +660,6 @@ module Google
723
660
 
724
661
  # Update properties of this object
725
662
  def update!(**args)
726
- @exclusions = args[:exclusions] if args.key?(:exclusions)
727
663
  @nodes = args[:nodes] if args.key?(:nodes)
728
664
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
729
665
  @tier = args[:tier] if args.key?(:tier)
@@ -1505,8 +1441,7 @@ module Google
1505
1441
 
1506
1442
  # Deny Maintenance Period that is applied to resource to indicate when
1507
1443
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
1508
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1509
- # one.
1444
+ # periods. Maximum number of deny_maintenance_periods expected is one.
1510
1445
  # Corresponds to the JSON property `denyMaintenancePeriods`
1511
1446
  # @return [Array<Google::Apis::MemcacheV1::DenyMaintenancePeriod>]
1512
1447
  attr_accessor :deny_maintenance_periods
@@ -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.9.0"
19
+ GEM_VERSION = "0.13.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
@@ -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,10 +376,10 @@ 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'
381
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
382
+
389
383
  end
390
384
  end
391
385
 
@@ -413,21 +407,9 @@ module Google
413
407
  end
414
408
  end
415
409
 
416
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
417
- # @private
418
- class Representation < Google::Apis::Core::JsonRepresentation
419
- property :duration, as: 'duration'
420
- property :reason, as: 'reason'
421
- property :sli_name, as: 'sliName'
422
- property :start_time, as: 'startTime'
423
- end
424
- end
425
-
426
410
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
427
411
  # @private
428
412
  class Representation < Google::Apis::Core::JsonRepresentation
429
- collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
430
-
431
413
  collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
432
414
 
433
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 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.13.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-memcache_v1
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.13.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: