Cloud Run V2 API - Class Google::Cloud::Run::V2::SourceCode (v0.32.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::SourceCode.

Source type for the container.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_storage_source

def cloud_storage_source() -> ::Google::Cloud::Run::V2::SourceCode::CloudStorageSource
Returns
  • (::Google::Cloud::Run::V2::SourceCode::CloudStorageSource) — The source is a Cloud Storage bucket.

    Note: The following fields are mutually exclusive: cloud_storage_source, inlined_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cloud_storage_source=

def cloud_storage_source=(value) -> ::Google::Cloud::Run::V2::SourceCode::CloudStorageSource
Parameter
  • value (::Google::Cloud::Run::V2::SourceCode::CloudStorageSource) — The source is a Cloud Storage bucket.

    Note: The following fields are mutually exclusive: cloud_storage_source, inlined_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Run::V2::SourceCode::CloudStorageSource) — The source is a Cloud Storage bucket.

    Note: The following fields are mutually exclusive: cloud_storage_source, inlined_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#inlined_source

def inlined_source() -> ::Google::Cloud::Run::V2::SourceCode::InlinedSource
Returns
  • (::Google::Cloud::Run::V2::SourceCode::InlinedSource) — Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

    Note: The following fields are mutually exclusive: inlined_source, cloud_storage_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#inlined_source=

def inlined_source=(value) -> ::Google::Cloud::Run::V2::SourceCode::InlinedSource
Parameter
  • value (::Google::Cloud::Run::V2::SourceCode::InlinedSource) — Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

    Note: The following fields are mutually exclusive: inlined_source, cloud_storage_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Run::V2::SourceCode::InlinedSource) — Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

    Note: The following fields are mutually exclusive: inlined_source, cloud_storage_source. If a field in that set is populated, all other fields in the set will automatically be cleared.