google-apis-gkebackup_v1 0.30.0 → 0.31.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: d48b8018ae503ad29113dc3469c2a5af11206bf7abfea4bbf91da4d3a170f6fa
4
- data.tar.gz: ba2eea3f8e0fe7fb747dd17fafcad517da02aaf7e6752aa3123c39248497584f
3
+ metadata.gz: 5ffd01074f0305fdd15539d26643a2d98e8faa2108cc134d8be75b9e7cbb4bba
4
+ data.tar.gz: c214ea5e03a56e278c49cd76412667c15b6da42ac0417ab6cb1b356f7a5160a0
5
5
  SHA512:
6
- metadata.gz: ba2efd10bc4c81f0b80d6afdb2509da54949696321c9a3d3a6d81e51f510a8e1745ab8447de69f77f1c94b58cd8ecd8205af170aad265ba04a916f844beec854
7
- data.tar.gz: 9f74c944eeefd8d3c9c0ec417b65947c8422fcfa76150f073487d2b2e6745f761bb5a1e3d8fac742355f17ded151587038adf6f98c1f6a81e1775d7bbc1e29eb
6
+ metadata.gz: 99efe530bfcc0d0975f15f16951743f1196f1ce75cbfef8d16953dca89c122e737a2e32b30d811cd6abc0cfc09e433fe912c34ea87df048fcfabb0835ac51094
7
+ data.tar.gz: da1cd68b41023232ca064e7f16ee33737af88a995118aa42e09cfcc5bd4b21387e373dddc663364c467f282554319c255b803fe61fae6c571e487700a79cd1c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.31.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240320
6
+
3
7
  ### v0.30.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240313
@@ -432,6 +432,18 @@ module Google
432
432
  # @return [Google::Apis::GkebackupV1::RetentionPolicy]
433
433
  attr_accessor :retention_policy
434
434
 
435
+ # Output only. A number that represents the current risk level of this
436
+ # BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
437
+ # Corresponds to the JSON property `rpoRiskLevel`
438
+ # @return [Fixnum]
439
+ attr_accessor :rpo_risk_level
440
+
441
+ # Output only. Human-readable description of why the BackupPlan is in the
442
+ # current rpo_risk_level and action items if any.
443
+ # Corresponds to the JSON property `rpoRiskReason`
444
+ # @return [String]
445
+ attr_accessor :rpo_risk_reason
446
+
435
447
  # Output only. State of the BackupPlan. This State field reflects the various
436
448
  # stages a BackupPlan can be in during the Create operation. It will be set to "
437
449
  # DEACTIVATED" if the BackupPlan is deactivated on an Update
@@ -473,6 +485,8 @@ module Google
473
485
  @name = args[:name] if args.key?(:name)
474
486
  @protected_pod_count = args[:protected_pod_count] if args.key?(:protected_pod_count)
475
487
  @retention_policy = args[:retention_policy] if args.key?(:retention_policy)
488
+ @rpo_risk_level = args[:rpo_risk_level] if args.key?(:rpo_risk_level)
489
+ @rpo_risk_reason = args[:rpo_risk_reason] if args.key?(:rpo_risk_reason)
476
490
  @state = args[:state] if args.key?(:state)
477
491
  @state_reason = args[:state_reason] if args.key?(:state_reason)
478
492
  @uid = args[:uid] if args.key?(:uid)
@@ -681,6 +695,66 @@ module Google
681
695
  end
682
696
  end
683
697
 
698
+ # Represents a whole or partial calendar date, such as a birthday. The time of
699
+ # day and time zone are either specified elsewhere or are insignificant. The
700
+ # date is relative to the Gregorian Calendar. This can represent one of the
701
+ # following: * A full date, with non-zero year, month, and day values. * A month
702
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
703
+ # with a zero month and a zero day. * A year and month, with a zero day (for
704
+ # example, a credit card expiration date). Related types: * google.type.
705
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
706
+ class Date
707
+ include Google::Apis::Core::Hashable
708
+
709
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
710
+ # specify a year by itself or a year and month where the day isn't significant.
711
+ # Corresponds to the JSON property `day`
712
+ # @return [Fixnum]
713
+ attr_accessor :day
714
+
715
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
716
+ # and day.
717
+ # Corresponds to the JSON property `month`
718
+ # @return [Fixnum]
719
+ attr_accessor :month
720
+
721
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
722
+ # year.
723
+ # Corresponds to the JSON property `year`
724
+ # @return [Fixnum]
725
+ attr_accessor :year
726
+
727
+ def initialize(**args)
728
+ update!(**args)
729
+ end
730
+
731
+ # Update properties of this object
732
+ def update!(**args)
733
+ @day = args[:day] if args.key?(:day)
734
+ @month = args[:month] if args.key?(:month)
735
+ @year = args[:year] if args.key?(:year)
736
+ end
737
+ end
738
+
739
+ # Holds repeated DaysOfWeek values as a container.
740
+ class DayOfWeekList
741
+ include Google::Apis::Core::Hashable
742
+
743
+ # Optional. A list of days of week.
744
+ # Corresponds to the JSON property `daysOfWeek`
745
+ # @return [Array<String>]
746
+ attr_accessor :days_of_week
747
+
748
+ def initialize(**args)
749
+ update!(**args)
750
+ end
751
+
752
+ # Update properties of this object
753
+ def update!(**args)
754
+ @days_of_week = args[:days_of_week] if args.key?(:days_of_week)
755
+ end
756
+ end
757
+
684
758
  # A generic empty message that you can re-use to avoid defining duplicated empty
685
759
  # messages in your APIs. A typical example is to use it as the request or the
686
760
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -718,6 +792,66 @@ module Google
718
792
  end
719
793
  end
720
794
 
795
+ # Defines a time window during which no backup should happen. All time and date
796
+ # are in UTC.
797
+ class ExclusionWindow
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # The exclusion window occurs every day if set to "True". Specifying this field
801
+ # to "False" is an error.
802
+ # Corresponds to the JSON property `daily`
803
+ # @return [Boolean]
804
+ attr_accessor :daily
805
+ alias_method :daily?, :daily
806
+
807
+ # Holds repeated DaysOfWeek values as a container.
808
+ # Corresponds to the JSON property `daysOfWeek`
809
+ # @return [Google::Apis::GkebackupV1::DayOfWeekList]
810
+ attr_accessor :days_of_week
811
+
812
+ # Required. Specifies duration of the window. Restrictions for duration based on
813
+ # the recurrence type to allow some time for backup to happen: -
814
+ # single_occurrence_date: no restriction, but UI may warn about this when
815
+ # duration >= target RPO - daily window: duration < 24 hours - weekly window: -
816
+ # days of week includes all seven days of a week: duration < 24 hours - all
817
+ # other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
818
+ # Corresponds to the JSON property `duration`
819
+ # @return [String]
820
+ attr_accessor :duration
821
+
822
+ # Represents a whole or partial calendar date, such as a birthday. The time of
823
+ # day and time zone are either specified elsewhere or are insignificant. The
824
+ # date is relative to the Gregorian Calendar. This can represent one of the
825
+ # following: * A full date, with non-zero year, month, and day values. * A month
826
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
827
+ # with a zero month and a zero day. * A year and month, with a zero day (for
828
+ # example, a credit card expiration date). Related types: * google.type.
829
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
830
+ # Corresponds to the JSON property `singleOccurrenceDate`
831
+ # @return [Google::Apis::GkebackupV1::Date]
832
+ attr_accessor :single_occurrence_date
833
+
834
+ # Represents a time of day. The date and time zone are either not significant or
835
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
836
+ # types are google.type.Date and `google.protobuf.Timestamp`.
837
+ # Corresponds to the JSON property `startTime`
838
+ # @return [Google::Apis::GkebackupV1::TimeOfDay]
839
+ attr_accessor :start_time
840
+
841
+ def initialize(**args)
842
+ update!(**args)
843
+ end
844
+
845
+ # Update properties of this object
846
+ def update!(**args)
847
+ @daily = args[:daily] if args.key?(:daily)
848
+ @days_of_week = args[:days_of_week] if args.key?(:days_of_week)
849
+ @duration = args[:duration] if args.key?(:duration)
850
+ @single_occurrence_date = args[:single_occurrence_date] if args.key?(:single_occurrence_date)
851
+ @start_time = args[:start_time] if args.key?(:start_time)
852
+ end
853
+ end
854
+
721
855
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
722
856
  # CEL is a C-like expression language. The syntax and semantics of CEL are
723
857
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -772,6 +906,25 @@ module Google
772
906
  end
773
907
  end
774
908
 
909
+ # Response message for GetBackupIndexDownloadUrl.
910
+ class GetBackupIndexDownloadUrlResponse
911
+ include Google::Apis::Core::Hashable
912
+
913
+ #
914
+ # Corresponds to the JSON property `signedUrl`
915
+ # @return [String]
916
+ attr_accessor :signed_url
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @signed_url = args[:signed_url] if args.key?(:signed_url)
925
+ end
926
+ end
927
+
775
928
  # The request message for Operations.CancelOperation.
776
929
  class GoogleLongrunningCancelOperationRequest
777
930
  include Google::Apis::Core::Hashable
@@ -1840,6 +1993,41 @@ module Google
1840
1993
  end
1841
1994
  end
1842
1995
 
1996
+ # Defines RPO scheduling configuration for automatically creating Backups via
1997
+ # this BackupPlan.
1998
+ class RpoConfig
1999
+ include Google::Apis::Core::Hashable
2000
+
2001
+ # Optional. User specified time windows during which backup can NOT happen for
2002
+ # this BackupPlan - backups should start and finish outside of any given
2003
+ # exclusion window. Note: backup jobs will be scheduled to start and finish
2004
+ # outside the duration of the window as much as possible, but running jobs will
2005
+ # not get canceled when it runs into the window. All the time and date values in
2006
+ # exclusion_windows entry in the API are in UTC. We only allow <=1 recurrence (
2007
+ # daily or weekly) exclusion window for a BackupPlan while no restriction on
2008
+ # number of single occurrence windows.
2009
+ # Corresponds to the JSON property `exclusionWindows`
2010
+ # @return [Array<Google::Apis::GkebackupV1::ExclusionWindow>]
2011
+ attr_accessor :exclusion_windows
2012
+
2013
+ # Required. Defines the target RPO for the BackupPlan in minutes, which means
2014
+ # the target maximum data loss in time that is acceptable for this BackupPlan.
2015
+ # This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
2016
+ # Corresponds to the JSON property `targetRpoMinutes`
2017
+ # @return [Fixnum]
2018
+ attr_accessor :target_rpo_minutes
2019
+
2020
+ def initialize(**args)
2021
+ update!(**args)
2022
+ end
2023
+
2024
+ # Update properties of this object
2025
+ def update!(**args)
2026
+ @exclusion_windows = args[:exclusion_windows] if args.key?(:exclusion_windows)
2027
+ @target_rpo_minutes = args[:target_rpo_minutes] if args.key?(:target_rpo_minutes)
2028
+ end
2029
+ end
2030
+
1843
2031
  # Defines scheduling parameters for automatically creating Backups via this
1844
2032
  # BackupPlan.
1845
2033
  class Schedule
@@ -1854,6 +2042,12 @@ module Google
1854
2042
  # @return [String]
1855
2043
  attr_accessor :cron_schedule
1856
2044
 
2045
+ # Output only. Start time of next scheduled backup under this BackupPlan by
2046
+ # either cron_schedule or rpo config.
2047
+ # Corresponds to the JSON property `nextScheduledBackupTime`
2048
+ # @return [String]
2049
+ attr_accessor :next_scheduled_backup_time
2050
+
1857
2051
  # Optional. This flag denotes whether automatic Backup creation is paused for
1858
2052
  # this BackupPlan. Default: False
1859
2053
  # Corresponds to the JSON property `paused`
@@ -1861,6 +2055,12 @@ module Google
1861
2055
  attr_accessor :paused
1862
2056
  alias_method :paused?, :paused
1863
2057
 
2058
+ # Defines RPO scheduling configuration for automatically creating Backups via
2059
+ # this BackupPlan.
2060
+ # Corresponds to the JSON property `rpoConfig`
2061
+ # @return [Google::Apis::GkebackupV1::RpoConfig]
2062
+ attr_accessor :rpo_config
2063
+
1864
2064
  def initialize(**args)
1865
2065
  update!(**args)
1866
2066
  end
@@ -1868,7 +2068,9 @@ module Google
1868
2068
  # Update properties of this object
1869
2069
  def update!(**args)
1870
2070
  @cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule)
2071
+ @next_scheduled_backup_time = args[:next_scheduled_backup_time] if args.key?(:next_scheduled_backup_time)
1871
2072
  @paused = args[:paused] if args.key?(:paused)
2073
+ @rpo_config = args[:rpo_config] if args.key?(:rpo_config)
1872
2074
  end
