google-apis-config_v1 0.10.0 → 0.11.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: 86742b8ddcb3caa6ae17c68f3ea2a3795b636a63217019ee39d00a8c56ec6b1d
4
- data.tar.gz: 4aee298d3cdd5d0641f23ca1b67baf9af6481f9b12022271278c816bdafa74f2
3
+ metadata.gz: 1f1c60f79f00debd6031774e10b588a4f49c474689614e8676cec3a0b851527f
4
+ data.tar.gz: 3291ca2dc0e9dacbc243ff4555738036803ff890c8627e664d17c23a577c2466
5
5
  SHA512:
6
- metadata.gz: 4ec991c21f1b58b638c3fcff39f8592f8ed32c3fb83749d2c50b6888fdd45f16496fa71c69e2df13a061477c6478913f69172be9e568948074f13ec0fb6837f8
7
- data.tar.gz: 698924528806d1bc4f6812ac57787cdfd0c8df1bfb1ec3004cc7068d6f9592231d5ef571685dd10b0d9954a3e1813c0949c91fbba5c61ce2ab0a92dcb8da6676
6
+ metadata.gz: 7ff98e8387d3d2226fd04241e80723522edfdbf3edd71ca05b54b70af9494405a93751b8b13ba31ed5abc92853f9a05388eb68216b44bb02083b107909b14254
7
+ data.tar.gz: a04652d1a2f55bfa2fd9a1f2aedcc2c765a98407441470124c4abe3ca56d7c48c0111faeade7e8d14498dc9c203425a904d6becf8a45206488257ec8cf3b14d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-config_v1
2
2
 
3
+ ### v0.11.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250604
6
+
3
7
  ### v0.10.0 (2025-06-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20250528
@@ -780,6 +780,72 @@ module Google
780
780
  end
781
781
  end
782
782
 
783
+ # A response to a 'ListResourceChanges' call. Contains a list of ResourceChanges.
784
+ class ListResourceChangesResponse
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # A token to request the next page of resources from the 'ListResourceChanges'
788
+ # method. The value of an empty string means that there are no more resources to
789
+ # return.
790
+ # Corresponds to the JSON property `nextPageToken`
791
+ # @return [String]
792
+ attr_accessor :next_page_token
793
+
794
+ # List of ResourceChanges.
795
+ # Corresponds to the JSON property `resourceChanges`
796
+ # @return [Array<Google::Apis::ConfigV1::ResourceChange>]
797
+ attr_accessor :resource_changes
798
+
799
+ # Unreachable resources, if any.
800
+ # Corresponds to the JSON property `unreachable`
801
+ # @return [Array<String>]
802
+ attr_accessor :unreachable
803
+
804
+ def initialize(**args)
805
+ update!(**args)
806
+ end
807
+
808
+ # Update properties of this object
809
+ def update!(**args)
810
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
811
+ @resource_changes = args[:resource_changes] if args.key?(:resource_changes)
812
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
813
+ end
814
+ end
815
+
816
+ # A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.
817
+ class ListResourceDriftsResponse
818
+ include Google::Apis::Core::Hashable
819
+
820
+ # A token to request the next page of resources from the 'ListResourceDrifts'
821
+ # method. The value of an empty string means that there are no more resources to
822
+ # return.
823
+ # Corresponds to the JSON property `nextPageToken`
824
+ # @return [String]
825
+ attr_accessor :next_page_token
826
+
827
+ # List of ResourceDrifts.
828
+ # Corresponds to the JSON property `resourceDrifts`
829
+ # @return [Array<Google::Apis::ConfigV1::ResourceDrift>]
830
+ attr_accessor :resource_drifts
831
+
832
+ # Unreachable resources, if any.
833
+ # Corresponds to the JSON property `unreachable`
834
+ # @return [Array<String>]
835
+ attr_accessor :unreachable
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
844
+ @resource_drifts = args[:resource_drifts] if args.key?(:resource_drifts)
845
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
846
+ end
847
+ end
848
+
783
849
  # A response to a 'ListResources' call. Contains a list of Resources.
784
850
  class ListResourcesResponse
785
851
  include Google::Apis::Core::Hashable
@@ -1465,6 +1531,96 @@ module Google
1465
1531
  end
1466
1532
  end
1467
1533
 
1534
+ # A property change represents a change to a property in the state file.
1535
+ class PropertyChange
1536
+ include Google::Apis::Core::Hashable
1537
+
1538
+ # Output only. Representations of the object value after the actions.
1539
+ # Corresponds to the JSON property `after`
1540
+ # @return [Object]
1541
+ attr_accessor :after
1542
+
1543
+ # Output only. The paths of sensitive fields in `after`. Paths are relative to `
1544
+ # path`.
1545
+ # Corresponds to the JSON property `afterSensitivePaths`
1546
+ # @return [Array<String>]
1547
+ attr_accessor :after_sensitive_paths
1548
+
1549
+ # Output only. Representations of the object value before the actions.
1550
+ # Corresponds to the JSON property `before`
1551
+ # @return [Object]
1552
+ attr_accessor :before
1553
+
1554
+ # Output only. The paths of sensitive fields in `before`. Paths are relative to `
1555
+ # path`.
1556
+ # Corresponds to the JSON property `beforeSensitivePaths`
1557
+ # @return [Array<String>]
1558
+ attr_accessor :before_sensitive_paths
1559
+
1560
+ # Output only. The path of the property change.
1561
+ # Corresponds to the JSON property `path`
1562
+ # @return [String]
1563
+ attr_accessor :path
1564
+
1565
+ def initialize(**args)
1566
+ update!(**args)
1567
+ end
1568
+
1569
+ # Update properties of this object
1570
+ def update!(**args)
1571
+ @after = args[:after] if args.key?(:after)
1572
+ @after_sensitive_paths = args[:after_sensitive_paths] if args.key?(:after_sensitive_paths)
1573
+ @before = args[:before] if args.key?(:before)
1574
+ @before_sensitive_paths = args[:before_sensitive_paths] if args.key?(:before_sensitive_paths)
1575
+ @path = args[:path] if args.key?(:path)
1576
+ end
1577
+ end
1578
+
1579
+ # A property drift represents a drift to a property in the state file.
1580
+ class PropertyDrift
1581
+ include Google::Apis::Core::Hashable
1582
+
1583
+ # Output only. Representations of the object value after the actions.
1584
+ # Corresponds to the JSON property `after`
1585
+ # @return [Object]
1586
+ attr_accessor :after
1587
+
1588
+ # Output only. The paths of sensitive fields in `after`. Paths are relative to `
1589
+ # path`.
1590
+ # Corresponds to the JSON property `afterSensitivePaths`
1591
+ # @return [Array<String>]
1592
+ attr_accessor :after_sensitive_paths
1593
+
1594
+ # Output only. Representations of the object value before the actions.
1595
+ # Corresponds to the JSON property `before`
1596
+ # @return [Object]
1597
+ attr_accessor :before
1598
+
1599
+ # Output only. The paths of sensitive fields in `before`. Paths are relative to `
1600
+ # path`.
1601
+ # Corresponds to the JSON property `beforeSensitivePaths`
1602
+ # @return [Array<String>]
1603
+ attr_accessor :before_sensitive_paths
1604
+
1605
+ # Output only. The path of the property drift.
1606
+ # Corresponds to the JSON property `path`
1607
+ # @return [String]
1608
+ attr_accessor :path
1609
+
1610
+ def initialize(**args)
1611
+ update!(**args)
1612
+ end
1613
+
1614
+ # Update properties of this object
1615
+ def update!(**args)
1616
+ @after = args[:after] if args.key?(:after)
1617
+ @after_sensitive_paths = args[:after_sensitive_paths] if args.key?(:after_sensitive_paths)
1618
+ @before = args[:before] if args.key?(:before)
1619
+ @before_sensitive_paths = args[:before_sensitive_paths] if args.key?(:before_sensitive_paths)
1620
+ @path = args[:path] if args.key?(:path)
1621
+ end
1622
+ end
1623
+
1468
1624
  # Resource represents a Google Cloud Platform resource actuated by IM. Resources
