google-apis-config_v1 0.10.0 → 0.12.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: 3a4ca3c09c50e93ee6e68f5c68539e67191145ed13b3c66b280a7d1b15fa0892
4
+ data.tar.gz: c3d16376a147d0c172d75491d9dc248d5f17a25a90fe83d6dc270f2af3b1268f
5
5
  SHA512:
6
- metadata.gz: 4ec991c21f1b58b638c3fcff39f8592f8ed32c3fb83749d2c50b6888fdd45f16496fa71c69e2df13a061477c6478913f69172be9e568948074f13ec0fb6837f8
7
- data.tar.gz: 698924528806d1bc4f6812ac57787cdfd0c8df1bfb1ec3004cc7068d6f9592231d5ef571685dd10b0d9954a3e1813c0949c91fbba5c61ce2ab0a92dcb8da6676
6
+ metadata.gz: de5a9f7bf012d97a375b005cbafa74df3f7900965590484667f619b1f1d49c3fa586238892c270f788aedb363f4508483588709e601227801099ad3f13d7d274
7
+ data.tar.gz: 705a46da5b3dfe4253d62b924069e1aa590f3c74aec17873dc909fb935144127e5a4af87f62f8c697533539a75a387ce44fe0cea0bc0eea7850b8b168317164b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-config_v1
2
2
 
3
+ ### v0.12.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250813
6
+
7
+ ### v0.11.0 (2025-06-15)
8
+
9
+ * Regenerated from discovery document revision 20250604
10
+
3
11
  ### v0.10.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250528
@@ -347,6 +347,11 @@ module Google
347
347
  # @return [String]
348
348
  attr_accessor :name
349
349
 
350
+ # ProviderConfig contains the provider configurations.
351
+ # Corresponds to the JSON property `providerConfig`
352
+ # @return [Google::Apis::ConfigV1::ProviderConfig]
353
+ attr_accessor :provider_config
354
+
350
355
  # Optional. Input to control quota checks for resources in terraform
351
356
  # configuration files. There are limited resources on which quota validation
352
357
  # applies.
@@ -427,6 +432,7 @@ module Google
427
432
  @latest_revision = args[:latest_revision] if args.key?(:latest_revision)
428
433
  @lock_state = args[:lock_state] if args.key?(:lock_state)
429
434
  @name = args[:name] if args.key?(:name)
435
+ @provider_config = args[:provider_config] if args.key?(:provider_config)
430
436
  @quota_validation = args[:quota_validation] if args.key?(:quota_validation)
431
437
  @service_account = args[:service_account] if args.key?(:service_account)
432
438
  @state = args[:state] if args.key?(:state)
@@ -780,6 +786,72 @@ module Google
780
786
  end
781
787
  end
782
788
 
789
+ # A response to a 'ListResourceChanges' call. Contains a list of ResourceChanges.
790
+ class ListResourceChangesResponse
791
+ include Google::Apis::Core::Hashable
792
+
793
+ # A token to request the next page of resources from the 'ListResourceChanges'
794
+ # method. The value of an empty string means that there are no more resources to
795
+ # return.
796
+ # Corresponds to the JSON property `nextPageToken`
797
+ # @return [String]
798
+ attr_accessor :next_page_token
799
+
800
+ # List of ResourceChanges.
801
+ # Corresponds to the JSON property `resourceChanges`
802
+ # @return [Array<Google::Apis::ConfigV1::ResourceChange>]
803
+ attr_accessor :resource_changes
804
+
805
+ # Unreachable resources, if any.
806
+ # Corresponds to the JSON property `unreachable`
807
+ # @return [Array<String>]
808
+ attr_accessor :unreachable
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
817
+ @resource_changes = args[:resource_changes] if args.key?(:resource_changes)
818
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
819
+ end
820
+ end
821
+
822
+ # A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.
823
+ class ListResourceDriftsResponse
824
+ include Google::Apis::Core::Hashable
825
+
826
+ # A token to request the next page of resources from the 'ListResourceDrifts'
827
+ # method. The value of an empty string means that there are no more resources to
828
+ # return.
829
+ # Corresponds to the JSON property `nextPageToken`
830
+ # @return [String]
831
+ attr_accessor :next_page_token
832
+
833
+ # List of ResourceDrifts.
834
+ # Corresponds to the JSON property `resourceDrifts`
835
+ # @return [Array<Google::Apis::ConfigV1::ResourceDrift>]
836
+ attr_accessor :resource_drifts
837
+
838
+ # Unreachable resources, if any.
839
+ # Corresponds to the JSON property `unreachable`
840
+ # @return [Array<String>]
841
+ attr_accessor :unreachable
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
850
+ @resource_drifts = args[:resource_drifts] if args.key?(:resource_drifts)
851
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
852
+ end
853
+ end
854
+
783
855
  # A response to a 'ListResources' call. Contains a list of Resources.
784
856
  class ListResourcesResponse
785
857
  include Google::Apis::Core::Hashable
@@ -1303,6 +1375,11 @@ module Google
1303
1375
  # @return [String]
1304
1376
  attr_accessor :preview_mode
1305
1377
 
1378
+ # ProviderConfig contains the provider configurations.
1379
+ # Corresponds to the JSON property `providerConfig`
1380
+ # @return [Google::Apis::ConfigV1::ProviderConfig]
1381
+ attr_accessor :provider_config
1382
+
1306
1383
  # Required. User-specified Service Account (SA) credentials to be used when
1307
1384
  # previewing resources. Format: `projects/`projectID`/serviceAccounts/`
1308
1385
  # serviceAccount``
@@ -1366,6 +1443,7 @@ module Google
1366
1443
  @name = args[:name] if args.key?(:name)
1367
1444
  @preview_artifacts = args[:preview_artifacts] if args.key?(:preview_artifacts)
1368
1445
  @preview_mode = args[:preview_mode] if args.key?(:preview_mode)
1446
+ @provider_config = args[:provider_config] if args.key?(:provider_config)
1369
1447
  @service_account = args[:service_account] if args.key?(:service_account)
1370
1448
  @state = args[:state] if args.key?(:state)
1371
1449
  @terraform_blueprint = args[:terraform_blueprint] if args.key?(:terraform_blueprint)
@@ -1465,6 +1543,115 @@ module Google
1465
1543
  end
1466
1544
  end
1467
1545
 
1546
+ # A property change represents a change to a property in the state file.
1547
+ class PropertyChange
1548
+ include Google::Apis::Core::Hashable
1549
+
1550
+ # Output only. Representations of the object value after the actions.
1551
+ # Corresponds to the JSON property `after`
1552
+ # @return [Object]
1553
+ attr_accessor :after
1554
+
1555
+ # Output only. The paths of sensitive fields in `after`. Paths are relative to `
1556
+ # path`.
1557
+ # Corresponds to the JSON property `afterSensitivePaths`
1558
+ # @return [Array<String>]
1559
+ attr_accessor :after_sensitive_paths
1560
+
1561
+ # Output only. Representations of the object value before the actions.
1562
+ # Corresponds to the JSON property `before`
1563
+ # @return [Object]
1564
+ attr_accessor :before
1565
+
1566
+ # Output only. The paths of sensitive fields in `before`. Paths are relative to `
1567
+ # path`.
1568
+ # Corresponds to the JSON property `beforeSensitivePaths`
1569
+ # @return [Array<String>]
1570
+ attr_accessor :before_sensitive_paths
1571
+
1572
+ # Output only. The path of the property change.
1573
+ # Corresponds to the JSON property `path`
1574
+ # @return [String]
1575
+ attr_accessor :path
1576
+
1577
+ def initialize(**args)
1578
+ update!(**args)
1579
+ end
1580
+
1581
+ # Update properties of this object
1582
+ def update!(**args)
1583
+ @after = args[:after] if args.key?(:after)
1584
+ @after_sensitive_paths = args[:after_sensitive_paths] if args.key?(:after_sensitive_paths)
1585
+ @before = args[:before] if args.key?(:before)
1586
+ @before_sensitive_paths = args[:before_sensitive_paths] if args.key?(:before_sensitive_paths)
1587
+ @path = args[:path] if args.key?(:path)
1588
+ end
1589
+ end
1590
+
1591
+ # A property drift represents a drift to a property in the state file.
1592
+ class PropertyDrift
1593
+ include Google::Apis::Core::Hashable
1594
+
1595
+ # Output only. Representations of the object value after the actions.
1596
+ # Corresponds to the JSON property `after`
1597
+ # @return [Object]
1598
+ attr_accessor :after
1599
+
1600
+ # Output only. The paths of sensitive fields in `after`. Paths are relative to `
1601
+ # path`.
1602
+ # Corresponds to the JSON property `afterSensitivePaths`
1603
+ # @return [Array<String>]
1604
+ attr_accessor :after_sensitive_paths
1605
+
1606
+ # Output only. Representations of the object value before the actions.
1607
+ # Corresponds to the JSON property `before`
1608
+ # @return [Object]
1609
+ attr_accessor :before
1610
+
1611
+ # Output only. The paths of sensitive fields in `before`. Paths are relative to `
1612
+ # path`.
1613
+ # Corresponds to the JSON property `beforeSensitivePaths`
1614
+ # @return [Array<String>]
1615
+ attr_accessor :before_sensitive_paths
1616
+
1617
+ # Output only. The path of the property drift.
1618
+ # Corresponds to the JSON property `path`
1619
+ # @return [String]
1620
+ attr_accessor :path
1621
+
1622
+ def initialize(**args)
1623
+ update!(**args)
1624
+ end
1625
+
1626
+ # Update properties of this object
1627
+ def update!(**args)
1628
+ @after = args[:after] if args.key?(:after)
1629
+ @after_sensitive_paths = args[:after_sensitive_paths] if args.key?(:after_sensitive_paths)
1630
+ @before = args[:before] if args.key?(:before)
1631
+ @before_sensitive_paths = args[:before_sensitive_paths] if args.key?(:before_sensitive_paths)
1632
+ @path = args[:path] if args.key?(:path)
1633
+ end
1634
+ end
1635
+
1636
+ # ProviderConfig contains the provider configurations.
1637
+ class ProviderConfig
1638
+ include Google::Apis::Core::Hashable
1639
+
1640
+ # Optional. ProviderSource specifies the source type of the provider.
1641
+ # Corresponds to the JSON property `sourceType`
1642
+ # @return [String]
1643
+ attr_accessor :source_type
1644
+
1645
+ def initialize(**args)
1646
+ update!(**args)
1647
+ end
1648
+
1649
+ # Update properties of this object
1650
+ def update!(**args)
1651
+ @source_type = args[:source_type] if args.key?(:source_type)
1652
+ end
1653
+ end
1654
+
1468
1655
  # Resource represents a Google Cloud Platform resource actuated by IM. Resources
1469
1656
  # are child resources of Revisions.
1470
1657
  class Resource
@@ -1532,6 +1719,156 @@ module Google
1532
1719
  end
1533
1720
  end
1534
1721
 
1722
+ # A resource change represents a change to a resource in the state file.
1723
+ class ResourceChange
1724
+ include Google::Apis::Core::Hashable
1725
+
1726
+ # Output only. The intent of the resource change.
1727
+ # Corresponds to the JSON property `intent`
1728
+ # @return [String]
1729
+ attr_accessor :intent
1730
+
1731
+ # Identifier. The name of the resource change. Format: 'projects/`project_id`/
1732
+ # locations/`location`/previews/`preview`/resourceChanges/`resource_change`'.
1733
+ # Corresponds to the JSON property `name`
1734
+ # @return [String]
1735
+ attr_accessor :name
1736
+
1737
+ # Output only. The property changes of the resource change.
1738
+ # Corresponds to the JSON property `propertyChanges`
1739
+ # @return [Array<Google::Apis::ConfigV1::PropertyChange>]
1740
+ attr_accessor :property_changes
1741
+
1742
+ # Terraform info of a ResourceChange.
1743
+ # Corresponds to the JSON property `terraformInfo`
1744
+ # @return [Google::Apis::ConfigV1::ResourceChangeTerraformInfo]
1745
+ attr_accessor :terraform_info
1746
+
1747
+ def initialize(**args)
1748
+ update!(**args)
1749
+ end
1750
+
1751
+ # Update properties of this object
1752
+ def update!(**args)
1753
+ @intent = args[:intent] if args.key?(:intent)
1754
+ @name = args[:name] if args.key?(:name)
1755
+ @property_changes = args[:property_changes] if args.key?(:property_changes)
1756
+ @terraform_info = args[:terraform_info] if args.key?(:terraform_info)
1757
+ end
1758
+ end
1759
+
1760
+ # Terraform info of a ResourceChange.
1761
+ class ResourceChangeTerraformInfo
1762
+ include Google::Apis::Core::Hashable
1763
+
1764
+ # Output only. TF resource actions.
1765
+ # Corresponds to the JSON property `actions`
1766
+ # @return [Array<String>]
1767
+ attr_accessor :actions
1768
+
1769
+ # Output only. TF resource address that uniquely identifies the resource.
1770
+ # Corresponds to the JSON property `address`
1771
+ # @return [String]
1772
+ attr_accessor :address
1773
+
1774
+ # Output only. TF resource provider.
1775
+ # Corresponds to the JSON property `provider`
1776
+ # @return [String]
1777
+ attr_accessor :provider
1778
+
1779
+ # Output only. TF resource name.
1780
+ # Corresponds to the JSON property `resourceName`
1781
+ # @return [String]
1782
+ attr_accessor :resource_name
1783
+
1784
+ # Output only. TF resource type.
1785
+ # Corresponds to the JSON property `type`
1786
+ # @return [String]
1787
+ attr_accessor :type
1788
+
1789
+ def initialize(**args)
1790
+ update!(**args)
1791
+ end
1792
+
1793
+ # Update properties of this object
1794
+ def update!(**args)
1795
+ @actions = args[:actions] if args.key?(:actions)
1796
+ @address = args[:address] if args.key?(:address)
1797
+ @provider = args[:provider] if args.key?(:provider)
1798
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1799
+ @type = args[:type] if args.key?(:type)
1800
+ end
1801
+ end
1802
+
1803
+ # A resource drift represents a drift to a resource in the state file.
1804
+ class ResourceDrift
1805
+ include Google::Apis::Core::Hashable
1806
+
1807
+ # Identifier. The name of the resource drift. Format: 'projects/`project_id`/
1808
+ # locations/`location`/previews/`preview`/resourceDrifts/`resource_drift`'.
1809
+ # Corresponds to the JSON property `name`
1810
+ # @return [String]
1811
+ attr_accessor :name
1812
+
1813
+ # Output only. The property drifts of the resource drift.
1814
+ # Corresponds to the JSON property `propertyDrifts`
1815
+ # @return [Array<Google::Apis::ConfigV1::PropertyDrift>]
1816
+ attr_accessor :property_drifts
1817
+
1818
+ # Terraform info of a ResourceChange.
1819
+ # Corresponds to the JSON property `terraformInfo`
1820
+ # @return [Google::Apis::ConfigV1::ResourceDriftTerraformInfo]
1821
+ attr_accessor :terraform_info
1822
+
1823
+ def initialize(**args)
1824
+ update!(**args)
1825
+ end
1826
+
1827
+ # Update properties of this object
1828
+ def update!(**args)
1829
+ @name = args[:name] if args.key?(:name)
1830
+ @property_drifts = args[:property_drifts] if args.key?(:property_drifts)
1831
+ @terraform_info = args[:terraform_info] if args.key?(:terraform_info)
1832
+ end
1833
+ end
1834
+
1835
+ # Terraform info of a ResourceChange.
1836
+ class ResourceDriftTerraformInfo
1837
+ include Google::Apis::Core::Hashable
1838
+
1839
+ # Output only. The address of the drifted resource.
1840
+ # Corresponds to the JSON property `address`
1841
+ # @return [String]
1842
+ attr_accessor :address
1843
+
1844
+ # Output only. The provider of the drifted resource.
1845
+ # Corresponds to the JSON property `provider`
1846
+ # @return [String]
1847
+ attr_accessor :provider
1848
+
1849
+ # Output only. TF resource name.
1850
+ # Corresponds to the JSON property `resourceName`
1851
+ # @return [String]
1852
+ attr_accessor :resource_name
1853
+
1854
+ # Output only. The type of the drifted resource.
1855
+ # Corresponds to the JSON property `type`
1856
+ # @return [String]
1857
+ attr_accessor :type
1858
+
1859
+ def initialize(**args)
1860
+ update!(**args)
1861
+ end
1862
+
1863
+ # Update properties of this object
1864
+ def update!(**args)
1865
+ @address = args[:address] if args.key?(:address)
1866
+ @provider = args[:provider] if args.key?(:provider)
1867
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1868
+ @type = args[:type] if args.key?(:type)
1869
+ end
1870
+ end
1871
+
1535
1872
  # Terraform info of a Resource.
1536
1873
  class ResourceTerraformInfo
1537
1874
  include Google::Apis::Core::Hashable
@@ -1623,6 +1960,11 @@ module Google
1623
1960
  # @return [String]
1624
1961
  attr_accessor :name
1625
1962
 
1963
+ # ProviderConfig contains the provider configurations.
1964
+ # Corresponds to the JSON property `providerConfig`
1965
+ # @return [Google::Apis::ConfigV1::ProviderConfig]
1966
+ attr_accessor :provider_config
1967
+
1626
1968
  # Optional. Input to control quota checks for resources in terraform
1627
1969
  # configuration files. There are limited resources on which quota validation
1628
1970
  # applies.
@@ -1707,6 +2049,7 @@ module Google
1707
2049
  @import_existing_resources = args[:import_existing_resources] if args.key?(:import_existing_resources)
1708
2050
  @logs = args[:logs] if args.key?(:logs)
1709
2051
  @name = args[:name] if args.key?(:name)
2052
+ @provider_config = args[:provider_config] if args.key?(:provider_config)
1710
2053
  @quota_validation = args[:quota_validation] if args.key?(:quota_validation)
1711
2054
  @quota_validation_results = args[:quota_validation_results] if args.key?(:quota_validation_results)
1712
2055
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -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.12.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 = "20250813"
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,24 @@ 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
+
247
+ class ProviderConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
223
253
  class Resource
224
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
255
 
@@ -232,6 +262,30 @@ module Google
232
262
  include Google::Apis::Core::JsonObjectSupport
233
263
  end
234
264
 
265
+ class ResourceChange
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ResourceChangeTerraformInfo
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ResourceDrift
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ResourceDriftTerraformInfo
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
235
289
  class ResourceTerraformInfo
236
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
291
 
@@ -377,6 +431,8 @@ module Google
377
431
  property :latest_revision, as: 'latestRevision'
378
432
  property :lock_state, as: 'lockState'
379
433
  property :name, as: 'name'
434
+ property :provider_config, as: 'providerConfig', class: Google::Apis::ConfigV1::ProviderConfig, decorator: Google::Apis::ConfigV1::ProviderConfig::Representation
435
+
380
436
  property :quota_validation, as: 'quotaValidation'
381
437
  property :service_account, as: 'serviceAccount'
382
438
  property :state, as: 'state'
@@ -500,6 +556,26 @@ module Google
500
556
  end
501
557
  end
502
558
 
559
+ class ListResourceChangesResponse
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :next_page_token, as: 'nextPageToken'
563
+ collection :resource_changes, as: 'resourceChanges', class: Google::Apis::ConfigV1::ResourceChange, decorator: Google::Apis::ConfigV1::ResourceChange::Representation
564
+
565
+ collection :unreachable, as: 'unreachable'
566
+ end
567
+ end
568
+
569
+ class ListResourceDriftsResponse
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :next_page_token, as: 'nextPageToken'
573
+ collection :resource_drifts, as: 'resourceDrifts', class: Google::Apis::ConfigV1::ResourceDrift, decorator: Google::Apis::ConfigV1::ResourceDrift::Representation
574
+
575
+ collection :unreachable, as: 'unreachable'
576
+ end
577
+ end
578
+
503
579
  class ListResourcesResponse
504
580
  # @private
505
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -618,6 +694,8 @@ module Google
618
694
  property :preview_artifacts, as: 'previewArtifacts', class: Google::Apis::ConfigV1::PreviewArtifacts, decorator: Google::Apis::ConfigV1::PreviewArtifacts::Representation
619
695
 
620
696
  property :preview_mode, as: 'previewMode'
697
+ property :provider_config, as: 'providerConfig', class: Google::Apis::ConfigV1::ProviderConfig, decorator: Google::Apis::ConfigV1::ProviderConfig::Representation
698
+
621
699
  property :service_account, as: 'serviceAccount'
622
700
  property :state, as: 'state'
623
701
  property :terraform_blueprint, as: 'terraformBlueprint', class: Google::Apis::ConfigV1::TerraformBlueprint, decorator: Google::Apis::ConfigV1::TerraformBlueprint::Representation
@@ -657,6 +735,35 @@ module Google
657
735
  end
658
736
  end
659
737
 
738
+ class PropertyChange
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :after, as: 'after'
742
+ collection :after_sensitive_paths, as: 'afterSensitivePaths'
743
+ property :before, as: 'before'
744
+ collection :before_sensitive_paths, as: 'beforeSensitivePaths'
745
+ property :path, as: 'path'
746
+ end
747
+ end
748
+
749
+ class PropertyDrift
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :after, as: 'after'
753
+ collection :after_sensitive_paths, as: 'afterSensitivePaths'
754
+ property :before, as: 'before'
755
+ collection :before_sensitive_paths, as: 'beforeSensitivePaths'
756
+ property :path, as: 'path'
757
+ end
758
+ end
759
+
760
+ class ProviderConfig
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :source_type, as: 'sourceType'
764
+ end
765
+ end
766
+
660
767
  class Resource
661
768
  # @private
662
769
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +784,50 @@ module Google
677
784
  end
678
785
  end
679
786
 
787
+ class ResourceChange
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :intent, as: 'intent'
791
+ property :name, as: 'name'
792
+ collection :property_changes, as: 'propertyChanges', class: Google::Apis::ConfigV1::PropertyChange, decorator: Google::Apis::ConfigV1::PropertyChange::Representation
793
+
794
+ property :terraform_info, as: 'terraformInfo', class: Google::Apis::ConfigV1::ResourceChangeTerraformInfo, decorator: Google::Apis::ConfigV1::ResourceChangeTerraformInfo::Representation
795
+
796
+ end
797
+ end
798
+
799
+ class ResourceChangeTerraformInfo
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ collection :actions, as: 'actions'
803
+ property :address, as: 'address'
804
+ property :provider, as: 'provider'
805
+ property :resource_name, as: 'resourceName'
806
+ property :type, as: 'type'
807
+ end
808
+ end
809
+
810
+ class ResourceDrift
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :name, as: 'name'
814
+ collection :property_drifts, as: 'propertyDrifts', class: Google::Apis::ConfigV1::PropertyDrift, decorator: Google::Apis::ConfigV1::PropertyDrift::Representation
815
+
816
+ property :terraform_info, as: 'terraformInfo', class: Google::Apis::ConfigV1::ResourceDriftTerraformInfo, decorator: Google::Apis::ConfigV1::ResourceDriftTerraformInfo::Representation
817
+
818
+ end
819
+ end
820
+
821
+ class ResourceDriftTerraformInfo
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ property :address, as: 'address'
825
+ property :provider, as: 'provider'
826
+ property :resource_name, as: 'resourceName'
827
+ property :type, as: 'type'
828
+ end
829
+ end
830
+
680
831
  class ResourceTerraformInfo
681
832
  # @private
682
833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -699,6 +850,8 @@ module Google
699
850
  property :import_existing_resources, as: 'importExistingResources'
700
851
  property :logs, as: 'logs'
701
852
  property :name, as: 'name'
853
+ property :provider_config, as: 'providerConfig', class: Google::Apis::ConfigV1::ProviderConfig, decorator: Google::Apis::ConfigV1::ProviderConfig::Representation
854
+
702
855
  property :quota_validation, as: 'quotaValidation'
703
856
  property :quota_validation_results, as: 'quotaValidationResults'
704
857
  property :service_account, as: 'serviceAccount'
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
87
  # @param [Array<String>, String] extra_location_types
88
- # Optional. A list of extra location types that should be used as conditions for
89
- # controlling the visibility of the locations.
88
+ # Optional. Do not use this field. It is unsupported and is ignored unless
89
+ # explicitly documented otherwise. This is primarily for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -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.12.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.12.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: