google-apis-file_v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/file_v1/classes.rb +45 -5
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +17 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f089d8ed927fd7e71425e5c7711e036ea4a831f9cc119ee883ad898ca62412ce
|
4
|
+
data.tar.gz: e6bc1852fcd462c15a2410994b05143614cffbf1dbe5558c9695c2a159ba0755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e398df06a0fadba15518e102d49ccad0b4f996b7ddd20728559a939a91d4e5e3d2b4a23e0d384e877d4a6fa48ea584be2247695ffe046b5a81a83febd22377
|
7
|
+
data.tar.gz: ad7eaa3354e48dfc713c9ed14215da8e62010143ebde6169030b0fe3a240298515ea8dbd7b96587fa8779b59ec25e60a6c60c2006ddc03807d5d81c237e2f4d0
|
data/CHANGELOG.md
CHANGED
@@ -446,9 +446,8 @@ module Google
|
|
446
446
|
|
447
447
|
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
448
448
|
# beyond, including reschedule. It's normally the initial schedule start time
|
449
|
-
# plus
|
450
|
-
#
|
451
|
-
# time cannot go beyond this deadline.
|
449
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
450
|
+
# scheduled to start beyond this deadline.
|
452
451
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
453
452
|
# @return [String]
|
454
453
|
attr_accessor :schedule_deadline_time
|
@@ -485,6 +484,12 @@ module Google
|
|
485
484
|
attr_accessor :exclude
|
486
485
|
alias_method :exclude?, :exclude
|
487
486
|
|
487
|
+
# Optional. If the update call is triggered from rollback, set the value as true.
|
488
|
+
# Corresponds to the JSON property `isRollback`
|
489
|
+
# @return [Boolean]
|
490
|
+
attr_accessor :is_rollback
|
491
|
+
alias_method :is_rollback?, :is_rollback
|
492
|
+
|
488
493
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
489
494
|
# key must be of the type name of the oneof policy name defined in
|
490
495
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -502,6 +507,7 @@ module Google
|
|
502
507
|
# Update properties of this object
|
503
508
|
def update!(**args)
|
504
509
|
@exclude = args[:exclude] if args.key?(:exclude)
|
510
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
505
511
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
506
512
|
end
|
507
513
|
end
|
@@ -543,6 +549,35 @@ module Google
|
|
543
549
|
end
|
544
550
|
end
|
545
551
|
|
552
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
553
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
554
|
+
include Google::Apis::Core::Hashable
|
555
|
+
|
556
|
+
# An entry in the eligibilities map specifies an eligibility for a particular
|
557
|
+
# SLI for the given instance. The SLI key in the name must be a valid SLI name
|
558
|
+
# specified in the Eligibility Exporter binary flags otherwise an error will be
|
559
|
+
# emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
|
560
|
+
# has been defined in the binary flags but the eligibilities map does not
|
561
|
+
# contain it, the corresponding SLI time series will not be emitted by the
|
562
|
+
# Eligibility Exporter. This ensures a smooth rollout and compatibility between
|
563
|
+
# the data produced by different versions of the Eligibility Exporters. If
|
564
|
+
# eligibilities map contains a key for an SLI which has not been declared in the
|
565
|
+
# binary flags, there will be an error message emitted in the Eligibility
|
566
|
+
# Exporter log and the metric for the SLI in question will not be emitted.
|
567
|
+
# Corresponds to the JSON property `eligibilities`
|
568
|
+
# @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
|
569
|
+
attr_accessor :eligibilities
|
570
|
+
|
571
|
+
def initialize(**args)
|
572
|
+
update!(**args)
|
573
|
+
end
|
574
|
+
|
575
|
+
# Update properties of this object
|
576
|
+
def update!(**args)
|
577
|
+
@eligibilities = args[:eligibilities] if args.key?(:eligibilities)
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
546
581
|
# Describes provisioned dataplane resources.
|
547
582
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
548
583
|
include Google::Apis::Core::Hashable
|
@@ -625,8 +660,7 @@ module Google
|
|
625
660
|
attr_accessor :reason
|
626
661
|
|
627
662
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
628
|
-
# that the instance should be excluded from all SLIs
|
629
|
-
# configuration.
|
663
|
+
# that the instance should be excluded from all SLIs.
|
630
664
|
# Corresponds to the JSON property `sliName`
|
631
665
|
# @return [String]
|
632
666
|
attr_accessor :sli_name
|
@@ -683,6 +717,11 @@ module Google
|
|
683
717
|
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
684
718
|
attr_accessor :nodes
|
685
719
|
|
720
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
721
|
+
# Corresponds to the JSON property `perSliEligibility`
|
722
|
+
# @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
723
|
+
attr_accessor :per_sli_eligibility
|
724
|
+
|
686
725
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
687
726
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
688
727
|
# and must not be empty.
|
@@ -699,6 +738,7 @@ module Google
|
|
699
738
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
700
739
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
701
740
|
@nodes = args[:nodes] if args.key?(:nodes)
|
741
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
702
742
|
@tier = args[:tier] if args.key?(:tier)
|
703
743
|
end
|
704
744
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FileV1
|
18
18
|
# Version of the google-apis-file_v1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
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::FileV1::MaintenancePolicy, decorator: Google::Apis::FileV1::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::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1::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::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
382
397
|
|
398
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|