google-cloud-config_service-v1 0.3.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,6 +109,19 @@ module Google
109
109
  # @!attribute [r] lock_state
110
110
  # @return [::Google::Cloud::ConfigService::V1::Deployment::LockState]
111
111
  # Output only. Current lock state of the deployment.
112
+ # @!attribute [rw] tf_version_constraint
113
+ # @return [::String]
114
+ # Optional. The user-specified Terraform version constraint.
115
+ # Example: "=1.3.10".
116
+ # @!attribute [r] tf_version
117
+ # @return [::String]
118
+ # Output only. The current Terraform version set on the deployment.
119
+ # It is in the format of "Major.Minor.Patch", for example, "1.3.10".
120
+ # @!attribute [rw] quota_validation
121
+ # @return [::Google::Cloud::ConfigService::V1::QuotaValidation]
122
+ # Optional. Input to control quota checks for resources in terraform
123
+ # configuration files. There are limited resources on which quota validation
124
+ # applies.
112
125
  class Deployment
113
126
  include ::Google::Protobuf::MessageExts
114
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -287,8 +300,8 @@ module Google
287
300
  # @!attribute [rw] page_size
288
301
  # @return [::Integer]
289
302
  # When requesting a page of resources, 'page_size' specifies number of
290
- # resources to return. If unspecified or set to 0, all resources will be
291
- # returned.
303
+ # resources to return. If unspecified, at most 500 will be returned. The
304
+ # maximum value is 1000.
292
305
  # @!attribute [rw] page_token
293
306
  # @return [::String]
294
307
  # Token returned by previous call to 'ListDeployments' which specifies the
@@ -357,8 +370,8 @@ module Google
357
370
  # @!attribute [rw] page_size
358
371
  # @return [::Integer]
359
372
  # When requesting a page of resources, `page_size` specifies number of
360
- # resources to return. If unspecified or set to 0, all resources will be
361
- # returned.
373
+ # resources to return. If unspecified, at most 500 will be returned. The
374
+ # maximum value is 1000.
362
375
  # @!attribute [rw] page_token
363
376
  # @return [::String]
364
377
  # Token returned by previous call to 'ListRevisions' which specifies the
@@ -640,6 +653,24 @@ module Google
640
653
  # `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
641
654
  # If this field is unspecified, the default Cloud Build worker pool will be
642
655
  # used.
656
+ # @!attribute [r] tf_version_constraint
657
+ # @return [::String]
658
+ # Output only. The user-specified Terraform version constraint.
659
+ # Example: "=1.3.10".
660
+ # @!attribute [r] tf_version
661
+ # @return [::String]
662
+ # Output only. The version of Terraform used to create the Revision.
663
+ # It is in the format of "Major.Minor.Patch", for example, "1.3.10".
664
+ # @!attribute [r] quota_validation_results
665
+ # @return [::String]
666
+ # Output only. Cloud Storage path containing quota validation results. This
667
+ # field is set when a user sets Deployment.quota_validation field to ENABLED
668
+ # or ENFORCED. Format: `gs://{bucket}/{object}`.
669
+ # @!attribute [rw] quota_validation
670
+ # @return [::Google::Cloud::ConfigService::V1::QuotaValidation]
671
+ # Optional. Input to control quota checks for resources in terraform
672
+ # configuration files. There are limited resources on which quota validation
673
+ # applies.
643
674
  class Revision
644
675
  include ::Google::Protobuf::MessageExts
645
676
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -689,6 +720,10 @@ module Google
689
720
  # Cloud Build job associated with creating or updating a deployment was
690
721
  # started but failed.
691
722
  APPLY_BUILD_RUN_FAILED = 5
723
+
724
+ # quota validation failed for one or more resources in terraform
725
+ # configuration files.
726
+ QUOTA_VALIDATION_FAILED = 7
692
727
  end
693
728
  end
694
729
 
