Service Client: Google::Cloud::Developerconnect::V1::DeveloperConnect::DeveloperConnectClient

Client stub representing the remote DeveloperConnect gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to developerconnect.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Developerconnect::V1::DeveloperConnect - Compiled Protocol Buffers messages for google/cloud/developerconnect/v1/developer_connect.proto

SYNOPSIS

use Google::Cloud::Developerconnect::V1::DeveloperConnect;

my $msg = Google::Cloud::Developerconnect::V1::DeveloperConnect::ListUsersRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Developerconnect::V1::DeveloperConnect::ListUsersRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/developerconnect/v1/developer_connect.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListUsersRequest

Message for requesting a list of Users

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListUsersRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListUsersResponse

Message for response to listing Users

Inherits from Protobuf::Message.

Accessors

  • $msg->users() / $msg->users($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::User)

    The list of Users

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Developerconnect::V1::DeveloperConnect::Connection

Message describing Connection object

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::CryptoKeyConfig

The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->key_reference() / $msg->key_reference($value)

    Type: String

    Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GitProxyConfig

The git proxy configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

  • $msg->http_proxy_base_uri() / $msg->http_proxy_base_uri($value)

    Type: String

    Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect.

Google::Cloud::Developerconnect::V1::DeveloperConnect::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::Cloud::Developerconnect::V1::InstallationState::Stage)

    Output only. Current step of the installation process.

  • $msg->message() / $msg->message($value)

    Type: String

    Output 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: String

    Output only. Link to follow for next action. Empty string if the installation is already complete.

Enum: InstallationState::Stage

  • STAGE_UNSPECIFIED => 0

  • PENDING_CREATE_APP => 1

  • PENDING_USER_OAUTH => 2

  • PENDING_INSTALL_APP => 3

  • COMPLETE => 10

Google::Cloud::Developerconnect::V1::DeveloperConnect::GenericHTTPEndpointConfig

Defines the configuration for connections to an HTTP service provider.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::GitHubConfig

Configuration for connections to github.com.

Inherits from Protobuf::Message.

Accessors

  • $msg->github_app() / $msg->github_app($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::GitHubConfig::GitHubApp)

    Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.

  • $msg->authorizer_credential() / $msg->authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::OAuthCredential)

    Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.

  • $msg->app_installation_id() / $msg->app_installation_id($value)

    Type: Int64

    Optional. GitHub App installation id.

  • $msg->installation_uri() / $msg->installation_uri($value)

    Type: String

    Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.

Enum: GitHubConfig::GitHubApp

  • GIT_HUB_APP_UNSPECIFIED => 0

  • DEVELOPER_CONNECT => 1

  • FIREBASE => 2

  • GEMINI_CODE_ASSIST => 3

Google::Cloud::Developerconnect::V1::DeveloperConnect::GitHubEnterpriseConfig

Configuration for connections to an instance of GitHub Enterprise.

Inherits from Protobuf::Message.

Accessors

  • $msg->host_uri() / $msg->host_uri($value)

    Type: String

    Required. The URI of the GitHub Enterprise host this connection is for.

  • $msg->app_id() / $msg->app_id($value)

    Type: Int64

    Optional. ID of the GitHub App created from the manifest.

  • $msg->app_slug() / $msg->app_slug($value)

    Type: String

    Output only. The URL-friendly name of the GitHub App.

  • $msg->private_key_secret_version() / $msg->private_key_secret_version($value)

    Type: String

    Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

  • $msg->webhook_secret_secret_version() / $msg->webhook_secret_secret_version($value)

    Type: String

    Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

  • $msg->app_installation_id() / $msg->app_installation_id($value)

    Type: Int64

    Optional. ID of the installation of the GitHub App.

  • $msg->installation_uri() / $msg->installation_uri($value)

    Type: String

    Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.

  • $msg->service_directory_config() / $msg->service_directory_config($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::ServiceDirectoryConfig)

    Optional. 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->server_version() / $msg->server_version($value)

    Type: String

    Output only. GitHub Enterprise version installed at the host_uri.

  • $msg->ssl_ca_certificate() / $msg->ssl_ca_certificate($value)

    Type: String

    Optional. SSL certificate to use for requests to GitHub Enterprise.

  • $msg->organization() / $msg->organization($value)

    Type: String

    Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.

