google-cloud-config_service-v1 0.3.1 → 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: 6a773ef6e199855b126d914013757c0ded280605a852e74cb27a31e316b42972
4
- data.tar.gz: 818bea2b39dd616c77fc735debcdaa01dbdfef58fd7049b6071cfac931cbacf5
3
+ metadata.gz: 67c3ed4949b616fc5be45d9f2713b72fc906f4e3d88f26964495bb5d83e2d983
4
+ data.tar.gz: e4148dae8ab7d5cd06123fcd907564334c646b5e279c42ca2ee457507f4ef583
5
5
  SHA512:
6
- metadata.gz: 0237a21671f4385fa73707114a379548a95ee27733e84a4a0fa8178f41bf86e773f19e9a1be09bd3a26d227e3ee0303431328be64ff52cac025a1458a34c9678
7
- data.tar.gz: 836ea3e15b0651f71fada5c447972d8410fc432a4dde3679f1de6cc4abf8438a49a0b7531798253bedae033b89b93b5197c08367997230858e555306a72439e0
6
+ metadata.gz: 1e6c17aca6b498ee0e3ee3eb7adfdd188eb05e3b1d234010e40c7f465a1171e98cdc2f88d5da44c0d984701f9ef5a7b8ba3abe84556e11df2b9fd30a13286117
7
+ data.tar.gz: e2506724b329d20dcb865ded9bf13a3cdddaa56f2eba7e2fac33f37cfb880909ebff50221f826331bfed9177e056a3f92b2f17d5735e0550501cefd449d0f845
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -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\"\xb8\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\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\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\x04\xe2\x41\x01\x03\x12\x1d\n\x0flatest_revision\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cstate_detail\x18\t \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\nerror_code\x18\n \x01(\x0e\x32,.google.cloud.config.v1.Deployment.ErrorCodeB\x04\xe2\x41\x01\x03\x12\x42\n\x0e\x64\x65lete_results\x18\x08 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64\x65lete_build\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65lete_logs\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12?\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x04\xe2\x41\x01\x03\x12\x18\n\nerror_logs\x18\x0e \x01(\tB\x04\xe2\x41\x01\x03\x12\'\n\x14\x61rtifacts_gcs_bucket\x18\x0f \x01(\tB\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12H\n\x0fservice_account\x18\x10 \x01(\tB*\xe2\x41\x01\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\x12G\n\x0bworker_pool\x18\x13 \x01(\tB-\xe2\x41\x01\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x04\x88\x01\x01\x12\x46\n\nlock_state\x18\x14 \x01(\x0e\x32,.google.cloud.config.v1.Deployment.LockStateB\x04\xe2\x41\x01\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\"\xab\x02\n\x12TerraformBlueprint\x12\x1a\n\ngcs_source\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12=\n\ngit_source\x18\x02 \x01(\x0b\x32!.google.cloud.config.v1.GitSourceB\x04\xe2\x41\x01\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\"\x9d\x01\n\x16ListDeploymentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\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\"O\n\x14GetDeploymentRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\"\x9a\x01\n\x14ListRevisionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\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\"K\n\x12GetRevisionRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\xca\x01\n\x17\x43reateDeploymentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\rdeployment_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12<\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xa8\x01\n\x17UpdateDeploymentRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12<\n\ndeployment\x18\x02 \x01(\x0b\x32\".google.cloud.config.v1.DeploymentB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xa4\x02\n\x17\x44\x65leteDeploymentRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x66orce\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12Y\n\rdelete_policy\x18\x04 \x01(\x0e\x32<.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicyB\x04\xe2\x41\x01\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\"\xca\x03\n\x11OperationMetadata\x12X\n\x13\x64\x65ployment_metadata\x18\x08 \x01(\x0b\x32\x33.google.cloud.config.v1.DeploymentOperationMetadataB\x04\xe2\x41\x01\x03H\x00\x12R\n\x10preview_metadata\x18\t \x01(\x0b\x32\x30.google.cloud.config.v1.PreviewOperationMetadataB\x04\xe2\x41\x01\x03H\x00\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x42\x13\n\x11resource_metadata\"\xc9\t\n\x08Revision\x12O\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintB\x04\xe2\x41\x01\x03H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12=\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Revision.ActionB\x04\xe2\x41\x01\x03\x12;\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Revision.StateB\x04\xe2\x41\x01\x03\x12\x41\n\rapply_results\x18\x07 \x01(\x0b\x32$.google.cloud.config.v1.ApplyResultsB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cstate_detail\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x12\x44\n\nerror_code\x18\t \x01(\x0e\x32*.google.cloud.config.v1.Revision.ErrorCodeB\x04\xe2\x41\x01\x03\x12\x13\n\x05\x62uild\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04logs\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12?\n\ttf_errors\x18\x0c \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x04\xe2\x41\x01\x03\x12\x18\n\nerror_logs\x18\r \x01(\tB\x04\xe2\x41\x01\x03\x12\x43\n\x0fservice_account\x18\x0e \x01(\tB*\xe2\x41\x01\x03\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\'\n\x19import_existing_resources\x18\x0f \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x42\n\x0bworker_pool\x18\x11 \x01(\tB-\xe2\x41\x01\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\"y\n\tGitSource\x12\x17\n\x04repo\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x1c\n\tdirectory\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12\x16\n\x03ref\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x02\x88\x01\x01\x42\x07\n\x05_repoB\x0c\n\n_directoryB\x06\n\x04_ref\"\xe8\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\x13\n\x05\x62uild\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04logs\x18\x04 \x01(\tB\x04\xe2\x41\x01\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\"\xdd\x05\n\x08Resource\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12K\n\x0eterraform_info\x18\x02 \x01(\x0b\x32-.google.cloud.config.v1.ResourceTerraformInfoB\x04\xe2\x41\x01\x03\x12I\n\ncai_assets\x18\x03 \x03(\x0b\x32/.google.cloud.config.v1.Resource.CaiAssetsEntryB\x04\xe2\x41\x01\x03\x12=\n\x06intent\x18\x04 \x01(\x0e\x32\'.google.cloud.config.v1.Resource.IntentB\x04\xe2\x41\x01\x03\x12;\n\x05state\x18\x05 \x01(\x0e\x32&.google.cloud.config.v1.Resource.StateB\x04\xe2\x41\x01\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\"K\n\x12GetResourceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Resource\"\x98\x01\n\x14ListResourcesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\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\x18\n\nsigned_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"r\n ExportDeploymentStatefileRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x13\n\x05\x64raft\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"Y\n\x1e\x45xportRevisionStatefileRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63onfig.googleapis.com/Revision\"\x84\x01\n\x16ImportStatefileRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x15\n\x07lock_id\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12\x18\n\nskip_draft\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"h\n\x16\x44\x65leteStatefileRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x15\n\x07lock_id\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x02\"P\n\x15LockDeploymentRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\"i\n\x17UnlockDeploymentRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n config.googleapis.com/Deployment\x12\x15\n\x07lock_id\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x02\"P\n\x15\x45xportLockInfoRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\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\"\xac\x0c\n\x07Preview\x12I\n\x13terraform_blueprint\x18\x06 \x01(\x0b\x32*.google.cloud.config.v1.TerraformBlueprintH\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x41\n\x06labels\x18\x03 \x03(\x0b\x32+.google.cloud.config.v1.Preview.LabelsEntryB\x04\xe2\x41\x01\x01\x12:\n\x05state\x18\x04 \x01(\x0e\x32%.google.cloud.config.v1.Preview.StateB\x04\xe2\x41\x01\x03\x12=\n\ndeployment\x18\x05 \x01(\tB)\xe2\x41\x01\x01\xfa\x41\"\n config.googleapis.com/Deployment\x12G\n\x0cpreview_mode\x18\x0f \x01(\x0e\x32+.google.cloud.config.v1.Preview.PreviewModeB\x04\xe2\x41\x01\x01\x12\x43\n\x0fservice_account\x18\x07 \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\'\n\x14\x61rtifacts_gcs_bucket\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12G\n\x0bworker_pool\x18\t \x01(\tB-\xe2\x41\x01\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPoolH\x02\x88\x01\x01\x12\x43\n\nerror_code\x18\n \x01(\x0e\x32).google.cloud.config.v1.Preview.ErrorCodeB\x04\xe2\x41\x01\x03\x12.\n\x0c\x65rror_status\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12\x13\n\x05\x62uild\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12?\n\ttf_errors\x18\r \x03(\x0b\x32&.google.cloud.config.v1.TerraformErrorB\x04\xe2\x41\x01\x03\x12\x18\n\nerror_logs\x18\x0e \x01(\tB\x04\xe2\x41\x01\x03\x12I\n\x11preview_artifacts\x18\x10 \x01(\x0b\x32(.google.cloud.config.v1.PreviewArtifactsB\x04\xe2\x41\x01\x03\x12\x12\n\x04logs\x18\x11 \x01(\tB\x04\xe2\x41\x01\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\"\xcb\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\x12\n\x04logs\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x05\x62uild\x18\x04 \x01(\tB\x04\xe2\x41\x01\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\"B\n\x10PreviewArtifacts\x12\x15\n\x07\x63ontent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x17\n\tartifacts\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xc6\x01\n\x14\x43reatePreviewRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\npreview_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x36\n\x07preview\x18\x03 \x01(\x0b\x32\x1f.google.cloud.config.v1.PreviewB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"I\n\x11GetPreviewRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"\xb2\x01\n\x13ListPreviewsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\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\"n\n\x14\x44\x65letePreviewRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\x12 \n\nrequest_id\x18\x02 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"T\n\x1a\x45xportPreviewResultRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x63onfig.googleapis.com/Preview\"Z\n\x1b\x45xportPreviewResultResponse\x12;\n\x06result\x18\x01 \x01(\x0b\x32%.google.cloud.config.v1.PreviewResultB\x04\xe2\x41\x01\x03\"O\n\rPreviewResult\x12\x1f\n\x11\x62inary_signed_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fjson_signed_uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\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
  #