Google-Cloud-Devtools-Cloudbuild-V2

 view release on metacpan or  search on metacpan

lib/Google/Devtools/Cloudbuild/V2/Repositories.pm  view on Meta::CPAN

ZXRjaGluZyBnaXQgcmVmcwoKCwoDBCABEgTrBggcCikKBAQgAgASBO0GAiAaGyBOYW1lIG9m
IHRoZSByZWZzIGZldGNoZWQuCgoNCgUEIAIABBIE7QYCCgoNCgUEIAIABRIE7QYLEQoNCgUE
IAIAARIE7QYSGwoNCgUEIAIAAxIE7QYeH2IGcHJvdG8z
EOF
    Protobuf::DescriptorPool->generated_pool->add_serialized_file(MIME::Base64::decode_base64($descriptor_b64));
}

# Message definitions

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::Connection ===
    # Fields for Connection
    # Field: name Type: 9 ()
    # Field: create_time Type: 11 (.google.protobuf.Timestamp)
    # Field: update_time Type: 11 (.google.protobuf.Timestamp)
    # Field: github_config Type: 11 (.google.devtools.cloudbuild.v2.GitHubConfig)
    # Field: github_enterprise_config Type: 11 (.google.devtools.cloudbuild.v2.GitHubEnterpriseConfig)
    # Field: gitlab_config Type: 11 (.google.devtools.cloudbuild.v2.GitLabConfig)
    # Field: bitbucket_data_center_config Type: 11 (.google.devtools.cloudbuild.v2.BitbucketDataCenterConfig)
    # Field: bitbucket_cloud_config Type: 11 (.google.devtools.cloudbuild.v2.BitbucketCloudConfig)
    # Field: installation_state Type: 11 (.google.devtools.cloudbuild.v2.InstallationState)
    # Field: disabled Type: 8 ()
    # Field: reconciling Type: 8 ()
    # Field: annotations Type: 11 (.google.devtools.cloudbuild.v2.Connection.AnnotationsEntry)
    # Field: etag Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::InstallationState ===
    # Fields for InstallationState
    # Field: stage Type: 14 (.google.devtools.cloudbuild.v2.InstallationState.Stage)
    # Field: message Type: 9 ()
    # Field: action_uri Type: 9 ()

# Enum: InstallationState::Stage
our $InstallationState_STAGE_UNSPECIFIED = 0;
our $InstallationState_PENDING_CREATE_APP = 1;
our $InstallationState_PENDING_USER_OAUTH = 2;
our $InstallationState_PENDING_INSTALL_APP = 3;
our $InstallationState_COMPLETE = 10;

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::FetchLinkableRepositoriesRequest ===
    # Fields for FetchLinkableRepositoriesRequest
    # Field: connection Type: 9 ()
    # Field: page_size Type: 5 ()
    # Field: page_token Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::FetchLinkableRepositoriesResponse ===
    # Fields for FetchLinkableRepositoriesResponse
    # Field: repositories Type: 11 (.google.devtools.cloudbuild.v2.Repository)
    # Field: next_page_token Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::GitHubConfig ===
    # Fields for GitHubConfig
    # Field: authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.OAuthCredential)
    # Field: app_installation_id Type: 3 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::GitHubEnterpriseConfig ===
    # Fields for GitHubEnterpriseConfig
    # Field: host_uri Type: 9 ()
    # Field: api_key Type: 9 ()
    # Field: app_id Type: 3 ()
    # Field: app_slug Type: 9 ()
    # Field: private_key_secret_version Type: 9 ()
    # Field: webhook_secret_secret_version Type: 9 ()
    # Field: app_installation_id Type: 3 ()
    # Field: service_directory_config Type: 11 (.google.devtools.cloudbuild.v2.ServiceDirectoryConfig)
    # Field: ssl_ca Type: 9 ()
    # Field: server_version Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::GitLabConfig ===
    # Fields for GitLabConfig
    # Field: host_uri Type: 9 ()
    # Field: webhook_secret_secret_version Type: 9 ()
    # Field: read_authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)
    # Field: authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)
    # Field: service_directory_config Type: 11 (.google.devtools.cloudbuild.v2.ServiceDirectoryConfig)
    # Field: ssl_ca Type: 9 ()
    # Field: server_version Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::BitbucketDataCenterConfig ===
    # Fields for BitbucketDataCenterConfig
    # Field: host_uri Type: 9 ()
    # Field: webhook_secret_secret_version Type: 9 ()
    # Field: read_authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)
    # Field: authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)
    # Field: service_directory_config Type: 11 (.google.devtools.cloudbuild.v2.ServiceDirectoryConfig)
    # Field: ssl_ca Type: 9 ()
    # Field: server_version Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::BitbucketCloudConfig ===
    # Fields for BitbucketCloudConfig
    # Field: workspace Type: 9 ()
    # Field: webhook_secret_secret_version Type: 9 ()
    # Field: read_authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)
    # Field: authorizer_credential Type: 11 (.google.devtools.cloudbuild.v2.UserCredential)

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::ServiceDirectoryConfig ===
    # Fields for ServiceDirectoryConfig
    # Field: service Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::Repository ===
    # Fields for Repository
    # Field: name Type: 9 ()
    # Field: remote_uri Type: 9 ()
    # Field: create_time Type: 11 (.google.protobuf.Timestamp)
    # Field: update_time Type: 11 (.google.protobuf.Timestamp)
    # Field: annotations Type: 11 (.google.devtools.cloudbuild.v2.Repository.AnnotationsEntry)
    # Field: etag Type: 9 ()
    # Field: webhook_id Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::OAuthCredential ===
    # Fields for OAuthCredential
    # Field: oauth_token_secret_version Type: 9 ()
    # Field: username Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::UserCredential ===
    # Fields for UserCredential
    # Field: user_token_secret_version Type: 9 ()
    # Field: username Type: 9 ()