Google::Cloud::Developerconnect::V1::DeveloperConnect::ServiceDirectoryConfig

ServiceDirectoryConfig represents Service Directory configuration for a connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->service() / $msg->service($value)

    Type: String

    Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Google::Cloud::Developerconnect::V1::DeveloperConnect::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: String

    Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

  • $msg->username() / $msg->username($value)

    Type: String

    Output only. The username associated with this token.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GitLabConfig

Configuration for connections to gitlab.com.

Inherits from Protobuf::Message.

Accessors

  • $msg->webhook_secret_secret_version() / $msg->webhook_secret_secret_version($value)

    Type: String

    Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.

  • $msg->read_authorizer_credential() / $msg->read_authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

  • $msg->authorizer_credential() / $msg->authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

Google::Cloud::Developerconnect::V1::DeveloperConnect::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: String

    Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

  • $msg->username() / $msg->username($value)

    Type: String

    Output only. The username associated with this token.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GitLabEnterpriseConfig

Configuration for connections to an instance of GitLab Enterprise.

Inherits from Protobuf::Message.

Accessors

  • $msg->host_uri() / $msg->host_uri($value)

    Type: String

    Required. The URI of the GitLab Enterprise host this connection is for.

  • $msg->webhook_secret_secret_version() / $msg->webhook_secret_secret_version($value)

    Type: String

    Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.

  • $msg->read_authorizer_credential() / $msg->read_authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

  • $msg->authorizer_credential() / $msg->authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

  • $msg->service_directory_config() / $msg->service_directory_config($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::ServiceDirectoryConfig)

    Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. 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_certificate() / $msg->ssl_ca_certificate($value)

    Type: String

    Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.

  • $msg->server_version() / $msg->server_version($value)

    Type: String

    Output only. Version of the GitLab Enterprise server running on the `host_uri`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::BitbucketDataCenterConfig

Configuration for connections to an instance of Bitbucket Data Center.

Inherits from Protobuf::Message.

Accessors

  • $msg->host_uri() / $msg->host_uri($value)

    Type: String

    Required. The URI of the Bitbucket Data Center host this connection is for.

  • $msg->webhook_secret_secret_version() / $msg->webhook_secret_secret_version($value)

    Type: String

    Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.

  • $msg->read_authorizer_credential() / $msg->read_authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. An http access token with the minimum `Repository read` access. It's recommended to use a system account to generate the credentials.

  • $msg->authorizer_credential() / $msg->authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. An http access token with the minimum `Repository admin` scope access. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.

  • $msg->service_directory_config() / $msg->service_directory_config($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::ServiceDirectoryConfig)

    Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center instance. 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_certificate() / $msg->ssl_ca_certificate($value)

    Type: String

    Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.

  • $msg->server_version() / $msg->server_version($value)

    Type: String

    Output only. Version of the Bitbucket Data Center server running on the `host_uri`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::BitbucketCloudConfig

Configuration for connections to an instance of Bitbucket Cloud.

Inherits from Protobuf::Message.

Accessors

  • $msg->workspace() / $msg->workspace($value)

    Type: String

    Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

  • $msg->webhook_secret_secret_version() / $msg->webhook_secret_secret_version($value)

    Type: String

    Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate and create webhooks.

  • $msg->read_authorizer_credential() / $msg->read_authorizer_credential($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. An access token with the minimum `repository` access. It can either be 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::Cloud::Developerconnect::V1::DeveloperConnect::UserCredential)

    Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.

Google::Cloud::Developerconnect::V1::DeveloperConnect::SecureSourceManagerInstanceConfig

Configuration for connections to Secure Source Manager instance

Inherits from Protobuf::Message.

Accessors

  • $msg->instance() / $msg->instance($value)

    Type: String

    Required. Immutable. Secure Source Manager instance resource, formatted as `projects/*/locations/*/instances/*`

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListConnectionsRequest

Message for requesting list of Connections

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListConnectionsRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListConnectionsResponse

Message for response to listing Connections

Inherits from Protobuf::Message.

Accessors

  • $msg->connections() / $msg->connections($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::Connection)

    The list of Connection

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GetConnectionRequest

Message for getting a Connection

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

Google::Cloud::Developerconnect::V1::DeveloperConnect::CreateConnectionRequest

Message for creating a Connection

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->connection_id() / $msg->connection_id($value)

    Type: String

    Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC

  • $msg->connection() / $msg->connection($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::Connection)

    Required. The resource being created

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

Google::Cloud::Developerconnect::V1::DeveloperConnect::UpdateConnectionRequest

Message for updating a Connection

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->connection() / $msg->connection($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::Connection)

    Required. The resource being updated

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    Optional. If 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

Google::Cloud::Developerconnect::V1::DeveloperConnect::DeleteConnectionRequest

Message for deleting a Connection

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. The 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.

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListAccountConnectorsRequest

Message for requesting list of AccountConnectors

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListAccountConnectorsRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListAccountConnectorsResponse

Message for response to listing AccountConnectors

Inherits from Protobuf::Message.

Accessors

  • $msg->account_connectors() / $msg->account_connectors($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::AccountConnector)

    The list of AccountConnectors

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GetAccountConnectorRequest

Message for getting a AccountConnector

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

Google::Cloud::Developerconnect::V1::DeveloperConnect::CreateAccountConnectorRequest

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Location resource name as the account_connector’s parent.

  • $msg->account_connector_id() / $msg->account_connector_id($value)

    Type: String

    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.

  • $msg->account_connector() / $msg->account_connector($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::AccountConnector)

    Required. The AccountConnector to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

Google::Cloud::Developerconnect::V1::DeveloperConnect::UpdateAccountConnectorRequest

Message for updating a AccountConnector

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to be updated.

  • $msg->account_connector() / $msg->account_connector($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::AccountConnector)

    Required. The AccountConnector to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    Optional. If set to true, and the accountConnector is not found a new accountConnector will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input accountConnector has all the necessary

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

Google::Cloud::Developerconnect::V1::DeveloperConnect::DeleteAccountConnectorRequest

Message for deleting a AccountConnector

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. The current etag of the AccountConnectorn. If an etag is provided and does not match the current etag of the AccountConnector, deletion will be blocked and an ABORTED error will be returned.

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any Users from this AccountConnector will also be deleted. (Otherwise, the request will only work if the AccountConnector has no Users.)

Google::Cloud::Developerconnect::V1::DeveloperConnect::DeleteUserRequest

Message for deleting a User

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. This 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::Cloud::Developerconnect::V1::DeveloperConnect::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

  • $msg->target() / $msg->target($value)

    Type: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.

  • $msg->api_version() / $msg->api_version($value)

    Type: String

    Output only. API version used to start the operation.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchSelfRequest

Message for fetching a User of the user themselves.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the AccountConnector resource

Google::Cloud::Developerconnect::V1::DeveloperConnect::DeleteSelfRequest

Message for deleting a User of the user themselves.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the AccountConnector resource

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchAccessTokenRequest

Message for fetching an OAuth access token.

Inherits from Protobuf::Message.

Accessors

  • $msg->account_connector() / $msg->account_connector($value)

    Type: String

    Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchAccessTokenResponse

Message for responding to getting an OAuth access token.

Inherits from Protobuf::Message.

Accessors

  • $msg->token() / $msg->token($value)

    Type: String

    The 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.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    The scopes of the access token.

  • $msg->exchange_error() / $msg->exchange_error($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::ExchangeError)

    The error resulted from exchanging OAuth tokens from the service provider.

Google::Cloud::Developerconnect::V1::DeveloperConnect::DiffGitRepositoryLinkCommitRequest

Request message for DiffGitRepositoryLinkCommit.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink.

  • $msg->base_sha() / $msg->base_sha($value)

    Type: String

    Required. The base commit SHA or ref.

  • $msg->head_sha() / $msg->head_sha($value)

    Type: String

    Required. The head commit SHA or ref.

  • $msg->path_filters() / $msg->path_filters($value)

    Type: String

    Optional. Path patterns or exact paths to filter returned files. When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `["**"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty).

Google::Cloud::Developerconnect::V1::DeveloperConnect::DiffGitRepositoryLinkCommitResponse

Response message for DiffGitRepositoryLinkCommit.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::FileDiff

Message for a file diff.

Inherits from Protobuf::Message.

Accessors

  • $msg->path() / $msg->path($value)

    Type: String

    Relative path to the file in the repository.

  • $msg->status() / $msg->status($value)

    Type: String

    Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".

  • $msg->patch() / $msg->patch($value)

    Type: String

    Standard unified diff patch hunk for the file. Only populated when `path_filters` is specified in the request; otherwise empty.

Google::Cloud::Developerconnect::V1::DeveloperConnect::StartOAuthRequest

Message for starting an OAuth flow.

Inherits from Protobuf::Message.

Accessors

  • $msg->account_connector() / $msg->account_connector($value)

    Type: String

    Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::StartOAuthResponse

Message for responding to starting an OAuth flow.

Inherits from Protobuf::Message.

Accessors

  • $msg->system_provider_id() / $msg->system_provider_id($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::SystemProvider)

    The ID of the system provider.

  • $msg->ticket() / $msg->ticket($value)

    Type: String

    The ticket to be used for post processing the callback from the service provider.

  • $msg->code_challenge() / $msg->code_challenge($value)

    Type: String

    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1

  • $msg->code_challenge_method() / $msg->code_challenge_method($value)

    Type: String

    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2

  • $msg->client_id() / $msg->client_id($value)

    Type: String

    The client ID to the OAuth App of the service provider.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    The list of scopes requested by the application.

  • $msg->auth_uri() / $msg->auth_uri($value)

    Type: String

    The authorization server URL to the OAuth flow of the service provider.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FinishOAuthRequest

Message for finishing an OAuth flow.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::FinishOAuthResponse

Message for responding to finishing an OAuth flow.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::ExchangeError

Message for representing an error from exchanging OAuth tokens.

Inherits from Protobuf::Message.

Accessors

  • $msg->code() / $msg->code($value)

    Type: String

    https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error

  • $msg->description() / $msg->description($value)

    Type: String

    https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description

Message describing the GitRepositoryLink object

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->clone_uri() / $msg->clone_uri($value)

    Type: String

    Required. Git Clone URI.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. [Output only] Create timestamp

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. [Output only] Update timestamp

  • $msg->delete_time() / $msg->delete_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. [Output only] Delete timestamp

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::GitRepositoryLink::LabelsEntry)

    Optional. Labels as key value pairs

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. This 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->reconciling() / $msg->reconciling($value)

    Type: Bool

    Output only. Set to true when the connection is being set up or updated in the background.

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::GitRepositoryLink::AnnotationsEntry)

    Optional. Allows clients to store small amounts of arbitrary data.

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output only. A system-assigned unique identifier for the GitRepositoryLink.

  • $msg->webhook_id() / $msg->webhook_id($value)

    Type: String

    Output only. External ID of the webhook created for the repository.

  • $msg->git_proxy_uri() / $msg->git_proxy_uri($value)

    Type: String

    Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.

Google::Cloud::Developerconnect::V1::DeveloperConnect::CreateGitRepositoryLinkRequest

Message for creating a GitRepositoryLink

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->git_repository_link() / $msg->git_repository_link($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::GitRepositoryLink)

    Required. The resource being created

  • $msg->git_repository_link_id() / $msg->git_repository_link_id($value)

    Type: String

    Required. 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 -._~%!$&'()*+,;=@.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

Google::Cloud::Developerconnect::V1::DeveloperConnect::DeleteGitRepositoryLinkRequest

Message for deleting a GitRepositoryLink

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, validate the request, but do not actually post it.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. This 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::Cloud::Developerconnect::V1::DeveloperConnect::ListGitRepositoryLinksRequest

Message for requesting a list of GitRepositoryLinks

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListGitRepositoryLinksRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Developerconnect::V1::DeveloperConnect::ListGitRepositoryLinksResponse

Message for response to listing GitRepositoryLinks

Inherits from Protobuf::Message.

Accessors

  • $msg->git_repository_links() / $msg->git_repository_links($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::GitRepositoryLink)

    The list of GitRepositoryLinks

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Developerconnect::V1::DeveloperConnect::GetGitRepositoryLinkRequest

Message for getting a GitRepositoryLink

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchReadWriteTokenRequest

Message for fetching SCM read/write token.

Inherits from Protobuf::Message.

Accessors

  • $msg->git_repository_link() / $msg->git_repository_link($value)

    Type: String

    Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchReadTokenRequest

Message for fetching SCM read token.

Inherits from Protobuf::Message.

Accessors

  • $msg->git_repository_link() / $msg->git_repository_link($value)

    Type: String

    Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchReadTokenResponse

Message for responding to get read token.

Inherits from Protobuf::Message.

Accessors

  • $msg->token() / $msg->token($value)

    Type: String

    The 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.

  • $msg->git_username() / $msg->git_username($value)

    Type: String

    The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchReadWriteTokenResponse

Message for responding to get read/write token.

Inherits from Protobuf::Message.

Accessors

  • $msg->token() / $msg->token($value)

    Type: String

    The 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.

  • $msg->git_username() / $msg->git_username($value)

    Type: String

    The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"

Google::Cloud::Developerconnect::V1::DeveloperConnect::OpenGitRepositoryLinkPullRequestRequest

Message for opening SCM Pull Request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->pull_request() / $msg->pull_request($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequest)

    Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchLinkableGitRepositoriesRequest

Request message for FetchLinkableGitRepositoriesRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->connection() / $msg->connection($value)

    Type: String

    Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Number of results to return in the list. Defaults to 20.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Page start.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchLinkableGitRepositoriesResponse

Response message for FetchLinkableGitRepositories.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::LinkableGitRepository

LinkableGitRepository represents a git repository that can be linked to a connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->clone_uri() / $msg->clone_uri($value)

    Type: String

    The clone uri of the repository.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitHubInstallationsRequest

Request for fetching github installations.

Inherits from Protobuf::Message.

Accessors

  • $msg->connection() / $msg->connection($value)

    Type: String

    Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitHubInstallationsResponse

Response of fetching github installations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRefsRequest

Request for fetching git refs.

Inherits from Protobuf::Message.

Accessors

  • $msg->git_repository_link() / $msg->git_repository_link($value)

    Type: String

    Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->ref_type() / $msg->ref_type($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::FetchGitRefsRequest::RefType)

    Required. Type of refs to fetch.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Number of results to return in the list. Default to 20.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Page start.

Enum: FetchGitRefsRequest::RefType

  • REF_TYPE_UNSPECIFIED => 0

  • TAG => 1

  • BRANCH => 2

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRefsResponse

Response for fetching git refs.

Inherits from Protobuf::Message.

Accessors

  • $msg->ref_names() / $msg->ref_names($value)

    Type: String

    Name of the refs fetched.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkCommitRequest

Request message for FetchGitRepositoryLinkCommit.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->commit_sha() / $msg->commit_sha($value)

    Type: String

    Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::CommitView)

    Optional. The level of commit details to return in the response. Defaults to `FULL` if unspecified. In `FULL` view, `files` metadata (paths and statuses) are returned; `path_filters` must also be specified to populate line patch hunks.

  • $msg->path_filters() / $msg->path_filters($value)

    Type: String

    Optional. Path patterns or exact paths to filter returned files (only applicable in `FULL` view). When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `["**"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty).

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkCommitResponse

Response message for FetchGitRepositoryLinkCommit.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkCommitListRequest

Request message for FetchGitRepositoryLinkCommitList.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->ref() / $msg->ref($value)

    Type: String

    Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Number of results to return in the list. Default is 50. Max is 100.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `FetchGitRepositoryLinkCommitList` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `FetchGitRepositoryLinkCommitList` must match the call that provided the page token.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::CommitView)

    Optional. The level of commit details to return in the response. Only `BASIC` is supported; `FULL` returns `INVALID_ARGUMENT`. Defaults to `BASIC` if unspecified. Use `FetchGitRepositoryLinkCommit` to get file diffs for a single commit.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkCommitListResponse

Response message for FetchGitRepositoryLinkCommitList.

Inherits from Protobuf::Message.

Accessors

  • $msg->commits() / $msg->commits($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::SCMCommit)

    The list of commit metadata.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Developerconnect::V1::DeveloperConnect::SCMCommit

SCMCommit represents commit metadata.

Inherits from Protobuf::Message.

Accessors

  • $msg->sha() / $msg->sha($value)

    Type: String

    Full 40-character SCM commit SHA.

  • $msg->message() / $msg->message($value)

    Type: String

    Commit message text.

  • $msg->author() / $msg->author($value)

    Type: String

    The author's display name.

  • $msg->author_email() / $msg->author_email($value)

    Type: String

    The author's email address.

  • $msg->commit_time() / $msg->commit_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp when the commit was authored.

  • $msg->url() / $msg->url($value)

    Type: String

    The SCM provider's HTML URL link for this commit.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkFileBlameRequest

Request message for FetchGitRepositoryLinkFileBlame.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->ref() / $msg->ref($value)

    Type: String

    Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.

  • $msg->path() / $msg->path($value)

    Type: String

    Required. The file path within the repository.

  • $msg->first_line() / $msg->first_line($value)

    Type: Int32

    Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.

  • $msg->last_line() / $msg->last_line($value)

    Type: Int32

    Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.

Google::Cloud::Developerconnect::V1::DeveloperConnect::BlameRange

BlameRange represents blame information for a range of lines.

Inherits from Protobuf::Message.

Accessors

  • $msg->first_line() / $msg->first_line($value)

    Type: Int32

    The 1-indexed starting line number of the range (inclusive).

  • $msg->last_line() / $msg->last_line($value)

    Type: Int32

    The 1-indexed ending line number of the range (inclusive).

  • $msg->commit() / $msg->commit($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::SCMCommit)

    The commit metadata for this line range.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkFileBlameResponse

Response message for FetchGitRepositoryLinkFileBlame.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkPullRequestRequest

Request message for FetchGitRepositoryLinkPullRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->pull_request_id() / $msg->pull_request_id($value)

    Type: String

    Required. The ID of the Pull Request.

Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequest

Message representing a SCM Pull Request.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    Required. The ID of the PR.

  • $msg->title() / $msg->title($value)

    Type: String

    Required. The title of the PR.

  • $msg->body() / $msg->body($value)

    Type: String

    Optional. The body description of the PR.

  • $msg->head_ref() / $msg->head_ref($value)

    Type: String

    Required. The source commit SHA of the head branch.

  • $msg->base_ref() / $msg->base_ref($value)

    Type: String

    Required. The target commit SHA of the base branch.

  • $msg->author() / $msg->author($value)

    Type: String

    Output only. The username of the author.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the PR was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the PR was updated.

  • $msg->merge_time() / $msg->merge_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the PR was merged.

  • $msg->close_time() / $msg->close_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the PR was closed.

  • $msg->decline_time() / $msg->decline_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::PullRequest::State)

    Output only. The current state of the PR.

  • $msg->mergeability() / $msg->mergeability($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::PullRequest::Mergeability)

    Output only. The mergeability state of the pull request.

  • $msg->html_url() / $msg->html_url($value)

    Type: String

    Output only. The HTML URL of the pull request on the SCM provider.

Enum: PullRequest::State

  • STATE_UNSPECIFIED => 0

  • OPEN => 1

  • CLOSED => 2

  • MERGED => 3

  • DECLINED => 4

Enum: PullRequest::Mergeability

  • MERGEABILITY_UNSPECIFIED => 0

  • MERGEABLE => 1

  • CONFLICTING => 2

  • COMPUTING => 3

Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequestComment

Message representing a SCM Pull Request Comment.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    Output only. The ID of the comment.

  • $msg->body() / $msg->body($value)

    Type: String

    Required. The body of the comment.

  • $msg->author() / $msg->author($value)

    Type: String

    Output only. The username of the author.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the comment was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the comment was updated.

Google::Cloud::Developerconnect::V1::DeveloperConnect::AddGitRepositoryLinkPullRequestCommentRequest

Request message for AddGitRepositoryLinkPullRequestComment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->pull_request_id() / $msg->pull_request_id($value)

    Type: String

    Required. The ID of the Pull Request.

  • $msg->comment() / $msg->comment($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequestComment)

    Required. The comment to add.

Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequestReviewComment

Message representing a SCM Pull Request Review Comment (inline on diff).

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    Output only. The ID of the comment.

  • $msg->body() / $msg->body($value)

    Type: String

    Required. The body of the comment.

  • $msg->path() / $msg->path($value)

    Type: String

    Required. The file path to comment on.

  • $msg->first_line() / $msg->first_line($value)

    Type: Int32

    Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the `last_line`.

  • $msg->last_line() / $msg->last_line($value)

    Type: Int32

    Required. The last line of the comment range (inclusive). If `first_line` is not specified, the comment applies only to this line.

  • $msg->side() / $msg->side($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::PullRequestReviewComment::DiffSide)

    Optional. The side of the diff to comment on. Defaults to HEAD.

  • $msg->author() / $msg->author($value)

    Type: String

    Output only. The username of the author.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the comment was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the comment was updated.

  • $msg->commit_id() / $msg->commit_id($value)

    Type: String

    Output only. The commit SHA the comment was actually applied to.

Enum: PullRequestReviewComment::DiffSide

  • DIFF_SIDE_UNSPECIFIED => 0

  • BASE => 1

  • HEAD => 2

Google::Cloud::Developerconnect::V1::DeveloperConnect::AddGitRepositoryLinkPullRequestReviewCommentRequest

Request message for AddGitRepositoryLinkPullRequestReviewComment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->pull_request_id() / $msg->pull_request_id($value)

    Type: String

    Required. The ID of the Pull Request.

  • $msg->comment() / $msg->comment($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequestReviewComment)

    Required. The review comment to add.

  • $msg->commit_id() / $msg->commit_id($value)

    Type: String

    Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.

Google::Cloud::Developerconnect::V1::DeveloperConnect::ModifyGitRepositoryLinkPullRequestRequest

Message for modifying SCM Pull Request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->pull_request_id() / $msg->pull_request_id($value)

    Type: String

    Required. The SCM-specific Pull Request identifier (e.g., "45").

  • $msg->title() / $msg->title($value)

    Type: String

    Optional. The title of the Pull Request.

  • $msg->body() / $msg->body($value)

    Type: String

    Optional. The body description of the Pull Request.

  • $msg->base_ref() / $msg->base_ref($value)

    Type: String

    Optional. The target branch to merge into.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::ModifyGitRepositoryLinkPullRequestRequest::State)

    Optional. The state of the Pull Request.

Enum: ModifyGitRepositoryLinkPullRequestRequest::State

  • STATE_UNSPECIFIED => 0

  • OPEN => 1

  • CLOSED => 2

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkPullRequestListRequest

Request message for FetchGitRepositoryLinkPullRequestList.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. A filter expression that filters the pull requests returned in the response. Only a single equality comparison on `state` is supported, for example `state = "OPEN"`. Supported values are `OPEN`, `CLOSED`, and `MERGED`. `DECLINED` is only supported for SCM providers that support declining pull requests, and returns `INVALID_ARGUMENT` for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return `INVALID_ARGUMENT`. Defaults to `state = "OPEN"` if unspecified.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Number of results to return in the list. Default is 20. Max is 100. A page may contain fewer than `page_size` results even when more results are available; use `next_page_token` to check for more pages.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `FetchGitRepositoryLinkPullRequestList` call. Provide this to retrieve the subsequent page.

Google::Cloud::Developerconnect::V1::DeveloperConnect::FetchGitRepositoryLinkPullRequestListResponse

Response message for FetchGitRepositoryLinkPullRequestList.

Inherits from Protobuf::Message.

Accessors

  • $msg->pull_requests() / $msg->pull_requests($value)

    Type: Message (Google::Cloud::Developerconnect::V1::DeveloperConnect::PullRequest)

    The list of Pull Requests.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Developerconnect::V1::DeveloperConnect::AccountConnector

AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Developerconnect::V1::DeveloperConnect::User

User represents a user connected to the service providers through a AccountConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the user, in the format `projects/*/locations/*/accountConnectors/*/users/*`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the user was created.

  • $msg->last_token_request_time() / $msg->last_token_request_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the token was last requested.

Google::Cloud::Developerconnect::V1::DeveloperConnect::ProviderOAuthConfig

ProviderOAuthConfig is the OAuth config for a provider.

Inherits from Protobuf::Message.

Accessors

  • $msg->system_provider_id() / $msg->system_provider_id($value)

    Type: Enum (Google::Cloud::Developerconnect::V1::SystemProvider)

    Optional. Immutable. Developer Connect provided OAuth.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Developerconnect::V1::DeveloperConnect::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.