google-cloud-config_service-v1 0.4.0 → 0.5.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: 8dd54b40a5e8a6fcc69417ac92057a5e95a4bbc8817a769aa32d890654b43a23
4
- data.tar.gz: fd73369e194cf0130829463d95df8a86a6345b15871063f5a7699623303e8903
3
+ metadata.gz: 67c3ed4949b616fc5be45d9f2713b72fc906f4e3d88f26964495bb5d83e2d983
4
+ data.tar.gz: e4148dae8ab7d5cd06123fcd907564334c646b5e279c42ca2ee457507f4ef583
5
5
  SHA512:
6
- metadata.gz: cb7ff9e084ff8470240b131e54a3655631abe9ceb49de52c2990b13a4e9b76dfe6e6e80d1c4bf6b3119bb1b2dc2b926dea5e2f0cf5473222838977b1d89eeeed
7
- data.tar.gz: 58730c41c6fbab947a87f1b637141b05c3e7b339bffc14dda2566920ea6498b22b40cf29a5ba95ac0b376a76478bba371e5304048fa56edc6d892647e47aa17f
6
+ metadata.gz: 1e6c17aca6b498ee0e3ee3eb7adfdd188eb05e3b1d234010e40c7f465a1171e98cdc2f88d5da44c0d984701f9ef5a7b8ba3abe84556e11df2b9fd30a13286117
7
+ data.tar.gz: e2506724b329d20dcb865ded9bf13a3cdddaa56f2eba7e2fac33f37cfb880909ebff50221f826331bfed9177e056a3f92b2f17d5735e0550501cefd449d0f845
@@ -4,20 +4,20 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/longrunning/operations_pb'
8
- require 'google/protobuf/timestamp_pb'
9
- require 'google/protobuf/struct_pb'
10
- require 'google/protobuf/field_mask_pb'
11
7
  require 'google/api/annotations_pb'
12
8
  require 'google/api/client_pb'
13
9
  require 'google/api/field_behavior_pb'
14
10
  require 'google/api/field_info_pb'
15
11
  require 'google/api/resource_pb'
12
+ require 'google/longrunning/operations_pb'
16
13
  require 'google/protobuf/empty_pb'
14
+ require 'google/protobuf/field_mask_pb'
15
+ require 'google/protobuf/struct_pb'
16
+ require 'google/protobuf/timestamp_pb'
17
17
  require 'google/rpc/status_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n#google/cloud/config/v1/config.proto\x12\x16google.cloud.config.v1\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xa9\r\n\nDeployment\x12I\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.config.v1.Deployment.LabelsEntry\x12<\n\x05state\x18\x05 \x01(\x0e\x32(.google.cloud.config.v1.Deployment.StateB\x03\xe0\x41\x03\x12\x1c\n\x0flatest_revision\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cstate_detail\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x45\n\nerror_code\x18\n \x01(\x0e\x32,.google.cloud.config.v1.Deployment.ErrorCodeB\x03\xe0\x41\x03\x12\x41\n\x0e\x64\x65lete_results\x18\x08 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x03\xe0\x41\x03\x12\x19\n\x0c\x64\x65lete_build\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65lete_logs\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12&\n\x14\x61rtifacts_gcs_bucket\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12G\n\x0fservice_account\x18\x10 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountH\x02\x88\x01\x01\x12&\n\x19import_existing_resources\x18\x11 \x01(\x08H\x03\x88\x01\x01\x12\x46\n\x0bworker_pool\x18\x13 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x04\x88\x01\x01\x12\x45\n\nlock_state\x18\x14 \x01(\x0e\x32,.google.cloud.config.v1.Deployment.LockStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\"\xdc\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fREVISION_FAILED\x10\x01\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x03\x12\x1b\n\x17\x44\x45LETE_BUILD_API_FAILED\x10\x05\x12\x1b\n\x17\x44\x45LETE_BUILD_RUN_FAILED\x10\x06\x12%\n!BUCKET_CREATION_PERMISSION_DENIED\x10\x07\x12\x1a\n\x16\x42UCKET_CREATION_FAILED\x10\x08\"\x81\x01\n\tLockState\x12\x1a\n\x16LOCK_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x0c\n\x08UNLOCKED\x10\x02\x12\x0b\n\x07LOCKING\x10\x03\x12\r\n\tUNLOCKING\x10\x04\x12\x0f\n\x0bLOCK_FAILED\x10\x05\x12\x11\n\rUNLOCK_FAILED\x10\x06:g\xea\x41\x64\n config.googleapis.com/Deployment\x12@projects/{project}/locations/{location}/deployments/{deployment}B\x0b\n\tblueprintB\x17\n\x15_artifacts_gcs_bucketB\x12\n\x10_service_accountB\x1c\n\x1a_import_existing_resourcesB\x0e\n\x0c_worker_pool\"\xa9\x02\n\x12TerraformBlueprint\x12\x19\n\ngcs_source\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12<\n\ngit_source\x18\x02 \x01(\x0b\x32!.google.cloud.config.v1.GitSourceB\x03\xe0\x41\x02H\x00\x12Q\n\x0cinput_values\x18\x04 \x03(\x0b\x32;.google.cloud.config.v1.TerraformBlueprint.InputValuesEntry\x1a]\n\x10InputValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.config.v1.TerraformVariable:\x02\x38\x01\x42\x08\n\x06source\"@\n\x11TerraformVariable\x12+\n\x0binput_value\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\"\xcf\x01\n\x0c\x41pplyResults\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\tartifacts\x18\x02 \x01(\t\x12\x42\n\x07outputs\x18\x03 \x03(\x0b\x32\x31.google.cloud.config.v1.ApplyResults.OutputsEntry\x1aW\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.config.v1.TerraformOutput:\x02\x38\x01\"K\n\x0fTerraformOutput\x12\x11\n\tsensitive\x18\x01 \x01(\x08\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\"\x9c\x01\n\x16ListDeploymentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x17ListDeploymentsResponse\x12\x37\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\".google.cloud.config.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x14GetDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"\x99\x01\n\x14ListRevisionsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x15ListRevisionsResponse\x12\x33\n\trevisions\x18\x01 \x03(\x0b\x32 .google.cloud.config.v1.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"J\n\x12GetRevisionRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\xc6\x01\n\x17\x43reateDeploymentRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\rdeployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\x17UpdateDeploymentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12;\n\ndeployment\x18\x02 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa0\x02\n\x17\x44\x65leteDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12X\n\rdelete_policy\x18\x04 \x01(\x0e\x32<.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicyB\x03\xe0\x41\x01\"F\n\x0c\x44\x65letePolicy\x12\x1d\n\x19\x44\x45LETE_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\"\xc1\x03\n\x11OperationMetadata\x12W\n\x13\x64\x65ployment_metadata\x18\x08 \x01(\x0b\x32\x33.google.cloud.config.v1.DeploymentOperationMetadataB\x03\xe0\x41\x03H\x00\x12Q\n\x10preview_metadata\x18\t \x01(\x0b\x32\x30.google.cloud.config.v1.PreviewOperationMetadataB\x03\xe0\x41\x03H\x00\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\x13\n\x11resource_metadata\"\xba\t\n\x08Revision\x12N\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintB\x03\xe0\x41\x03H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Revision.ActionB\x03\xe0\x41\x03\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Revision.StateB\x03\xe0\x41\x03\x12@\n\rapply_results\x18\x07 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x03\xe0\x41\x03\x12\x19\n\x0cstate_detail\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x43\n\nerror_code\x18\t \x01(\x0e\x32*.google.cloud.config.v1.Revision.ErrorCodeB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\x0c \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0fservice_account\x18\x0e \x01(\tB)\xe0\x41\x03\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12&\n\x19import_existing_resources\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x41\n\x0bworker_pool\x18\x11 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\"D\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41PPLYING\x10\x01\x12\x0b\n\x07\x41PPLIED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"\x82\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x01\x12\x1a\n\x16\x41PPLY_BUILD_API_FAILED\x10\x04\x12\x1a\n\x16\x41PPLY_BUILD_RUN_FAILED\x10\x05:z\xea\x41w\n\x1e\x63onfig.googleapis.com/Revision\x12Uprojects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}B\x0b\n\tblueprint\"\x84\x01\n\x0eTerraformError\x12\x18\n\x10resource_address\x18\x01 \x01(\t\x12\x1a\n\x12http_response_code\x18\x02 \x01(\x05\x12\x19\n\x11\x65rror_description\x18\x03 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\"v\n\tGitSource\x12\x16\n\x04repo\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1b\n\tdirectory\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x15\n\x03ref\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x07\n\x05_repoB\x0c\n\n_directoryB\x06\n\x04_ref\"\xe6\x03\n\x1b\x44\x65ploymentOperationMetadata\x12P\n\x04step\x18\x01 \x01(\x0e\x32\x42.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep\x12;\n\rapply_results\x18\x02 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResults\x12\x12\n\x05\x62uild\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x90\x02\n\x0e\x44\x65ploymentStep\x12\x1f\n\x1b\x44\x45PLOYMENT_STEP_UNSPECIFIED\x10\x00\x12\x1c\n\x18PREPARING_STORAGE_BUCKET\x10\x01\x12\x19\n\x15\x44OWNLOADING_BLUEPRINT\x10\x02\x12\x13\n\x0fRUNNING_TF_INIT\x10\x03\x12\x13\n\x0fRUNNING_TF_PLAN\x10\x04\x12\x14\n\x10RUNNING_TF_APPLY\x10\x05\x12\x16\n\x12RUNNING_TF_DESTROY\x10\x06\x12\x17\n\x13RUNNING_TF_VALIDATE\x10\x07\x12\x18\n\x14UNLOCKING_DEPLOYMENT\x10\x08\x12\r\n\tSUCCEEDED\x10\t\x12\n\n\x06\x46\x41ILED\x10\n\"\xd8\x05\n\x08Resource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12J\n\x0eterraform_info\x18\x02 \x01(\x0b\x32-.google.cloud.config.v1.ResourceTerraformInfoB\x03\xe0\x41\x03\x12H\n\ncai_assets\x18\x03 \x03(\x0b\x32/.google.cloud.config.v1.Resource.CaiAssetsEntryB\x03\xe0\x41\x03\x12<\n\x06intent\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Resource.IntentB\x03\xe0\x41\x03\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Resource.StateB\x03\xe0\x41\x03\x1aY\n\x0e\x43\x61iAssetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.config.v1.ResourceCAIInfo:\x02\x38\x01\"a\n\x06Intent\x12\x16\n\x12INTENT_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0c\n\x08RECREATE\x10\x04\x12\r\n\tUNCHANGED\x10\x05\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PLANNED\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\x0e\n\nRECONCILED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x90\x01\xea\x41\x8c\x01\n\x1e\x63onfig.googleapis.com/Resource\x12jprojects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}\"B\n\x15ResourceTerraformInfo\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\"-\n\x0fResourceCAIInfo\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\"J\n\x12GetResourceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Resource\"\x97\x01\n\x14ListResourcesRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .google.cloud.config.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"$\n\tStatefile\x12\x17\n\nsigned_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"p\n ExportDeploymentStatefileRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x12\n\x05\x64raft\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"X\n\x1e\x45xportRevisionStatefileRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\x81\x01\n\x16ImportStatefileRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x17\n\nskip_draft\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"f\n\x16\x44\x65leteStatefileRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"O\n\x15LockDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"g\n\x17UnlockDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"O\n\x15\x45xportLockInfoRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"\x8b\x01\n\x08LockInfo\x12\x0f\n\x07lock_id\x18\x01 \x01(\x03\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x0c\n\x04info\x18\x03 \x01(\t\x12\x0b\n\x03who\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9c\x0c\n\x07Preview\x12I\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x03 \x03(\x0b\x32+.google.cloud.config.v1.Preview.LabelsEntryB\x03\xe0\x41\x01\x12\x39\n\x05state\x18\x04 \x01(\x0e\x32%.google.cloud.config.v1.Preview.StateB\x03\xe0\x41\x03\x12<\n\ndeployment\x18\x05 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n config.googleapis.com/Deployment\x12\x46\n\x0cpreview_mode\x18\x0f \x01(\x0e\x32+.google.cloud.config.v1.Preview.PreviewModeB\x03\xe0\x41\x01\x12\x42\n\x0fservice_account\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12&\n\x14\x61rtifacts_gcs_bucket\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x46\n\x0bworker_pool\x18\t \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x02\x88\x01\x01\x12\x42\n\nerror_code\x18\n \x01(\x0e\x32).google.cloud.config.v1.Preview.ErrorCodeB\x03\xe0\x41\x03\x12-\n\x0c\x65rror_status\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12H\n\x11preview_artifacts\x18\x10 \x01(\x0b\x32(.google.cloud.config.v1.PreviewArtifactsB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x11 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08\x41PPLYING\x10\x03\x12\t\n\x05STALE\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\"D\n\x0bPreviewMode\x12\x1c\n\x18PREVIEW_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\"\xed\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x01\x12%\n!BUCKET_CREATION_PERMISSION_DENIED\x10\x02\x12\x1a\n\x16\x42UCKET_CREATION_FAILED\x10\x03\x12\"\n\x1e\x44\x45PLOYMENT_LOCK_ACQUIRE_FAILED\x10\x04\x12\x1c\n\x18PREVIEW_BUILD_API_FAILED\x10\x05\x12\x1c\n\x18PREVIEW_BUILD_RUN_FAILED\x10\x06:q\xea\x41n\n\x1d\x63onfig.googleapis.com/Preview\x12:projects/{project}/locations/{location}/previews/{preview}*\x08previews2\x07previewB\x0b\n\tblueprintB\x17\n\x15_artifacts_gcs_bucketB\x0e\n\x0c_worker_pool\"\xc9\x03\n\x18PreviewOperationMetadata\x12J\n\x04step\x18\x01 \x01(\x0e\x32<.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep\x12\x43\n\x11preview_artifacts\x18\x02 \x01(\x0b\x32(.google.cloud.config.v1.PreviewArtifacts\x12\x11\n\x04logs\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xf4\x01\n\x0bPreviewStep\x12\x1c\n\x18PREVIEW_STEP_UNSPECIFIED\x10\x00\x12\x1c\n\x18PREPARING_STORAGE_BUCKET\x10\x01\x12\x19\n\x15\x44OWNLOADING_BLUEPRINT\x10\x02\x12\x13\n\x0fRUNNING_TF_INIT\x10\x03\x12\x13\n\x0fRUNNING_TF_PLAN\x10\x04\x12\x17\n\x13\x46\x45TCHING_DEPLOYMENT\x10\x05\x12\x16\n\x12LOCKING_DEPLOYMENT\x10\x06\x12\x18\n\x14UNLOCKING_DEPLOYMENT\x10\x07\x12\r\n\tSUCCEEDED\x10\x08\x12\n\n\x06\x46\x41ILED\x10\t\"@\n\x10PreviewArtifacts\x12\x14\n\x07\x63ontent\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tartifacts\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc2\x01\n\x14\x43reatePreviewRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\npreview_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07preview\x18\x03 \x01(\x0b\x32\x1f.google.cloud.config.v1.PreviewB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"H\n\x11GetPreviewRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"\xad\x01\n\x13ListPreviewsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"w\n\x14ListPreviewsResponse\x12\x31\n\x08previews\x18\x01 \x03(\x0b\x32\x1f.google.cloud.config.v1.Preview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"l\n\x14\x44\x65letePreviewRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"S\n\x1a\x45xportPreviewResultRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"Y\n\x1b\x45xportPreviewResultResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32%.google.cloud.config.v1.PreviewResultB\x03\xe0\x41\x03\"M\n\rPreviewResult\x12\x1e\n\x11\x62inary_signed_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fjson_signed_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x32\x9c \n\x06\x43onfig\x12\xb4\x01\n\x0fListDeployments\x12..google.cloud.config.v1.ListDeploymentsRequest\x1a/.google.cloud.config.v1.ListDeploymentsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/deployments\x12\xa1\x01\n\rGetDeployment\x12,.google.cloud.config.v1.GetDeploymentRequest\x1a\".google.cloud.config.v1.Deployment\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/deployments/*}\x12\xec\x01\n\x10\x43reateDeployment\x12/.google.cloud.config.v1.CreateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/deployments:\ndeployment\x12\xee\x01\n\x10UpdateDeployment\x12/.google.cloud.config.v1.UpdateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x16\x64\x65ployment,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{deployment.name=projects/*/locations/*/deployments/*}:\ndeployment\x12\xc4\x01\n\x10\x44\x65leteDeployment\x12/.google.cloud.config.v1.DeleteDeploymentRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/deployments/*}\x12\xba\x01\n\rListRevisions\x12,.google.cloud.config.v1.ListRevisionsRequest\x1a-.google.cloud.config.v1.ListRevisionsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/deployments/*}/revisions\x12\xa7\x01\n\x0bGetRevision\x12*.google.cloud.config.v1.GetRevisionRequest\x1a .google.cloud.config.v1.Revision\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deployments/*/revisions/*}\x12\xb3\x01\n\x0bGetResource\x12*.google.cloud.config.v1.GetResourceRequest\x1a .google.cloud.config.v1.Resource\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/deployments/*/revisions/*/resources/*}\x12\xc6\x01\n\rListResources\x12,.google.cloud.config.v1.ListResourcesRequest\x1a-.google.cloud.config.v1.ListResourcesResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}/resources\x12\xc2\x01\n\x19\x45xportDeploymentStatefile\x12\x38.google.cloud.config.v1.ExportDeploymentStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/deployments/*}:exportState:\x01*\x12\xca\x01\n\x17\x45xportRevisionStatefile\x12\x36.google.cloud.config.v1.ExportRevisionStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"T\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}:exportState:\x01*\x12\xbf\x01\n\x0fImportStatefile\x12..google.cloud.config.v1.ImportStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"Y\xda\x41\x0eparent,lock_id\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/deployments/*}:importState:\x01*\x12\xa8\x01\n\x0f\x44\x65leteStatefile\x12..google.cloud.config.v1.DeleteStatefileRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/locations/*/deployments/*}:deleteState:\x01*\x12\xc8\x01\n\x0eLockDeployment\x12-.google.cloud.config.v1.LockDeploymentRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/deployments/*}:lock:\x01*\x12\xd6\x01\n\x10UnlockDeployment\x12/.google.cloud.config.v1.UnlockDeploymentRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x0cname,lock_id\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/deployments/*}:unlock:\x01*\x12\xac\x01\n\x0e\x45xportLockInfo\x12-.google.cloud.config.v1.ExportLockInfoRequest\x1a .google.cloud.config.v1.LockInfo\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/deployments/*}:exportLock\x12\xcb\x01\n\rCreatePreview\x12,.google.cloud.config.v1.CreatePreviewRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41\x1c\n\x07Preview\x12\x11OperationMetadata\xda\x41\x0eparent,preview\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/previews:\x07preview\x12\x95\x01\n\nGetPreview\x12).google.cloud.config.v1.GetPreviewRequest\x1a\x1f.google.cloud.config.v1.Preview\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/previews/*}\x12\xa8\x01\n\x0cListPreviews\x12+.google.cloud.config.v1.ListPreviewsRequest\x1a,.google.cloud.config.v1.ListPreviewsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/previews\x12\xb8\x01\n\rDeletePreview\x12,.google.cloud.config.v1.DeletePreviewRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41\x1c\n\x07Preview\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/previews/*}\x12\xc0\x01\n\x13\x45xportPreviewResult\x12\x32.google.cloud.config.v1.ExportPreviewResultRequest\x1a\x33.google.cloud.config.v1.ExportPreviewResultResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{parent=projects/*/locations/*/previews/*}:export:\x01*\x1aI\xca\x41\x15\x63onfig.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfc\x02\n\x1a\x63om.google.cloud.config.v1B\x0b\x43onfigProtoP\x01Z2cloud.google.com/go/config/apiv1/configpb;configpb\xaa\x02\x16Google.Cloud.Config.V1\xca\x02\x16Google\\Cloud\\Config\\V1\xea\x02 Google::Cloud::ConfigService::V1\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41i\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}b\x06proto3"
20
+ descriptor_data = "\n#google/cloud/config/v1/config.proto\x12\x16google.cloud.config.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xcd\x0e\n\nDeployment\x12I\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.config.v1.Deployment.LabelsEntry\x12<\n\x05state\x18\x05 \x01(\x0e\x32(.google.cloud.config.v1.Deployment.StateB\x03\xe0\x41\x03\x12\x1c\n\x0flatest_revision\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cstate_detail\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x45\n\nerror_code\x18\n \x01(\x0e\x32,.google.cloud.config.v1.Deployment.ErrorCodeB\x03\xe0\x41\x03\x12\x41\n\x0e\x64\x65lete_results\x18\x08 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x03\xe0\x41\x03\x12\x19\n\x0c\x64\x65lete_build\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65lete_logs\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12&\n\x14\x61rtifacts_gcs_bucket\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12G\n\x0fservice_account\x18\x10 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountH\x02\x88\x01\x01\x12&\n\x19import_existing_resources\x18\x11 \x01(\x08H\x03\x88\x01\x01\x12\x46\n\x0bworker_pool\x18\x13 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x04\x88\x01\x01\x12\x45\n\nlock_state\x18\x14 \x01(\x0e\x32,.google.cloud.config.v1.Deployment.LockStateB\x03\xe0\x41\x03\x12\'\n\x15tf_version_constraint\x18\x15 \x01(\tB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x17\n\ntf_version\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x10quota_validation\x18\x17 \x01(\x0e\x32\'.google.cloud.config.v1.QuotaValidationB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\"\xdc\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fREVISION_FAILED\x10\x01\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x03\x12\x1b\n\x17\x44\x45LETE_BUILD_API_FAILED\x10\x05\x12\x1b\n\x17\x44\x45LETE_BUILD_RUN_FAILED\x10\x06\x12%\n!BUCKET_CREATION_PERMISSION_DENIED\x10\x07\x12\x1a\n\x16\x42UCKET_CREATION_FAILED\x10\x08\"\x81\x01\n\tLockState\x12\x1a\n\x16LOCK_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x0c\n\x08UNLOCKED\x10\x02\x12\x0b\n\x07LOCKING\x10\x03\x12\r\n\tUNLOCKING\x10\x04\x12\x0f\n\x0bLOCK_FAILED\x10\x05\x12\x11\n\rUNLOCK_FAILED\x10\x06:g\xea\x41\x64\n config.googleapis.com/Deployment\x12@projects/{project}/locations/{location}/deployments/{deployment}B\x0b\n\tblueprintB\x17\n\x15_artifacts_gcs_bucketB\x12\n\x10_service_accountB\x1c\n\x1a_import_existing_resourcesB\x0e\n\x0c_worker_poolB\x18\n\x16_tf_version_constraint\"\xa9\x02\n\x12TerraformBlueprint\x12\x19\n\ngcs_source\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12<\n\ngit_source\x18\x02 \x01(\x0b\x32!.google.cloud.config.v1.GitSourceB\x03\xe0\x41\x02H\x00\x12Q\n\x0cinput_values\x18\x04 \x03(\x0b\x32;.google.cloud.config.v1.TerraformBlueprint.InputValuesEntry\x1a]\n\x10InputValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.config.v1.TerraformVariable:\x02\x38\x01\x42\x08\n\x06source\"@\n\x11TerraformVariable\x12+\n\x0binput_value\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\"\xcf\x01\n\x0c\x41pplyResults\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\tartifacts\x18\x02 \x01(\t\x12\x42\n\x07outputs\x18\x03 \x03(\x0b\x32\x31.google.cloud.config.v1.ApplyResults.OutputsEntry\x1aW\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.config.v1.TerraformOutput:\x02\x38\x01\"K\n\x0fTerraformOutput\x12\x11\n\tsensitive\x18\x01 \x01(\x08\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\"\x9c\x01\n\x16ListDeploymentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x17ListDeploymentsResponse\x12\x37\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\".google.cloud.config.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x14GetDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"\x99\x01\n\x14ListRevisionsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x15ListRevisionsResponse\x12\x33\n\trevisions\x18\x01 \x03(\x0b\x32 .google.cloud.config.v1.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"J\n\x12GetRevisionRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\xc6\x01\n\x17\x43reateDeploymentRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\rdeployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\x17UpdateDeploymentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12;\n\ndeployment\x18\x02 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa0\x02\n\x17\x44\x65leteDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12X\n\rdelete_policy\x18\x04 \x01(\x0e\x32<.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicyB\x03\xe0\x41\x01\"F\n\x0c\x44\x65letePolicy\x12\x1d\n\x19\x44\x45LETE_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\"\xc1\x03\n\x11OperationMetadata\x12W\n\x13\x64\x65ployment_metadata\x18\x08 \x01(\x0b\x32\x33.google.cloud.config.v1.DeploymentOperationMetadataB\x03\xe0\x41\x03H\x00\x12Q\n\x10preview_metadata\x18\t \x01(\x0b\x32\x30.google.cloud.config.v1.PreviewOperationMetadataB\x03\xe0\x41\x03H\x00\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\x13\n\x11resource_metadata\"\x83\x0b\n\x08Revision\x12N\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintB\x03\xe0\x41\x03H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Revision.ActionB\x03\xe0\x41\x03\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Revision.StateB\x03\xe0\x41\x03\x12@\n\rapply_results\x18\x07 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x03\xe0\x41\x03\x12\x19\n\x0cstate_detail\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x43\n\nerror_code\x18\t \x01(\x0e\x32*.google.cloud.config.v1.Revision.ErrorCodeB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\x0c \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0fservice_account\x18\x0e \x01(\tB)\xe0\x41\x03\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12&\n\x19import_existing_resources\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x41\n\x0bworker_pool\x18\x11 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12\"\n\x15tf_version_constraint\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ntf_version\x18\x13 \x01(\tB\x03\xe0\x41\x03\x12%\n\x18quota_validation_results\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x10quota_validation\x18\x14 \x01(\x0e\x32\'.google.cloud.config.v1.QuotaValidationB\x03\xe0\x41\x01\"D\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41PPLYING\x10\x01\x12\x0b\n\x07\x41PPLIED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"\x9f\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x01\x12\x1a\n\x16\x41PPLY_BUILD_API_FAILED\x10\x04\x12\x1a\n\x16\x41PPLY_BUILD_RUN_FAILED\x10\x05\x12\x1b\n\x17QUOTA_VALIDATION_FAILED\x10\x07:z\xea\x41w\n\x1e\x63onfig.googleapis.com/Revision\x12Uprojects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}B\x0b\n\tblueprint\"\x84\x01\n\x0eTerraformError\x12\x18\n\x10resource_address\x18\x01 \x01(\t\x12\x1a\n\x12http_response_code\x18\x02 \x01(\x05\x12\x19\n\x11\x65rror_description\x18\x03 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\"v\n\tGitSource\x12\x16\n\x04repo\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1b\n\tdirectory\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x15\n\x03ref\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x07\n\x05_repoB\x0c\n\n_directoryB\x06\n\x04_ref\"\x9f\x04\n\x1b\x44\x65ploymentOperationMetadata\x12P\n\x04step\x18\x01 \x01(\x0e\x32\x42.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep\x12;\n\rapply_results\x18\x02 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResults\x12\x12\n\x05\x62uild\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xc9\x02\n\x0e\x44\x65ploymentStep\x12\x1f\n\x1b\x44\x45PLOYMENT_STEP_UNSPECIFIED\x10\x00\x12\x1c\n\x18PREPARING_STORAGE_BUCKET\x10\x01\x12\x19\n\x15\x44OWNLOADING_BLUEPRINT\x10\x02\x12\x13\n\x0fRUNNING_TF_INIT\x10\x03\x12\x13\n\x0fRUNNING_TF_PLAN\x10\x04\x12\x14\n\x10RUNNING_TF_APPLY\x10\x05\x12\x16\n\x12RUNNING_TF_DESTROY\x10\x06\x12\x17\n\x13RUNNING_TF_VALIDATE\x10\x07\x12\x18\n\x14UNLOCKING_DEPLOYMENT\x10\x08\x12\r\n\tSUCCEEDED\x10\t\x12\n\n\x06\x46\x41ILED\x10\n\x12\x19\n\x15VALIDATING_REPOSITORY\x10\x0b\x12\x1c\n\x18RUNNING_QUOTA_VALIDATION\x10\x0c\"\xd8\x05\n\x08Resource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12J\n\x0eterraform_info\x18\x02 \x01(\x0b\x32-.google.cloud.config.v1.ResourceTerraformInfoB\x03\xe0\x41\x03\x12H\n\ncai_assets\x18\x03 \x03(\x0b\x32/.google.cloud.config.v1.Resource.CaiAssetsEntryB\x03\xe0\x41\x03\x12<\n\x06intent\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Resource.IntentB\x03\xe0\x41\x03\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Resource.StateB\x03\xe0\x41\x03\x1aY\n\x0e\x43\x61iAssetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.config.v1.ResourceCAIInfo:\x02\x38\x01\"a\n\x06Intent\x12\x16\n\x12INTENT_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0c\n\x08RECREATE\x10\x04\x12\r\n\tUNCHANGED\x10\x05\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PLANNED\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\x0e\n\nRECONCILED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x90\x01\xea\x41\x8c\x01\n\x1e\x63onfig.googleapis.com/Resource\x12jprojects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}\"B\n\x15ResourceTerraformInfo\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\"-\n\x0fResourceCAIInfo\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\"J\n\x12GetResourceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Resource\"\x97\x01\n\x14ListResourcesRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .google.cloud.config.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"$\n\tStatefile\x12\x17\n\nsigned_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"p\n ExportDeploymentStatefileRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x12\n\x05\x64raft\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"X\n\x1e\x45xportRevisionStatefileRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\x81\x01\n\x16ImportStatefileRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x17\n\nskip_draft\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"f\n\x16\x44\x65leteStatefileRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"O\n\x15LockDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"g\n\x17UnlockDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x14\n\x07lock_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"O\n\x15\x45xportLockInfoRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n config.googleapis.com/Deployment\"\x8b\x01\n\x08LockInfo\x12\x0f\n\x07lock_id\x18\x01 \x01(\x03\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x0c\n\x04info\x18\x03 \x01(\t\x12\x0b\n\x03who\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9c\x0c\n\x07Preview\x12I\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x03 \x03(\x0b\x32+.google.cloud.config.v1.Preview.LabelsEntryB\x03\xe0\x41\x01\x12\x39\n\x05state\x18\x04 \x01(\x0e\x32%.google.cloud.config.v1.Preview.StateB\x03\xe0\x41\x03\x12<\n\ndeployment\x18\x05 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n config.googleapis.com/Deployment\x12\x46\n\x0cpreview_mode\x18\x0f \x01(\x0e\x32+.google.cloud.config.v1.Preview.PreviewModeB\x03\xe0\x41\x01\x12\x42\n\x0fservice_account\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12&\n\x14\x61rtifacts_gcs_bucket\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x46\n\x0bworker_pool\x18\t \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x02\x88\x01\x01\x12\x42\n\nerror_code\x18\n \x01(\x0e\x32).google.cloud.config.v1.Preview.ErrorCodeB\x03\xe0\x41\x03\x12-\n\x0c\x65rror_status\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12>\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x03\xe0\x41\x03\x12\x17\n\nerror_logs\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12H\n\x11preview_artifacts\x18\x10 \x01(\x0b\x32(.google.cloud.config.v1.PreviewArtifactsB\x03\xe0\x41\x03\x12\x11\n\x04logs\x18\x11 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08\x41PPLYING\x10\x03\x12\t\n\x05STALE\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\"D\n\x0bPreviewMode\x12\x1c\n\x18PREVIEW_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\"\xed\x01\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x43LOUD_BUILD_PERMISSION_DENIED\x10\x01\x12%\n!BUCKET_CREATION_PERMISSION_DENIED\x10\x02\x12\x1a\n\x16\x42UCKET_CREATION_FAILED\x10\x03\x12\"\n\x1e\x44\x45PLOYMENT_LOCK_ACQUIRE_FAILED\x10\x04\x12\x1c\n\x18PREVIEW_BUILD_API_FAILED\x10\x05\x12\x1c\n\x18PREVIEW_BUILD_RUN_FAILED\x10\x06:q\xea\x41n\n\x1d\x63onfig.googleapis.com/Preview\x12:projects/{project}/locations/{location}/previews/{preview}*\x08previews2\x07previewB\x0b\n\tblueprintB\x17\n\x15_artifacts_gcs_bucketB\x0e\n\x0c_worker_pool\"\xe4\x03\n\x18PreviewOperationMetadata\x12J\n\x04step\x18\x01 \x01(\x0e\x32<.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep\x12\x43\n\x11preview_artifacts\x18\x02 \x01(\x0b\x32(.google.cloud.config.v1.PreviewArtifacts\x12\x11\n\x04logs\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x62uild\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x8f\x02\n\x0bPreviewStep\x12\x1c\n\x18PREVIEW_STEP_UNSPECIFIED\x10\x00\x12\x1c\n\x18PREPARING_STORAGE_BUCKET\x10\x01\x12\x19\n\x15\x44OWNLOADING_BLUEPRINT\x10\x02\x12\x13\n\x0fRUNNING_TF_INIT\x10\x03\x12\x13\n\x0fRUNNING_TF_PLAN\x10\x04\x12\x17\n\x13\x46\x45TCHING_DEPLOYMENT\x10\x05\x12\x16\n\x12LOCKING_DEPLOYMENT\x10\x06\x12\x18\n\x14UNLOCKING_DEPLOYMENT\x10\x07\x12\r\n\tSUCCEEDED\x10\x08\x12\n\n\x06\x46\x41ILED\x10\t\x12\x19\n\x15VALIDATING_REPOSITORY\x10\n\"@\n\x10PreviewArtifacts\x12\x14\n\x07\x63ontent\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tartifacts\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc2\x01\n\x14\x43reatePreviewRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\npreview_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07preview\x18\x03 \x01(\x0b\x32\x1f.google.cloud.config.v1.PreviewB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"H\n\x11GetPreviewRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"\xad\x01\n\x13ListPreviewsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"w\n\x14ListPreviewsResponse\x12\x31\n\x08previews\x18\x01 \x03(\x0b\x32\x1f.google.cloud.config.v1.Preview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"l\n\x14\x44\x65letePreviewRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"S\n\x1a\x45xportPreviewResultRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"Y\n\x1b\x45xportPreviewResultResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32%.google.cloud.config.v1.PreviewResultB\x03\xe0\x41\x03\"M\n\rPreviewResult\x12\x1e\n\x11\x62inary_signed_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fjson_signed_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\"Z\n\x1aGetTerraformVersionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&config.googleapis.com/TerraformVersion\"\xb6\x01\n\x1cListTerraformVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1dListTerraformVersionsResponse\x12\x44\n\x12terraform_versions\x18\x01 \x03(\x0b\x32(.google.cloud.config.v1.TerraformVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xad\x04\n\x10TerraformVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32..google.cloud.config.v1.TerraformVersion.StateB\x03\xe0\x41\x03\x12\x35\n\x0csupport_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x0e\x64\x65precate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12;\n\robsolete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03H\x01\x88\x01\x01\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0e\n\nDEPRECATED\x10\x02\x12\x0c\n\x08OBSOLETE\x10\x03:\xa0\x01\xea\x41\x9c\x01\n&config.googleapis.com/TerraformVersion\x12Mprojects/{project}/locations/{location}/terraformVersions/{terraform_version}*\x11terraformVersions2\x10terraformVersionB\x11\n\x0f_deprecate_timeB\x10\n\x0e_obsolete_time*N\n\x0fQuotaValidation\x12 \n\x1cQUOTA_VALIDATION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x45NFORCED\x10\x02\x32\xa7#\n\x06\x43onfig\x12\xb4\x01\n\x0fListDeployments\x12..google.cloud.config.v1.ListDeploymentsRequest\x1a/.google.cloud.config.v1.ListDeploymentsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/deployments\x12\xa1\x01\n\rGetDeployment\x12,.google.cloud.config.v1.GetDeploymentRequest\x1a\".google.cloud.config.v1.Deployment\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/deployments/*}\x12\xec\x01\n\x10\x43reateDeployment\x12/.google.cloud.config.v1.CreateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/deployments:\ndeployment\x12\xee\x01\n\x10UpdateDeployment\x12/.google.cloud.config.v1.UpdateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x16\x64\x65ployment,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{deployment.name=projects/*/locations/*/deployments/*}:\ndeployment\x12\xc4\x01\n\x10\x44\x65leteDeployment\x12/.google.cloud.config.v1.DeleteDeploymentRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/deployments/*}\x12\xba\x01\n\rListRevisions\x12,.google.cloud.config.v1.ListRevisionsRequest\x1a-.google.cloud.config.v1.ListRevisionsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/deployments/*}/revisions\x12\xa7\x01\n\x0bGetRevision\x12*.google.cloud.config.v1.GetRevisionRequest\x1a .google.cloud.config.v1.Revision\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deployments/*/revisions/*}\x12\xb3\x01\n\x0bGetResource\x12*.google.cloud.config.v1.GetResourceRequest\x1a .google.cloud.config.v1.Resource\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/deployments/*/revisions/*/resources/*}\x12\xc6\x01\n\rListResources\x12,.google.cloud.config.v1.ListResourcesRequest\x1a-.google.cloud.config.v1.ListResourcesResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}/resources\x12\xc2\x01\n\x19\x45xportDeploymentStatefile\x12\x38.google.cloud.config.v1.ExportDeploymentStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/deployments/*}:exportState:\x01*\x12\xca\x01\n\x17\x45xportRevisionStatefile\x12\x36.google.cloud.config.v1.ExportRevisionStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"T\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}:exportState:\x01*\x12\xbf\x01\n\x0fImportStatefile\x12..google.cloud.config.v1.ImportStatefileRequest\x1a!.google.cloud.config.v1.Statefile\"Y\xda\x41\x0eparent,lock_id\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/deployments/*}:importState:\x01*\x12\xa8\x01\n\x0f\x44\x65leteStatefile\x12..google.cloud.config.v1.DeleteStatefileRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/locations/*/deployments/*}:deleteState:\x01*\x12\xc8\x01\n\x0eLockDeployment\x12-.google.cloud.config.v1.LockDeploymentRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/deployments/*}:lock:\x01*\x12\xd6\x01\n\x10UnlockDeployment\x12/.google.cloud.config.v1.UnlockDeploymentRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41\x1f\n\nDeployment\x12\x11OperationMetadata\xda\x41\x0cname,lock_id\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/deployments/*}:unlock:\x01*\x12\xac\x01\n\x0e\x45xportLockInfo\x12-.google.cloud.config.v1.ExportLockInfoRequest\x1a .google.cloud.config.v1.LockInfo\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/deployments/*}:exportLock\x12\xcb\x01\n\rCreatePreview\x12,.google.cloud.config.v1.CreatePreviewRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41\x1c\n\x07Preview\x12\x11OperationMetadata\xda\x41\x0eparent,preview\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/previews:\x07preview\x12\x95\x01\n\nGetPreview\x12).google.cloud.config.v1.GetPreviewRequest\x1a\x1f.google.cloud.config.v1.Preview\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/previews/*}\x12\xa8\x01\n\x0cListPreviews\x12+.google.cloud.config.v1.ListPreviewsRequest\x1a,.google.cloud.config.v1.ListPreviewsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/previews\x12\xb8\x01\n\rDeletePreview\x12,.google.cloud.config.v1.DeletePreviewRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41\x1c\n\x07Preview\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/previews/*}\x12\xc0\x01\n\x13\x45xportPreviewResult\x12\x32.google.cloud.config.v1.ExportPreviewResultRequest\x1a\x33.google.cloud.config.v1.ExportPreviewResultResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{parent=projects/*/locations/*/previews/*}:export:\x01*\x12\xcc\x01\n\x15ListTerraformVersions\x12\x34.google.cloud.config.v1.ListTerraformVersionsRequest\x1a\x35.google.cloud.config.v1.ListTerraformVersionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/terraformVersions\x12\xb9\x01\n\x13GetTerraformVersion\x12\x32.google.cloud.config.v1.GetTerraformVersionRequest\x1a(.google.cloud.config.v1.TerraformVersion\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/terraformVersions/*}\x1aI\xca\x41\x15\x63onfig.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfc\x02\n\x1a\x63om.google.cloud.config.v1B\x0b\x43onfigProtoP\x01Z2cloud.google.com/go/config/apiv1/configpb;configpb\xaa\x02\x16Google.Cloud.Config.V1\xca\x02\x16Google\\Cloud\\Config\\V1\xea\x02 Google::Cloud::ConfigService::V1\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41i\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
@@ -110,6 +110,12 @@ module Google
110
110
  ExportPreviewResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.ExportPreviewResultRequest").msgclass
