google-cloud-build-v2 0.5.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7de8ad2829b312981ccc75d55d86f9cf0b0d77310d00266ab2e15bc539af9347
4
- data.tar.gz: 453ef09bb49c5e38e1c981281a936d3f119d693bd2c3d3d0d7bcada1207a17b5
3
+ metadata.gz: 9a74393438365ca9dbee43de5708933b4adb76d97d61e47a688e647677422266
4
+ data.tar.gz: 0efe935f94011b545acc7bbb0470c878e4abca12a0ad8cbeedbbde627571f9cc
5
5
  SHA512:
6
- metadata.gz: ef9cbe9127e71cb0070c0d9a2fc5be6f0fe2106e2ed6f85b37be25eb7ba5f3fdd983d758e00feb6daaf21685a706ede7cb9082a8132ad00024cfe6d77bf5914e
7
- data.tar.gz: 5eac9353551c075e08f5f2eb45e012ab09a93aabec1d8cd2796e762e193548b1eb276dafcbb2488062ec7104243033f6712a6a4e05cc7c0add34fb78d35197d9
6
+ metadata.gz: 67fc086b82e2aa9d7eda9203461449d3b546ec9da2afd1de1d59469b323b8c84ce30a80dbbe26af1b6763f804a76ab1ed7604892be0b5c137b532821be9039ab
7
+ data.tar.gz: 46a8ca2abd17b4a78ffb38d23027f4bb7594c74208d46bac70eb9ee569a0a277438f42dc542a8ca4e0df2bf56914b6669c6dfd8dfb2b8d8052b5412a95829ae5
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V2
24
- VERSION = "0.5.2"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n.google/devtools/cloudbuild/v2/cloudbuild.proto\x12\x1dgoogle.devtools.cloudbuild.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x02\n\x11OperationMetadata\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\"\x99\x02\n\"RunWorkflowCustomOperationMetadata\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\x12\n\x04verb\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fpipeline_run_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x42\xa3\x05\n\x18\x63om.google.cloudbuild.v2B\x0f\x43loudBuildProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V2\xca\x02\x15Google\\Cloud\\Build\\V2\xea\x02\x18Google::Cloud::Build::V2\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41|\n0cloudbuild.googleapis.com/githubEnterpriseConfig\x12Hprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}b\x06proto3"
14
+ descriptor_data = "\n.google/devtools/cloudbuild/v2/cloudbuild.proto\x12\x1dgoogle.devtools.cloudbuild.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\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\"\x92\x02\n\"RunWorkflowCustomOperationMetadata\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\x11\n\x04verb\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fpipeline_run_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\xa3\x05\n\x18\x63om.google.cloudbuild.v2B\x0f\x43loudBuildProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V2\xca\x02\x15Google\\Cloud\\Build\\V2\xea\x02\x18Google::Cloud::Build::V2\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41|\n0cloudbuild.googleapis.com/githubEnterpriseConfig\x12Hprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -9,13 +9,14 @@ require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/httpbody_pb'
11
11
  require 'google/api/resource_pb'
12
+ require 'google/devtools/cloudbuild/v2/cloudbuild_pb'
12
13
  require 'google/longrunning/operations_pb'
13
14
  require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
 
17
18
 
18
- descriptor_data = "\n0google/devtools/cloudbuild/v2/repositories.proto\x12\x1dgoogle.devtools.cloudbuild.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x06\n\nConnection\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x44\n\rgithub_config\x18\x05 \x01(\x0b\x32+.google.devtools.cloudbuild.v2.GitHubConfigH\x00\x12Y\n\x18github_enterprise_config\x18\x06 \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.GitHubEnterpriseConfigH\x00\x12\x44\n\rgitlab_config\x18\x07 \x01(\x0b\x32+.google.devtools.cloudbuild.v2.GitLabConfigH\x00\x12R\n\x12installation_state\x18\x0c \x01(\x0b\x32\x30.google.devtools.cloudbuild.v2.InstallationStateB\x04\xe2\x41\x01\x03\x12\x10\n\x08\x64isabled\x18\r \x01(\x08\x12\x19\n\x0breconciling\x18\x0e \x01(\x08\x42\x04\xe2\x41\x01\x03\x12O\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32:.google.devtools.cloudbuild.v2.Connection.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x10 \x01(\t\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x88\x01\xea\x41\x84\x01\n$cloudbuild.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}*\x0b\x63onnections2\nconnectionR\x01\x01\x42\x13\n\x11\x63onnection_config\"\x88\x02\n\x11InstallationState\x12K\n\x05stage\x18\x01 \x01(\x0e\x32\x36.google.devtools.cloudbuild.v2.InstallationState.StageB\x04\xe2\x41\x01\x03\x12\x15\n\x07message\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\naction_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\"u\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x16\n\x12PENDING_CREATE_APP\x10\x01\x12\x16\n\x12PENDING_USER_OAUTH\x10\x02\x12\x17\n\x13PENDING_INSTALL_APP\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\n\"\x8c\x01\n FetchLinkableRepositoriesRequest\x12\x41\n\nconnection\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n!FetchLinkableRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x0cGitHubConfig\x12M\n\x15\x61uthorizer_credential\x18\x01 \x01(\x0b\x32..google.devtools.cloudbuild.v2.OAuthCredential\x12\x1b\n\x13\x61pp_installation_id\x18\x02 \x01(\x03\"\xba\x03\n\x16GitHubEnterpriseConfig\x12\x16\n\x08host_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\x07\x61pi_key\x18\x0c \x01(\tB\x04\xe2\x41\x01\x02\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\x03\x12\x10\n\x08\x61pp_slug\x18\r \x01(\t\x12S\n\x1aprivate_key_secret_version\x18\x04 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12V\n\x1dwebhook_secret_secret_version\x18\x05 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x1b\n\x13\x61pp_installation_id\x18\t \x01(\x03\x12W\n\x18service_directory_config\x18\n \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.ServiceDirectoryConfig\x12\x0e\n\x06ssl_ca\x18\x0b \x01(\t\x12\x1c\n\x0eserver_version\x18\x0e \x01(\tB\x04\xe2\x41\x01\x03\"\xb1\x03\n\x0cGitLabConfig\x12\x10\n\x08host_uri\x18\x01 \x01(\t\x12[\n\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB4\xe2\x41\x02\x02\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12W\n\x1aread_authorizer_credential\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x04\xe2\x41\x01\x02\x12R\n\x15\x61uthorizer_credential\x18\x04 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x04\xe2\x41\x01\x02\x12W\n\x18service_directory_config\x18\x05 \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.ServiceDirectoryConfig\x12\x0e\n\x06ssl_ca\x18\x06 \x01(\t\x12\x1c\n\x0eserver_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\"[\n\x16ServiceDirectoryConfig\x12\x41\n\x07service\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xfb\x03\n\nRepository\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x18\n\nremote_uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12O\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32:.google.devtools.cloudbuild.v2.Repository.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x07 \x01(\t\x12\x18\n\nwebhook_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa3\x01\xea\x41\x9f\x01\n$cloudbuild.googleapis.com/Repository\x12Zprojects/{project}/locations/{location}/connections/{connection}/repositories/{repository}*\x0crepositories2\nrepositoryR\x01\x01\"~\n\x0fOAuthCredential\x12S\n\x1aoauth_token_secret_version\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x16\n\x08username\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\x80\x01\n\x0eUserCredential\x12V\n\x19user_token_secret_version\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x16\n\x08username\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xba\x01\n\x17\x43reateConnectionRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\x43\n\nconnection\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v2.ConnectionB\x04\xe2\x41\x01\x02\x12\x1b\n\rconnection_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"S\n\x14GetConnectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\"~\n\x16ListConnectionsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x17ListConnectionsResponse\x12>\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb4\x01\n\x17UpdateConnectionRequest\x12\x43\n\nconnection\x18\x01 \x01(\x0b\x32).google.devtools.cloudbuild.v2.ConnectionB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"{\n\x17\x44\x65leteConnectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\xba\x01\n\x17\x43reateRepositoryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x43\n\nrepository\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v2.RepositoryB\x04\xe2\x41\x01\x02\x12\x1b\n\rrepository_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"\xaf\x01\n\x1e\x42\x61tchCreateRepositoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12N\n\x08requests\x18\x02 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v2.CreateRepositoryRequestB\x04\xe2\x41\x01\x02\"b\n\x1f\x42\x61tchCreateRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\"S\n\x14GetRepositoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"\x8f\x01\n\x17ListRepositoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Repository\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\"t\n\x18ListRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x17\x44\x65leteRepositoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"_\n\x1a\x46\x65tchReadWriteTokenRequest\x12\x41\n\nrepository\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"Z\n\x15\x46\x65tchReadTokenRequest\x12\x41\n\nrepository\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"\\\n\x16\x46\x65tchReadTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"a\n\x1b\x46\x65tchReadWriteTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8f\x01\n\x15ProcessWebhookRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\"\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\x12\x13\n\x0bwebhook_key\x18\x03 \x01(\t\"\xe0\x01\n\x13\x46\x65tchGitRefsRequest\x12\x41\n\nrepository\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12L\n\x08ref_type\x18\x02 \x01(\x0e\x32:.google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType\"8\n\x07RefType\x12\x18\n\x14REF_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03TAG\x10\x01\x12\n\n\x06\x42RANCH\x10\x02\")\n\x14\x46\x65tchGitRefsResponse\x12\x11\n\tref_names\x18\x01 \x03(\t2\xc2\x1b\n\x11RepositoryManager\x12\x91\x02\n\x10\x43reateConnection\x12\x36.google.devtools.cloudbuild.v2.CreateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xca\x41=\n\nConnection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=\"//v2/{parent=projects/*/locations/*}/connections:\nconnection\x12\xaf\x01\n\rGetConnection\x12\x33.google.devtools.cloudbuild.v2.GetConnectionRequest\x1a).google.devtools.cloudbuild.v2.Connection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/locations/*/connections/*}\x12\xc2\x01\n\x0fListConnections\x12\x35.google.devtools.cloudbuild.v2.ListConnectionsRequest\x1a\x36.google.devtools.cloudbuild.v2.ListConnectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/locations/*}/connections\x12\x93\x02\n\x10UpdateConnection\x12\x36.google.devtools.cloudbuild.v2.UpdateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xca\x41=\n\nConnection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x16\x63onnection,update_mask\x82\xd3\xe4\x93\x02H2:/v2/{connection.name=projects/*/locations/*/connections/*}:\nconnection\x12\xf5\x01\n\x10\x44\x65leteConnection\x12\x36.google.devtools.cloudbuild.v2.DeleteConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41H\n\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/locations/*/connections/*}\x12\xa0\x02\n\x10\x43reateRepository\x12\x36.google.devtools.cloudbuild.v2.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41=\n\nRepository\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02L\">/v2/{parent=projects/*/locations/*/connections/*}/repositories:\nrepository\x12\xb6\x02\n\x17\x42\x61tchCreateRepositories\x12=.google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41R\n\x1f\x42\x61tchCreateRepositoriesResponse\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02O\"J/v2/{parent=projects/*/locations/*/connections/*}/repositories:batchCreate:\x01*\x12\xbe\x01\n\rGetRepository\x12\x33.google.devtools.cloudbuild.v2.GetRepositoryRequest\x1a).google.devtools.cloudbuild.v2.Repository\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xd4\x01\n\x10ListRepositories\x12\x36.google.devtools.cloudbuild.v2.ListRepositoriesRequest\x1a\x37.google.devtools.cloudbuild.v2.ListRepositoriesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v2/{parent=projects/*/locations/*/connections/*}/repositories\x12\x84\x02\n\x10\x44\x65leteRepository\x12\x36.google.devtools.cloudbuild.v2.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41H\n\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xff\x01\n\x13\x46\x65tchReadWriteToken\x12\x39.google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest\x1a:.google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse\"q\xda\x41\nrepository\x82\xd3\xe4\x93\x02^\"Y/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadWriteToken:\x01*\x12\xeb\x01\n\x0e\x46\x65tchReadToken\x12\x34.google.devtools.cloudbuild.v2.FetchReadTokenRequest\x1a\x35.google.devtools.cloudbuild.v2.FetchReadTokenResponse\"l\xda\x41\nrepository\x82\xd3\xe4\x93\x02Y\"T/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadToken:\x01*\x12\xf7\x01\n\x19\x46\x65tchLinkableRepositories\x12?.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest\x1a@.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/v2/{connection=projects/*/locations/*/connections/*}:fetchLinkableRepositories\x12\xdf\x01\n\x0c\x46\x65tchGitRefs\x12\x32.google.devtools.cloudbuild.v2.FetchGitRefsRequest\x1a\x33.google.devtools.cloudbuild.v2.FetchGitRefsResponse\"f\xda\x41\nrepository\x82\xd3\xe4\x93\x02S\x12Q/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:fetchGitRefs\x1aM\xca\x41\x19\x63loudbuild.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x02\n\x18\x63om.google.cloudbuild.v2B\x16RepositoryManagerProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V2\xca\x02\x15Google\\Cloud\\Build\\V2\xea\x02\x18Google::Cloud::Build::V2\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
19
+ descriptor_data = "\n0google/devtools/cloudbuild/v2/repositories.proto\x12\x1dgoogle.devtools.cloudbuild.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a.google/devtools/cloudbuild/v2/cloudbuild.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x07\n\nConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\rgithub_config\x18\x05 \x01(\x0b\x32+.google.devtools.cloudbuild.v2.GitHubConfigH\x00\x12Y\n\x18github_enterprise_config\x18\x06 \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.GitHubEnterpriseConfigH\x00\x12\x44\n\rgitlab_config\x18\x07 \x01(\x0b\x32+.google.devtools.cloudbuild.v2.GitLabConfigH\x00\x12`\n\x1c\x62itbucket_data_center_config\x18\x08 \x01(\x0b\x32\x38.google.devtools.cloudbuild.v2.BitbucketDataCenterConfigH\x00\x12U\n\x16\x62itbucket_cloud_config\x18\t \x01(\x0b\x32\x33.google.devtools.cloudbuild.v2.BitbucketCloudConfigH\x00\x12Q\n\x12installation_state\x18\x0c \x01(\x0b\x32\x30.google.devtools.cloudbuild.v2.InstallationStateB\x03\xe0\x41\x03\x12\x10\n\x08\x64isabled\x18\r \x01(\x08\x12\x18\n\x0breconciling\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12O\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32:.google.devtools.cloudbuild.v2.Connection.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x10 \x01(\t\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x88\x01\xea\x41\x84\x01\n$cloudbuild.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}*\x0b\x63onnections2\nconnectionR\x01\x01\x42\x13\n\x11\x63onnection_config\"\x85\x02\n\x11InstallationState\x12J\n\x05stage\x18\x01 \x01(\x0e\x32\x36.google.devtools.cloudbuild.v2.InstallationState.StageB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\naction_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\"u\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x16\n\x12PENDING_CREATE_APP\x10\x01\x12\x16\n\x12PENDING_USER_OAUTH\x10\x02\x12\x17\n\x13PENDING_INSTALL_APP\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\n\"\x8b\x01\n FetchLinkableRepositoriesRequest\x12@\n\nconnection\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n!FetchLinkableRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x0cGitHubConfig\x12M\n\x15\x61uthorizer_credential\x18\x01 \x01(\x0b\x32..google.devtools.cloudbuild.v2.OAuthCredential\x12\x1b\n\x13\x61pp_installation_id\x18\x02 \x01(\x03\"\xb7\x03\n\x16GitHubEnterpriseConfig\x12\x15\n\x08host_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x61pi_key\x18\x0c \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\x03\x12\x10\n\x08\x61pp_slug\x18\r \x01(\t\x12S\n\x1aprivate_key_secret_version\x18\x04 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12V\n\x1dwebhook_secret_secret_version\x18\x05 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x1b\n\x13\x61pp_installation_id\x18\t \x01(\x03\x12W\n\x18service_directory_config\x18\n \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.ServiceDirectoryConfig\x12\x0e\n\x06ssl_ca\x18\x0b \x01(\t\x12\x1b\n\x0eserver_version\x18\x0e \x01(\tB\x03\xe0\x41\x03\"\xaf\x03\n\x0cGitLabConfig\x12\x10\n\x08host_uri\x18\x01 \x01(\t\x12\\\n\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB5\xe0\x41\x02\xe0\x41\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12V\n\x1aread_authorizer_credential\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\x12Q\n\x15\x61uthorizer_credential\x18\x04 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\x12W\n\x18service_directory_config\x18\x05 \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.ServiceDirectoryConfig\x12\x0e\n\x06ssl_ca\x18\x06 \x01(\t\x12\x1b\n\x0eserver_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xcb\x03\n\x19\x42itbucketDataCenterConfig\x12\x15\n\x08host_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB5\xe0\x41\x02\xe0\x41\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12V\n\x1aread_authorizer_credential\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\x12Q\n\x15\x61uthorizer_credential\x18\x04 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\x12\\\n\x18service_directory_config\x18\x05 \x01(\x0b\x32\x35.google.devtools.cloudbuild.v2.ServiceDirectoryConfigB\x03\xe0\x41\x01\x12\x13\n\x06ssl_ca\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0eserver_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb4\x02\n\x14\x42itbucketCloudConfig\x12\x16\n\tworkspace\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Y\n\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12V\n\x1aread_authorizer_credential\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\x12Q\n\x15\x61uthorizer_credential\x18\x04 \x01(\x0b\x32-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0\x41\x02\"Z\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xf6\x03\n\nRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x17\n\nremote_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32:.google.devtools.cloudbuild.v2.Repository.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x07 \x01(\t\x12\x17\n\nwebhook_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa3\x01\xea\x41\x9f\x01\n$cloudbuild.googleapis.com/Repository\x12Zprojects/{project}/locations/{location}/connections/{connection}/repositories/{repository}*\x0crepositories2\nrepositoryR\x01\x01\"}\n\x0fOAuthCredential\x12S\n\x1aoauth_token_secret_version\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x03\"~\n\x0eUserCredential\x12U\n\x19user_token_secret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xb7\x01\n\x17\x43reateConnectionRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\x42\n\nconnection\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v2.ConnectionB\x03\xe0\x41\x02\x12\x1a\n\rconnection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"R\n\x14GetConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\"}\n\x16ListConnectionsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x17ListConnectionsResponse\x12>\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb3\x01\n\x17UpdateConnectionRequest\x12\x42\n\nconnection\x18\x01 \x01(\x0b\x32).google.devtools.cloudbuild.v2.ConnectionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"z\n\x17\x44\x65leteConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\xb7\x01\n\x17\x43reateRepositoryRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12\x42\n\nrepository\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v2.RepositoryB\x03\xe0\x41\x02\x12\x1a\n\rrepository_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xad\x01\n\x1e\x42\x61tchCreateRepositoriesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Connection\x12M\n\x08requests\x18\x02 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v2.CreateRepositoryRequestB\x03\xe0\x41\x02\"b\n\x1f\x42\x61tchCreateRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\"R\n\x14GetRepositoryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"\x8e\x01\n\x17ListRepositoriesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Repository\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\"t\n\x18ListRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v2.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x17\x44\x65leteRepositoryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"^\n\x1a\x46\x65tchReadWriteTokenRequest\x12@\n\nrepository\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"Y\n\x15\x46\x65tchReadTokenRequest\x12@\n\nrepository\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\"\\\n\x16\x46\x65tchReadTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"a\n\x1b\x46\x65tchReadWriteTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8e\x01\n\x15ProcessWebhookRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudbuild.googleapis.com/Connection\x12\"\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\x12\x13\n\x0bwebhook_key\x18\x03 \x01(\t\"\xdf\x01\n\x13\x46\x65tchGitRefsRequest\x12@\n\nrepository\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12L\n\x08ref_type\x18\x02 \x01(\x0e\x32:.google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType\"8\n\x07RefType\x12\x18\n\x14REF_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03TAG\x10\x01\x12\n\n\x06\x42RANCH\x10\x02\")\n\x14\x46\x65tchGitRefsResponse\x12\x11\n\tref_names\x18\x01 \x03(\t2\xc2\x1b\n\x11RepositoryManager\x12\x91\x02\n\x10\x43reateConnection\x12\x36.google.devtools.cloudbuild.v2.CreateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xca\x41=\n\nConnection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=\"//v2/{parent=projects/*/locations/*}/connections:\nconnection\x12\xaf\x01\n\rGetConnection\x12\x33.google.devtools.cloudbuild.v2.GetConnectionRequest\x1a).google.devtools.cloudbuild.v2.Connection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/locations/*/connections/*}\x12\xc2\x01\n\x0fListConnections\x12\x35.google.devtools.cloudbuild.v2.ListConnectionsRequest\x1a\x36.google.devtools.cloudbuild.v2.ListConnectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/locations/*}/connections\x12\x93\x02\n\x10UpdateConnection\x12\x36.google.devtools.cloudbuild.v2.UpdateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xca\x41=\n\nConnection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x16\x63onnection,update_mask\x82\xd3\xe4\x93\x02H2:/v2/{connection.name=projects/*/locations/*/connections/*}:\nconnection\x12\xf5\x01\n\x10\x44\x65leteConnection\x12\x36.google.devtools.cloudbuild.v2.DeleteConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41H\n\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/locations/*/connections/*}\x12\xa0\x02\n\x10\x43reateRepository\x12\x36.google.devtools.cloudbuild.v2.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41=\n\nRepository\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02L\">/v2/{parent=projects/*/locations/*/connections/*}/repositories:\nrepository\x12\xb6\x02\n\x17\x42\x61tchCreateRepositories\x12=.google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41R\n\x1f\x42\x61tchCreateRepositoriesResponse\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02O\"J/v2/{parent=projects/*/locations/*/connections/*}/repositories:batchCreate:\x01*\x12\xbe\x01\n\rGetRepository\x12\x33.google.devtools.cloudbuild.v2.GetRepositoryRequest\x1a).google.devtools.cloudbuild.v2.Repository\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xd4\x01\n\x10ListRepositories\x12\x36.google.devtools.cloudbuild.v2.ListRepositoriesRequest\x1a\x37.google.devtools.cloudbuild.v2.ListRepositoriesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v2/{parent=projects/*/locations/*/connections/*}/repositories\x12\x84\x02\n\x10\x44\x65leteRepository\x12\x36.google.devtools.cloudbuild.v2.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41H\n\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xff\x01\n\x13\x46\x65tchReadWriteToken\x12\x39.google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest\x1a:.google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse\"q\xda\x41\nrepository\x82\xd3\xe4\x93\x02^\"Y/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadWriteToken:\x01*\x12\xeb\x01\n\x0e\x46\x65tchReadToken\x12\x34.google.devtools.cloudbuild.v2.FetchReadTokenRequest\x1a\x35.google.devtools.cloudbuild.v2.FetchReadTokenResponse\"l\xda\x41\nrepository\x82\xd3\xe4\x93\x02Y\"T/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadToken:\x01*\x12\xf7\x01\n\x19\x46\x65tchLinkableRepositories\x12?.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest\x1a@.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/v2/{connection=projects/*/locations/*/connections/*}:fetchLinkableRepositories\x12\xdf\x01\n\x0c\x46\x65tchGitRefs\x12\x32.google.devtools.cloudbuild.v2.FetchGitRefsRequest\x1a\x33.google.devtools.cloudbuild.v2.FetchGitRefsResponse\"f\xda\x41\nrepository\x82\xd3\xe4\x93\x02S\x12Q/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:fetchGitRefs\x1aM\xca\x41\x19\x63loudbuild.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x02\n\x18\x63om.google.cloudbuild.v2B\x16RepositoryManagerProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V2\xca\x02\x15Google\\Cloud\\Build\\V2\xea\x02\x18Google::Cloud::Build::V2\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
19
20
 
20
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
22
 
@@ -56,6 +57,8 @@ module Google
56
57
  GitHubConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.GitHubConfig").msgclass
57
58
  GitHubEnterpriseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.GitHubEnterpriseConfig").msgclass
58
59
  GitLabConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.GitLabConfig").msgclass
60
+ BitbucketDataCenterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.BitbucketDataCenterConfig").msgclass
61
+ BitbucketCloudConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.BitbucketCloudConfig").msgclass
59
62
  ServiceDirectoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.ServiceDirectoryConfig").msgclass
60
63
  Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.Repository").msgclass
61
64
  OAuthCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v2.OAuthCredential").msgclass
@@ -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
@@ -21,8 +21,8 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V2
24
- # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Server or
25
- # GitLab.
24
+ # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center,
25
+ # Bitbucket Cloud or GitLab.
26
26
  # @!attribute [rw] name
27
27
  # @return [::String]
28
28
  # Immutable. The resource name of the connection, in the format
@@ -43,6 +43,12 @@ module Google
43
43
  # @return [::Google::Cloud::Build::V2::GitLabConfig]
44
44
  # Configuration for connections to gitlab.com or an instance of GitLab
45
45
  # Enterprise.
46
+ # @!attribute [rw] bitbucket_data_center_config
47
+ # @return [::Google::Cloud::Build::V2::BitbucketDataCenterConfig]
48
+ # Configuration for connections to Bitbucket Data Center.
49
+ # @!attribute [rw] bitbucket_cloud_config
50
+ # @return [::Google::Cloud::Build::V2::BitbucketCloudConfig]
51
+ # Configuration for connections to Bitbucket Cloud.
46
52
  # @!attribute [r] installation_state
47
53
  # @return [::Google::Cloud::Build::V2::InstallationState]
48
54
  # Output only. Installation state of the Connection.
@@ -236,6 +242,66 @@ module Google
236
242
  extend ::Google::Protobuf::MessageExts::ClassMethods
237
243
  end
238
244
 
245
+ # Configuration for connections to Bitbucket Data Center.
246
+ # @!attribute [rw] host_uri
247
+ # @return [::String]
248
+ # Required. The URI of the Bitbucket Data Center instance or cluster this
249
+ # connection is for.
250
+ # @!attribute [rw] webhook_secret_secret_version
251
+ # @return [::String]
252
+ # Required. Immutable. SecretManager resource containing the webhook secret
253
+ # used to verify webhook events, formatted as
254
+ # `projects/*/secrets/*/versions/*`.
255
+ # @!attribute [rw] read_authorizer_credential
256
+ # @return [::Google::Cloud::Build::V2::UserCredential]
257
+ # Required. A http access token with the `REPO_READ` access.
258
+ # @!attribute [rw] authorizer_credential
259
+ # @return [::Google::Cloud::Build::V2::UserCredential]
260
+ # Required. A http access token with the `REPO_ADMIN` scope access.
261
+ # @!attribute [rw] service_directory_config
262
+ # @return [::Google::Cloud::Build::V2::ServiceDirectoryConfig]
263
+ # Optional. Configuration for using Service Directory to privately connect to
264
+ # a Bitbucket Data Center. This should only be set if the Bitbucket Data
265
+ # Center is hosted on-premises and not reachable by public internet. If this
266
+ # field is left empty, calls to the Bitbucket Data Center will be made over
267
+ # the public internet.
268
+ # @!attribute [rw] ssl_ca
269
+ # @return [::String]
270
+ # Optional. SSL certificate to use for requests to the Bitbucket Data Center.
271
+ # @!attribute [r] server_version
272
+ # @return [::String]
273
+ # Output only. Version of the Bitbucket Data Center running on the
274
+ # `host_uri`.
275
+ class BitbucketDataCenterConfig
276
+ include ::Google::Protobuf::MessageExts
277
+ extend ::Google::Protobuf::MessageExts::ClassMethods
278
+ end
279
+
280
+ # Configuration for connections to Bitbucket Cloud.
281
+ # @!attribute [rw] workspace
282
+ # @return [::String]
283
+ # Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
284
+ # Platform.
285
+ # @!attribute [rw] webhook_secret_secret_version
286
+ # @return [::String]
287
+ # Required. SecretManager resource containing the webhook secret used to
288
+ # verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
289
+ # @!attribute [rw] read_authorizer_credential
290
+ # @return [::Google::Cloud::Build::V2::UserCredential]
291
+ # Required. An access token with the `repository` access. It can be either a
292
+ # workspace, project or repository access token. It's recommended to use a
293
+ # system account to generate the credentials.
294
+ # @!attribute [rw] authorizer_credential
295
+ # @return [::Google::Cloud::Build::V2::UserCredential]
296
+ # Required. An access token with the `webhook`, `repository`,
297
+ # `repository:admin` and `pullrequest` scope access. It can be either a
298
+ # workspace, project or repository access token. It's recommended to use a
299
+ # system account to generate these credentials.
300
+ class BitbucketCloudConfig
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
239
305
  # ServiceDirectoryConfig represents Service Directory configuration for a
240
306
  # connection.
241
307
  # @!attribute [rw] service
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-build-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -84,118 +84,6 @@ dependencies:
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.a
87
- - !ruby/object:Gem::Dependency
88
- name: google-style
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: 1.26.3
94
- type: :development
95
- prerelease: false
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - "~>"
99
- - !ruby/object:Gem::Version
100
- version: 1.26.3
101
- - !ruby/object:Gem::Dependency
102
- name: minitest
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '5.16'
108
- type: :development
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - "~>"
113
- - !ruby/object:Gem::Version
114
- version: '5.16'
115
- - !ruby/object:Gem::Dependency
116
- name: minitest-focus
117
- requirement: !ruby/object:Gem::Requirement
118
- requirements:
119
- - - "~>"
120
- - !ruby/object:Gem::Version
121
- version: '1.1'
122
- type: :development
123
- prerelease: false
124
- version_requirements: !ruby/object:Gem::Requirement
125
- requirements:
126
- - - "~>"
127
- - !ruby/object:Gem::Version
128
- version: '1.1'
129
- - !ruby/object:Gem::Dependency
130
- name: minitest-rg
131
- requirement: !ruby/object:Gem::Requirement
132
- requirements:
133
- - - "~>"
134
- - !ruby/object:Gem::Version
135
- version: '5.2'
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - "~>"
141
- - !ruby/object:Gem::Version
142
- version: '5.2'
143
- - !ruby/object:Gem::Dependency
144
- name: rake
145
- requirement: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: '13.0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: '13.0'
157
- - !ruby/object:Gem::Dependency
158
- name: redcarpet
159
- requirement: !ruby/object:Gem::Requirement
160
- requirements:
161
- - - "~>"
162
- - !ruby/object:Gem::Version
163
- version: '3.0'
164
- type: :development
165
- prerelease: false
166
- version_requirements: !ruby/object:Gem::Requirement
167
- requirements:
168
- - - "~>"
169
- - !ruby/object:Gem::Version
170
- version: '3.0'
171
- - !ruby/object:Gem::Dependency
172
- name: simplecov
173
- requirement: !ruby/object:Gem::Requirement
174
- requirements:
175
- - - "~>"
176
- - !ruby/object:Gem::Version
177
- version: '0.18'
178
- type: :development
179
- prerelease: false
180
- version_requirements: !ruby/object:Gem::Requirement
181
- requirements:
182
- - - "~>"
183
- - !ruby/object:Gem::Version
184
- version: '0.18'
185
- - !ruby/object:Gem::Dependency
186
- name: yard
187
- requirement: !ruby/object:Gem::Requirement
188
- requirements:
189
- - - "~>"
190
- - !ruby/object:Gem::Version
191
- version: '0.9'
192
- type: :development
193
- prerelease: false
194
- version_requirements: !ruby/object:Gem::Requirement
195
- requirements:
196
- - - "~>"
197
- - !ruby/object:Gem::Version
198
- version: '0.9'
199
87
  description: Cloud Build is a service that executes your builds on Google Cloud Platform
200
88
  infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud
201
89
  Source Repositories, GitHub, or Bitbucket, execute a build to your specifications,
@@ -250,14 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
138
  requirements:
251
139
  - - ">="
252
140
  - !ruby/object:Gem::Version
253
- version: '2.6'
141
+ version: '2.7'
254
142
  required_rubygems_version: !ruby/object:Gem::Requirement
255
143
  requirements:
256
144
  - - ">="
257
145
  - !ruby/object:Gem::Version
258
146
  version: '0'
259
147
  requirements: []
260
- rubygems_version: 3.5.3
148
+ rubygems_version: 3.5.6
261
149
  signing_key:
262
150
  specification_version: 4
263
151
  summary: Creates and manages builds on Google Cloud Platform.