google-apis-gkebackup_v1 0.17.0 → 0.19.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: c472371d302703c8366079e78b298c106a581a4251d3f1ece2b26bc1d05b0e73
4
- data.tar.gz: c6fb4fd7cf5633cfad4d64b2710b761e70efa6d958b40990fc7546c4289b563f
3
+ metadata.gz: e75c3c51954f5f624bffec48912a1834cb97d56cd3aed93b821df688249813ed
4
+ data.tar.gz: a3307d035c82e135ff0989f24cf91029cd2ededd1dfaf7cfe3571817deb93fe5
5
5
  SHA512:
6
- metadata.gz: a1d35a068de59a51fbb5198cf0734be7a02c38d89603c7aca9d4be3d044431d851e1b44e11ed00b95665e84b1696795cb619691a14588cfe9d6e83f7bfcd4ee7
7
- data.tar.gz: 91ae05a1299c9fac32628e2e94696f4fc400923559cd4eeececb03d1146e5c251a262e1a4359d3c9b4281eab78ed8fef70604107a5ead5913e4bb01bb254cf32
6
+ metadata.gz: 85d3121baa916c59f7cd01c8dd52f0024fba43e023dd8d82d08b257fd0241b640033c230da92fb7ce8b16974bf639e0a5adebe99777865ff9d48aaa46c00194f
7
+ data.tar.gz: 1d25276aad0f89d309b649ba1cdea53d820e6c2803e1a7abb671e71026a12699f001138083fa23f1ba5e5db68f930d65bbd8c4a9d5efe80bc9e9407d0bd469c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.19.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230705
6
+
7
+ ### v0.18.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.17.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230503
@@ -96,7 +96,7 @@ module Google
96
96
  # Represents a request to perform a single point-in-time capture of some portion
97
97
  # of the state of a GKE cluster, the record of the backup operation itself, and
98
98
  # an anchor for the underlying artifacts that comprise the Backup (the config
99
- # backup and VolumeBackups). Next id: 28
99
+ # backup and VolumeBackups). Next id: 29
100
100
  class Backup
101
101
  include Google::Apis::Core::Hashable
102
102
 
@@ -365,8 +365,8 @@ module Google
365
365
  # @return [Google::Apis::GkebackupV1::BackupConfig]
366
366
  attr_accessor :backup_config
367
367
 
368
- # Schedule defines scheduling parameters for automatically creating Backups via
369
- # this BackupPlan.
368
+ # Defines scheduling parameters for automatically creating Backups via this
369
+ # BackupPlan.
370
370
  # Corresponds to the JSON property `backupSchedule`
371
371
  # @return [Google::Apis::GkebackupV1::Schedule]
372
372
  attr_accessor :backup_schedule
@@ -432,6 +432,19 @@ module Google
432
432
  # @return [Google::Apis::GkebackupV1::RetentionPolicy]
433
433
  attr_accessor :retention_policy
434
434
 
435
+ # Output only. State of the BackupPlan. This State field reflects the various
436
+ # stages a BackupPlan can be in during the Create operation. It will be set to "
437
+ # DEACTIVATED" if the BackupPlan is deactivated on an Update
438
+ # Corresponds to the JSON property `state`
439
+ # @return [String]
440
+ attr_accessor :state
441
+
442
+ # Output only. Human-readable description of why BackupPlan is in the current `
443
+ # state`
444
+ # Corresponds to the JSON property `stateReason`
445
+ # @return [String]
446
+ attr_accessor :state_reason
447
+
435
448
  # Output only. Server generated global unique identifier of [UUID](https://en.
436
449
  # wikipedia.org/wiki/Universally_unique_identifier) format.
437
450
  # Corresponds to the JSON property `uid`
@@ -460,6 +473,8 @@ module Google
460
473
  @name = args[:name] if args.key?(:name)
461
474
  @protected_pod_count = args[:protected_pod_count] if args.key?(:protected_pod_count)