1469
1625
  # are child resources of Revisions.
1470
1626
  class Resource
@@ -1532,6 +1688,156 @@ module Google
1532
1688
  end
1533
1689
  end
1534
1690
 
1691
+ # A resource change represents a change to a resource in the state file.
1692
+ class ResourceChange
1693
+ include Google::Apis::Core::Hashable
1694
+
1695
+ # Output only. The intent of the resource change.
1696
+ # Corresponds to the JSON property `intent`
1697
+ # @return [String]
1698
+ attr_accessor :intent
1699
+
1700
+ # Identifier. The name of the resource change. Format: 'projects/`project_id`/
1701
+ # locations/`location`/previews/`preview`/resourceChanges/`resource_change`'.
1702
+ # Corresponds to the JSON property `name`
1703
+ # @return [String]
1704
+ attr_accessor :name
1705
+
1706
+ # Output only. The property changes of the resource change.
1707
+ # Corresponds to the JSON property `propertyChanges`
1708
+ # @return [Array<Google::Apis::ConfigV1::PropertyChange>]
1709
+ attr_accessor :property_changes
1710
+
1711
+ # Terraform info of a ResourceChange.
1712
+ # Corresponds to the JSON property `terraformInfo`
1713
+ # @return [Google::Apis::ConfigV1::ResourceChangeTerraformInfo]
1714
+ attr_accessor :terraform_info
1715
+
1716
+ def initialize(**args)
1717
+ update!(**args)
1718
+ end
1719
+
1720
+ # Update properties of this object
1721
+ def update!(**args)
1722
+ @intent = args[:intent] if args.key?(:intent)
1723
+ @name = args[:name] if args.key?(:name)
1724
+ @property_changes = args[:property_changes] if args.key?(:property_changes)
1725
+ @terraform_info = args[:terraform_info] if args.key?(:terraform_info)
1726
+ end
1727
+ end
1728
+
1729
+ # Terraform info of a ResourceChange.
1730
+ class ResourceChangeTerraformInfo
1731
+ include Google::Apis::Core::Hashable
1732
+
1733
+ # Output only. TF resource actions.
1734
+ # Corresponds to the JSON property `actions`
1735
+ # @return [Array<String>]
1736
+ attr_accessor :actions
1737
+
1738
+ # Output only. TF resource address that uniquely identifies the resource.
1739
+ # Corresponds to the JSON property `address`
1740
+ # @return [String]
1741
+ attr_accessor :address
1742
+
1743
+ # Output only. TF resource provider.
1744
+ # Corresponds to the JSON property `provider`
1745
+ # @return [String]
1746
+ attr_accessor :provider
1747
+
1748
+ # Output only. TF resource name.
1749
+ # Corresponds to the JSON property `resourceName`
1750
+ # @return [String]
1751
+ attr_accessor :resource_name
1752
+
1753
+ # Output only. TF resource type.
1754
+ # Corresponds to the JSON property `type`
1755
+ # @return [String]
1756
+ attr_accessor :type
1757
+
1758
+ def initialize(**args)
1759
+ update!(**args)
1760
+ end
1761
+
1762
+ # Update properties of this object
1763
+ def update!(**args)
1764
+ @actions = args[:actions] if args.key?(:actions)
1765
+ @address = args[:address] if args.key?(:address)
1766
+ @provider = args[:provider] if args.key?(:provider)
1767
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1768
+ @type = args[:type] if args.key?(:type)
1769
+ end
1770
+ end
1771
+
1772
+ # A resource drift represents a drift to a resource in the state file.
1773
+ class ResourceDrift
1774
+ include Google::Apis::Core::Hashable
1775
+
1776
+ # Identifier. The name of the resource drift. Format: 'projects/`project_id`/
1777
+ # locations/`location`/previews/`preview`/resourceDrifts/`resource_drift`'.
1778
+ # Corresponds to the JSON property `name`
1779
+ # @return [String]
1780
+ attr_accessor :name
1781
+
1782
+ # Output only. The property drifts of the resource drift.
1783
+ # Corresponds to the JSON property `propertyDrifts`
1784
+ # @return [Array<Google::Apis::ConfigV1::PropertyDrift>]
1785
+ attr_accessor :property_drifts
1786
+
1787
+ # Terraform info of a ResourceChange.
1788
+ # Corresponds to the JSON property `terraformInfo`
1789
+ # @return [Google::Apis::ConfigV1::ResourceDriftTerraformInfo]
1790
+ attr_accessor :terraform_info
1791
+
1792
+ def initialize(**args)
1793
+ update!(**args)
1794
+ end
1795
+
1796
+ # Update properties of this object
1797
+ def update!(**args)
1798
+ @name = args[:name] if args.key?(:name)
1799
+ @property_drifts = args[:property_drifts] if args.key?(:property_drifts)
1800
+ @terraform_info = args[:terraform_info] if args.key?(:terraform_info)
1801
+ end
1802
+ end
1803
+
1804
+ # Terraform info of a ResourceChange.
1805
+ class ResourceDriftTerraformInfo
1806
+ include Google::Apis::Core::Hashable
1807
+
1808
+ # Output only. The address of the drifted resource.
1809
+ # Corresponds to the JSON property `address`
1810
+ # @return [String]
1811
+ attr_accessor :address
1812
+
1813
+ # Output only. The provider of the drifted resource.
1814
+ # Corresponds to the JSON property `provider`
1815
+ # @return [String]
1816
+ attr_accessor :provider
1817
+
1818
+ # Output only. TF resource name.
1819
+ # Corresponds to the JSON property `resourceName`
1820
+ # @return [String]
1821
+ attr_accessor :resource_name
1822
+
1823
+ # Output only. The type of the drifted resource.
1824
+ # Corresponds to the JSON property `type`
1825
+ # @return [String]
1826
+ attr_accessor :type
1827
+
1828
+ def initialize(**args)
1829
+ update!(**args)
1830
+ end
1831
+
1832
+ # Update properties of this object
1833
+ def update!(**args)
1834
+ @address = args[:address] if args.key?(:address)
1835
+ @provider = args[:provider] if args.key?(:provider)
1836
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1837
+ @type = args[:type] if args.key?(:type)
1838
+ end
1839
+ end
1840
+
1535
1841
  # Terraform info of a Resource.
