google-apis-managedidentities_v1 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcdecb1b797bdd92378bd659659deab9630e24e94e77c46059f6eb0c385d2dd1
4
- data.tar.gz: f5b5f859e5c04c1c84abdd7c2aaed888287b7a6b98b00ebdc980456434ce5d5c
3
+ metadata.gz: dabd976fb51e489eba805106db7e976ccdf2d09322024e60f861429b926aca55
4
+ data.tar.gz: 7f154d84f39ba0b805f515b9ae306424f665c12ee4175ec9e1bf54b8cafe488e
5
5
  SHA512:
6
- metadata.gz: 7c36b659efea9f46d0080671d861c226252006ae71bbecf0733776b3b5fff6c9cbf553230a781caa55a5f288f0b9c8eb507b608382ab5d2aa1f5cc0831f204e5
7
- data.tar.gz: c2b96fa8e3df7f87f2c2c5d3cd7e7568c3d78cd1d9c23c195d90032e7626c9b582b778c281fca16a492f49da4a28fdc9435ffda9d09b87aba100b57c5b06bf4d
6
+ metadata.gz: 0e5dcf6a37d0116c2fd0df82f4e03b30118f5588b2986c5df425708ff52aad0244b13ab9ab722f8b756430c5fc8d5151ccf3fe9f6d2b884efb7ce0bf6dfba62c
7
+ data.tar.gz: '08134d3f75522332dc2933a733ca34e071d67187566361d1f77865f22aa409113f7bb89d71807e51dd884272d7a19c03e986420649fed8806bafdb2812ffaec9'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.3.0 (2021-02-13)
4
+
5
+ * Regenerated from discovery document revision 20210209
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.2.0 (2021-01-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20201222
@@ -747,9 +747,8 @@ module Google
747
747
 
748
748
  # schedule_deadline_time is the time deadline any schedule start time cannot go
749
749
  # beyond, including reschedule. It's normally the initial schedule start time
750
- # plus a week. If the reschedule type is next window, simply take this value as
751
- # start time. If reschedule type is IMMEDIATELY or BY_TIME, current or selected
752
- # time cannot go beyond this deadline.
750
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
751
+ # scheduled to start beyond this deadline.
753
752
  # Corresponds to the JSON property `scheduleDeadlineTime`
754
753
  # @return [String]
755
754
  attr_accessor :schedule_deadline_time
@@ -786,6 +785,12 @@ module Google
786
785
  attr_accessor :exclude
787
786
  alias_method :exclude?, :exclude
788
787
 
788
+ # Optional. If the update call is triggered from rollback, set the value as true.
789
+ # Corresponds to the JSON property `isRollback`
790
+ # @return [Boolean]
791
+ attr_accessor :is_rollback
792
+ alias_method :is_rollback?, :is_rollback
793
+
789
794
  # Optional. The MaintenancePolicies that have been attached to the instance. The
790
795
  # key must be of the type name of the oneof policy name defined in
791
796
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -803,6 +808,7 @@ module Google
803
808
  # Update properties of this object
804
809
  def update!(**args)
805
810
  @exclude = args[:exclude] if args.key?(:exclude)
811
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
806
812
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
807
813
  end
808
814
  end
@@ -844,6 +850,35 @@ module Google
844
850
  end
845
851
  end
846
852
 
853
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
854
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
855
+ include Google::Apis::Core::Hashable
856
+
857
+ # An entry in the eligibilities map specifies an eligibility for a particular
858
+ # SLI for the given instance. The SLI key in the name must be a valid SLI name
859
+ # specified in the Eligibility Exporter binary flags otherwise an error will be
860
+ # emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
861
+ # has been defined in the binary flags but the eligibilities map does not
862
+ # contain it, the corresponding SLI time series will not be emitted by the
863
+ # Eligibility Exporter. This ensures a smooth rollout and compatibility between
864
+ # the data produced by different versions of the Eligibility Exporters. If
865
+ # eligibilities map contains a key for an SLI which has not been declared in the
866
+ # binary flags, there will be an error message emitted in the Eligibility
867
+ # Exporter log and the metric for the SLI in question will not be emitted.
868
+ # Corresponds to the JSON property `eligibilities`
869
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
870
+ attr_accessor :eligibilities
871
+
872
+ def initialize(**args)
873
+ update!(**args)
874
+ end
875
+
876
+ # Update properties of this object
877
+ def update!(**args)
878
+ @eligibilities = args[:eligibilities] if args.key?(:eligibilities)
879
+ end
880
+ end
881
+
847
882
  # Describes provisioned dataplane resources.
848
883
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
849
884
  include Google::Apis::Core::Hashable
@@ -926,8 +961,7 @@ module Google
926
961
  attr_accessor :reason
927
962
 
928
963
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
929
- # that the instance should be excluded from all SLIs defined in the service SLO
930
- # configuration.
964
+ # that the instance should be excluded from all SLIs.
931
965
  # Corresponds to the JSON property `sliName`
932
966
  # @return [String]
933
967
  attr_accessor :sli_name
@@ -984,6 +1018,11 @@ module Google
984
1018
  # @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
985
1019
  attr_accessor :nodes
986
1020
 
1021
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1022
+ # Corresponds to the JSON property `perSliEligibility`
1023
+ # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
1024
+ attr_accessor :per_sli_eligibility
1025
+
987
1026
  # Name of the SLO tier the Instance belongs to. This name will be expected to
988
1027
  # match the tiers specified in the service SLO configuration. Field is mandatory
989
1028
  # and must not be empty.
@@ -1000,6 +1039,7 @@ module Google
1000
1039
  @eligibility = args[:eligibility] if args.key?(:eligibility)
1001
1040
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1002
1041
  @nodes = args[:nodes] if args.key?(:nodes)
1042
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1003
1043
  @tier = args[:tier] if args.key?(:tier)
1004
1044
  end
1005
1045
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1
18
18
  # Version of the google-apis-managedidentities_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201222"
25
+ REVISION = "20210209"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -453,6 +459,7 @@ module Google
453
459
  # @private
454
460
  class Representation < Google::Apis::Core::JsonRepresentation
455
461
  property :exclude, as: 'exclude'
462
+ property :is_rollback, as: 'isRollback'
456
463
  hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1::MaintenancePolicy::Representation
457
464
 
458
465
  end
@@ -468,6 +475,14 @@ module Google
468
475
  end
469
476
  end
470
477
 
478
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
482
+
483
+ end
484
+ end
485
+
471
486
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
472
487
  # @private
473
488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -503,6 +518,8 @@ module Google
503
518
 
504
519
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
505
520
 
521
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
522
+
506
523
  property :tier, as: 'tier'
507
524
  end
508
525
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -53,7 +53,7 @@ licenses:
53
53
  metadata:
54
54
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
55
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.2.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.3.0
57
57
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
58
58
  post_install_message:
59
59
  rdoc_options: []