google-apis-file_v1 0.12.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/file_v1/classes.rb +0 -70
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +0 -20
- 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: 92a5b5e3f7bc016cca62a65b7a1e86ebb0d6eba7d03828390cb95dd79f3671ce
|
4
|
+
data.tar.gz: 4bf9caf5ab8cf678e7ae1e5a146f2195bfc3f1553d72d6ee0a244a760c9973e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb502454083ccab96d6973e303be7d6086de1af9e5ce1438ab599af13e9016097c75da41b9c780fd826674c73c25a8ea9bce0de64f0d84f47b40c5c9d865f49c
|
7
|
+
data.tar.gz: 67d2f3db60382ff092091dfb021d664de23fece0fa3bcbf9dfdc562c59e19d6b8c57c47f3e0963e642f855875861e5b2615d0789405573af0f4d7777d2ec888d
|
data/CHANGELOG.md
CHANGED
@@ -528,14 +528,6 @@ module Google
|
|
528
528
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
529
529
|
include Google::Apis::Core::Hashable
|
530
530
|
|
531
|
-
# By default node is eligible if instance is eligible. But individual node might
|
532
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
533
|
-
# exclusions. If both instance and node level exclusions are present for time
|
534
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
535
|
-
# Corresponds to the JSON property `exclusions`
|
536
|
-
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
537
|
-
attr_accessor :exclusions
|
538
|
-
|
539
531
|
# The location of the node, if different from instance location.
|
540
532
|
# Corresponds to the JSON property `location`
|
541
533
|
# @return [String]
|
@@ -557,7 +549,6 @@ module Google
|
|
557
549
|
|
558
550
|
# Update properties of this object
|
559
551
|
def update!(**args)
|
560
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
561
552
|
@location = args[:location] if args.key?(:location)
|
562
553
|
@node_id = args[:node_id] if args.key?(:node_id)
|
563
554
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -652,71 +643,11 @@ module Google
|
|
652
643
|
end
|
653
644
|
end
|
654
645
|
|
655
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
656
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
657
|
-
include Google::Apis::Core::Hashable
|
658
|
-
|
659
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
660
|
-
# operation is taking longer than initially expected, an existing entry in the
|
661
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
662
|
-
# the subsystem exporting eligibility data as long as such extension is
|
663
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
664
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
665
|
-
# application in the exported timeseries.
|
666
|
-
# Corresponds to the JSON property `duration`
|
667
|
-
# @return [String]
|
668
|
-
attr_accessor :duration
|
669
|
-
|
670
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
671
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
672
|
-
# data (e.g. instance name). Can be left empty.
|
673
|
-
# Corresponds to the JSON property `reason`
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :reason
|
676
|
-
|
677
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
678
|
-
# that the instance should be excluded from all SLIs.
|
679
|
-
# Corresponds to the JSON property `sliName`
|
680
|
-
# @return [String]
|
681
|
-
attr_accessor :sli_name
|
682
|
-
|
683
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
684
|
-
# Corresponds to the JSON property `startTime`
|
685
|
-
# @return [String]
|
686
|
-
attr_accessor :start_time
|
687
|
-
|
688
|
-
def initialize(**args)
|
689
|
-
update!(**args)
|
690
|
-
end
|
691
|
-
|
692
|
-
# Update properties of this object
|
693
|
-
def update!(**args)
|
694
|
-
@duration = args[:duration] if args.key?(:duration)
|
695
|
-
@reason = args[:reason] if args.key?(:reason)
|
696
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
697
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
698
|
-
end
|
699
|
-
end
|
700
|
-
|
701
646
|
# SloMetadata contains resources required for proper SLO classification of the
|
702
647
|
# instance.
|
703
648
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
704
649
|
include Google::Apis::Core::Hashable
|
705
650
|
|
706
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
707
|
-
# matching the exclusion time-window against current time point) the exclusion
|
708
|
-
# reason used in the first matching entry will be published. It is not needed to
|
709
|
-
# include expired exclusion in this list, as only the currently applicable
|
710
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
711
|
-
# historical state of exclusions will be reflected in the historically produced
|
712
|
-
# timeseries regardless of the current state). This field can be used to mark
|
713
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
714
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
715
|
-
# recommended. See 'eligibility' field below.
|
716
|
-
# Corresponds to the JSON property `exclusions`
|
717
|
-
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
718
|
-
attr_accessor :exclusions
|
719
|
-
|
720
651
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
721
652
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
722
653
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -743,7 +674,6 @@ module Google
|
|
743
674
|
|
744
675
|
# Update properties of this object
|
745
676
|
def update!(**args)
|
746
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
747
677
|
@nodes = args[:nodes] if args.key?(:nodes)
|
748
678
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
749
679
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -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.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 = "
|
25
|
+
REVISION = "20210822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,12 +106,6 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
109
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
@@ -346,8 +340,6 @@ module Google
|
|
346
340
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
347
341
|
# @private
|
348
342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
350
|
-
|
351
343
|
property :location, as: 'location'
|
352
344
|
property :node_id, as: 'nodeId'
|
353
345
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -379,21 +371,9 @@ module Google
|
|
379
371
|
end
|
380
372
|
end
|
381
373
|
|
382
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
383
|
-
# @private
|
384
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
-
property :duration, as: 'duration'
|
386
|
-
property :reason, as: 'reason'
|
387
|
-
property :sli_name, as: 'sliName'
|
388
|
-
property :start_time, as: 'startTime'
|
389
|
-
end
|
390
|
-
end
|
391
|
-
|
392
374
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
393
375
|
# @private
|
394
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
396
|
-
|
397
377
|
collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
398
378
|
|
399
379
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
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.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-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|