google-apis-file_v1 0.2.0 → 0.7.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: c8436e9152d10e4ffc7e1b694f1eedf1828f8396bf1bd2a88bbe1241b33134bd
4
- data.tar.gz: d77f3893caad3e518832ad28747b17b18ed3a76f0a38d2ba83c2c292e5a0051f
3
+ metadata.gz: e87c79c9e69f53dabac1f74bec9d350259054e4cb8b0f0b09bd0b932f2227bc2
4
+ data.tar.gz: 4b61bb54bca4896b32d7a849a23c79ed1c5232e44b80984c8a1aa619a8318e29
5
5
  SHA512:
6
- metadata.gz: 3af94525f8e47acfa333bd1f8ce8b2d721c24231715db936ae7949467943327e44f7b5a340240743947b24a448b78c34d28ccfa5e57c0dedd3f9485c0de3f666
7
- data.tar.gz: 131fe442c384fb4185ee307bd13c720b772c81be2347146da4c4f9ba1d7b6fb9b4cb23109be12020daa5b114769ebcfb27e343497dfc76a3c86754e209a6965a
6
+ metadata.gz: c03627d7f01c079c098768d9e78f014c511a134f5de1fcccecc3629ee2e486727ba647c31460f0b0731e5b3e978aefe45d61d0d274a736396fac84f46840bba0
7
+ data.tar.gz: fbdb5a7c44a7030ddb3b2b692faefd6815eda3c0228161e0831c9a7e9899528f2bb4dd3ce6060e755ada9d72317b225a3cf6087343acf78eb73fc41c03a273a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-05-01)
8
+
9
+ * Regenerated from discovery document revision 20210422
10
+
11
+ ### v0.5.0 (2021-03-31)
12
+
13
+ * Regenerated from discovery document revision 20210323
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-17)
21
+
22
+ * Regenerated from discovery document revision 20210211
23
+
3
24
  ### v0.2.0 (2021-01-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210120
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
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
@@ -60,6 +60,12 @@ module Google
60
60
  # @return [String]
61
61
  attr_accessor :name
62
62
 
63
+ # Output only. Reserved for future use.
64
+ # Corresponds to the JSON property `satisfiesPzs`
65
+ # @return [Boolean]
66
+ attr_accessor :satisfies_pzs
67
+ alias_method :satisfies_pzs?, :satisfies_pzs
68
+
63
69
  # Name of the file share in the source Cloud Filestore instance that the backup
64
70
  # is created from.
65
71
  # Corresponds to the JSON property `sourceFileShare`
@@ -102,6 +108,7 @@ module Google
102
108
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
103
109
  @labels = args[:labels] if args.key?(:labels)
104
110
  @name = args[:name] if args.key?(:name)
111
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
105
112
  @source_file_share = args[:source_file_share] if args.key?(:source_file_share)
106
113
  @source_instance = args[:source_instance] if args.key?(:source_instance)
107
114
  @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
@@ -340,8 +347,10 @@ module Google
340
347
  # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
341
348
  attr_accessor :maintenance_settings
342
349
 
343
- # Unique name of the resource. It uses the form: `projects/`project_id`/
344
- # locations/`location_id`/instances/`instance_id``
350
+ # Unique name of the resource. It uses the form: `projects/`project_id|
351
+ # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
352
+ # project_id or project_number can be used, but keep it consistent with other
353
+ # APIs (e.g. RescheduleUpdate)
345
354
  # Corresponds to the JSON property `name`
346
355
  # @return [String]
347
356
  attr_accessor :name
@@ -424,9 +433,9 @@ module Google
424
433
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
425
434
  include Google::Apis::Core::Hashable
426
435
 
427
- # Can this scheduled update be rescheduled? By default, it's true and API needs
428
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
429
- # false
436
+ # This field is deprecated, and will be always set to true since reschedule can
437
+ # happen multiple times now. This field should not be removed until all service
438
+ # producers remove this for their customers.
430
439
  # Corresponds to the JSON property `canReschedule`
431
440
  # @return [Boolean]
432
441
  attr_accessor :can_reschedule
@@ -446,9 +455,8 @@ module Google
446
455
 
447
456
  # schedule_deadline_time is the time deadline any schedule start time cannot go
448
457
  # beyond, including reschedule. It's normally the initial schedule start time
449
- # plus a week. If the reschedule type is next window, simply take this value as
450
- # start time. If reschedule type is IMMEDIATELY or BY_TIME, current or selected
451
- # time cannot go beyond this deadline.
458
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
459
+ # scheduled to start beyond this deadline.
452
460
  # Corresponds to the JSON property `scheduleDeadlineTime`
453
461
  # @return [String]
454
462
  attr_accessor :schedule_deadline_time
@@ -485,6 +493,12 @@ module Google
485
493
  attr_accessor :exclude
486
494
  alias_method :exclude?, :exclude
487
495
 
496
+ # Optional. If the update call is triggered from rollback, set the value as true.
497
+ # Corresponds to the JSON property `isRollback`
498
+ # @return [Boolean]
499
+ attr_accessor :is_rollback
500
+ alias_method :is_rollback?, :is_rollback
501
+
488
502
  # Optional. The MaintenancePolicies that have been attached to the instance. The
489
503
  # key must be of the type name of the oneof policy name defined in
490
504
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -502,6 +516,7 @@ module Google
502
516
  # Update properties of this object