462
475
  @retention_policy = args[:retention_policy] if args.key?(:retention_policy)
476
+ @state = args[:state] if args.key?(:state)
477
+ @state_reason = args[:state_reason] if args.key?(:state_reason)
463
478
  @uid = args[:uid] if args.key?(:uid)
464
479
  @update_time = args[:update_time] if args.key?(:update_time)
465
480
  end
@@ -598,6 +613,29 @@ module Google
598
613
  class ClusterResourceRestoreScope
599
614
  include Google::Apis::Core::Hashable
600
615
 
616
+ # If True, all valid cluster-scoped resources will be restored. Mutually
617
+ # exclusive to any other field in the message.
618
+ # Corresponds to the JSON property `allGroupKinds`
619
+ # @return [Boolean]
620
+ attr_accessor :all_group_kinds
621
+ alias_method :all_group_kinds?, :all_group_kinds
622
+
623
+ # A list of cluster-scoped resource group kinds to NOT restore from the backup.
624
+ # If specified, all valid cluster-scoped resources will be restored except for
625
+ # those specified in the list. Mutually exclusive to any other field in the
626
+ # message.
627
+ # Corresponds to the JSON property `excludedGroupKinds`
628
+ # @return [Array<Google::Apis::GkebackupV1::GroupKind>]
629
+ attr_accessor :excluded_group_kinds
630
+
631
+ # If True, no cluster-scoped resources will be restored. This has the same
632
+ # restore scope as if the message is not defined. Mutually exclusive to any
633
+ # other field in the message.
634
+ # Corresponds to the JSON property `noGroupKinds`
635
+ # @return [Boolean]
636
+ attr_accessor :no_group_kinds
637
+ alias_method :no_group_kinds?, :no_group_kinds
638
+
601
639
  # A list of cluster-scoped resource group kinds to restore from the backup. If
602
640
  # specified, only the selected resources will be restored. Mutually exclusive to
603
641
  # any other field in the message.
@@ -611,6 +649,9 @@ module Google
611
649
 
612
650
  # Update properties of this object
613
651
  def update!(**args)
652
+ @all_group_kinds = args[:all_group_kinds] if args.key?(:all_group_kinds)
653
+ @excluded_group_kinds = args[:excluded_group_kinds] if args.key?(:excluded_group_kinds)
654
+ @no_group_kinds = args[:no_group_kinds] if args.key?(:no_group_kinds)
614
655
  @selected_group_kinds = args[:selected_group_kinds] if args.key?(:selected_group_kinds)
615
656
  end
616
657
  end
@@ -1343,6 +1384,50 @@ module Google
1343
1384
  end
1344
1385
  end
1345
1386
 
1387
+ # ResourceFilter specifies matching criteria to limit the scope of a change to a
1388
+ # specific set of kubernetes resources that are selected for restoration from a
1389
+ # backup.
1390
+ class ResourceFilter
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ # (Filtering parameter) Any resource subject to transformation must belong to
1394
+ # one of the listed "types". If this field is not provided, no type filtering
1395
+ # will be performed (all resources of all types matching previous filtering
1396
+ # parameters will be candidates for transformation).
1397
+ # Corresponds to the JSON property `groupKinds`
1398
+ # @return [Array<Google::Apis::GkebackupV1::GroupKind>]
1399
+ attr_accessor :group_kinds
1400
+
1401
+ # This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.
1402
+ # md) expression that matches specific fields of candidate resources and it
1403
+ # operates as a filtering parameter (resources that are not matched with this
1404
+ # expression will not be candidates for transformation).
1405
+ # Corresponds to the JSON property `jsonPath`
1406
+ # @return [String]
1407
+ attr_accessor :json_path
1408
+
1409
+ # (Filtering parameter) Any resource subject to transformation must be contained
1410
+ # within one of the listed Kubernetes Namespace in the Backup. If this field is
1411
+ # not provided, no namespace filtering will be performed (all resources in all
1412
+ # Namespaces, including all cluster-scoped resources, will be candidates for
1413
+ # transformation). To mix cluster-scoped and namespaced resources in the same
1414
+ # rule, use an empty string ("") as one of the target namespaces.
1415
+ # Corresponds to the JSON property `namespaces`
1416
+ # @return [Array<String>]
1417
+ attr_accessor :namespaces
1418
+
1419
+ def initialize(**args)
1420
+ update!(**args)
1421
+ end
1422
+
1423
+ # Update properties of this object
1424
+ def update!(**args)
1425
+ @group_kinds = args[:group_kinds] if args.key?(:group_kinds)
1426
+ @json_path = args[:json_path] if args.key?(:json_path)
1427
+ @namespaces = args[:namespaces] if args.key?(:namespaces)
1428
+ end
1429
+ end
1430
+
1346
1431
  # Represents both a request to Restore some portion of a Backup into a target
