google-cloud-build-v2 0.6.0 → 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: 9ab46590507ab42ebaae44d51ac2bc1cb031722208a12bd100fad3584eb77acf
4
- data.tar.gz: '0996ed3b12e71db4ae22b893be89aa73ecef8e7fadf3928e6028e7eed0453b21'
3
+ metadata.gz: 9a74393438365ca9dbee43de5708933b4adb76d97d61e47a688e647677422266
4
+ data.tar.gz: 0efe935f94011b545acc7bbb0470c878e4abca12a0ad8cbeedbbde627571f9cc
5
5
  SHA512:
6
- metadata.gz: 384c05fa021aea6186f113042de436f302190c7dd4fe2e122a3c663c085fbee36fde5a75df2bbabb45a6cb5b4bdec5a420636563b2a7a9b7c98754e751fb66f0
7
- data.tar.gz: c7abf0684ceb44084a96937e40841427cf78bf78c0e82857e079780d12b9751c9914f415968d462bcfe9d5611b2b1d60f8e42cccba71ebc774ba27ffc1486390
6
+ metadata.gz: 67fc086b82e2aa9d7eda9203461449d3b546ec9da2afd1de1d59469b323b8c84ce30a80dbbe26af1b6763f804a76ab1ed7604892be0b5c137b532821be9039ab
7
+ data.tar.gz: 46a8ca2abd17b4a78ffb38d23027f4bb7594c74208d46bac70eb9ee569a0a277438f42dc542a8ca4e0df2bf56914b6669c6dfd8dfb2b8d8052b5412a95829ae5
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V2
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\xa4\x06\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\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\"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
+ 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.6.0
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-26 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