503
517
  def update!(**args)
504
518
  @exclude = args[:exclude] if args.key?(:exclude)
519
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
505
520
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
506
521
  end
507
522
  end
@@ -543,6 +558,35 @@ module Google
543
558
  end
544
559
  end
545
560
 
561
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
562
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
563
+ include Google::Apis::Core::Hashable
564
+
565
+ # An entry in the eligibilities map specifies an eligibility for a particular
566
+ # SLI for the given instance. The SLI key in the name must be a valid SLI name
567
+ # specified in the Eligibility Exporter binary flags otherwise an error will be
568
+ # emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
569
+ # has been defined in the binary flags but the eligibilities map does not
570
+ # contain it, the corresponding SLI time series will not be emitted by the
571
+ # Eligibility Exporter. This ensures a smooth rollout and compatibility between
572
+ # the data produced by different versions of the Eligibility Exporters. If
573
+ # eligibilities map contains a key for an SLI which has not been declared in the
574
+ # binary flags, there will be an error message emitted in the Eligibility
575
+ # Exporter log and the metric for the SLI in question will not be emitted.
576
+ # Corresponds to the JSON property `eligibilities`
577
+ # @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
578
+ attr_accessor :eligibilities
579
+
580
+ def initialize(**args)
581
+ update!(**args)
582
+ end
583
+
584
+ # Update properties of this object
585
+ def update!(**args)
586
+ @eligibilities = args[:eligibilities] if args.key?(:eligibilities)
587
+ end
588
+ end
589
+
546
590
  # Describes provisioned dataplane resources.
547
591
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
548
592
  include Google::Apis::Core::Hashable
@@ -625,8 +669,7 @@ module Google
625
669
  attr_accessor :reason
626
670
 
627
671
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
628
- # that the instance should be excluded from all SLIs defined in the service SLO
629
- # configuration.
672
+ # that the instance should be excluded from all SLIs.
630
673
  # Corresponds to the JSON property `sliName`
631
674
  # @return [String]
632
675
  attr_accessor :sli_name
@@ -683,6 +726,11 @@ module Google
683
726
  # @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
684
727
  attr_accessor :nodes
685
728
 
729
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
730
+ # Corresponds to the JSON property `perSliEligibility`
731
+ # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
732
+ attr_accessor :per_sli_eligibility
733
+
686
734
  # Name of the SLO tier the Instance belongs to. This name will be expected to
687
735
  # match the tiers specified in the service SLO configuration. Field is mandatory
688
736
  # and must not be empty.
@@ -699,6 +747,7 @@ module Google
699
747
  @eligibility = args[:eligibility] if args.key?(:eligibility)
700
748
  @exclusions = args[:exclusions] if args.key?(:exclusions)
701
749
  @nodes = args[:nodes] if args.key?(:nodes)
750
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
702
751
  @tier = args[:tier] if args.key?(:tier)
703
752
  end
704
753
  end
@@ -746,6 +795,12 @@ module Google
746
795
  # @return [Array<Google::Apis::FileV1::NetworkConfig>]
747
796
  attr_accessor :networks
748
797
 
798
+ # Output only. Reserved for future use.
799
+ # Corresponds to the JSON property `satisfiesPzs`
800
+ # @return [Boolean]
801
+ attr_accessor :satisfies_pzs
802
+ alias_method :satisfies_pzs?, :satisfies_pzs
803
+
749
804
  # Output only. The instance state.
750
805
  # Corresponds to the JSON property `state`
751
806
  # @return [String]
@@ -774,6 +829,7 @@ module Google
774
829
  @labels = args[:labels] if args.key?(:labels)
775
830
  @name = args[:name] if args.key?(:name)
776
831
  @networks = args[:networks] if args.key?(:networks)
832
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
777
833
  @state = args[:state] if args.key?(:state)
778
834
  @status_message = args[:status_message] if args.key?(:status_message)
779
835
  @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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210120"
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'
@@ -330,6 +337,7 @@ module Google
330
337
  # @private
331
338
  class Representation < Google::Apis::Core::JsonRepresentation
332
339
  property :exclude, as: 'exclude'
340
+ property :is_rollback, as: 'isRollback'
333
341
  hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::FileV1::MaintenancePolicy, decorator: Google::Apis::FileV1::MaintenancePolicy::Representation
334
342
 
335
343
  end
@@ -345,6 +353,14 @@ module Google
345
353
  end
346
354
  end
347
355
 
356
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
360
+
361
+ end
362
+ end
363
+
348
364
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
349
365
  # @private
350
366
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -380,6 +396,8 @@ module Google
380
396
 
381
397
  collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
382
398
 
399
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
400
+
383
401
  property :tier, as: 'tier'
384
402
  end
385
403
  end
@@ -396,6 +414,7 @@ module Google
396
414
  property :name, as: 'name'
397
415
  collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
398
416
 
417
+ property :satisfies_pzs, as: 'satisfiesPzs'
399
418
  property :state, as: 'state'
400
419
  property :status_message, as: 'statusMessage'
401
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
- # The standard list filter.
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 standard list page size.
92
+ # The maximum number of results to return. If not set, the service selects a
93
+ # default.
91
94
  # @param [String] page_token
92
- # The standard list page token.
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
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.2.0
4
+ version: 0.7.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-05-24 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.7.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: []
@@ -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.4'
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.2.6
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 V1