google-apis-file_v1beta1 0.1.0 → 0.6.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 +22 -0
- data/lib/google/apis/file_v1beta1.rb +1 -1
- data/lib/google/apis/file_v1beta1/classes.rb +73 -7
- data/lib/google/apis/file_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/file_v1beta1/representations.rb +20 -0
- data/lib/google/apis/file_v1beta1/service.rb +10 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b631e7cd5824029711d0de8c94ada5264b449dd2de2533ab763c39e1de1baa4
|
4
|
+
data.tar.gz: fce7a941c879234b343f1114f5d86c236d71e705f727e2d267a8ca78ad89de9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 872c848030ee75e1fcbd44a2ac875ba39acd256efe7d74673f5254bf24abbe8627a9f523edcb96cd38cbfec01e5c92b2587154efceb8a0a46152ceb43e227ccc
|
7
|
+
data.tar.gz: 369435de65e9f6dd75bfd31f5745966e9ae4692169a467481de244c123ed4ff9fa9c33363195f7a6aa788b325eb8d69af6fffb4f8dccbcdd82cd3b91165c456a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-file_v1beta1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210422
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210323
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-18)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210211
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-26)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210120
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
# @return [String]
|
59
59
|
attr_accessor :name
|
60
60
|
|
61
|
+
# Output only. Reserved for future use.
|
62
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
63
|
+
# @return [Boolean]
|
64
|
+
attr_accessor :satisfies_pzs
|
65
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
66
|
+
|
61
67
|
# Name of the file share in the source Cloud Filestore instance that the backup
|
62
68
|
# is created from.
|
63
69
|
# Corresponds to the JSON property `sourceFileShare`
|
@@ -100,6 +106,7 @@ module Google
|
|
100
106
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
101
107
|
@labels = args[:labels] if args.key?(:labels)
|
102
108
|
@name = args[:name] if args.key?(:name)
|
109
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
103
110
|
@source_file_share = args[:source_file_share] if args.key?(:source_file_share)
|
104
111
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
105
112
|
@source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
|
@@ -337,8 +344,10 @@ module Google
|
|
337
344
|
# @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
338
345
|
attr_accessor :maintenance_settings
|
339
346
|
|
340
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
341
|
-
# locations/`location_id`/instances/`instance_id``
|
347
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
348
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
349
|
+
# project_id or project_number can be used, but keep it consistent with other
|
350
|
+
# APIs (e.g. RescheduleUpdate)
|
342
351
|
# Corresponds to the JSON property `name`
|
343
352
|
# @return [String]
|
344
353
|
attr_accessor :name
|
@@ -421,9 +430,9 @@ module Google
|
|
421
430
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
422
431
|
include Google::Apis::Core::Hashable
|
423
432
|
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
433
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
434
|
+
# happen multiple times now. This field should not be removed until all service
|
435
|
+
# producers remove this for their customers.
|
427
436
|
# Corresponds to the JSON property `canReschedule`
|
428
437
|
# @return [Boolean]
|
429
438
|
attr_accessor :can_reschedule
|
@@ -441,6 +450,14 @@ module Google
|
|
441
450
|
# @return [String]
|
442
451
|
attr_accessor :rollout_management_policy
|
443
452
|
|
453
|
+
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
454
|
+
# beyond, including reschedule. It's normally the initial schedule start time
|
455
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
456
|
+
# scheduled to start beyond this deadline.
|
457
|
+
# Corresponds to the JSON property `scheduleDeadlineTime`
|
458
|
+
# @return [String]
|
459
|
+
attr_accessor :schedule_deadline_time
|
460
|
+
|
444
461
|
# The scheduled start time for the maintenance.
|
445
462
|
# Corresponds to the JSON property `startTime`
|
446
463
|
# @return [String]
|
@@ -455,6 +472,7 @@ module Google
|
|
455
472
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
456
473
|
@end_time = args[:end_time] if args.key?(:end_time)
|
457
474
|
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
|
475
|
+
@schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
|
458
476
|
@start_time = args[:start_time] if args.key?(:start_time)
|
459
477
|
end
|
460
478
|
end
|
@@ -472,6 +490,12 @@ module Google
|
|
472
490
|
attr_accessor :exclude
|
473
491
|
alias_method :exclude?, :exclude
|
474
492
|
|
493
|
+
# Optional. If the update call is triggered from rollback, set the value as true.
|
494
|
+
# Corresponds to the JSON property `isRollback`
|
495
|
+
# @return [Boolean]
|
496
|
+
attr_accessor :is_rollback
|
497
|
+
alias_method :is_rollback?, :is_rollback
|
498
|
+
|
475
499
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
476
500
|
# key must be of the type name of the oneof policy name defined in
|
477
501
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -489,6 +513,7 @@ module Google
|
|
489
513
|
# Update properties of this object
|
490
514
|
def update!(**args)
|
491
515
|
@exclude = args[:exclude] if args.key?(:exclude)
|
516
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
492
517
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
493
518
|
end
|
494
519
|
end
|
@@ -530,6 +555,35 @@ module Google
|
|
530
555
|
end
|
531
556
|
end
|
532
557
|
|
558
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
559
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
560
|
+
include Google::Apis::Core::Hashable
|
561
|
+
|
562
|
+
# An entry in the eligibilities map specifies an eligibility for a particular
|
563
|
+
# SLI for the given instance. The SLI key in the name must be a valid SLI name
|
564
|
+
# specified in the Eligibility Exporter binary flags otherwise an error will be
|
565
|
+
# emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
|
566
|
+
# has been defined in the binary flags but the eligibilities map does not
|
567
|
+
# contain it, the corresponding SLI time series will not be emitted by the
|
568
|
+
# Eligibility Exporter. This ensures a smooth rollout and compatibility between
|
569
|
+
# the data produced by different versions of the Eligibility Exporters. If
|
570
|
+
# eligibilities map contains a key for an SLI which has not been declared in the
|
571
|
+
# binary flags, there will be an error message emitted in the Eligibility
|
572
|
+
# Exporter log and the metric for the SLI in question will not be emitted.
|
573
|
+
# Corresponds to the JSON property `eligibilities`
|
574
|
+
# @return [Hash<String,Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
|
575
|
+
attr_accessor :eligibilities
|
576
|
+
|
577
|
+
def initialize(**args)
|
578
|
+
update!(**args)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Update properties of this object
|
582
|
+
def update!(**args)
|
583
|
+
@eligibilities = args[:eligibilities] if args.key?(:eligibilities)
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
533
587
|
# Describes provisioned dataplane resources.
|
534
588
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
535
589
|
include Google::Apis::Core::Hashable
|
@@ -612,8 +666,7 @@ module Google
|
|
612
666
|
attr_accessor :reason
|
613
667
|
|
614
668
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
615
|
-
# that the instance should be excluded from all SLIs
|
616
|
-
# configuration.
|
669
|
+
# that the instance should be excluded from all SLIs.
|
617
670
|
# Corresponds to the JSON property `sliName`
|
618
671
|
# @return [String]
|
619
672
|
attr_accessor :sli_name
|
@@ -670,6 +723,11 @@ module Google
|
|
670
723
|
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
671
724
|
attr_accessor :nodes
|
672
725
|
|
726
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
727
|
+
# Corresponds to the JSON property `perSliEligibility`
|
728
|
+
# @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
729
|
+
attr_accessor :per_sli_eligibility
|
730
|
+
|
673
731
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
674
732
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
675
733
|
# and must not be empty.
|
@@ -686,6 +744,7 @@ module Google
|
|
686
744
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
687
745
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
688
746
|
@nodes = args[:nodes] if args.key?(:nodes)
|
747
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
689
748
|
@tier = args[:tier] if args.key?(:tier)
|
690
749
|
end
|
691
750
|
end
|
@@ -733,6 +792,12 @@ module Google
|
|
733
792
|
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
|
734
793
|
attr_accessor :networks
|
735
794
|
|
795
|
+
# Output only. Reserved for future use.
|
796
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
797
|
+
# @return [Boolean]
|
798
|
+
attr_accessor :satisfies_pzs
|
799
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
800
|
+
|
736
801
|
# Output only. The instance state.
|
737
802
|
# Corresponds to the JSON property `state`
|
738
803
|
# @return [String]
|
@@ -761,6 +826,7 @@ module Google
|
|
761
826
|
@labels = args[:labels] if args.key?(:labels)
|
762
827
|
@name = args[:name] if args.key?(:name)
|
763
828
|
@networks = args[:networks] if args.key?(:networks)
|
829
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
764
830
|
@state = args[:state] if args.key?(:state)
|
765
831
|
@status_message = args[:status_message] if args.key?(:status_message)
|
766
832
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210422"
|
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
|
|
@@ -229,6 +235,7 @@ module Google
|
|
229
235
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
230
236
|
hash :labels, as: 'labels'
|
231
237
|
property :name, as: 'name'
|
238
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
232
239
|
property :source_file_share, as: 'sourceFileShare'
|
233
240
|
property :source_instance, as: 'sourceInstance'
|
234
241
|
property :source_instance_tier, as: 'sourceInstanceTier'
|
@@ -321,6 +328,7 @@ module Google
|
|
321
328
|
property :can_reschedule, as: 'canReschedule'
|
322
329
|
property :end_time, as: 'endTime'
|
323
330
|
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
331
|
+
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
324
332
|
property :start_time, as: 'startTime'
|
325
333
|
end
|
326
334
|
end
|
@@ -329,6 +337,7 @@ module Google
|
|
329
337
|
# @private
|
330
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
331
339
|
property :exclude, as: 'exclude'
|
340
|
+
property :is_rollback, as: 'isRollback'
|
332
341
|
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::FileV1beta1::MaintenancePolicy, decorator: Google::Apis::FileV1beta1::MaintenancePolicy::Representation
|
333
342
|
|
334
343
|
end
|
@@ -344,6 +353,14 @@ module Google
|
|
344
353
|
end
|
345
354
|
end
|
346
355
|
|
356
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
hash :eligibilities, as: 'eligibilities', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
360
|
+
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
347
364
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
348
365
|
# @private
|
349
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -379,6 +396,8 @@ module Google
|
|
379
396
|
|
380
397
|
collection :nodes, as: 'nodes', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
381
398
|
|
399
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
400
|
+
|
382
401
|
property :tier, as: 'tier'
|
383
402
|
end
|
384
403
|
end
|
@@ -395,6 +414,7 @@ module Google
|
|
395
414
|
property :name, as: 'name'
|
396
415
|
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
|
397
416
|
|
417
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
398
418
|
property :state, as: 'state'
|
399
419
|
property :status_message, as: 'statusMessage'
|
400
420
|
property :tier, as: 'tier'
|
@@ -83,13 +83,17 @@ module Google
|
|
83
83
|
# @param [String] name
|
84
84
|
# The resource that owns the locations collection, if applicable.
|
85
85
|
# @param [String] filter
|
86
|
-
#
|
86
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
87
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
88
|
+
# AIP-160](https://google.aip.dev/160).
|
87
89
|
# @param [Boolean] include_unrevealed_locations
|
88
90
|
# If true, the returned list will include locations which are not yet revealed.
|
89
91
|
# @param [Fixnum] page_size
|
90
|
-
# The
|
92
|
+
# The maximum number of results to return. If not set, the service selects a
|
93
|
+
# default.
|
91
94
|
# @param [String] page_token
|
92
|
-
#
|
95
|
+
# A page token received from the `next_page_token` field in the response. Send
|
96
|
+
# that page token to receive the subsequent page.
|
93
97
|
# @param [String] fields
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
95
99
|
# @param [String] quota_user
|
@@ -500,9 +504,9 @@ module Google
|
|
500
504
|
execute_or_queue_command(command, &block)
|
501
505
|
end
|
502
506
|
|
503
|
-
# Restores an existing instance's file share from a backup. The
|
504
|
-
#
|
505
|
-
# the
|
507
|
+
# Restores an existing instance's file share from a backup. The capacity of the
|
508
|
+
# instance needs to be equal to or larger than the capacity of the backup (and
|
509
|
+
# also equal to or larger than the minimum capacity of the tier).
|
506
510
|
# @param [String] name
|
507
511
|
# Required. The resource name of the instance, in the format projects/`
|
508
512
|
# project_id`/locations/`location_id`/instances/`instance_id`.
|
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.
|
4
|
+
version: 0.6.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-05-18 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.6.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Filestore API V1beta1
|