1536
1842
  class ResourceTerraformInfo
1537
1843
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConfigV1
18
18
  # Version of the google-apis-config_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250528"
25
+ REVISION = "20250604"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class ListResourceChangesResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListResourceDriftsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class ListResourcesResponse
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -220,6 +232,18 @@ module Google
220
232
  include Google::Apis::Core::JsonObjectSupport
221
233
  end
222
234
 
235
+ class PropertyChange
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class PropertyDrift
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
223
247
  class Resource
224
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
249
 
@@ -232,6 +256,30 @@ module Google
232
256
  include Google::Apis::Core::JsonObjectSupport
233
257
  end
234
258
 
259
+ class ResourceChange
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ResourceChangeTerraformInfo
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ResourceDrift
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ResourceDriftTerraformInfo
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
235
283
  class ResourceTerraformInfo
236
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
285
 
@@ -500,6 +548,26 @@ module Google
500
548
  end
501
549
  end
502
550
 
551
+ class ListResourceChangesResponse
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :next_page_token, as: 'nextPageToken'
555
+ collection :resource_changes, as: 'resourceChanges', class: Google::Apis::ConfigV1::ResourceChange, decorator: Google::Apis::ConfigV1::ResourceChange::Representation
556
+
557
+ collection :unreachable, as: 'unreachable'
558
+ end
559
+ end
560
+
561
+ class ListResourceDriftsResponse
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :next_page_token, as: 'nextPageToken'
565
+ collection :resource_drifts, as: 'resourceDrifts', class: Google::Apis::ConfigV1::ResourceDrift, decorator: Google::Apis::ConfigV1::ResourceDrift::Representation
566
+
567
+ collection :unreachable, as: 'unreachable'
568
+ end
569
+ end
570
+
503
571
  class ListResourcesResponse