111
111
  ExportPreviewResultResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.ExportPreviewResultResponse").msgclass
112
112
  PreviewResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.PreviewResult").msgclass
113
+ GetTerraformVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.GetTerraformVersionRequest").msgclass
114
+ ListTerraformVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.ListTerraformVersionsRequest").msgclass
115
+ ListTerraformVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.ListTerraformVersionsResponse").msgclass
116
+ TerraformVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.TerraformVersion").msgclass
117
+ TerraformVersion::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.TerraformVersion.State").enummodule
118
+ QuotaValidation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.config.v1.QuotaValidation").enummodule
113
119
  end
114
120
  end
115
121
  end
@@ -80,6 +80,12 @@ module Google
80
80
  rpc :DeletePreview, ::Google::Cloud::ConfigService::V1::DeletePreviewRequest, ::Google::Longrunning::Operation
81
81
  # Export [Preview][google.cloud.config.v1.Preview] results.
82
82
  rpc :ExportPreviewResult, ::Google::Cloud::ConfigService::V1::ExportPreviewResultRequest, ::Google::Cloud::ConfigService::V1::ExportPreviewResultResponse
83
+ # Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
84
+ # given project and location.
85
+ rpc :ListTerraformVersions, ::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest, ::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse
86
+ # Gets details about a
87
+ # [TerraformVersion][google.cloud.config.v1.TerraformVersion].
88
+ rpc :GetTerraformVersion, ::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest, ::Google::Cloud::ConfigService::V1::TerraformVersion
83
89
  end
84
90
 
85
91
  Stub = Service.rpc_stub_class
@@ -230,8 +230,8 @@ module Google
230
230
  # 'projects/\\{project_id}/locations/\\{location}'.
231
231
  # @param page_size [::Integer]
232
232
  # When requesting a page of resources, 'page_size' specifies number of
233
- # resources to return. If unspecified or set to 0, all resources will be
234
- # returned.
233
+ # resources to return. If unspecified, at most 500 will be returned. The
234
+ # maximum value is 1000.
235
235
  # @param page_token [::String]
236
236
  # Token returned by previous call to 'ListDeployments' which specifies the
237
237
  # position in the list from where to continue listing the resources.
@@ -786,8 +786,8 @@ module Google
786
786
  # 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
787
787
  # @param page_size [::Integer]
788
788
  # When requesting a page of resources, `page_size` specifies number of
789
- # resources to return. If unspecified or set to 0, all resources will be
790
- # returned.
789
+ # resources to return. If unspecified, at most 500 will be returned. The
790
+ # maximum value is 1000.
791
791
  # @param page_token [::String]
792
792
  # Token returned by previous call to 'ListRevisions' which specifies the
793
793
  # position in the list from where to continue listing the resources.
@@ -1082,8 +1082,8 @@ module Google
1082
1082
  # 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}'.
1083
1083
  # @param page_size [::Integer]
1084
1084
  # When requesting a page of resources, 'page_size' specifies number of
1085
- # resources to return. If unspecified or set to 0, all resources will be
1086
- # returned.
1085
+ # resources to return. If unspecified, at most 500 will be returned. The
1086
+ # maximum value is 1000.
1087
1087
  # @param page_token [::String]
1088
1088
  # Token returned by previous call to 'ListResources' which specifies the
1089
1089
  # position in the list from where to continue listing the resources.
@@ -2031,8 +2031,8 @@ module Google
2031
2031
  # value is in the format: 'projects/\\{project_id}/locations/\\{location}'.
2032
2032
  # @param page_size [::Integer]
2033
2033
  # Optional. When requesting a page of resources, 'page_size' specifies number
2034
- # of resources to return. If unspecified or set to 0, all resources will be
2035
- # returned.
2034
+ # of resources to return. If unspecified, at most 500 will be returned. The
2035
+ # maximum value is 1000.
2036
2036
  # @param page_token [::String]
2037
2037
  # Optional. Token returned by previous call to 'ListDeployments' which
2038
2038
  # specifies the position in the list from where to continue listing the
@@ -2326,6 +2326,205 @@ module Google
2326
2326
  raise ::Google::Cloud::Error.from_error(e)
2327
2327
  end
2328
2328
 
2329
+ ##
2330
+ # Lists {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}s in a
2331
+ # given project and location.
2332
+ #
2333
+ # @overload list_terraform_versions(request, options = nil)
2334
+ # Pass arguments to `list_terraform_versions` via a request object, either of type
2335
+ # {::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest} or an equivalent Hash.
2336
+ #
2337
+ # @param request [::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest, ::Hash]
2338
+ # A request object representing the call parameters. Required. To specify no
2339
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2340
+ # @param options [::Gapic::CallOptions, ::Hash]
2341
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2342
+ #
2343
+ # @overload list_terraform_versions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
2344
+ # Pass arguments to `list_terraform_versions` via keyword arguments. Note that at
2345
+ # least one keyword argument is required. To specify no parameters, or to keep all
2346
+ # the default parameter values, pass an empty Hash as a request object (see above).
2347
+ #
2348
+ # @param parent [::String]
2349
+ # Required. The parent in whose context the TerraformVersions are listed. The
2350
+ # parent value is in the format:
2351
+ # 'projects/\\{project_id}/locations/\\{location}'.
2352
+ # @param page_size [::Integer]
2353
+ # Optional. When requesting a page of resources, 'page_size' specifies number
2354
+ # of resources to return. If unspecified, at most 500 will be returned. The
2355
+ # maximum value is 1000.
2356
+ # @param page_token [::String]
2357
+ # Optional. Token returned by previous call to 'ListTerraformVersions' which
2358
+ # specifies the position in the list from where to continue listing the
2359
+ # resources.
2360
+ # @param filter [::String]
2361
+ # Optional. Lists the TerraformVersions that match the filter expression. A
2362
+ # filter expression filters the resources listed in the response. The
2363
+ # expression must be of the form '\\{field} \\{operator} \\{value}' where
2364
+ # operators: '<', '>',
2365
+ # '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
2366
+ # operator which is roughly synonymous with equality). \\{field} can refer to a
2367
+ # proto or JSON field, or a synthetic field. Field names can be camelCase or
2368
+ # snake_case.
2369
+ # @param order_by [::String]
2370
+ # Optional. Field to use to sort the list.
2371
+ #
2372
+ # @yield [response, operation] Access the result along with the RPC operation
2373
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
2374
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2375
+ #
2376
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
2377
+ #
2378
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2379
+ #
2380
+ # @example Basic example
2381
+ # require "google/cloud/config_service/v1"
2382
+ #
2383
+ # # Create a client object. The client can be reused for multiple calls.
2384
+ # client = Google::Cloud::ConfigService::V1::Config::Client.new
2385
+ #
2386
+ # # Create a request. To set request fields, pass in keyword arguments.
2387
+ # request = Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest.new
2388
+ #
2389
+ # # Call the list_terraform_versions method.
2390
+ # result = client.list_terraform_versions request
2391
+ #
2392
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2393
+ # # over elements, and API calls will be issued to fetch pages as needed.
2394
+ # result.each do |item|
2395
+ # # Each element is of type ::Google::Cloud::ConfigService::V1::TerraformVersion.
2396
+ # p item
2397
+ # end
2398
+ #
2399
+ def list_terraform_versions request, options = nil
2400
+ raise ::ArgumentError, "request must be provided" if request.nil?
2401
+
2402
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest
2403
+
2404
+ # Converts hash and nil to an options object
2405
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2406
+
2407
+ # Customize the options with defaults
2408
+ metadata = @config.rpcs.list_terraform_versions.metadata.to_h
2409
+
2410
+ # Set x-goog-api-client and x-goog-user-project headers
2411
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2412
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2413
+ gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
2414
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2415
+
2416
+ header_params = {}
2417
+ if request.parent
2418
+ header_params["parent"] = request.parent
2419
+ end
2420
+
2421
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2422
+ metadata[:"x-goog-request-params"] ||= request_params_header
2423
+
2424
+ options.apply_defaults timeout: @config.rpcs.list_terraform_versions.timeout,
2425
+ metadata: metadata,
2426
+ retry_policy: @config.rpcs.list_terraform_versions.retry_policy
2427
+
2428
+ options.apply_defaults timeout: @config.timeout,
2429
+ metadata: @config.metadata,
2430
+ retry_policy: @config.retry_policy
2431
+
2432
+ @config_stub.call_rpc :list_terraform_versions, request, options: options do |response, operation|
2433
+ response = ::Gapic::PagedEnumerable.new @config_stub, :list_terraform_versions, request, response, operation, options
2434
+ yield response, operation if block_given?
2435
+ return response
2436
+ end
2437
+ rescue ::GRPC::BadStatus => e
2438
+ raise ::Google::Cloud::Error.from_error(e)
2439
+ end
2440
+
2441
+ ##
2442
+ # Gets details about a
2443
+ # {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}.
2444
+ #
2445
+ # @overload get_terraform_version(request, options = nil)
2446
+ # Pass arguments to `get_terraform_version` via a request object, either of type
2447
+ # {::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest} or an equivalent Hash.
2448
+ #
2449
+ # @param request [::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest, ::Hash]
2450
+ # A request object representing the call parameters. Required. To specify no
2451
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2452
+ # @param options [::Gapic::CallOptions, ::Hash]
2453
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2454
+ #
2455
+ # @overload get_terraform_version(name: nil)
2456
+ # Pass arguments to `get_terraform_version` via keyword arguments. Note that at
2457
+ # least one keyword argument is required. To specify no parameters, or to keep all
2458
+ # the default parameter values, pass an empty Hash as a request object (see above).
2459
+ #
2460
+ # @param name [::String]
2461
+ # Required. The name of the TerraformVersion. Format:
2462
+ # 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'
2463
+ #
2464
+ # @yield [response, operation] Access the result along with the RPC operation
2465
+ # @yieldparam response [::Google::Cloud::ConfigService::V1::TerraformVersion]
2466
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2467
+ #
2468
+ # @return [::Google::Cloud::ConfigService::V1::TerraformVersion]
2469
+ #
2470
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2471
+ #
2472
+ # @example Basic example
2473
+ # require "google/cloud/config_service/v1"
2474
+ #
2475
+ # # Create a client object. The client can be reused for multiple calls.
2476
+ # client = Google::Cloud::ConfigService::V1::Config::Client.new
2477
+ #
2478
+ # # Create a request. To set request fields, pass in keyword arguments.
2479
+ # request = Google::Cloud::ConfigService::V1::GetTerraformVersionRequest.new
2480
+ #
2481
+ # # Call the get_terraform_version method.
2482
+ # result = client.get_terraform_version request
2483
+ #
2484
+ # # The returned object is of type Google::Cloud::ConfigService::V1::TerraformVersion.
2485
+ # p result
2486
+ #
2487
+ def get_terraform_version request, options = nil
2488
+ raise ::ArgumentError, "request must be provided" if request.nil?
2489
+
2490
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest
2491
+
2492
+ # Converts hash and nil to an options object
2493
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2494
+
2495
+ # Customize the options with defaults
2496
+ metadata = @config.rpcs.get_terraform_version.metadata.to_h
2497
+
2498
+ # Set x-goog-api-client and x-goog-user-project headers
2499
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2500
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2501
+ gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
2502
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2503
+
2504
+ header_params = {}
2505
+ if request.name
2506
+ header_params["name"] = request.name
2507
+ end
2508
+
2509
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2510
+ metadata[:"x-goog-request-params"] ||= request_params_header
2511
+
2512
+ options.apply_defaults timeout: @config.rpcs.get_terraform_version.timeout,
2513
+ metadata: metadata,
2514
+ retry_policy: @config.rpcs.get_terraform_version.retry_policy
2515
+
2516
+ options.apply_defaults timeout: @config.timeout,
2517
+ metadata: @config.metadata,
2518
+ retry_policy: @config.retry_policy
2519
+
2520
+ @config_stub.call_rpc :get_terraform_version, request, options: options do |response, operation|
2521
+ yield response, operation if block_given?
2522
+ return response
2523
+ end
2524
+ rescue ::GRPC::BadStatus => e
2525
+ raise ::Google::Cloud::Error.from_error(e)
2526
+ end
2527
+
2329
2528
  ##
2330
2529
  # Configuration class for the Config API.
2331
2530
  #
@@ -2584,6 +2783,16 @@ module Google
2584
2783
  # @return [::Gapic::Config::Method]
2585
2784
  #
2586
2785
  attr_reader :export_preview_result
2786
+ ##
2787
+ # RPC-specific configuration for `list_terraform_versions`
2788
+ # @return [::Gapic::Config::Method]
2789
+ #
2790
+ attr_reader :list_terraform_versions
2791
+ ##
2792
+ # RPC-specific configuration for `get_terraform_version`
2793
+ # @return [::Gapic::Config::Method]
2794
+ #
2795
+ attr_reader :get_terraform_version
2587
2796
 
2588
2797
  # @private
2589
2798
  def initialize parent_rpcs = nil
@@ -2629,6 +2838,10 @@ module Google
2629
2838
  @delete_preview = ::Gapic::Config::Method.new delete_preview_config
2630
2839
  export_preview_result_config = parent_rpcs.export_preview_result if parent_rpcs.respond_to? :export_preview_result
2631
2840
  @export_preview_result = ::Gapic::Config::Method.new export_preview_result_config
2841
+ list_terraform_versions_config = parent_rpcs.list_terraform_versions if parent_rpcs.respond_to? :list_terraform_versions
2842
+ @list_terraform_versions = ::Gapic::Config::Method.new list_terraform_versions_config
2843
+ get_terraform_version_config = parent_rpcs.get_terraform_version if parent_rpcs.respond_to? :get_terraform_version
2844
+ @get_terraform_version = ::Gapic::Config::Method.new get_terraform_version_config
2632
2845
 
2633
2846
  yield self if block_given?
2634
2847
  end
@@ -140,6 +140,25 @@ module Google
140
140
  "projects/#{project}/serviceAccounts/#{service_account}"
141
141
  end
142
142
 
143
+ ##
144
+ # Create a fully-qualified TerraformVersion resource string.
145
+ #
146
+ # The resource will be in the following format:
147
+ #
148
+ # `projects/{project}/locations/{location}/terraformVersions/{terraform_version}`
149
+ #
150
+ # @param project [String]
151
+ # @param location [String]
152
+ # @param terraform_version [String]
153
+ #
154
+ # @return [::String]
155
+ def terraform_version_path project:, location:, terraform_version:
156
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
157
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
158
+
159
+ "projects/#{project}/locations/#{location}/terraformVersions/#{terraform_version}"
160
+ end
161
+
143
162
  ##
144
163
  # Create a fully-qualified WorkerPool resource string.
145
164
  #
@@ -225,8 +225,8 @@ module Google
225
225
  # 'projects/\\{project_id}/locations/\\{location}'.
226
226
  # @param page_size [::Integer]
227
227
  # When requesting a page of resources, 'page_size' specifies number of
228
- # resources to return. If unspecified or set to 0, all resources will be
229
- # returned.
228
+ # resources to return. If unspecified, at most 500 will be returned. The
229
+ # maximum value is 1000.
230
230
  # @param page_token [::String]
231
231
  # Token returned by previous call to 'ListDeployments' which specifies the
232
232
  # position in the list from where to continue listing the resources.
@@ -745,8 +745,8 @@ module Google
745
745
  # 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
746
746
  # @param page_size [::Integer]
747
747
  # When requesting a page of resources, `page_size` specifies number of
748
- # resources to return. If unspecified or set to 0, all resources will be
749
- # returned.
748
+ # resources to return. If unspecified, at most 500 will be returned. The
749
+ # maximum value is 1000.
750
750
  # @param page_token [::String]
751
751
  # Token returned by previous call to 'ListRevisions' which specifies the
752
752
  # position in the list from where to continue listing the resources.
@@ -1019,8 +1019,8 @@ module Google
1019
1019
  # 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}'.
1020
1020
  # @param page_size [::Integer]
1021
1021
  # When requesting a page of resources, 'page_size' specifies number of
1022
- # resources to return. If unspecified or set to 0, all resources will be
1023
- # returned.
1022
+ # resources to return. If unspecified, at most 500 will be returned. The
1023
+ # maximum value is 1000.
1024
1024
  # @param page_token [::String]
1025
1025
  # Token returned by previous call to 'ListResources' which specifies the
1026
1026
  # position in the list from where to continue listing the resources.
@@ -1897,8 +1897,8 @@ module Google
1897
1897
  # value is in the format: 'projects/\\{project_id}/locations/\\{location}'.
1898
1898
  # @param page_size [::Integer]
1899
1899
  # Optional. When requesting a page of resources, 'page_size' specifies number
1900
- # of resources to return. If unspecified or set to 0, all resources will be
1901
- # returned.
1900
+ # of resources to return. If unspecified, at most 500 will be returned. The
1901
+ # maximum value is 1000.
1902
1902
  # @param page_token [::String]
1903
1903
  # Optional. Token returned by previous call to 'ListDeployments' which
1904
1904
  # specifies the position in the list from where to continue listing the
@@ -2170,6 +2170,190 @@ module Google
2170
2170
  raise ::Google::Cloud::Error.from_error(e)
2171
2171
  end
2172
2172
 
2173
+ ##
2174
+ # Lists {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}s in a
2175
+ # given project and location.
2176
+ #
2177
+ # @overload list_terraform_versions(request, options = nil)
2178
+ # Pass arguments to `list_terraform_versions` via a request object, either of type
2179
+ # {::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest} or an equivalent Hash.
2180
+ #
2181
+ # @param request [::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest, ::Hash]
2182
+ # A request object representing the call parameters. Required. To specify no
2183
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2184
+ # @param options [::Gapic::CallOptions, ::Hash]
2185
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2186
+ #
2187
+ # @overload list_terraform_versions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
2188
+ # Pass arguments to `list_terraform_versions` via keyword arguments. Note that at
2189
+ # least one keyword argument is required. To specify no parameters, or to keep all
2190
+ # the default parameter values, pass an empty Hash as a request object (see above).
2191
+ #
2192
+ # @param parent [::String]
2193
+ # Required. The parent in whose context the TerraformVersions are listed. The
2194
+ # parent value is in the format:
2195
+ # 'projects/\\{project_id}/locations/\\{location}'.
2196
+ # @param page_size [::Integer]
2197
+ # Optional. When requesting a page of resources, 'page_size' specifies number
2198
+ # of resources to return. If unspecified, at most 500 will be returned. The
2199
+ # maximum value is 1000.
2200
+ # @param page_token [::String]
2201
+ # Optional. Token returned by previous call to 'ListTerraformVersions' which
2202
+ # specifies the position in the list from where to continue listing the
2203
+ # resources.
2204
+ # @param filter [::String]
2205
+ # Optional. Lists the TerraformVersions that match the filter expression. A
2206
+ # filter expression filters the resources listed in the response. The
2207
+ # expression must be of the form '\\{field} \\{operator} \\{value}' where
2208
+ # operators: '<', '>',
2209
+ # '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
2210
+ # operator which is roughly synonymous with equality). \\{field} can refer to a
2211
+ # proto or JSON field, or a synthetic field. Field names can be camelCase or
2212
+ # snake_case.
2213
+ # @param order_by [::String]
2214
+ # Optional. Field to use to sort the list.
2215
+ # @yield [result, operation] Access the result along with the TransportOperation object
2216
+ # @yieldparam result [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
2217
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2218
+ #
2219
+ # @return [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
2220
+ #
2221
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
2222
+ #
2223
+ # @example Basic example
2224
+ # require "google/cloud/config_service/v1"
2225
+ #
2226
+ # # Create a client object. The client can be reused for multiple calls.
2227
+ # client = Google::Cloud::ConfigService::V1::Config::Rest::Client.new
2228
+ #
2229
+ # # Create a request. To set request fields, pass in keyword arguments.
2230
+ # request = Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest.new
2231
+ #
2232
+ # # Call the list_terraform_versions method.
2233
+ # result = client.list_terraform_versions request
2234
+ #
2235
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2236
+ # # over elements, and API calls will be issued to fetch pages as needed.
2237
+ # result.each do |item|
2238
+ # # Each element is of type ::Google::Cloud::ConfigService::V1::TerraformVersion.
2239
+ # p item
2240
+ # end
2241
+ #
2242
+ def list_terraform_versions request, options = nil
2243
+ raise ::ArgumentError, "request must be provided" if request.nil?
2244
+
2245
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest
2246
+
2247
+ # Converts hash and nil to an options object
2248
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2249
+
2250
+ # Customize the options with defaults
2251
+ call_metadata = @config.rpcs.list_terraform_versions.metadata.to_h
2252
+
2253
+ # Set x-goog-api-client and x-goog-user-project headers
2254
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2255
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2256
+ gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
2257
+ transports_version_send: [:rest]
2258
+
2259
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2260
+
2261
+ options.apply_defaults timeout: @config.rpcs.list_terraform_versions.timeout,
2262
+ metadata: call_metadata,
2263
+ retry_policy: @config.rpcs.list_terraform_versions.retry_policy
2264
+
2265
+ options.apply_defaults timeout: @config.timeout,
2266
+ metadata: @config.metadata,
2267
+ retry_policy: @config.retry_policy
2268
+
2269
+ @config_stub.list_terraform_versions request, options do |result, operation|
2270
+ yield result, operation if block_given?
2271
+ return result
2272
+ end
2273
+ rescue ::Gapic::Rest::Error => e
2274
+ raise ::Google::Cloud::Error.from_error(e)
2275
+ end
2276
+
2277
+ ##
2278
+ # Gets details about a
2279
+ # {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}.
2280
+ #
2281
+ # @overload get_terraform_version(request, options = nil)
2282
+ # Pass arguments to `get_terraform_version` via a request object, either of type
2283
+ # {::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest} or an equivalent Hash.
2284
+ #
2285
+ # @param request [::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest, ::Hash]
2286
+ # A request object representing the call parameters. Required. To specify no
2287
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2288
+ # @param options [::Gapic::CallOptions, ::Hash]
2289
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2290
+ #
2291
+ # @overload get_terraform_version(name: nil)
2292
+ # Pass arguments to `get_terraform_version` via keyword arguments. Note that at
2293
+ # least one keyword argument is required. To specify no parameters, or to keep all
2294
+ # the default parameter values, pass an empty Hash as a request object (see above).
2295
+ #
2296
+ # @param name [::String]
2297
+ # Required. The name of the TerraformVersion. Format:
2298
+ # 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'
2299
+ # @yield [result, operation] Access the result along with the TransportOperation object
2300
+ # @yieldparam result [::Google::Cloud::ConfigService::V1::TerraformVersion]
2301
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2302
+ #
2303
+ # @return [::Google::Cloud::ConfigService::V1::TerraformVersion]
2304
+ #
2305
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
2306
+ #
2307
+ # @example Basic example
2308
+ # require "google/cloud/config_service/v1"
2309
+ #
2310
+ # # Create a client object. The client can be reused for multiple calls.
2311
+ # client = Google::Cloud::ConfigService::V1::Config::Rest::Client.new
2312
+ #
2313
+ # # Create a request. To set request fields, pass in keyword arguments.
2314
+ # request = Google::Cloud::ConfigService::V1::GetTerraformVersionRequest.new
2315
+ #
2316
+ # # Call the get_terraform_version method.
2317
+ # result = client.get_terraform_version request
2318
+ #
2319
+ # # The returned object is of type Google::Cloud::ConfigService::V1::TerraformVersion.
2320
+ # p result
2321
+ #
2322
+ def get_terraform_version request, options = nil
2323
+ raise ::ArgumentError, "request must be provided" if request.nil?
2324
+
2325
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest
2326
+
2327
+ # Converts hash and nil to an options object
2328
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2329
+
2330
+ # Customize the options with defaults
2331
+ call_metadata = @config.rpcs.get_terraform_version.metadata.to_h
2332
+
2333
+ # Set x-goog-api-client and x-goog-user-project headers
2334
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2335
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2336
+ gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
2337
+ transports_version_send: [:rest]
2338
+
2339
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2340
+
2341
+ options.apply_defaults timeout: @config.rpcs.get_terraform_version.timeout,
2342
+ metadata: call_metadata,
2343
+ retry_policy: @config.rpcs.get_terraform_version.retry_policy
2344
+
2345
+ options.apply_defaults timeout: @config.timeout,
2346
+ metadata: @config.metadata,
2347
+ retry_policy: @config.retry_policy
2348
+
2349
+ @config_stub.get_terraform_version request, options do |result, operation|
2350
+ yield result, operation if block_given?
2351
+ return result
2352
+ end
2353
+ rescue ::Gapic::Rest::Error => e
2354
+ raise ::Google::Cloud::Error.from_error(e)
2355
+ end
2356
+
2173
2357
  ##
2174
2358
  # Configuration class for the Config REST API.
2175
2359
  #
@@ -2415,6 +2599,16 @@ module Google
2415
2599
  # @return [::Gapic::Config::Method]
2416
2600
  #
2417
2601
  attr_reader :export_preview_result
2602
+ ##
2603
+ # RPC-specific configuration for `list_terraform_versions`
2604
+ # @return [::Gapic::Config::Method]
2605
+ #
2606
+ attr_reader :list_terraform_versions
2607
+ ##
2608
+ # RPC-specific configuration for `get_terraform_version`
2609
+ # @return [::Gapic::Config::Method]
2610
+ #
2611
+ attr_reader :get_terraform_version
2418
2612
 
2419
2613
  # @private
2420
2614
  def initialize parent_rpcs = nil
@@ -2460,6 +2654,10 @@ module Google
2460
2654
  @delete_preview = ::Gapic::Config::Method.new delete_preview_config
2461
2655
  export_preview_result_config = parent_rpcs.export_preview_result if parent_rpcs.respond_to? :export_preview_result
2462
2656
  @export_preview_result = ::Gapic::Config::Method.new export_preview_result_config
2657
+ list_terraform_versions_config = parent_rpcs.list_terraform_versions if parent_rpcs.respond_to? :list_terraform_versions
2658
+ @list_terraform_versions = ::Gapic::Config::Method.new list_terraform_versions_config
2659
+ get_terraform_version_config = parent_rpcs.get_terraform_version if parent_rpcs.respond_to? :get_terraform_version
2660
+ @get_terraform_version = ::Gapic::Config::Method.new get_terraform_version_config
2463
2661
 
2464
2662
  yield self if block_given?
2465
2663
  end
@@ -859,6 +859,82 @@ module Google
859
859
  result
860
860
  end
861
861
 
862
+ ##
863
+ # Baseline implementation for the list_terraform_versions REST call
864
+ #
865
+ # @param request_pb [::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest]
866
+ # A request object representing the call parameters. Required.
867
+ # @param options [::Gapic::CallOptions]
868
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
869
+ #
870
+ # @yield [result, operation] Access the result along with the TransportOperation object
871
+ # @yieldparam result [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
872
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
873
+ #
874
+ # @return [::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse]
875
+ # A result object deserialized from the server's reply
876
+ def list_terraform_versions request_pb, options = nil
877
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
878
+
879
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_terraform_versions_request request_pb
880
+ query_string_params = if query_string_params.any?
881
+ query_string_params.to_h { |p| p.split "=", 2 }
882
+ else
883
+ {}
884
+ end
885
+
886
+ response = @client_stub.make_http_request(
887
+ verb,
888
+ uri: uri,
889
+ body: body || "",
890
+ params: query_string_params,
891
+ options: options
892
+ )
893
+ operation = ::Gapic::Rest::TransportOperation.new response
894
+ result = ::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse.decode_json response.body, ignore_unknown_fields: true
895
+
896
+ yield result, operation if block_given?
897
+ result
898
+ end
899
+
900
+ ##
901
+ # Baseline implementation for the get_terraform_version REST call
902
+ #
903
+ # @param request_pb [::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest]
904
+ # A request object representing the call parameters. Required.
905
+ # @param options [::Gapic::CallOptions]
906
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
907
+ #
908
+ # @yield [result, operation] Access the result along with the TransportOperation object
909
+ # @yieldparam result [::Google::Cloud::ConfigService::V1::TerraformVersion]
910
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
911
+ #
912
+ # @return [::Google::Cloud::ConfigService::V1::TerraformVersion]
913
+ # A result object deserialized from the server's reply
914
+ def get_terraform_version request_pb, options = nil
915
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
916
+
917
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_terraform_version_request request_pb
918
+ query_string_params = if query_string_params.any?
919
+ query_string_params.to_h { |p| p.split "=", 2 }
920
+ else
921
+ {}
922
+ end
923
+
924
+ response = @client_stub.make_http_request(
925
+ verb,
926
+ uri: uri,
927
+ body: body || "",
928
+ params: query_string_params,
929
+ options: options
930
+ )
931
+ operation = ::Gapic::Rest::TransportOperation.new response
932
+ result = ::Google::Cloud::ConfigService::V1::TerraformVersion.decode_json response.body, ignore_unknown_fields: true
933
+
934
+ yield result, operation if block_given?
935
+ result
936
+ end
937
+
862
938
  ##
863
939
  # @private
864
940
  #
@@ -1309,6 +1385,48 @@ module Google
1309
1385
  )
1310
1386
  transcoder.transcode request_pb
1311
1387
  end
1388
+
1389
+ ##
1390
+ # @private
1391
+ #
1392
+ # GRPC transcoding helper method for the list_terraform_versions REST call
1393
+ #
1394
+ # @param request_pb [::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest]
1395
+ # A request object representing the call parameters. Required.
1396
+ # @return [Array(String, [String, nil], Hash{String => String})]
1397
+ # Uri, Body, Query string parameters
1398
+ def self.transcode_list_terraform_versions_request request_pb
1399
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1400
+ .with_bindings(
1401
+ uri_method: :get,
1402
+ uri_template: "/v1/{parent}/terraformVersions",
1403
+ matches: [
1404
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
1405
+ ]
1406
+ )
1407
+ transcoder.transcode request_pb
1408
+ end
1409
+
1410
+ ##
1411
+ # @private
1412
+ #
1413
+ # GRPC transcoding helper method for the get_terraform_version REST call
1414
+ #
1415
+ # @param request_pb [::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest]
1416
+ # A request object representing the call parameters. Required.
1417
+ # @return [Array(String, [String, nil], Hash{String => String})]
1418
+ # Uri, Body, Query string parameters
1419
+ def self.transcode_get_terraform_version_request request_pb
1420
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1421
+ .with_bindings(
1422
+ uri_method: :get,
1423
+ uri_template: "/v1/{name}",
1424
+ matches: [
1425
+ ["name", %r{^projects/[^/]+/locations/[^/]+/terraformVersions/[^/]+/?$}, false]
1426
+ ]
1427
+ )
1428
+ transcoder.transcode request_pb
1429
+ end
1312
1430
  end
1313
1431
  end
1314
1432
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfigService
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -50,9 +50,9 @@ module Google
50
50
 
51
51
  # Internet Protocol v6 value as defined by [RFC
52
52
  # 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
53
- # normalized to entirely lowercase letters, and zero-padded partial and
54
- # empty octets. For example, the value `2001:DB8::` would be normalized to
55
- # `2001:0db8:0:0`.
53
+ # normalized to entirely lowercase letters with zeros compressed, following
54
+ # [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
55
+ # the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
56
56
  IPV6 = 3
57
57
 
58
58
  # An IP address in either v4 or v6 format as described by the individual
@@ -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.4.0
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-26 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