google-apis-file_v1beta1 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: b9a37a3403dbc192baa3e64ac609fcd1145832635f6e0bd2c035b9ff3e373f93
4
- data.tar.gz: 2738baf910f8fda43e084bdf6c4f0059178977caf87fc24d72028d4e38a914d3
3
+ metadata.gz: c759d92166d3880a1d4d527843a8e57ef2d45824235a905d7d51f52844791eec
4
+ data.tar.gz: ef31a37da4c92f33ae552fff828648cb7c1f8aaa7b79756715b06580c914ba28
5
5
  SHA512:
6
- metadata.gz: 0c13763992a93c225c35e7ff2a132394a7f5fdcf00d9d01d9491c1dfd257a59e3eac489e8c43744286c96293bd1037ffab4fcb0a7a4605070a026313c9243335
7
- data.tar.gz: d352257d47ec92d9d129ef9cadcac1c41fefafa19eb48036ecccbc96476158a35ecf5cb232155c6f910b2dcd666c15c13b92c70316db506d0db22506342d68e1
6
+ metadata.gz: bf120d48ca3b6615453a7e1353e285efbaba16bba0ab2199adcd50b7e54f488f3e88448513ce62e4fd6847fe90d67247d153ff42867d2b9852be35e155e2d844
7
+ data.tar.gz: 4bae5073024bca94c8677b5e842d6094fdde44b7c48cf63eebf146c006eeecceb61640f75c54906b28a481b2a8971c9b4739712b36687c7e996cf8c6e38e0bdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-04-30)
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-18)
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 = 'V1beta1'
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
@@ -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
- # Can this scheduled update be rescheduled? By default, it's true and API needs
425
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
426
- # false
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
@@ -443,9 +452,8 @@ module Google
443
452
 
444
453
  # schedule_deadline_time is the time deadline any schedule start time cannot go
445
454
  # 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.
455
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
456
+ # scheduled to start beyond this deadline.
449
457
  # Corresponds to the JSON property `scheduleDeadlineTime`
450
458
  # @return [String]
451
459
  attr_accessor :schedule_deadline_time
@@ -482,6 +490,12 @@ module Google
482
490
  attr_accessor :exclude
483
491
  alias_method :exclude?, :exclude
484
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
+
485
499
  # Optional. The MaintenancePolicies that have been attached to the instance. The
486
500
  # key must be of the type name of the oneof policy name defined in
487
501
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -499,6 +513,7 @@ module Google
499
513
  # Update properties of this object
500
514
  def update!(**args)
501
515
  @exclude = args[:exclude] if args.key?(:exclude)
516
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
502
517
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
503
518
  end
504
519
  end
@@ -540,6 +555,35 @@ module Google
540
555
  end
541
556
  end
542
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
+
543
587
  # Describes provisioned dataplane resources.
544
588
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
545
589
  include Google::Apis::Core::Hashable
@@ -622,8 +666,7 @@ module Google
622
666
  attr_accessor :reason
623
667
 
624
668
  # 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.
669
+ # that the instance should be excluded from all SLIs.
627
670
  # Corresponds to the JSON property `sliName`
628
671
  # @return [String]
629
672
  attr_accessor :sli_name
@@ -680,6 +723,11 @@ module Google
680
723
  # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
681
724
  attr_accessor :nodes
682
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
+
683
731
  # Name of the SLO tier the Instance belongs to. This name will be expected to
684
732
  # match the tiers specified in the service SLO configuration. Field is mandatory
685
733
  # and must not be empty.
@@ -696,6 +744,7 @@ module Google
696
744
  @eligibility = args[:eligibility] if args.key?(:eligibility)
697
745
  @exclusions = args[:exclusions] if args.key?(:exclusions)
698
746
  @nodes = args[:nodes] if args.key?(:nodes)
747
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
699
748
  @tier = args[:tier] if args.key?(:tier)
700
749
  end
701
750
  end
@@ -743,6 +792,12 @@ module Google
743
792
  # @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
744
793
  attr_accessor :networks
745
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
+
746
801
  # Output only. The instance state.
747
802
  # Corresponds to the JSON property `state`
748
803
  # @return [String]
@@ -771,6 +826,7 @@ module Google
771
826
  @labels = args[:labels] if args.key?(:labels)
772
827
  @name = args[:name] if args.key?(:name)
773
828
  @networks = args[:networks] if args.key?(:networks)
829
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
774
830
  @state = args[:state] if args.key?(:state)
775
831
  @status_message = args[:status_message] if args.key?(:status_message)
776
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.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::FileV1beta1::MaintenancePolicy, decorator: Google::Apis::FileV1beta1::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::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1beta1::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::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
382
398
 
399
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::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::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::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_v1beta1
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_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.7.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.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 V1beta1