504
572
  # @private
505
573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -657,6 +725,28 @@ module Google
657
725
  end
658
726
  end
659
727
 
728
+ class PropertyChange
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :after, as: 'after'
732
+ collection :after_sensitive_paths, as: 'afterSensitivePaths'
733
+ property :before, as: 'before'
734
+ collection :before_sensitive_paths, as: 'beforeSensitivePaths'
735
+ property :path, as: 'path'
736
+ end
737
+ end
738
+
739
+ class PropertyDrift
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :after, as: 'after'
743
+ collection :after_sensitive_paths, as: 'afterSensitivePaths'
744
+ property :before, as: 'before'
745
+ collection :before_sensitive_paths, as: 'beforeSensitivePaths'
746
+ property :path, as: 'path'
747
+ end
748
+ end
749
+
660
750
  class Resource
661
751
  # @private
662
752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +767,50 @@ module Google
677
767
  end
678
768
  end
679
769
 
770
+ class ResourceChange
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :intent, as: 'intent'
774
+ property :name, as: 'name'
775
+ collection :property_changes, as: 'propertyChanges', class: Google::Apis::ConfigV1::PropertyChange, decorator: Google::Apis::ConfigV1::PropertyChange::Representation
776
+
777
+ property :terraform_info, as: 'terraformInfo', class: Google::Apis::ConfigV1::ResourceChangeTerraformInfo, decorator: Google::Apis::ConfigV1::ResourceChangeTerraformInfo::Representation
778
+
779
+ end
780
+ end
781
+
782
+ class ResourceChangeTerraformInfo
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ collection :actions, as: 'actions'
786
+ property :address, as: 'address'
787
+ property :provider, as: 'provider'
788
+ property :resource_name, as: 'resourceName'
789
+ property :type, as: 'type'
790
+ end
791
+ end
792
+
793
+ class ResourceDrift
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :name, as: 'name'
797
+ collection :property_drifts, as: 'propertyDrifts', class: Google::Apis::ConfigV1::PropertyDrift, decorator: Google::Apis::ConfigV1::PropertyDrift::Representation
798
+
799
+ property :terraform_info, as: 'terraformInfo', class: Google::Apis::ConfigV1::ResourceDriftTerraformInfo, decorator: Google::Apis::ConfigV1::ResourceDriftTerraformInfo::Representation
800
+
801
+ end
802
+ end
803
+
804
+ class ResourceDriftTerraformInfo
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :address, as: 'address'
808
+ property :provider, as: 'provider'
809
+ property :resource_name, as: 'resourceName'
810
+ property :type, as: 'type'
811
+ end
812
+ end
813
+
680
814
  class ResourceTerraformInfo
681
815
  # @private
682
816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1258,6 +1258,180 @@ module Google
1258
1258
  execute_or_queue_command(command, &block)
1259
1259
  end
1260
1260
 
