Service Client: Google::Devtools::Cloudbuild::V2::Repositories::RepositoryManagerClient
Client stub representing the remote RepositoryManager gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to devtools.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Devtools::Cloudbuild::V2::Repositories - Compiled Protocol Buffers messages for google/devtools/cloudbuild/v2/repositories.proto
SYNOPSIS
use Google::Devtools::Cloudbuild::V2::Repositories;
my $msg = Google::Devtools::Cloudbuild::V2::Repositories::Connection->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
github_config => $github_config,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Cloudbuild::V2::Repositories::Connection->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/cloudbuild/v2/repositories.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devtools::Cloudbuild::V2::Repositories::Connection
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Server assigned timestamp for when the connection was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Server assigned timestamp for when the connection was updated.
$msg->github_config()/$msg->github_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::GitHubConfig)Configuration for connections to github.com.
$msg->github_enterprise_config()/$msg->github_enterprise_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::GitHubEnterpriseConfig)Configuration for connections to an instance of GitHub Enterprise.
$msg->gitlab_config()/$msg->gitlab_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::GitLabConfig)Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
$msg->bitbucket_data_center_config()/$msg->bitbucket_data_center_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::BitbucketDataCenterConfig)Configuration for connections to Bitbucket Data Center.
$msg->bitbucket_cloud_config()/$msg->bitbucket_cloud_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::BitbucketCloudConfig)Configuration for connections to Bitbucket Cloud.
$msg->installation_state()/$msg->installation_state($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::InstallationState)Output only. Installation state of the Connection.
$msg->disabled()/$msg->disabled($value)Type:
BoolIf disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput only. Set to true when the connection is being set up or updated in the background.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Connection::AnnotationsEntry)Allows clients to store small amounts of arbitrary data.
$msg->etag()/$msg->etag($value)Type:
StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Devtools::Cloudbuild::V2::Repositories::InstallationState
Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.
Inherits from Protobuf::Message.
Accessors
$msg->stage()/$msg->stage($value)Type:
Enum(Google::Devtools::Cloudbuild::V2::InstallationState::Stage)Output only. Current step of the installation process.
$msg->message()/$msg->message($value)Type:
StringOutput only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
$msg->action_uri()/$msg->action_uri($value)Type:
StringOutput only. Link to follow for next action. Empty string if the installation is already complete.
Enum: InstallationState::Stage
STAGE_UNSPECIFIED=>0PENDING_CREATE_APP=>1PENDING_USER_OAUTH=>2PENDING_INSTALL_APP=>3COMPLETE=>10
Google::Devtools::Cloudbuild::V2::Repositories::FetchLinkableRepositoriesRequest
Request message for FetchLinkableRepositories.
Inherits from Protobuf::Message.
Accessors
$msg->connection()/$msg->connection($value)Type:
StringRequired. The name of the Connection. Format: `projects/*/locations/*/connections/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Number of results to return in the list. Default to 20.
$msg->page_token()/$msg->page_token($value)Type:
StringPage start.
Google::Devtools::Cloudbuild::V2::Repositories::FetchLinkableRepositoriesResponse
Response message for FetchLinkableRepositories.
Inherits from Protobuf::Message.
Accessors
$msg->repositories()/$msg->repositories($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Repository)repositories ready to be created.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Devtools::Cloudbuild::V2::Repositories::GitHubConfig
Configuration for connections to github.com.
Inherits from Protobuf::Message.
Accessors
$msg->authorizer_credential()/$msg->authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::OAuthCredential)OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.
$msg->app_installation_id()/$msg->app_installation_id($value)Type:
Int64GitHub App installation id.
Google::Devtools::Cloudbuild::V2::Repositories::GitHubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
Inherits from Protobuf::Message.
Accessors
$msg->host_uri()/$msg->host_uri($value)Type:
StringRequired. The URI of the GitHub Enterprise host this connection is for.
$msg->api_key()/$msg->api_key($value)Type:
StringRequired. API Key used for authentication of webhook events.
$msg->app_id()/$msg->app_id($value)Type:
Int64Id of the GitHub App created from the manifest.
$msg->app_slug()/$msg->app_slug($value)Type:
StringThe URL-friendly name of the GitHub App.
$msg->private_key_secret_version()/$msg->private_key_secret_version($value)Type:
StringSecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
$msg->webhook_secret_secret_version()/$msg->webhook_secret_secret_version($value)Type:
StringSecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
$msg->app_installation_id()/$msg->app_installation_id($value)Type:
Int64ID of the installation of the GitHub App.
$msg->service_directory_config()/$msg->service_directory_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::ServiceDirectoryConfig)Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
$msg->ssl_ca()/$msg->ssl_ca($value)Type:
StringSSL certificate to use for requests to GitHub Enterprise.
$msg->server_version()/$msg->server_version($value)Type:
StringOutput only. GitHub Enterprise version installed at the host_uri.
Google::Devtools::Cloudbuild::V2::Repositories::GitLabConfig
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
Inherits from Protobuf::Message.
Accessors
$msg->host_uri()/$msg->host_uri($value)Type:
StringThe URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
$msg->webhook_secret_secret_version()/$msg->webhook_secret_secret_version($value)Type:
StringRequired. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as `projects/*/secrets/*/versions/*`.
$msg->read_authorizer_credential()/$msg->read_authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. A GitLab personal access token with the minimum `read_api` scope access.
$msg->authorizer_credential()/$msg->authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. A GitLab personal access token with the `api` scope access.
$msg->service_directory_config()/$msg->service_directory_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::ServiceDirectoryConfig)Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
$msg->ssl_ca()/$msg->ssl_ca($value)Type:
StringSSL certificate to use for requests to GitLab Enterprise.
$msg->server_version()/$msg->server_version($value)Type:
StringOutput only. Version of the GitLab Enterprise server running on the `host_uri`.
Google::Devtools::Cloudbuild::V2::Repositories::BitbucketDataCenterConfig
Configuration for connections to Bitbucket Data Center.
Inherits from Protobuf::Message.
Accessors
$msg->host_uri()/$msg->host_uri($value)Type:
StringRequired. The URI of the Bitbucket Data Center instance or cluster this connection is for.
$msg->webhook_secret_secret_version()/$msg->webhook_secret_secret_version($value)Type:
StringRequired. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
$msg->read_authorizer_credential()/$msg->read_authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. A http access token with the `REPO_READ` access.
$msg->authorizer_credential()/$msg->authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. A http access token with the `REPO_ADMIN` scope access.
$msg->service_directory_config()/$msg->service_directory_config($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::ServiceDirectoryConfig)Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
$msg->ssl_ca()/$msg->ssl_ca($value)Type:
StringOptional. SSL certificate to use for requests to the Bitbucket Data Center.
$msg->server_version()/$msg->server_version($value)Type:
StringOutput only. Version of the Bitbucket Data Center running on the `host_uri`.
Google::Devtools::Cloudbuild::V2::Repositories::BitbucketCloudConfig
Configuration for connections to Bitbucket Cloud.
Inherits from Protobuf::Message.
Accessors
$msg->workspace()/$msg->workspace($value)Type:
StringRequired. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
$msg->webhook_secret_secret_version()/$msg->webhook_secret_secret_version($value)Type:
StringRequired. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
$msg->read_authorizer_credential()/$msg->read_authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
$msg->authorizer_credential()/$msg->authorizer_credential($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::UserCredential)Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.
Google::Devtools::Cloudbuild::V2::Repositories::ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a connection.
Inherits from Protobuf::Message.
Accessors
$msg->service()/$msg->service($value)Type:
StringRequired. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
Google::Devtools::Cloudbuild::V2::Repositories::Repository
A repository associated to a parent connection.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.
$msg->remote_uri()/$msg->remote_uri($value)Type:
StringRequired. Git Clone HTTPS URI.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Server assigned timestamp for when the connection was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Server assigned timestamp for when the connection was updated.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Repository::AnnotationsEntry)Allows clients to store small amounts of arbitrary data.
$msg->etag()/$msg->etag($value)Type:
StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->webhook_id()/$msg->webhook_id($value)Type:
StringOutput only. External ID of the webhook created for the repository.
Google::Devtools::Cloudbuild::V2::Repositories::OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
Inherits from Protobuf::Message.
Accessors
$msg->oauth_token_secret_version()/$msg->oauth_token_secret_version($value)Type:
StringA SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
$msg->username()/$msg->username($value)Type:
StringOutput only. The username associated to this token.
Google::Devtools::Cloudbuild::V2::Repositories::UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
Inherits from Protobuf::Message.
Accessors
$msg->user_token_secret_version()/$msg->user_token_secret_version($value)Type:
StringRequired. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
$msg->username()/$msg->username($value)Type:
StringOutput only. The username associated to this token.
Google::Devtools::Cloudbuild::V2::Repositories::CreateConnectionRequest
Message for creating a Connection
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Project and location where the connection will be created. Format: `projects/*/locations/*`.
$msg->connection()/$msg->connection($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Connection)Required. The Connection to create.
$msg->connection_id()/$msg->connection_id($value)Type:
StringRequired. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
Google::Devtools::Cloudbuild::V2::Repositories::GetConnectionRequest
Message for getting the details of a Connection.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Connection to retrieve. Format: `projects/*/locations/*/connections/*`.
Google::Devtools::Cloudbuild::V2::Repositories::ListConnectionsRequest
Message for requesting list of Connections.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of Connections. Format: `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Number of results to return in the list.
$msg->page_token()/$msg->page_token($value)Type:
StringPage start.
Google::Devtools::Cloudbuild::V2::Repositories::ListConnectionsResponse
Message for response to listing Connections.
Inherits from Protobuf::Message.
Accessors
$msg->connections()/$msg->connections($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Connection)The list of Connections.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Devtools::Cloudbuild::V2::Repositories::UpdateConnectionRequest
Message for updating a Connection.
Inherits from Protobuf::Message.
Accessors
$msg->connection()/$msg->connection($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Connection)Required. The Connection to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The list of fields to be updated.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).
$msg->etag()/$msg->etag($value)Type:
StringThe current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.
Google::Devtools::Cloudbuild::V2::Repositories::DeleteConnectionRequest
Message for deleting a Connection.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Connection to delete. Format: `projects/*/locations/*/connections/*`.
$msg->etag()/$msg->etag($value)Type:
StringThe current etag of the connection. If an etag is provided and does not match the current etag of the connection, deletion will be blocked and an ABORTED error will be returned.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf set, validate the request, but do not actually post it.
Google::Devtools::Cloudbuild::V2::Repositories::CreateRepositoryRequest
Message for creating a Repository.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
$msg->repository()/$msg->repository($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Repository)Required. The repository to create.
$msg->repository_id()/$msg->repository_id($value)Type:
StringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
Google::Devtools::Cloudbuild::V2::Repositories::BatchCreateRepositoriesRequest
Message for creating repositoritories in batch.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::CreateRepositoryRequest)Required. The request messages specifying the repositories to create.
Google::Devtools::Cloudbuild::V2::Repositories::BatchCreateRepositoriesResponse
Message for response of creating repositories in batch.
Inherits from Protobuf::Message.
Accessors
$msg->repositories()/$msg->repositories($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Repository)Repository resources created.
Google::Devtools::Cloudbuild::V2::Repositories::GetRepositoryRequest
Message for getting the details of a Repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Repository to retrieve. Format: `projects/*/locations/*/connections/*/repositories/*`.
Google::Devtools::Cloudbuild::V2::Repositories::ListRepositoriesRequest
Message for requesting list of Repositories.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of Repositories. Format: `projects/*/locations/*/connections/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Number of results to return in the list.
$msg->page_token()/$msg->page_token($value)Type:
StringPage start.
$msg->filter()/$msg->filter($value)Type:
StringA filter expression that filters resources listed in the response. Expressions must follow API improvement proposal [AIP-160](https://google.aip.dev/160). e.g. `remote_uri:"https://github.com*"`.
Google::Devtools::Cloudbuild::V2::Repositories::ListRepositoriesResponse
Message for response to listing Repositories.
Inherits from Protobuf::Message.
Accessors
$msg->repositories()/$msg->repositories($value)Type:
Message(Google::Devtools::Cloudbuild::V2::Repositories::Repository)The list of Repositories.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Devtools::Cloudbuild::V2::Repositories::DeleteRepositoryRequest
Message for deleting a Repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.
$msg->etag()/$msg->etag($value)Type:
StringThe current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf set, validate the request, but do not actually post it.
Google::Devtools::Cloudbuild::V2::Repositories::FetchReadWriteTokenRequest
Message for fetching SCM read/write token.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.
Google::Devtools::Cloudbuild::V2::Repositories::FetchReadTokenRequest
Message for fetching SCM read token.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.
Google::Devtools::Cloudbuild::V2::Repositories::FetchReadTokenResponse
Message for responding to get read token.
Inherits from Protobuf::Message.
Accessors
$msg->token()/$msg->token($value)Type:
StringThe token content.
$msg->expiration_time()/$msg->expiration_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Expiration timestamp. Can be empty if unknown or non-expiring.
Google::Devtools::Cloudbuild::V2::Repositories::FetchReadWriteTokenResponse
Message for responding to get read/write token.
Inherits from Protobuf::Message.
Accessors
$msg->token()/$msg->token($value)Type:
StringThe token content.
$msg->expiration_time()/$msg->expiration_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Expiration timestamp. Can be empty if unknown or non-expiring.
Google::Devtools::Cloudbuild::V2::Repositories::ProcessWebhookRequest
RPC request object accepted by the ProcessWebhook RPC method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Project and location where the webhook will be received. Format: `projects/*/locations/*`.
$msg->body()/$msg->body($value)Type:
Message(Google::Api::Httpbody::HttpBody)HTTP request body.
$msg->webhook_key()/$msg->webhook_key($value)Type:
StringArbitrary additional key to find the maching repository for a webhook event if needed.
Google::Devtools::Cloudbuild::V2::Repositories::FetchGitRefsRequest
Request for fetching git refs
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.
$msg->ref_type()/$msg->ref_type($value)Type:
Enum(Google::Devtools::Cloudbuild::V2::FetchGitRefsRequest::RefType)Type of refs to fetch
Enum: FetchGitRefsRequest::RefType
REF_TYPE_UNSPECIFIED=>0TAG=>1BRANCH=>2
Google::Devtools::Cloudbuild::V2::Repositories::FetchGitRefsResponse
Response for fetching git refs
Inherits from Protobuf::Message.
Accessors
$msg->ref_names()/$msg->ref_names($value)Type:
StringName of the refs fetched.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Cloudbuild::V2::Repositories::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.