Google-Cloud-Devtools-Cloudbuild-V1
view release on metacpan or search on metacpan
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
our $BuildOptions_NOT_VERIFIED = 0;
our $BuildOptions_VERIFIED = 1;
our $BuildOptions_BEST_EFFORT = 3;
# Enum: BuildOptions::MachineType
our $BuildOptions_UNSPECIFIED = 0;
our $BuildOptions_N1_HIGHCPU_8 = 1;
our $BuildOptions_N1_HIGHCPU_32 = 2;
our $BuildOptions_E2_HIGHCPU_8 = 5;
our $BuildOptions_E2_HIGHCPU_32 = 6;
our $BuildOptions_E2_MEDIUM = 7;
our $BuildOptions_E2_STANDARD_2 = 11;
# Enum: BuildOptions::SubstitutionOption
our $BuildOptions_MUST_MATCH = 0;
our $BuildOptions_ALLOW_LOOSE = 1;
# Enum: BuildOptions::LogStreamingOption
our $BuildOptions_STREAM_DEFAULT = 0;
our $BuildOptions_STREAM_ON = 1;
our $BuildOptions_STREAM_OFF = 2;
# Enum: BuildOptions::LoggingMode
our $BuildOptions_LOGGING_UNSPECIFIED = 0;
our $BuildOptions_LEGACY = 1;
our $BuildOptions_GCS_ONLY = 2;
our $BuildOptions_STACKDRIVER_ONLY = 3;
our $BuildOptions_CLOUD_LOGGING_ONLY = 5;
our $BuildOptions_NONE = 4;
# Enum: BuildOptions::DefaultLogsBucketBehavior
our $BuildOptions_DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED = 0;
our $BuildOptions_REGIONAL_USER_OWNED_BUCKET = 1;
our $BuildOptions_LEGACY_BUCKET = 2;
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::ReceiveTriggerWebhookRequest ===
# Fields for ReceiveTriggerWebhookRequest
# Field: name Type: 9 ()
# Field: body Type: 11 (.google.api.HttpBody)
# Field: project_id Type: 9 ()
# Field: trigger Type: 9 ()
# Field: secret Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::ReceiveTriggerWebhookResponse ===
# Fields for ReceiveTriggerWebhookResponse
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseConfig ===
# Fields for GitHubEnterpriseConfig
# Field: name Type: 9 ()
# Field: host_url Type: 9 ()
# Field: app_id Type: 3 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: webhook_key Type: 9 ()
# Field: peered_network Type: 9 ()
# Field: secrets Type: 11 (.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets)
# Field: display_name Type: 9 ()
# Field: ssl_ca Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets ===
# Fields for GitHubEnterpriseSecrets
# Field: private_key_version_name Type: 9 ()
# Field: webhook_secret_version_name Type: 9 ()
# Field: oauth_secret_version_name Type: 9 ()
# Field: oauth_client_id_version_name Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::WorkerPool ===
# Fields for WorkerPool
# Field: name Type: 9 ()
# Field: display_name Type: 9 ()
# Field: uid Type: 9 ()
# Field: annotations Type: 11 (.google.devtools.cloudbuild.v1.WorkerPool.AnnotationsEntry)
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: delete_time Type: 11 (.google.protobuf.Timestamp)
# Field: state Type: 14 (.google.devtools.cloudbuild.v1.WorkerPool.State)
# Field: private_pool_v1_config Type: 11 (.google.devtools.cloudbuild.v1.PrivatePoolV1Config)
# Field: etag Type: 9 ()
# Enum: WorkerPool::State
our $WorkerPool_STATE_UNSPECIFIED = 0;
our $WorkerPool_CREATING = 1;
our $WorkerPool_RUNNING = 2;
our $WorkerPool_DELETING = 3;
our $WorkerPool_DELETED = 4;
our $WorkerPool_UPDATING = 5;
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::PrivatePoolV1Config ===
# Fields for PrivatePoolV1Config
# Field: worker_config Type: 11 (.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig)
# Field: network_config Type: 11 (.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig)
# Field: private_service_connect Type: 11 (.google.devtools.cloudbuild.v1.PrivatePoolV1Config.PrivateServiceConnect)
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::CreateWorkerPoolRequest ===
# Fields for CreateWorkerPoolRequest
# Field: parent Type: 9 ()
# Field: worker_pool Type: 11 (.google.devtools.cloudbuild.v1.WorkerPool)
# Field: worker_pool_id Type: 9 ()
# Field: validate_only Type: 8 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::GetWorkerPoolRequest ===
# Fields for GetWorkerPoolRequest
# Field: name Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::DeleteWorkerPoolRequest ===
# Fields for DeleteWorkerPoolRequest
# Field: name Type: 9 ()
# Field: etag Type: 9 ()
# Field: allow_missing Type: 8 ()
# Field: validate_only Type: 8 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::UpdateWorkerPoolRequest ===
# Fields for UpdateWorkerPoolRequest
# Field: worker_pool Type: 11 (.google.devtools.cloudbuild.v1.WorkerPool)
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: validate_only Type: 8 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::ListWorkerPoolsRequest ===
# Fields for ListWorkerPoolsRequest
# Field: parent Type: 9 ()
# Field: page_size Type: 5 ()
# Field: page_token Type: 9 ()
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
=item * C<< $msg->create_time() >> / C<< $msg->create_time($value) >>
Type: C<Message> (L<Google::Protobuf::Timestamp::Timestamp>)
Output only. Time when the installation was associated with the project.
=item * C<< $msg->webhook_key() >> / C<< $msg->webhook_key($value) >>
Type: C<String>
The key that should be attached to webhook calls to the ReceiveWebhook
endpoint.
=item * C<< $msg->peered_network() >> / C<< $msg->peered_network($value) >>
Type: C<String>
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
`projects/{project}/global/networks/{network}`, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
=item * C<< $msg->secrets() >> / C<< $msg->secrets($value) >>
Type: C<Message> (L<Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets>)
Optional. Names of secrets in Secret Manager.
=item * C<< $msg->display_name() >> / C<< $msg->display_name($value) >>
Type: C<String>
Optional. Name to display for this config.
=item * C<< $msg->ssl_ca() >> / C<< $msg->ssl_ca($value) >>
Type: C<String>
Optional. SSL certificate to use for requests to GitHub Enterprise.
=back
=head2 Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets
GitHubEnterpriseSecrets represents the names of all necessary secrets in
Secret Manager for a GitHub Enterprise server.
Format is: projects/<project number>/secrets/<secret name>.
Inherits from L<Protobuf::Message>.
=head3 Accessors
=over 4
=item * C<< $msg->private_key_version_name() >> / C<< $msg->private_key_version_name($value) >>
Type: C<String>
The resource name for the private key secret version.
=item * C<< $msg->webhook_secret_version_name() >> / C<< $msg->webhook_secret_version_name($value) >>
Type: C<String>
The resource name for the webhook secret secret version in Secret Manager.
=item * C<< $msg->oauth_secret_version_name() >> / C<< $msg->oauth_secret_version_name($value) >>
Type: C<String>
The resource name for the OAuth secret secret version in Secret Manager.
=item * C<< $msg->oauth_client_id_version_name() >> / C<< $msg->oauth_client_id_version_name($value) >>
Type: C<String>
The resource name for the OAuth client ID secret version in Secret Manager.
=back
=head2 Google::Devtools::Cloudbuild::V1::Cloudbuild::WorkerPool
Configuration for a `WorkerPool`.
Cloud Build owns and maintains a pool of workers for general use and have no
access to a project's private network. By default, builds submitted to
Cloud Build will use a worker from this pool.
If your build needs access to resources on a private network,
create and use a `WorkerPool` to run your builds. Private `WorkerPool`s give
your builds access to any single VPC network that you
administer, including any on-prem resources connected to that VPC
network. For an overview of private pools, see
[Private pools
overview](https://cloud.google.com/build/docs/private-pools/private-pools-overview).
Inherits from L<Protobuf::Message>.
=head3 Accessors
=over 4
=item * C<< $msg->name() >> / C<< $msg->name($value) >>
Type: C<String>
Output only. The resource name of the `WorkerPool`, with format
`projects/{project}/locations/{location}/workerPools/{worker_pool}`.
The value of `{worker_pool}` is provided by `worker_pool_id` in
`CreateWorkerPool` request and the value of `{location}` is determined by
the endpoint accessed.
=item * C<< $msg->display_name() >> / C<< $msg->display_name($value) >>
Type: C<String>
( run in 0.819 second using v1.01-cache-2.11-cpan-8379b9b8ec2 )