@@ -783,6 +818,12 @@ module Google
783
818
 
784
819
  # Operation failed
785
820
  FAILED = 10
821
+
822
+ # Validating the provided repository.
823
+ VALIDATING_REPOSITORY = 11
824
+
825
+ # Running quota validation
826
+ RUNNING_QUOTA_VALIDATION = 12
786
827
  end
787
828
  end
788
829
 
@@ -906,8 +947,8 @@ module Google
906
947
  # @!attribute [rw] page_size
907
948
  # @return [::Integer]
908
949
  # When requesting a page of resources, 'page_size' specifies number of
909
- # resources to return. If unspecified or set to 0, all resources will be
910
- # returned.
950
+ # resources to return. If unspecified, at most 500 will be returned. The
951
+ # maximum value is 1000.
911
952
  # @!attribute [rw] page_token
912
953
  # @return [::String]
913
954
  # Token returned by previous call to 'ListResources' which specifies the
@@ -1111,9 +1152,9 @@ module Google
1111
1152
  # Optional. Current mode of preview.
1112
1153
  # @!attribute [rw] service_account
1113
1154
  # @return [::String]
1114
- # Optional. Optional service account. If omitted, the deployment resource
1115
- # reference must be provided, and the service account attached to the
1116
- # deployment will be used.
1155
+ # Optional. User-specified Service Account (SA) credentials to be used when
1156
+ # previewing resources.
1157
+ # Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
1117
1158
  # @!attribute [rw] artifacts_gcs_bucket
1118
1159
  # @return [::String]
1119
1160
  # Optional. User-defined location of Cloud Build logs, artifacts, and
@@ -1286,6 +1327,9 @@ module Google
1286
1327
 
1287
1328
  # Operation failed.
1288
1329
  FAILED = 9
1330
+
1331
+ # Validating the provided repository.
1332
+ VALIDATING_REPOSITORY = 10
1289
1333
  end
1290
1334
  end
1291
1335
 
@@ -1352,8 +1396,8 @@ module Google
1352
1396
  # @!attribute [rw] page_size
1353
1397
  # @return [::Integer]
1354
1398
  # Optional. When requesting a page of resources, 'page_size' specifies number
1355
- # of resources to return. If unspecified or set to 0, all resources will be
1356
- # returned.
1399
+ # of resources to return. If unspecified, at most 500 will be returned. The
1400
+ # maximum value is 1000.
1357
1401
  # @!attribute [rw] page_token
1358
1402
  # @return [::String]
1359
1403
  # Optional. Token returned by previous call to 'ListDeployments' which
@@ -1462,6 +1506,121 @@ module Google
1462
1506
  include ::Google::Protobuf::MessageExts
1463
1507
  extend ::Google::Protobuf::MessageExts::ClassMethods
1464
1508
  end
1509
+
1510
+ # The request message for the GetTerraformVersion method.
1511
+ # @!attribute [rw] name
1512
+ # @return [::String]
1513
+ # Required. The name of the TerraformVersion. Format:
1514
+ # 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'
1515
+ class GetTerraformVersionRequest
1516
+ include ::Google::Protobuf::MessageExts
1517
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1518
+ end
1519
+
1520
+ # The request message for the ListTerraformVersions method.
1521
+ # @!attribute [rw] parent
1522
+ # @return [::String]
1523
+ # Required. The parent in whose context the TerraformVersions are listed. The
1524
+ # parent value is in the format:
1525
+ # 'projects/\\{project_id}/locations/\\{location}'.
1526
+ # @!attribute [rw] page_size
1527
+ # @return [::Integer]
1528
+ # Optional. When requesting a page of resources, 'page_size' specifies number
1529
+ # of resources to return. If unspecified, at most 500 will be returned. The
1530
+ # maximum value is 1000.
1531
+ # @!attribute [rw] page_token
1532
+ # @return [::String]
1533
+ # Optional. Token returned by previous call to 'ListTerraformVersions' which
1534
+ # specifies the position in the list from where to continue listing the
1535
+ # resources.
1536
+ # @!attribute [rw] filter
1537
+ # @return [::String]
1538
+ # Optional. Lists the TerraformVersions that match the filter expression. A
1539
+ # filter expression filters the resources listed in the response. The
1540
+ # expression must be of the form '\\{field} \\{operator} \\{value}' where
1541
+ # operators: '<', '>',
1542
+ # '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
1543
+ # operator which is roughly synonymous with equality). \\{field} can refer to a
1544
+ # proto or JSON field, or a synthetic field. Field names can be camelCase or
1545
+ # snake_case.
1546
+ # @!attribute [rw] order_by
1547
+ # @return [::String]
1548
+ # Optional. Field to use to sort the list.
1549
+ class ListTerraformVersionsRequest
1550
+ include ::Google::Protobuf::MessageExts
1551
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1552
+ end
1553
+
1554
+ # The response message for the `ListTerraformVersions` method.
1555
+ # @!attribute [rw] terraform_versions
1556
+ # @return [::Array<::Google::Cloud::ConfigService::V1::TerraformVersion>]
1557
+ # List of {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}s.
1558
+ # @!attribute [rw] next_page_token
1559
+ # @return [::String]
1560
+ # Token to be supplied to the next ListTerraformVersions request via
1561
+ # `page_token` to obtain the next set of results.
1562
+ # @!attribute [rw] unreachable
1563
+ # @return [::Array<::String>]
1564
+ # Unreachable resources, if any.
1565
+ class ListTerraformVersionsResponse
1566
+ include ::Google::Protobuf::MessageExts
1567
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1568
+ end
1569
+
1570
+ # A TerraformVersion represents the support state the corresponding
1571
+ # Terraform version.
1572
+ # @!attribute [rw] name
1573
+ # @return [::String]
1574
+ # Identifier. The version name is in the format:
1575
+ # 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'.
1576
+ # @!attribute [r] state
1577
+ # @return [::Google::Cloud::ConfigService::V1::TerraformVersion::State]
1578
+ # Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
1579
+ # @!attribute [r] support_time
1580
+ # @return [::Google::Protobuf::Timestamp]
1581
+ # Output only. When the version is supported.
1582
+ # @!attribute [r] deprecate_time
1583
+ # @return [::Google::Protobuf::Timestamp]
1584
+ # Output only. When the version is deprecated.
1585
+ # @!attribute [r] obsolete_time
1586
+ # @return [::Google::Protobuf::Timestamp]
1587
+ # Output only. When the version is obsolete.
1588
+ class TerraformVersion
1589
+ include ::Google::Protobuf::MessageExts
1590
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1591
+
1592
+ # Possible states of a TerraformVersion.
1593
+ module State
1594
+ # The default value. This value is used if the state is omitted.
1595
+ STATE_UNSPECIFIED = 0
1596
+
1597
+ # The version is actively supported.
1598
+ ACTIVE = 1
1599
+
1600
+ # The version is deprecated.
1601
+ DEPRECATED = 2
1602
+
1603
+ # The version is obsolete.
1604
+ OBSOLETE = 3
1605
+ end
1606
+ end
1607
+
1608
+ # Enum values to control quota checks for resources in terraform
1609
+ # configuration files.
1610
+ module QuotaValidation
1611
+ # The default value.
1612
+ # QuotaValidation on terraform configuration files will be disabled in
1613
+ # this case.
1614
+ QUOTA_VALIDATION_UNSPECIFIED = 0
1615
+
1616
+ # Enable computing quotas for resources in terraform configuration files to
1617
+ # get visibility on resources with insufficient quotas.
1618
+ ENABLED = 1
1619
+
1620
+ # Enforce quota checks so deployment fails if there isn't sufficient quotas
1621
+ # available to deploy resources in terraform configuration files.
1622
+ ENFORCED = 2
1623
+ end
1465
1624
  end
1466
1625
  end
1467
1626
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-config_service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -84,118 +84,6 @@ dependencies:
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.a
87
- - !ruby/object:Gem::Dependency
88
- name: google-style
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: 1.26.3
94
- type: :development
95
- prerelease: false
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - "~>"
99
- - !ruby/object:Gem::Version
100
- version: 1.26.3
101
- - !ruby/object:Gem::Dependency
102
- name: minitest
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '5.16'
108
- type: :development
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - "~>"
113
- - !ruby/object:Gem::Version
114
- version: '5.16'
115
- - !ruby/object:Gem::Dependency
116
- name: minitest-focus
117
- requirement: !ruby/object:Gem::Requirement
118
- requirements:
119
- - - "~>"
120
- - !ruby/object:Gem::Version
121
- version: '1.1'
122
- type: :development
123
- prerelease: false
124
- version_requirements: !ruby/object:Gem::Requirement
125
- requirements:
126
- - - "~>"
127
- - !ruby/object:Gem::Version
128
- version: '1.1'
129
- - !ruby/object:Gem::Dependency
130
- name: minitest-rg
131
- requirement: !ruby/object:Gem::Requirement
132
- requirements:
133
- - - "~>"
134
- - !ruby/object:Gem::Version
135
- version: '5.2'
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - "~>"
141
- - !ruby/object:Gem::Version
142
- version: '5.2'
143
- - !ruby/object:Gem::Dependency
144
- name: rake
145
- requirement: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: '13.0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: '13.0'
157
- - !ruby/object:Gem::Dependency
158
- name: redcarpet
159
- requirement: !ruby/object:Gem::Requirement
160
- requirements:
161
- - - "~>"
162
- - !ruby/object:Gem::Version
163
- version: '3.0'
164
- type: :development
165
- prerelease: false
166
- version_requirements: !ruby/object:Gem::Requirement
167
- requirements:
168
- - - "~>"
169
- - !ruby/object:Gem::Version
170
- version: '3.0'
171
- - !ruby/object:Gem::Dependency
172
- name: simplecov
173
- requirement: !ruby/object:Gem::Requirement
174
- requirements:
175
- - - "~>"
176
- - !ruby/object:Gem::Version
177
- version: '0.18'
178
- type: :development
179
- prerelease: false
180
- version_requirements: !ruby/object:Gem::Requirement
181
- requirements:
182
- - - "~>"
183
- - !ruby/object:Gem::Version
184
- version: '0.18'
185
- - !ruby/object:Gem::Dependency
186
- name: yard
187
- requirement: !ruby/object:Gem::Requirement
188
- requirements:
189
- - - "~>"
190
- - !ruby/object:Gem::Version
191
- version: '0.9'
192
- type: :development
193
- prerelease: false
194
- version_requirements: !ruby/object:Gem::Requirement
195
- requirements:
196
- - - "~>"
197
- - !ruby/object:Gem::Version
198
- version: '0.9'
199
87
  description: Creates and manages Google Cloud Platform resources and infrastructure.
200
88
  Note that google-cloud-config_service-v1 is a version-specific client library. For
201
89
  most uses, we recommend installing the main client library google-cloud-config_service
@@ -253,14 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
141
  requirements:
254
142
  - - ">="
255
143
  - !ruby/object:Gem::Version
256
- version: '2.6'
144
+ version: '2.7'
257
145
  required_rubygems_version: !ruby/object:Gem::Requirement
258
146
  requirements:
259
147
  - - ">="
260
148
  - !ruby/object:Gem::Version
261
149
  version: '0'
262
150
  requirements: []
263
- rubygems_version: 3.5.3
151
+ rubygems_version: 3.5.6
264
152
  signing_key:
265
153
  specification_version: 4
266
154
  summary: Creates and manages Google Cloud Platform resources and infrastructure.