google-apis-gkebackup_v1 0.30.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8046d413d05362b8b1e8030a8645d5c624c500ca1b13ccfdf7b1589c8fca4c1
|
4
|
+
data.tar.gz: 1f7c4eee2d4b1ac39aa2422172190802fca37a812b99fabc0bc8a4b74b590497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d0ab002401d47b68c52beb648ec66a6f6549cfd809bdf135379f602fe52052cb886a7cd09d16f62c180833090509bd38b854cff3efcaf1081e590039f6aeee
|
7
|
+
data.tar.gz: 552145003cc4010b561728376119de86bd7f0652c6555f580777209aaf8ec7498de547f16cf9697a56ddb669c4f781f20ffb6ee2355ad3b1af1ea5149a6592da
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkebackup_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2024-04-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240410
|
6
|
+
|
7
|
+
### v0.31.0 (2024-03-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240320
|
10
|
+
|
3
11
|
### v0.30.0 (2024-03-24)
|
4
12
|
|
5
13
|
* 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,67 @@ 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. Duration must be >= 5 minutes and <
|
813
|
+
# (target RPO - 20 minutes). Additional restrictions based on the recurrence
|
814
|
+
# type to allow some time for backup to happen: - single_occurrence_date: no
|
815
|
+
# restriction, but UI may warn about this when duration >= target RPO - daily
|
816
|
+
# window: duration < 24 hours - weekly window: - days of week includes all seven
|
817
|
+
# days of a week: duration < 24 hours - all other weekly window: duration < 168
|
818
|
+
# hours (i.e., 24 * 7 hours)
|
819
|
+
# Corresponds to the JSON property `duration`
|
820
|
+
# @return [String]
|
821
|
+
attr_accessor :duration
|
822
|
+
|
823
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
824
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
825
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
826
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
827
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
828
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
829
|
+
# example, a credit card expiration date). Related types: * google.type.
|
830
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
831
|
+
# Corresponds to the JSON property `singleOccurrenceDate`
|
832
|
+
# @return [Google::Apis::GkebackupV1::Date]
|
833
|
+
attr_accessor :single_occurrence_date
|
834
|
+
|
835
|
+
# Represents a time of day. The date and time zone are either not significant or
|
836
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
837
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
838
|
+
# Corresponds to the JSON property `startTime`
|
839
|
+
# @return [Google::Apis::GkebackupV1::TimeOfDay]
|
840
|
+
attr_accessor :start_time
|
841
|
+
|
842
|
+
def initialize(**args)
|
843
|
+
update!(**args)
|
844
|
+
end
|
845
|
+
|
846
|
+
# Update properties of this object
|
847
|
+
def update!(**args)
|
848
|
+
@daily = args[:daily] if args.key?(:daily)
|
849
|
+
@days_of_week = args[:days_of_week] if args.key?(:days_of_week)
|
850
|
+
@duration = args[:duration] if args.key?(:duration)
|
851
|
+
@single_occurrence_date = args[:single_occurrence_date] if args.key?(:single_occurrence_date)
|
852
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
721
856
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
722
857
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
723
858
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -772,6 +907,25 @@ module Google
|
|
772
907
|
end
|
773
908
|
end
|
774
909
|
|
910
|
+
# Response message for GetBackupIndexDownloadUrl.
|
911
|
+
class GetBackupIndexDownloadUrlResponse
|
912
|
+
include Google::Apis::Core::Hashable
|
913
|
+
|
914
|
+
#
|
915
|
+
# Corresponds to the JSON property `signedUrl`
|
916
|
+
# @return [String]
|
917
|
+
attr_accessor :signed_url
|
918
|
+
|
919
|
+
def initialize(**args)
|
920
|
+
update!(**args)
|
921
|
+
end
|
922
|
+
|
923
|
+
# Update properties of this object
|
924
|
+
def update!(**args)
|
925
|
+
@signed_url = args[:signed_url] if args.key?(:signed_url)
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
775
929
|
# The request message for Operations.CancelOperation.
|
776
930
|
class GoogleLongrunningCancelOperationRequest
|
777
931
|
include Google::Apis::Core::Hashable
|
@@ -1840,6 +1994,41 @@ module Google
|
|
1840
1994
|
end
|
1841
1995
|
end
|
1842
1996
|
|
1997
|
+
# Defines RPO scheduling configuration for automatically creating Backups via
|
1998
|
+
# this BackupPlan.
|
1999
|
+
class RpoConfig
|
2000
|
+
include Google::Apis::Core::Hashable
|
2001
|
+
|
2002
|
+
# Optional. User specified time windows during which backup can NOT happen for
|
2003
|
+
# this BackupPlan - backups should start and finish outside of any given
|
2004
|
+
# exclusion window. Note: backup jobs will be scheduled to start and finish
|
2005
|
+
# outside the duration of the window as much as possible, but running jobs will
|
2006
|
+
# not get canceled when it runs into the window. All the time and date values in
|
2007
|
+
# exclusion_windows entry in the API are in UTC. We only allow <=1 recurrence (
|
2008
|
+
# daily or weekly) exclusion window for a BackupPlan while no restriction on
|
2009
|
+
# number of single occurrence windows.
|
2010
|
+
# Corresponds to the JSON property `exclusionWindows`
|
2011
|
+
# @return [Array<Google::Apis::GkebackupV1::ExclusionWindow>]
|
2012
|
+
attr_accessor :exclusion_windows
|
2013
|
+
|
2014
|
+
# Required. Defines the target RPO for the BackupPlan in minutes, which means
|
2015
|
+
# the target maximum data loss in time that is acceptable for this BackupPlan.
|
2016
|
+
# This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
|
2017
|
+
# Corresponds to the JSON property `targetRpoMinutes`
|
2018
|
+
# @return [Fixnum]
|
2019
|
+
attr_accessor :target_rpo_minutes
|
2020
|
+
|
2021
|
+
def initialize(**args)
|
2022
|
+
update!(**args)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Update properties of this object
|
2026
|
+
def update!(**args)
|
2027
|
+
@exclusion_windows = args[:exclusion_windows] if args.key?(:exclusion_windows)
|
2028
|
+
@target_rpo_minutes = args[:target_rpo_minutes] if args.key?(:target_rpo_minutes)
|
2029
|
+
end
|
2030
|
+
end
|
2031
|
+
|
1843
2032
|
# Defines scheduling parameters for automatically creating Backups via this
|
1844
2033
|
# BackupPlan.
|
1845
2034
|
class Schedule
|
@@ -1854,6 +2043,12 @@ module Google
|
|
1854
2043
|
# @return [String]
|
1855
2044
|
attr_accessor :cron_schedule
|
1856
2045
|
|
2046
|
+
# Output only. Start time of next scheduled backup under this BackupPlan by
|
2047
|
+
# either cron_schedule or rpo config.
|
2048
|
+
# Corresponds to the JSON property `nextScheduledBackupTime`
|
2049
|
+
# @return [String]
|
2050
|
+
attr_accessor :next_scheduled_backup_time
|
2051
|
+
|
1857
2052
|
# Optional. This flag denotes whether automatic Backup creation is paused for
|
1858
2053
|
# this BackupPlan. Default: False
|
1859
2054
|
# Corresponds to the JSON property `paused`
|
@@ -1861,6 +2056,12 @@ module Google
|
|
1861
2056
|
attr_accessor :paused
|
1862
2057
|
alias_method :paused?, :paused
|
1863
2058
|
|
2059
|
+
# Defines RPO scheduling configuration for automatically creating Backups via
|
2060
|
+
# this BackupPlan.
|
2061
|
+
# Corresponds to the JSON property `rpoConfig`
|
2062
|
+
# @return [Google::Apis::GkebackupV1::RpoConfig]
|
2063
|
+
attr_accessor :rpo_config
|
2064
|
+
|
1864
2065
|
def initialize(**args)
|
1865
2066
|
update!(**args)
|
1866
2067
|
end
|
@@ -1868,7 +2069,9 @@ module Google
|
|
1868
2069
|
# Update properties of this object
|
1869
2070
|
def update!(**args)
|
1870
2071
|
@cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule)
|
2072
|
+
@next_scheduled_backup_time = args[:next_scheduled_backup_time] if args.key?(:next_scheduled_backup_time)
|
1871
2073
|
@paused = args[:paused] if args.key?(:paused)
|
2074
|
+
@rpo_config = args[:rpo_config] if args.key?(:rpo_config)
|
1872
2075
|
end
|
1873
2076
|
end
|
1874
2077
|
|
@@ -2032,6 +2235,47 @@ module Google
|
|
2032
2235
|
end
|
2033
2236
|
end
|
2034
2237
|
|
2238
|
+
# Represents a time of day. The date and time zone are either not significant or
|
2239
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2240
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
2241
|
+
class TimeOfDay
|
2242
|
+
include Google::Apis::Core::Hashable
|
2243
|
+
|
2244
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
2245
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
2246
|
+
# Corresponds to the JSON property `hours`
|
2247
|
+
# @return [Fixnum]
|
2248
|
+
attr_accessor :hours
|
2249
|
+
|
2250
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
2251
|
+
# Corresponds to the JSON property `minutes`
|
2252
|
+
# @return [Fixnum]
|
2253
|
+
attr_accessor :minutes
|
2254
|
+
|
2255
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
2256
|
+
# Corresponds to the JSON property `nanos`
|
2257
|
+
# @return [Fixnum]
|
2258
|
+
attr_accessor :nanos
|
2259
|
+
|
2260
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
2261
|
+
# allow the value 60 if it allows leap-seconds.
|
2262
|
+
# Corresponds to the JSON property `seconds`
|
2263
|
+
# @return [Fixnum]
|
2264
|
+
attr_accessor :seconds
|
2265
|
+
|
2266
|
+
def initialize(**args)
|
2267
|
+
update!(**args)
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# Update properties of this object
|
2271
|
+
def update!(**args)
|
2272
|
+
@hours = args[:hours] if args.key?(:hours)
|
2273
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
2274
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
2275
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
2276
|
+
end
|
2277
|
+
end
|
2278
|
+
|
2035
2279
|
# A transformation rule to be applied against Kubernetes resources as they are
|
2036
2280
|
# selected for restoration from a Backup. A rule contains both filtering logic (
|
2037
2281
|
# 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.
|
19
|
+
GEM_VERSION = "0.32.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 = "
|
25
|
+
REVISION = "20240410"
|
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.
|
4
|
+
version: 0.32.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-
|
11
|
+
date: 2024-04-21 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.32.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: []
|