1347
1432
  # GKE cluster and a record of the restore operation itself. Next id: 18
1348
1433
  class Restore
@@ -1506,6 +1591,11 @@ module Google
1506
1591
  # @return [Google::Apis::GkebackupV1::ClusterResourceRestoreScope]
1507
1592
  attr_accessor :cluster_resource_restore_scope
1508
1593
 
1594
+ # A list of Kubernetes Namespaces
1595
+ # Corresponds to the JSON property `excludedNamespaces`
1596
+ # @return [Google::Apis::GkebackupV1::Namespaces]
1597
+ attr_accessor :excluded_namespaces
1598
+
1509
1599
  # Defines the behavior for handling the situation where sets of namespaced
1510
1600
  # resources being restored already exist in the target cluster. This MUST be set
1511
1601
  # to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
@@ -1513,6 +1603,13 @@ module Google
1513
1603
  # @return [String]
1514
1604
  attr_accessor :namespaced_resource_restore_mode
1515
1605
 
1606
+ # Do not restore any namespaced resources if set to "True". Specifying this
1607
+ # field to "False" is not allowed.
1608
+ # Corresponds to the JSON property `noNamespaces`
1609
+ # @return [Boolean]
1610
+ attr_accessor :no_namespaces
1611
+ alias_method :no_namespaces?, :no_namespaces
1612
+
1516
1613
  # A list of namespaced Kubernetes resources.
1517
1614
  # Corresponds to the JSON property `selectedApplications`
1518
1615
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
@@ -1532,6 +1629,15 @@ module Google
1532
1629
  # @return [Array<Google::Apis::GkebackupV1::SubstitutionRule>]
1533
1630
  attr_accessor :substitution_rules
1534
1631
 
1632
+ # A list of transformation rules to be applied against Kubernetes resources as
1633
+ # they are selected for restoration from a Backup. Rules are executed in order
1634
+ # defined - this order matters, as changes made by a rule may impact the
1635
+ # filtering logic of subsequent rules. An empty list means no transformation
1636
+ # will occur.
1637
+ # Corresponds to the JSON property `transformationRules`
1638
+ # @return [Array<Google::Apis::GkebackupV1::TransformationRule>]
1639
+ attr_accessor :transformation_rules
1640
+
1535
1641
  # Specifies the mechanism to be used to restore volume data. Default:
1536
1642
  # VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as
1537
1643
  # NO_VOLUME_DATA_RESTORATION).
@@ -1548,10 +1654,13 @@ module Google
1548
1654
  @all_namespaces = args[:all_namespaces] if args.key?(:all_namespaces)
1549
1655
  @cluster_resource_conflict_policy = args[:cluster_resource_conflict_policy] if args.key?(:cluster_resource_conflict_policy)
1550
1656
  @cluster_resource_restore_scope = args[:cluster_resource_restore_scope] if args.key?(:cluster_resource_restore_scope)
