google-apis-managedidentities_v1alpha1 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: eec089e4cade63283047ede244006a8cdf656fd4712b7d919a9c276319e6ad2f
4
- data.tar.gz: 416963044cbc18ade61c1d838665e2f7baf47e7effa475a8f6d6bd03e1760f66
3
+ metadata.gz: efd55e905b16307e86c5f3071a5633a1f5fb2b1fc64a7ef55aec4c4be662395f
4
+ data.tar.gz: 52948e63944867486ef7692f6505c8005811c333299c3c599afc4fddd64ceb2b
5
5
  SHA512:
6
- metadata.gz: 97d0236cbb2dff67a944793a5ba7264c08594dca81a4e763d56aaa4e9fd2dd82156ed4fb216e2a989ef15fe5c585cc260ec1c464906b6507ac50bc539a26e4b1
7
- data.tar.gz: 8dab712acd62d2cea5c6c461c6d7fc3336fbf5bb2238d19d4ea998a968f2d3cf59e8ef14574176b3e500cb47f8484b74e8e74726aa19c830ff551d874a1870d9
6
+ metadata.gz: 2cc0a8e5d295b5366b7c921c9d3fb9b0e51eb5e6916f4707ced6558a12953ee0e4277a6a8fafedd7daad80023cd789519284aabbffe2b507ae18e628ded82f72
7
+ data.tar.gz: 8f9fe4d024211897b48e0c67b1592a52ab9d8d10990f88948ae615699fd68c088780763abec5efb1d72db0c52b7909b1a53a727592c2dc7ff9fcf00bcf8a1297
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.3.0 (2021-02-13)
4
+
5
+ * Regenerated from discovery document revision 20210209
6
+
3
7
  ### v0.2.0 (2021-01-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20210112
@@ -761,9 +761,8 @@ module Google
761
761
 
762
762
  # schedule_deadline_time is the time deadline any schedule start time cannot go
763
763
  # beyond, including reschedule. It's normally the initial schedule start time
764
- # plus a week. If the reschedule type is next window, simply take this value as
765
- # start time. If reschedule type is IMMEDIATELY or BY_TIME, current or selected
766
- # time cannot go beyond this deadline.
764
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
765
+ # scheduled to start beyond this deadline.
767
766
  # Corresponds to the JSON property `scheduleDeadlineTime`
768
767
  # @return [String]
769
768
  attr_accessor :schedule_deadline_time
@@ -800,6 +799,12 @@ module Google
800
799
  attr_accessor :exclude
801
800
  alias_method :exclude?, :exclude
802
801
 
802
+ # Optional. If the update call is triggered from rollback, set the value as true.
803
+ # Corresponds to the JSON property `isRollback`
804
+ # @return [Boolean]
805
+ attr_accessor :is_rollback
806
+ alias_method :is_rollback?, :is_rollback
807
+
803
808
  # Optional. The MaintenancePolicies that have been attached to the instance. The
804
809
  # key must be of the type name of the oneof policy name defined in
805
810
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -817,6 +822,7 @@ module Google
817
822
  # Update properties of this object
818
823
  def update!(**args)
819
824
  @exclude = args[:exclude] if args.key?(:exclude)
825
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
820
826
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
821
827
  end
822
828
  end
@@ -858,6 +864,35 @@ module Google
858
864
  end
859
865
  end
860
866
 
867
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
868
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
869
+ include Google::Apis::Core::Hashable
870
+
871
+ # An entry in the eligibilities map specifies an eligibility for a particular
872
+ # SLI for the given instance. The SLI key in the name must be a valid SLI name
873
+ # specified in the Eligibility Exporter binary flags otherwise an error will be
874
+ # emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
875
+ # has been defined in the binary flags but the eligibilities map does not
876
+ # contain it, the corresponding SLI time series will not be emitted by the
877
+ # Eligibility Exporter. This ensures a smooth rollout and compatibility between
878
+ # the data produced by different versions of the Eligibility Exporters. If
879
+ # eligibilities map contains a key for an SLI which has not been declared in the
880
+ # binary flags, there will be an error message emitted in the Eligibility
881
+ # Exporter log and the metric for the SLI in question will not be emitted.
882
+ # Corresponds to the JSON property `eligibilities`
883
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
884
+ attr_accessor :eligibilities
885
+
886
+ def initialize(**args)
887
+ update!(**args)
888
+ end
889
+
890
+ # Update properties of this object
891
+ def update!(**args)
892
+ @eligibilities = args[:eligibilities] if args.key?(:eligibilities)
893
+ end
894
+ end
895
+
861
896
  # Describes provisioned dataplane resources.
862
897
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
863
898
  include Google::Apis::Core::Hashable
@@ -940,8 +975,7 @@ module Google
940
975
  attr_accessor :reason
941
976
 
942
977
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
943
- # that the instance should be excluded from all SLIs defined in the service SLO
944
- # configuration.
978
+ # that the instance should be excluded from all SLIs.
945
979
  # Corresponds to the JSON property `sliName`
946
980
  # @return [String]
947
981
  attr_accessor :sli_name
@@ -998,6 +1032,11 @@ module Google
998
1032
  # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
999
1033
  attr_accessor :nodes
1000
1034
 
1035
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1036
+ # Corresponds to the JSON property `perSliEligibility`
1037
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
1038
+ attr_accessor :per_sli_eligibility
1039
+
1001
1040
  # Name of the SLO tier the Instance belongs to. This name will be expected to
1002
1041
  # match the tiers specified in the service SLO configuration. Field is mandatory
1003
1042
  # and must not be empty.
@@ -1014,6 +1053,7 @@ module Google
1014
1053
  @eligibility = args[:eligibility] if args.key?(:eligibility)
1015
1054
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1016
1055
  @nodes = args[:nodes] if args.key?(:nodes)
1056
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1017
1057
  @tier = args[:tier] if args.key?(:tier)
1018
1058
  end
1019
1059
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1alpha1
18
18
  # Version of the google-apis-managedidentities_v1alpha1 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
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210112"
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
 
@@ -466,6 +472,7 @@ module Google
466
472
  # @private
467
473
  class Representation < Google::Apis::Core::JsonRepresentation
468
474
  property :exclude, as: 'exclude'
475
+ property :is_rollback, as: 'isRollback'
469
476
  hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy::Representation
470
477
 
471
478
  end
@@ -481,6 +488,14 @@ module Google
481
488
  end
482
489
  end
483
490
 
491
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
495
+
496
+ end
497
+ end
498
+
484
499
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
485
500
  # @private
486
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,6 +531,8 @@ module Google
516
531
 
517
532
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
518
533
 
534
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
535
+
519
536
  property :tier, as: 'tier'
520
537
  end
521
538
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1alpha1
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_v1alpha1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.2.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.3.0
57
57
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
58
58
  post_install_message:
59
59
  rdoc_options: []