1261
+ # Get a ResourceChange for a given preview.
1262
+ # @param [String] name
1263
+ # Required. The name of the resource change to retrieve. Format: 'projects/`
1264
+ # project_id`/locations/`location`/previews/`preview`/resourceChanges/`
1265
+ # resource_change`'.
1266
+ # @param [String] fields
1267
+ # Selector specifying which fields to include in a partial response.
1268
+ # @param [String] quota_user
1269
+ # Available to use for quota purposes for server-side applications. Can be any
1270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1271
+ # @param [Google::Apis::RequestOptions] options
1272
+ # Request-specific options
1273
+ #
1274
+ # @yield [result, err] Result & error if block supplied
1275
+ # @yieldparam result [Google::Apis::ConfigV1::ResourceChange] parsed result object
1276
+ # @yieldparam err [StandardError] error object if request failed
1277
+ #
1278
+ # @return [Google::Apis::ConfigV1::ResourceChange]
1279
+ #
1280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1283
+ def get_project_location_preview_resource_change(name, fields: nil, quota_user: nil, options: nil, &block)
1284
+ command = make_simple_command(:get, 'v1/{+name}', options)
1285
+ command.response_representation = Google::Apis::ConfigV1::ResourceChange::Representation
1286
+ command.response_class = Google::Apis::ConfigV1::ResourceChange
1287
+ command.params['name'] = name unless name.nil?
1288
+ command.query['fields'] = fields unless fields.nil?
1289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1290
+ execute_or_queue_command(command, &block)
1291
+ end
1292
+
1293
+ # Lists ResourceChanges for a given preview.
1294
+ # @param [String] parent
1295
+ # Required. The parent in whose context the ResourceChanges are listed. The
1296
+ # parent value is in the format: 'projects/`project_id`/locations/`location`/
1297
+ # previews/`preview`'.
1298
+ # @param [String] filter
1299
+ # Optional. Lists the resource changes that match the filter expression. A
1300
+ # filter expression filters the resource changes listed in the response. The
1301
+ # expression must be of the form '`field` `operator` `value`' where operators: '<
1302
+ # ', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
1303
+ # operator which is roughly synonymous with equality). `field` can refer to a
1304
+ # proto or JSON field, or a synthetic field. Field names can be camelCase or
1305
+ # snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-
1306
+ # central1/previews/dep/resourceChanges/baz
1307
+ # @param [String] order_by
1308
+ # Optional. Field to use to sort the list.
1309
+ # @param [Fixnum] page_size
1310
+ # Optional. When requesting a page of resource changes, 'page_size' specifies
1311
+ # number of resource changes to return. If unspecified, at most 500 will be
1312
+ # returned. The maximum value is 1000.
1313
+ # @param [String] page_token
1314
+ # Optional. Token returned by previous call to 'ListResourceChanges' which
1315
+ # specifies the position in the list from where to continue listing the resource
1316
+ # changes.
1317
+ # @param [String] fields
1318
+ # Selector specifying which fields to include in a partial response.
1319
+ # @param [String] quota_user
1320
+ # Available to use for quota purposes for server-side applications. Can be any
1321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1322
+ # @param [Google::Apis::RequestOptions] options
1323
+ # Request-specific options
1324
+ #
1325
+ # @yield [result, err] Result & error if block supplied
1326
+ # @yieldparam result [Google::Apis::ConfigV1::ListResourceChangesResponse] parsed result object
1327
+ # @yieldparam err [StandardError] error object if request failed
1328
+ #
1329
+ # @return [Google::Apis::ConfigV1::ListResourceChangesResponse]
1330
+ #
1331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1334
+ def list_project_location_preview_resource_changes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1335
+ command = make_simple_command(:get, 'v1/{+parent}/resourceChanges', options)
1336
+ command.response_representation = Google::Apis::ConfigV1::ListResourceChangesResponse::Representation
1337
+ command.response_class = Google::Apis::ConfigV1::ListResourceChangesResponse
1338
+ command.params['parent'] = parent unless parent.nil?
1339
+ command.query['filter'] = filter unless filter.nil?
1340
+ command.query['orderBy'] = order_by unless order_by.nil?
1341
+ command.query['pageSize'] = page_size unless page_size.nil?
1342
+ command.query['pageToken'] = page_token unless page_token.nil?
1343
+ command.query['fields'] = fields unless fields.nil?
1344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1345
+ execute_or_queue_command(command, &block)
1346
+ end
1347
+
1348
+ # Get a ResourceDrift for a given preview.
1349
+ # @param [String] name
1350
+ # Required. The name of the resource drift to retrieve. Format: 'projects/`
1351
+ # project_id`/locations/`location`/previews/`preview`/resourceDrifts/`
1352
+ # resource_drift`'.
1353
+ # @param [String] fields
1354
+ # Selector specifying which fields to include in a partial response.
1355
+ # @param [String] quota_user
1356
+ # Available to use for quota purposes for server-side applications. Can be any
1357
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1358
+ # @param [Google::Apis::RequestOptions] options
1359
+ # Request-specific options
1360
+ #
1361
+ # @yield [result, err] Result & error if block supplied
1362
+ # @yieldparam result [Google::Apis::ConfigV1::ResourceDrift] parsed result object
1363
+ # @yieldparam err [StandardError] error object if request failed
1364
+ #
1365
+ # @return [Google::Apis::ConfigV1::ResourceDrift]
1366
+ #
1367
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1368
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1369
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1370
+ def get_project_location_preview_resource_drift(name, fields: nil, quota_user: nil, options: nil, &block)
1371
+ command = make_simple_command(:get, 'v1/{+name}', options)
1372
+ command.response_representation = Google::Apis::ConfigV1::ResourceDrift::Representation
1373
+ command.response_class = Google::Apis::ConfigV1::ResourceDrift
1374
+ command.params['name'] = name unless name.nil?
1375
+ command.query['fields'] = fields unless fields.nil?
1376
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1377
+ execute_or_queue_command(command, &block)
1378
+ end
1379
+
1380
+ # List ResourceDrifts for a given preview.
1381
+ # @param [String] parent
1382
+ # Required. The parent in whose context the ResourceDrifts are listed. The
1383
+ # parent value is in the format: 'projects/`project_id`/locations/`location`/
1384
+ # previews/`preview`'.
1385
+ # @param [String] filter
1386
+ # Optional. Lists the resource drifts that match the filter expression. A filter
1387
+ # expression filters the resource drifts listed in the response. The expression
1388
+ # must be of the form '`field` `operator` `value`' where operators: '<', '>', '<=
1389
+ # ', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator
1390
+ # which is roughly synonymous with equality). `field` can refer to a proto or
1391
+ # JSON field, or a synthetic field. Field names can be camelCase or snake_case.
1392
+ # Examples: - Filter by name: name = "projects/foo/locations/us-central1/
1393
+ # previews/dep/resourceDrifts/baz
1394
+ # @param [String] order_by
1395
+ # Optional. Field to use to sort the list.
1396
+ # @param [Fixnum] page_size
1397
+ # Optional. When requesting a page of resource drifts, 'page_size' specifies
1398
+ # number of resource drifts to return. If unspecified, at most 500 will be
1399
+ # returned. The maximum value is 1000.
1400
+ # @param [String] page_token
1401
+ # Optional. Token returned by previous call to 'ListResourceDrifts' which
1402
+ # specifies the position in the list from where to continue listing the resource
1403
+ # drifts.
1404
+ # @param [String] fields
1405
+ # Selector specifying which fields to include in a partial response.
1406
+ # @param [String] quota_user
1407
+ # Available to use for quota purposes for server-side applications. Can be any
1408
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1409
+ # @param [Google::Apis::RequestOptions] options
1410
+ # Request-specific options
1411
+ #
1412
+ # @yield [result, err] Result & error if block supplied
1413
+ # @yieldparam result [Google::Apis::ConfigV1::ListResourceDriftsResponse] parsed result object
1414
+ # @yieldparam err [StandardError] error object if request failed
1415
+ #
1416
+ # @return [Google::Apis::ConfigV1::ListResourceDriftsResponse]
1417
+ #
1418
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1419
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1420
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1421
+ def list_project_location_preview_resource_drifts(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1422
+ command = make_simple_command(:get, 'v1/{+parent}/resourceDrifts', options)
1423
+ command.response_representation = Google::Apis::ConfigV1::ListResourceDriftsResponse::Representation
1424
+ command.response_class = Google::Apis::ConfigV1::ListResourceDriftsResponse
1425
+ command.params['parent'] = parent unless parent.nil?
1426
+ command.query['filter'] = filter unless filter.nil?
1427
+ command.query['orderBy'] = order_by unless order_by.nil?
1428
+ command.query['pageSize'] = page_size unless page_size.nil?
1429
+ command.query['pageToken'] = page_token unless page_token.nil?
1430
+ command.query['fields'] = fields unless fields.nil?
1431
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1432
+ execute_or_queue_command(command, &block)
1433
+ end
1434
+
1261
1435
  # Gets details about a TerraformVersion.
1262
1436
  # @param [String] name
1263
1437
  # Required. The name of the TerraformVersion. Format: 'projects/`project_id`/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-config_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.10.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.11.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1
62
62
  rdoc_options: []
63
63
  require_paths: