google-apis-file_v1beta1 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eda0fc8f0657ce0ea5592b67900de8e51de8a6d45cffb9a38e509ff4eaefeaa4
4
- data.tar.gz: bb56aa97b7bd41470f21ed34cd13ad539bef9e0b4447e03ea58fd66f13a023db
3
+ metadata.gz: b2775b6000e49c84437d4775cc7f29208442a5ad12c1cb1f0ef145025ad74aa1
4
+ data.tar.gz: b496b0b8c4d93de283ee90c2dc481b9e51d873e92d5c4b5f3fbbeb783fc07bcb
5
5
  SHA512:
6
- metadata.gz: 2016a41e606dde06bf420fe48c82520d4817bf5f4036b3e97cd0ffc5aae031e9259dc05354f839b3fce5a9e73a737bc3573f684490af06b7d5fe78a14e798016
7
- data.tar.gz: 949c095adf349b6f29d6765fbaf77490c8db7db86f0b34e97aa5a925e86264c26dca1ed335b25df721c2123a74717a8516f4c3803dd0181fbe62a187768ef447
6
+ metadata.gz: 9434e65585e6b083a30efdb355cdaa40190b981970d44376f89102afcad9af3c6c1b3c8da1b68f3e68582f85e905c63d80701adb801b61f92968601f81c9cd3b
7
+ data.tar.gz: b8db4019cc2c6302b25b88685fa65db61e10a2f9ed7e8ef2cb9f6d14ce3e2966c72700aec14d477f98032215f213328043628a3d087e010be64665d2b1bb25aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-09-07)
4
+
5
+ * Regenerated from discovery document revision 20210822
6
+
3
7
  ### v0.14.0 (2021-08-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20210810
@@ -527,14 +527,6 @@ module Google
527
527
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
528
528
  include Google::Apis::Core::Hashable
529
529
 
530
- # By default node is eligible if instance is eligible. But individual node might
531
- # be excluded from SLO by adding entry here. For semantic see SloMetadata.
532
- # exclusions. If both instance and node level exclusions are present for time
533
- # period, the node level's reason will be reported by Eligibility Exporter.
534
- # Corresponds to the JSON property `exclusions`
535
- # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
536
- attr_accessor :exclusions
537
-
538
530
  # The location of the node, if different from instance location.
539
531
  # Corresponds to the JSON property `location`
540
532
  # @return [String]
@@ -556,7 +548,6 @@ module Google
556
548
 
557
549
  # Update properties of this object
558
550
  def update!(**args)
559
- @exclusions = args[:exclusions] if args.key?(:exclusions)
560
551
  @location = args[:location] if args.key?(:location)
561
552
  @node_id = args[:node_id] if args.key?(:node_id)
562
553
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -651,71 +642,11 @@ module Google
651
642
  end
652
643
  end
653
644
 
654
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
655
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
656
- include Google::Apis::Core::Hashable
657
-
658
- # Exclusion duration. No restrictions on the possible values. When an ongoing
659
- # operation is taking longer than initially expected, an existing entry in the
660
- # exclusion list can be updated by extending the duration. This is supported by
661
- # the subsystem exporting eligibility data as long as such extension is
662
- # committed at least 10 minutes before the original exclusion expiration -
663
- # otherwise it is possible that there will be "gaps" in the exclusion
664
- # application in the exported timeseries.
665
- # Corresponds to the JSON property `duration`
666
- # @return [String]
667
- attr_accessor :duration
668
-
669
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
670
- # Disruptive update in progress") and should not contain dynamically generated
671
- # data (e.g. instance name). Can be left empty.
672
- # Corresponds to the JSON property `reason`
673
- # @return [String]
674
- attr_accessor :reason
675
-
676
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
677
- # that the instance should be excluded from all SLIs.
678
- # Corresponds to the JSON property `sliName`
679
- # @return [String]
680
- attr_accessor :sli_name
681
-
682
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
683
- # Corresponds to the JSON property `startTime`
684
- # @return [String]
685
- attr_accessor :start_time
686
-
687
- def initialize(**args)
688
- update!(**args)
689
- end
690
-
691
- # Update properties of this object
692
- def update!(**args)
693
- @duration = args[:duration] if args.key?(:duration)
694
- @reason = args[:reason] if args.key?(:reason)
695
- @sli_name = args[:sli_name] if args.key?(:sli_name)
696
- @start_time = args[:start_time] if args.key?(:start_time)
697
- end
698
- end
699
-
700
645
  # SloMetadata contains resources required for proper SLO classification of the