# === Message: Google::Devtools::Cloudbuild::V2::Repositories::CreateConnectionRequest ===
    # Fields for CreateConnectionRequest
    # Field: parent Type: 9 ()

lib/Google/Devtools/Cloudbuild/V2/Repositories.pm  view on Meta::CPAN

=head2 Google::Devtools::Cloudbuild::V2::Repositories::GitHubConfig

Configuration for connections to github.com.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->authorizer_credential() >> / C<< $msg->authorizer_credential($value) >>

Type: C<Message> (L<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.

=item * C<< $msg->app_installation_id() >> / C<< $msg->app_installation_id($value) >>

Type: C<Int64>

GitHub App installation id.

=back

=head2 Google::Devtools::Cloudbuild::V2::Repositories::GitHubEnterpriseConfig

Configuration for connections to an instance of GitHub Enterprise.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->host_uri() >> / C<< $msg->host_uri($value) >>

Type: C<String>

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

=item * C<< $msg->api_key() >> / C<< $msg->api_key($value) >>

Type: C<String>

Required. API Key used for authentication of webhook events.

=item * C<< $msg->app_id() >> / C<< $msg->app_id($value) >>

Type: C<Int64>

Id of the GitHub App created from the manifest.

=item * C<< $msg->app_slug() >> / C<< $msg->app_slug($value) >>

Type: C<String>

The URL-friendly name of the GitHub App.

=item * C<< $msg->private_key_secret_version() >> / C<< $msg->private_key_secret_version($value) >>

Type: C<String>

SecretManager resource containing the private key of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.

=item * C<< $msg->webhook_secret_secret_version() >> / C<< $msg->webhook_secret_secret_version($value) >>

Type: C<String>

SecretManager resource containing the webhook secret of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.

=item * C<< $msg->app_installation_id() >> / C<< $msg->app_installation_id($value) >>

Type: C<Int64>

ID of the installation of the GitHub App.

=item * C<< $msg->service_directory_config() >> / C<< $msg->service_directory_config($value) >>

Type: C<Message> (L<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.

=item * C<< $msg->ssl_ca() >> / C<< $msg->ssl_ca($value) >>

Type: C<String>

SSL certificate to use for requests to GitHub Enterprise.

=item * C<< $msg->server_version() >> / C<< $msg->server_version($value) >>

Type: C<String>

Output only. GitHub Enterprise version installed at the host_uri.

=back

=head2 Google::Devtools::Cloudbuild::V2::Repositories::GitLabConfig

Configuration for connections to gitlab.com or an instance of GitLab
Enterprise.

Inherits from L<Protobuf::Message>.

=head3 Accessors

=over 4

=item * C<< $msg->host_uri() >> / C<< $msg->host_uri($value) >>

Type: C<String>

The URI of the GitLab Enterprise host this connection is for.
If not specified, the default value is https://gitlab.com.



( run in 2.249 seconds using v1.01-cache-2.11-cpan-8379b9b8ec2 )