google-apis-file_v1beta1 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: b9a37a3403dbc192baa3e64ac609fcd1145832635f6e0bd2c035b9ff3e373f93
4
- data.tar.gz: 2738baf910f8fda43e084bdf6c4f0059178977caf87fc24d72028d4e38a914d3
3
+ metadata.gz: d08731ded6a795cb24149acca1d988852756fc597d257f09559d7828b7110d8c
4
+ data.tar.gz: 7b9f6d9c1a291a53fdb6eb96c6b72a67fa2f8c61a363b68d8902c850e7c58767
5
5
  SHA512:
6
- metadata.gz: 0c13763992a93c225c35e7ff2a132394a7f5fdcf00d9d01d9491c1dfd257a59e3eac489e8c43744286c96293bd1037ffab4fcb0a7a4605070a026313c9243335
7
- data.tar.gz: d352257d47ec92d9d129ef9cadcac1c41fefafa19eb48036ecccbc96476158a35ecf5cb232155c6f910b2dcd666c15c13b92c70316db506d0db22506342d68e1
6
+ metadata.gz: 1f334321d8d5cfd7c0f92640102cc92d0b03b4a9acbc28eccee9225882a8da1f703311edc813820ead4ae6884761546911f7778d34636fc694aa88d134c2ad0e
7
+ data.tar.gz: 9903e75a0f896571aedfeabe4cc0cba0457dd65368c2a203ca5857a1060527334dff8060c5be4ae2d3f5118e1e15cccc316982b84651514397e5c5bc67d78bfc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.3.0 (2021-02-18)
4
+
5
+ * Regenerated from discovery document revision 20210211
6
+
3
7
  ### v0.2.0 (2021-01-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20210120
@@ -443,9 +443,8 @@ module Google
443
443
 
444
444
  # schedule_deadline_time is the time deadline any schedule start time cannot go
445
445
  # beyond, including reschedule. It's normally the initial schedule start time
446
- # plus a week. If the reschedule type is next window, simply take this value as
447
- # start time. If reschedule type is IMMEDIATELY or BY_TIME, current or selected
448
- # time cannot go beyond this deadline.
446
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
447
+ # scheduled to start beyond this deadline.
449
448
  # Corresponds to the JSON property `scheduleDeadlineTime`
450
449
  # @return [String]
451
450
  attr_accessor :schedule_deadline_time
@@ -482,6 +481,12 @@ module Google
482
481
  attr_accessor :exclude
483
482
  alias_method :exclude?, :exclude
484
483
 
484
+ # Optional. If the update call is triggered from rollback, set the value as true.
485
+ # Corresponds to the JSON property `isRollback`
486
+ # @return [Boolean]
487
+ attr_accessor :is_rollback
488
+ alias_method :is_rollback?, :is_rollback
489
+
485
490
  # Optional. The MaintenancePolicies that have been attached to the instance. The
486
491
  # key must be of the type name of the oneof policy name defined in
487
492
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -499,6 +504,7 @@ module Google
499
504
  # Update properties of this object
500
505
  def update!(**args)
501
506
  @exclude = args[:exclude] if args.key?(:exclude)
507
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
502
508
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
503
509
  end
504
510
  end
@@ -540,6 +546,35 @@ module Google
540
546
  end
541
547
  end
542
548
 
549
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
550
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
551
+ include Google::Apis::Core::Hashable
552
+
553
+ # An entry in the eligibilities map specifies an eligibility for a particular
554
+ # SLI for the given instance. The SLI key in the name must be a valid SLI name
555
+ # specified in the Eligibility Exporter binary flags otherwise an error will be
556
+ # emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
557
+ # has been defined in the binary flags but the eligibilities map does not
558
+ # contain it, the corresponding SLI time series will not be emitted by the
559
+ # Eligibility Exporter. This ensures a smooth rollout and compatibility between
560
+ # the data produced by different versions of the Eligibility Exporters. If
561
+ # eligibilities map contains a key for an SLI which has not been declared in the
562
+ # binary flags, there will be an error message emitted in the Eligibility
563
+ # Exporter log and the metric for the SLI in question will not be emitted.
564
+ # Corresponds to the JSON property `eligibilities`
565
+ # @return [Hash<String,Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
566
+ attr_accessor :eligibilities
567
+
568
+ def initialize(**args)
569
+ update!(**args)
570
+ end
571
+
572
+ # Update properties of this object
573
+ def update!(**args)
574
+ @eligibilities = args[:eligibilities] if args.key?(:eligibilities)
575
+ end
576
+ end
577
+
543
578
  # Describes provisioned dataplane resources.
544
579
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
545
580
  include Google::Apis::Core::Hashable
@@ -622,8 +657,7 @@ module Google
622
657
  attr_accessor :reason
623
658
 
624
659
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
625
- # that the instance should be excluded from all SLIs defined in the service SLO
626
- # configuration.
660
+ # that the instance should be excluded from all SLIs.
627
661
  # Corresponds to the JSON property `sliName`
628
662
  # @return [String]
629
663
  attr_accessor :sli_name
@@ -680,6 +714,11 @@ module Google
680
714
  # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
681
715
  attr_accessor :nodes
682
716
 
717
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
718
+ # Corresponds to the JSON property `perSliEligibility`
719
+ # @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
720
+ attr_accessor :per_sli_eligibility
721
+
683
722
  # Name of the SLO tier the Instance belongs to. This name will be expected to
684
723
  # match the tiers specified in the service SLO configuration. Field is mandatory
685
724
  # and must not be empty.
@@ -696,6 +735,7 @@ module Google
696
735
  @eligibility = args[:eligibility] if args.key?(:eligibility)
697
736
  @exclusions = args[:exclusions] if args.key?(:exclusions)
698
737
  @nodes = args[:nodes] if args.key?(:nodes)
738
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
699
739
  @tier = args[:tier] if args.key?(:tier)
700
740
  end
701
741
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1beta1
18
18
  # Version of the google-apis-file_v1beta1 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 = "20210120"
25
+ REVISION = "20210211"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -330,6 +336,7 @@ module Google
330
336
  # @private
331
337
  class Representation < Google::Apis::Core::JsonRepresentation
332
338
  property :exclude, as: 'exclude'
339
+ property :is_rollback, as: 'isRollback'
333
340
  hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::FileV1beta1::MaintenancePolicy, decorator: Google::Apis::FileV1beta1::MaintenancePolicy::Representation
334
341
 
335
342
  end
@@ -345,6 +352,14 @@ module Google
345
352
  end
346
353
  end
347
354
 
355
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
359
+
360
+ end
361
+ end
362
+
348
363
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
349
364
  # @private
350
365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -380,6 +395,8 @@ module Google
380
395
 
381
396
  collection :nodes, as: 'nodes', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
382
397
 
398
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
399
+
383
400
  property :tier, as: 'tier'
384
401
  end
385
402
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1beta1
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-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []