Service Client: Google::Cloud::Run::V2::SourceUpload::SourceUploadClient
Client stub representing the remote SourceUpload gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to run.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Run::V2::SourceUpload - Compiled Protocol Buffers messages for google/cloud/run/v2/source_upload.proto
SYNOPSIS
use Google::Cloud::Run::V2::SourceUpload;
my $msg = Google::Cloud::Run::V2::SourceUpload::UploadSourceRequest->new({
parent => $parent,
service => $service,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Run::V2::SourceUpload::UploadSourceRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/run/v2/source_upload.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::Run::V2::SourceUpload::UploadSourceRequest
The request message for the UploadSource method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location in which the source archive should be uploaded to, specified in the format `projects/*/locations/*`.
$msg->service()/$msg->service($value)Type:
StringThe name of Cloud Run Service upload source archive will be used for.
Google::Cloud::Run::V2::SourceUpload::UploadSourceResponse
The response message for the UploadSource method.
Inherits from Protobuf::Message.
Accessors
$msg->cloud_storage_source()/$msg->cloud_storage_source($value)Type:
Message(Google::Cloud::Run::V2::K8sMin::SourceCode::CloudStorageSource)The Cloud Storage object path the source archive is uploaded to.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Run::V2::SourceUpload::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.