701
646
  # instance.
702
647
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
703
648
  include Google::Apis::Core::Hashable
704
649
 
705
- # List of SLO exclusion windows. When multiple entries in the list match (
706
- # matching the exclusion time-window against current time point) the exclusion
707
- # reason used in the first matching entry will be published. It is not needed to
708
- # include expired exclusion in this list, as only the currently applicable
709
- # exclusions are taken into account by the eligibility exporting subsystem (the
710
- # historical state of exclusions will be reflected in the historically produced
711
- # timeseries regardless of the current state). This field can be used to mark
712
- # the instance as temporary ineligible for the purpose of SLO calculation. For
713
- # permanent instance SLO exclusion, use of custom instance eligibility is
714
- # recommended. See 'eligibility' field below.
715
- # Corresponds to the JSON property `exclusions`
716
- # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
717
- attr_accessor :exclusions
718
-
719
650
  # Optional. List of nodes. Some producers need to use per-node metadata to
720
651
  # calculate SLO. This field allows such producers to publish per-node SLO meta
721
652
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -742,7 +673,6 @@ module Google
742
673
 
743
674
  # Update properties of this object
744
675
  def update!(**args)
745
- @exclusions = args[:exclusions] if args.key?(:exclusions)
746
676
  @nodes = args[:nodes] if args.key?(:nodes)
747
677
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
748
678
  @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.14.0"
19
+ GEM_VERSION = "0.15.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 = "20210810"
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
 
@@ -358,8 +352,6 @@ module Google
358
352
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
359
353
  # @private
360
354
  class Representation < Google::Apis::Core::JsonRepresentation
361
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
362
-
363
355
  property :location, as: 'location'
364
356
  property :node_id, as: 'nodeId'
365
357
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -391,21 +383,9 @@ module Google
391
383
  end
392
384
  end
393
385
 
394
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
395
- # @private
396
- class Representation < Google::Apis::Core::JsonRepresentation
397
- property :duration, as: 'duration'
398
- property :reason, as: 'reason'
399
- property :sli_name, as: 'sliName'
400
- property :start_time, as: 'startTime'
401
- end
402
- end
403
-
404
386
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
405
387
  # @private
406
388
  class Representation < Google::Apis::Core::JsonRepresentation
407
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
408
-
409
389
  collection :nodes, as: 'nodes', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
410
390
 
411
391
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -360,6 +360,9 @@ module Google
360
360
  # @param [String] name
361
361
  # Required. The instance resource name, in the format `projects/`project_id`/
362
362
  # locations/`location`/instances/`instance_id``
363
+ # @param [Boolean] force
364
+ # If set to true, any snapshots of the instance will also be deleted. (Otherwise,
365
+ # the request will only work if the instance has no snapshots.)
363
366
  # @param [String] fields
364
367
  # Selector specifying which fields to include in a partial response.
365
368
  # @param [String] quota_user
@@ -377,11 +380,12 @@ module Google
377
380
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
378
381
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
379
382
  # @raise [Google::Apis::AuthorizationError] Authorization is required
380
- def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
383
+ def delete_project_location_instance(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
381
384
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
382
385
  command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
383
386
  command.response_class = Google::Apis::FileV1beta1::Operation
384
387
  command.params['name'] = name unless name.nil?
388
+ command.query['force'] = force unless force.nil?
385
389
  command.query['fields'] = fields unless fields.nil?
386
390
  command.query['quotaUser'] = quota_user unless quota_user.nil?
387
391
  execute_or_queue_command(command, &block)
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.14.0
4
+ version: 0.15.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-08-30 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []