google-apis-file_v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66ffc52b3ba1dbfbc1b0c7b742bcc5e06b0eb500f6542743d0fbebace2a8f18a
4
- data.tar.gz: 3729f7d91a2354c124f5cfab126027b6050f1d5a22211d7eac9bc1b119b9e991
3
+ metadata.gz: f878f38d26379dc1e5cb4d5ad681c2f4af37554773f5bd2cd1ca394e18fb92f7
4
+ data.tar.gz: 57e28f7eff6f4cf4eaf2a2b32a6bee87eab564e71012269580f3da1a44cf38fd
5
5
  SHA512:
6
- metadata.gz: dfb16139b30de6e4b2538895f9c0701d6a5e951f9c3fde9cd9a9fdf19396c2ef5c843adca5c7319b4f70f241828dd989eae20f8f69fd4cdee8e3e087665a2065
7
- data.tar.gz: 3c625f0ef549b6e2b923a172df4e7f78124bd81175f6af314e51d47beaa3c4801ea93d03418b9b17f9e275434460dbb7492bd02fcc73e809145a79e30cc04a63
6
+ metadata.gz: 74806f5612990f83327a9f43a9f21e89df1184dc2e23cee05066c4c0be27e4344d6468028a07948b5b0146e720b5624d211cd854acdd46686f81e3d42481b6d7
7
+ data.tar.gz: f4c36012ff7ee8e088e776ac6cf25e4a7312ddf0621e95570c7b7e4678a624e4f19911783a4b9069885fdf1f0972be0eb1531ae60b7acdc3c5a0adb69d13a94d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.6.0 (2021-05-01)
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-17)
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 = '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
@@ -444,6 +453,14 @@ module Google
444
453
  # @return [String]
445
454
  attr_accessor :rollout_management_policy
446
455
 
456
+ # schedule_deadline_time is the time deadline any schedule start time cannot go
457
+ # beyond, including reschedule. It's normally the initial schedule start time
458
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
459
+ # scheduled to start beyond this deadline.
460
+ # Corresponds to the JSON property `scheduleDeadlineTime`
461
+ # @return [String]
462
+ attr_accessor :schedule_deadline_time
463
+
447
464
  # The scheduled start time for the maintenance.
448
465
  # Corresponds to the JSON property `startTime`
449
466
  # @return [String]
@@ -458,6 +475,7 @@ module Google
458
475
  @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
459
476
  @end_time = args[:end_time] if args.key?(:end_time)
460
477
  @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
478
+ @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
461
479
  @start_time = args[:start_time] if args.key?(:start_time)
462
480
  end
463
481
  end
@@ -475,6 +493,12 @@ module Google
475
493
  attr_accessor :exclude
476
494
  alias_method :exclude?, :exclude
477
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
+
478
502
  # Optional. The MaintenancePolicies that have been attached to the instance. The
479
503
  # key must be of the type name of the oneof policy name defined in
480
504
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -492,6 +516,7 @@ module Google
492
516
  # Update properties of this object
493
517
  def update!(**args)
494
518
  @exclude = args[:exclude] if args.key?(:exclude)
519
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
495
520
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
496
521
  end
497
522
  end
@@ -533,6 +558,35 @@ module Google
533
558
  end
534
559
  end
535
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
+
536
590
  # Describes provisioned dataplane resources.
537
591
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
538
592
  include Google::Apis::Core::Hashable
@@ -615,8 +669,7 @@ module Google
615
669
  attr_accessor :reason
616
670
 
617
671
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
618
- # that the instance should be excluded from all SLIs defined in the service SLO
619
- # configuration.
672
+ # that the instance should be excluded from all SLIs.
620
673
  # Corresponds to the JSON property `sliName`
621
674
  # @return [String]
622
675
  attr_accessor :sli_name
@@ -673,6 +726,11 @@ module Google
673
726
  # @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
674
727
  attr_accessor :nodes
675
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
+
676
734
  # Name of the SLO tier the Instance belongs to. This name will be expected to
677
735
  # match the tiers specified in the service SLO configuration. Field is mandatory
678
736
  # and must not be empty.
@@ -689,6 +747,7 @@ module Google
689
747
  @eligibility = args[:eligibility] if args.key?(:eligibility)
690
748
  @exclusions = args[:exclusions] if args.key?(:exclusions)
691
749
  @nodes = args[:nodes] if args.key?(:nodes)
750
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
692
751
  @tier = args[:tier] if args.key?(:tier)
693
752
  end
694
753
  end
@@ -736,6 +795,12 @@ module Google
736
795
  # @return [Array<Google::Apis::FileV1::NetworkConfig>]
737
796
  attr_accessor :networks
738
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
+
739
804
  # Output only. The instance state.
740
805
  # Corresponds to the JSON property `state`
741
806
  # @return [String]
@@ -764,6 +829,7 @@ module Google
764
829
  @labels = args[:labels] if args.key?(:labels)
765
830
  @name = args[:name] if args.key?(:name)
766
831
  @networks = args[:networks] if args.key?(:networks)
832
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
767
833
  @state = args[:state] if args.key?(:state)
768
834
  @status_message = args[:status_message] if args.key?(:status_message)
769
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.1.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.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201208"
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::FileV1::MaintenancePolicy, decorator: Google::Apis::FileV1::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::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1::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::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
381
398
 
399
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::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::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::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
- # 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
@@ -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 instance's file
504
- # share capacity will be set to the backup's capacity or the minimum capacity of
505
- # the tier, whichever is larger.
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_number`/locations/`location_id`/instances/`instance_id`.
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.1.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-01-08 00:00:00.000000000 Z
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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.6.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.1.4
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