1873
2075
  end
1874
2076
 
@@ -2032,6 +2234,47 @@ module Google
2032
2234
  end
2033
2235
  end
2034
2236
 
2237
+ # Represents a time of day. The date and time zone are either not significant or
2238
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
2239
+ # types are google.type.Date and `google.protobuf.Timestamp`.
2240
+ class TimeOfDay
2241
+ include Google::Apis::Core::Hashable
2242
+
2243
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
2244
+ # allow the value "24:00:00" for scenarios like business closing time.
2245
+ # Corresponds to the JSON property `hours`
2246
+ # @return [Fixnum]
2247
+ attr_accessor :hours
2248
+
2249
+ # Minutes of hour of day. Must be from 0 to 59.
2250
+ # Corresponds to the JSON property `minutes`
2251
+ # @return [Fixnum]
2252
+ attr_accessor :minutes
2253
+
2254
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2255
+ # Corresponds to the JSON property `nanos`
2256
+ # @return [Fixnum]
2257
+ attr_accessor :nanos
2258
+
2259
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2260
+ # allow the value 60 if it allows leap-seconds.
2261
+ # Corresponds to the JSON property `seconds`
2262
+ # @return [Fixnum]
2263
+ attr_accessor :seconds
2264
+
2265
+ def initialize(**args)
2266
+ update!(**args)
2267
+ end
2268
+
2269
+ # Update properties of this object
2270
+ def update!(**args)
2271
+ @hours = args[:hours] if args.key?(:hours)
2272
+ @minutes = args[:minutes] if args.key?(:minutes)
2273
+ @nanos = args[:nanos] if args.key?(:nanos)
2274
+ @seconds = args[:seconds] if args.key?(:seconds)
2275
+ end
2276
+ end
2277
+
2035
2278
  # A transformation rule to be applied against Kubernetes resources as they are
2036
2279
  # selected for restoration from a Backup. A rule contains both filtering logic (
2037
2280
  # which resources are subject to transform) and transformation logic.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkebackupV1
18
18
  # Version of the google-apis-gkebackup_v1 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240313"
25
+ REVISION = "20240320"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,18 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class Date
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DayOfWeekList
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class Empty
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -82,12 +94,24 @@ module Google
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class ExclusionWindow
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class Expr
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
88
106
  include Google::Apis::Core::JsonObjectSupport
89
107
  end
90
108
 
109
+ class GetBackupIndexDownloadUrlResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
91
115
  class GoogleLongrunningCancelOperationRequest
92
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
117
 
@@ -226,6 +250,12 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class RpoConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
229
259
  class Schedule
230
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
261
 
@@ -256,6 +286,12 @@ module Google
256
286
  include Google::Apis::Core::JsonObjectSupport
257
287
  end
258
288
 
289
+ class TimeOfDay
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
259
295
  class TransformationRule
260
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
297
 
@@ -366,6 +402,8 @@ module Google
366
402
  property :protected_pod_count, as: 'protectedPodCount'
367
403
  property :retention_policy, as: 'retentionPolicy', class: Google::Apis::GkebackupV1::RetentionPolicy, decorator: Google::Apis::GkebackupV1::RetentionPolicy::Representation
368
404
 
405
+ property :rpo_risk_level, as: 'rpoRiskLevel'
406
+ property :rpo_risk_reason, as: 'rpoRiskReason'
369
407
  property :state, as: 'state'
370
408
  property :state_reason, as: 'stateReason'
371
409
  property :uid, as: 'uid'
@@ -406,6 +444,22 @@ module Google
406
444
  end
407
445
  end
408
446
 
447
+ class Date
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ property :day, as: 'day'
451
+ property :month, as: 'month'
452
+ property :year, as: 'year'
453
+ end
454
+ end
455
+
456
+ class DayOfWeekList
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ collection :days_of_week, as: 'daysOfWeek'
460
+ end
461
+ end
462
+
409
463
  class Empty
410
464
  # @private
411
465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -419,6 +473,20 @@ module Google
419
473
  end
420
474
  end
421
475
 