1657
+ @excluded_namespaces = args[:excluded_namespaces] if args.key?(:excluded_namespaces)
1551
1658
  @namespaced_resource_restore_mode = args[:namespaced_resource_restore_mode] if args.key?(:namespaced_resource_restore_mode)
1659
+ @no_namespaces = args[:no_namespaces] if args.key?(:no_namespaces)
1552
1660
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
1553
1661
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
1554
1662
  @substitution_rules = args[:substitution_rules] if args.key?(:substitution_rules)
1663
+ @transformation_rules = args[:transformation_rules] if args.key?(:transformation_rules)
1555
1664
  @volume_data_restore_policy = args[:volume_data_restore_policy] if args.key?(:volume_data_restore_policy)
1556
1665
  end
1557
1666
  end
@@ -1614,6 +1723,18 @@ module Google
1614
1723
  # @return [Google::Apis::GkebackupV1::RestoreConfig]
1615
1724
  attr_accessor :restore_config
1616
1725
 
1726
+ # Output only. State of the RestorePlan. This State field reflects the various
1727
+ # stages a RestorePlan can be in during the Create operation.
1728
+ # Corresponds to the JSON property `state`
1729
+ # @return [String]
1730
+ attr_accessor :state
1731
+
1732
+ # Output only. Human-readable description of why RestorePlan is in the current `
1733
+ # state`
1734
+ # Corresponds to the JSON property `stateReason`
1735
+ # @return [String]
1736
+ attr_accessor :state_reason
1737
+
1617
1738
  # Output only. Server generated global unique identifier of [UUID](https://en.
1618
1739
  # wikipedia.org/wiki/Universally_unique_identifier) format.
1619
1740
  # Corresponds to the JSON property `uid`
@@ -1639,6 +1760,8 @@ module Google
1639
1760
  @labels = args[:labels] if args.key?(:labels)
1640
1761
  @name = args[:name] if args.key?(:name)
1641
1762
  @restore_config = args[:restore_config] if args.key?(:restore_config)
1763
+ @state = args[:state] if args.key?(:state)
1764
+ @state_reason = args[:state_reason] if args.key?(:state_reason)
1642
1765
  @uid = args[:uid] if args.key?(:uid)
1643
1766
  @update_time = args[:update_time] if args.key?(:update_time)
1644
1767
  end
@@ -1691,15 +1814,16 @@ module Google
1691
1814
  end
1692
1815
  end
1693
1816
 
1694
- # Schedule defines scheduling parameters for automatically creating Backups via
1695
- # this BackupPlan.
1817
+ # Defines scheduling parameters for automatically creating Backups via this
1818
+ # BackupPlan.
1696
1819
  class Schedule
1697
1820
  include Google::Apis::Core::Hashable
1698
1821
 
1699
1822
  # A standard [cron](https://wikipedia.com/wiki/cron) string that defines a
1700
- # repeating schedule for creating Backups via this BackupPlan. If this is
1701
- # defined, then backup_retain_days must also be defined. Default (empty): no
1702
- # automatic backup creation will occur.
1823
+ # repeating schedule for creating Backups via this BackupPlan. This is mutually
1824
+ # exclusive with the rpo_config field since at most one schedule can be defined
1825
+ # for a BackupPlan. If this is defined, then backup_retain_days must also be
1826
+ # defined. Default (empty): no automatic backup creation will occur.
1703
1827
  # Corresponds to the JSON property `cronSchedule`
1704
1828
  # @return [String]
1705
1829
  attr_accessor :cron_schedule
@@ -1882,6 +2006,86 @@ module Google
1882
2006
  end
1883
2007
  end
1884
2008
 
2009
+ # A transformation rule to be applied against Kubernetes resources as they are
2010
+ # selected for restoration from a Backup. A rule contains both filtering logic (
2011
+ # which resources are subject to transform) and transformation logic.
2012
+ class TransformationRule
2013
+ include Google::Apis::Core::Hashable
2014
+
2015
+ # The description is a user specified string description of the transformation
2016
+ # rule.
2017
+ # Corresponds to the JSON property `description`
2018
+ # @return [String]
2019
+ attr_accessor :description
2020
+
2021
+ # Required. A list of transformation rule actions to take against candidate
2022
+ # resources. Actions are executed in order defined - this order matters, as they
2023
+ # could potentially interfere with each other and the first operation could
2024
+ # affect the outcome of the second operation.
2025
+ # Corresponds to the JSON property `fieldActions`
2026
+ # @return [Array<Google::Apis::GkebackupV1::TransformationRuleAction>]
2027
+ attr_accessor :field_actions
2028
+
2029
+ # ResourceFilter specifies matching criteria to limit the scope of a change to a
2030
+ # specific set of kubernetes resources that are selected for restoration from a
2031
+ # backup.
2032
+ # Corresponds to the JSON property `resourceFilter`
2033
+ # @return [Google::Apis::GkebackupV1::ResourceFilter]
2034
+ attr_accessor :resource_filter
2035
+
2036
+ def initialize(**args)
2037
+ update!(**args)
2038
+ end
2039
+
2040
+ # Update properties of this object
2041
+ def update!(**args)
2042
+ @description = args[:description] if args.key?(:description)
2043
+ @field_actions = args[:field_actions] if args.key?(:field_actions)
2044
+ @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
2045
+ end
2046
+ end
2047
+
2048
+ # TransformationRuleAction defines a TransformationRule action based on the JSON
2049
+ # Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)
2050
+ class TransformationRuleAction
2051
+ include Google::Apis::Core::Hashable
2052
+
2053
+ # A string containing a JSON Pointer value that references the location in the
2054
+ # target document to move the value from.
2055
+ # Corresponds to the JSON property `fromPath`
2056
+ # @return [String]
2057
+ attr_accessor :from_path
2058
+
2059
+ # Required. op specifies the operation to perform.
2060
+ # Corresponds to the JSON property `op`
2061
+ # @return [String]
2062
+ attr_accessor :op
2063
+
2064
+ # A string containing a JSON-Pointer value that references a location within the
2065
+ # target document where the operation is performed.
2066
+ # Corresponds to the JSON property `path`
2067
+ # @return [String]
2068
+ attr_accessor :path
2069
+
2070
+ # A string that specifies the desired value in string format to use for
2071
+ # transformation.
2072
+ # Corresponds to the JSON property `value`
2073
+ # @return [String]
2074
+ attr_accessor :value
2075
+
2076
+ def initialize(**args)
2077
+ update!(**args)
2078
+ end
2079
+
2080
+ # Update properties of this object
2081
+ def update!(**args)
2082
+ @from_path = args[:from_path] if args.key?(:from_path)
2083
+ @op = args[:op] if args.key?(:op)
2084
+ @path = args[:path] if args.key?(:path)
2085
+ @value = args[:value] if args.key?(:value)
2086
+ end
2087
+ end
2088
+
1885
2089
  # Represents the backup of a specific persistent volume as a component of a
1886
2090
  # Backup - both the record of the operation and a pointer to the underlying
1887
2091
  # storage-specific artifacts. Next id: 14
@@ -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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230503"
25
+ REVISION = "20230705"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class ResourceFilter
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class Restore
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -250,6 +256,18 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class TransformationRule
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class TransformationRuleAction
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
253
271
  class VolumeBackup
254
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
273
 
@@ -348,6 +366,8 @@ module Google
348
366
  property :protected_pod_count, as: 'protectedPodCount'
349
367
  property :retention_policy, as: 'retentionPolicy', class: Google::Apis::GkebackupV1::RetentionPolicy, decorator: Google::Apis::GkebackupV1::RetentionPolicy::Representation
350
368
 
369
+ property :state, as: 'state'
370
+ property :state_reason, as: 'stateReason'
351
371
  property :uid, as: 'uid'
352
372
  property :update_time, as: 'updateTime'
353
373
  end
@@ -377,6 +397,10 @@ module Google
377
397
  class ClusterResourceRestoreScope
378
398
  # @private
379
399
  class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :all_group_kinds, as: 'allGroupKinds'
401
+ collection :excluded_group_kinds, as: 'excludedGroupKinds', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
402
+
403
+ property :no_group_kinds, as: 'noGroupKinds'
380
404
  collection :selected_group_kinds, as: 'selectedGroupKinds', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
381
405
 
382
406
  end
@@ -574,6 +598,16 @@ module Google
574
598
  end
575
599
  end
576
600
 
601
+ class ResourceFilter
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ collection :group_kinds, as: 'groupKinds', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
605
+
606
+ property :json_path, as: 'jsonPath'
607
+ collection :namespaces, as: 'namespaces'
608
+ end
609
+ end
610
+
577
611
  class Restore
578
612
  # @private
579
613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -605,13 +639,18 @@ module Google
605
639
  property :cluster_resource_conflict_policy, as: 'clusterResourceConflictPolicy'
606
640
  property :cluster_resource_restore_scope, as: 'clusterResourceRestoreScope', class: Google::Apis::GkebackupV1::ClusterResourceRestoreScope, decorator: Google::Apis::GkebackupV1::ClusterResourceRestoreScope::Representation
607
641
 
642
+ property :excluded_namespaces, as: 'excludedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
643
+
608
644
  property :namespaced_resource_restore_mode, as: 'namespacedResourceRestoreMode'
645
+ property :no_namespaces, as: 'noNamespaces'
609
646
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
610
647
 
611
648
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
612
649
 
613
650
  collection :substitution_rules, as: 'substitutionRules', class: Google::Apis::GkebackupV1::SubstitutionRule, decorator: Google::Apis::GkebackupV1::SubstitutionRule::Representation
614
651
 
652
+ collection :transformation_rules, as: 'transformationRules', class: Google::Apis::GkebackupV1::TransformationRule, decorator: Google::Apis::GkebackupV1::TransformationRule::Representation
653
+
615
654
  property :volume_data_restore_policy, as: 'volumeDataRestorePolicy'
616
655
  end
617
656
  end
@@ -628,6 +667,8 @@ module Google
628
667
  property :name, as: 'name'
629
668
  property :restore_config, as: 'restoreConfig', class: Google::Apis::GkebackupV1::RestoreConfig, decorator: Google::Apis::GkebackupV1::RestoreConfig::Representation
630
669
 
670
+ property :state, as: 'state'
671
+ property :state_reason, as: 'stateReason'
631
672
  property :uid, as: 'uid'
632
673
  property :update_time, as: 'updateTime'
633
674
  end
@@ -685,6 +726,27 @@ module Google
685
726
  end
686
727
  end
687
728
 
729
+ class TransformationRule
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :description, as: 'description'
733
+ collection :field_actions, as: 'fieldActions', class: Google::Apis::GkebackupV1::TransformationRuleAction, decorator: Google::Apis::GkebackupV1::TransformationRuleAction::Representation
734
+
735
+ property :resource_filter, as: 'resourceFilter', class: Google::Apis::GkebackupV1::ResourceFilter, decorator: Google::Apis::GkebackupV1::ResourceFilter::Representation
736
+
737
+ end
738
+ end
739
+
740
+ class TransformationRuleAction
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :from_path, as: 'fromPath'
744
+ property :op, as: 'op'
745
+ property :path, as: 'path'
746
+ property :value, as: 'value'
747
+ end
748
+ end
749
+
688
750
  class VolumeBackup
689
751
  # @private
690
752
  class Representation < Google::Apis::Core::JsonRepresentation
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.17.0
4
+ version: 0.19.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: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-07-16 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.19.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: []