476
+ class ExclusionWindow
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :daily, as: 'daily'
480
+ property :days_of_week, as: 'daysOfWeek', class: Google::Apis::GkebackupV1::DayOfWeekList, decorator: Google::Apis::GkebackupV1::DayOfWeekList::Representation
481
+
482
+ property :duration, as: 'duration'
483
+ property :single_occurrence_date, as: 'singleOccurrenceDate', class: Google::Apis::GkebackupV1::Date, decorator: Google::Apis::GkebackupV1::Date::Representation
484
+
485
+ property :start_time, as: 'startTime', class: Google::Apis::GkebackupV1::TimeOfDay, decorator: Google::Apis::GkebackupV1::TimeOfDay::Representation
486
+
487
+ end
488
+ end
489
+
422
490
  class Expr
423
491
  # @private
424
492
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -429,6 +497,13 @@ module Google
429
497
  end
430
498
  end
431
499
 
500
+ class GetBackupIndexDownloadUrlResponse
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :signed_url, as: 'signedUrl'
504
+ end
505
+ end
506
+
432
507
  class GoogleLongrunningCancelOperationRequest
433
508
  # @private
434
509
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -683,11 +758,23 @@ module Google
683
758
  end
684
759
  end
685
760
 
761
+ class RpoConfig
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ collection :exclusion_windows, as: 'exclusionWindows', class: Google::Apis::GkebackupV1::ExclusionWindow, decorator: Google::Apis::GkebackupV1::ExclusionWindow::Representation
765
+
766
+ property :target_rpo_minutes, as: 'targetRpoMinutes'
767
+ end
768
+ end
769
+
686
770
  class Schedule
687
771
  # @private
688
772
  class Representation < Google::Apis::Core::JsonRepresentation
689
773
  property :cron_schedule, as: 'cronSchedule'
774
+ property :next_scheduled_backup_time, as: 'nextScheduledBackupTime'
690
775
  property :paused, as: 'paused'
776
+ property :rpo_config, as: 'rpoConfig', class: Google::Apis::GkebackupV1::RpoConfig, decorator: Google::Apis::GkebackupV1::RpoConfig::Representation
777
+
691
778
  end
692
779
  end
693
780
 
@@ -726,6 +813,16 @@ module Google
726
813
  end
727
814
  end
728
815
 
816
+ class TimeOfDay
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :hours, as: 'hours'
820
+ property :minutes, as: 'minutes'
821
+ property :nanos, as: 'nanos'
822
+ property :seconds, as: 'seconds'
823
+ end
824
+ end
825
+
729
826
  class TransformationRule
730
827
  # @private
731
828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -559,6 +559,37 @@ module Google
559
559
  execute_or_queue_command(command, &block)
560
560
  end
561
561
 
562
+ # Retrieve the link to the backupIndex.
563
+ # @param [String] backup
564
+ # Required. Full name of Backup resource. Format: projects/`project`/locations/`
565
+ # location`/backupPlans/`backup_plan`/backups/`backup`
566
+ # @param [String] fields
567
+ # Selector specifying which fields to include in a partial response.
568
+ # @param [String] quota_user
569
+ # Available to use for quota purposes for server-side applications. Can be any
570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
571
+ # @param [Google::Apis::RequestOptions] options
572
+ # Request-specific options
573
+ #
574
+ # @yield [result, err] Result & error if block supplied
575
+ # @yieldparam result [Google::Apis::GkebackupV1::GetBackupIndexDownloadUrlResponse] parsed result object
576
+ # @yieldparam err [StandardError] error object if request failed
577
+ #
578
+ # @return [Google::Apis::GkebackupV1::GetBackupIndexDownloadUrlResponse]
579
+ #
580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
583
+ def get_project_location_backup_plan_backup_backup_index_download_url(backup, fields: nil, quota_user: nil, options: nil, &block)
584
+ command = make_simple_command(:get, 'v1/{+backup}:getBackupIndexDownloadUrl', options)
585
+ command.response_representation = Google::Apis::GkebackupV1::GetBackupIndexDownloadUrlResponse::Representation
586
+ command.response_class = Google::Apis::GkebackupV1::GetBackupIndexDownloadUrlResponse
587
+ command.params['backup'] = backup unless backup.nil?
588
+ command.query['fields'] = fields unless fields.nil?
589
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
590
+ execute_or_queue_command(command, &block)
591
+ end
592
+
562
593
  # Gets the access control policy for a resource. Returns an empty policy if the
563
594
  # resource exists and does not have a policy set.
564
595
  # @param [String] resource
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkebackup_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-31 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/main/generated/google-apis-gkebackup_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1
63
63
  post_install_message:
64
64
  rdoc_options: []