Cloud Build V1 API - Class Google::Cloud::Build::V1::Artifacts::ArtifactObjects (v1.2.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Artifacts::ArtifactObjects.

Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#location

def location() -> ::String
Returns
  • (::String) — Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements).

    Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements).

    Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

Returns
  • (::String) — Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements).

    Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

#paths

def paths() -> ::Array<::String>
Returns
  • (::Array<::String>) — Path globs used to match files in the build's workspace.

#paths=

def paths=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Path globs used to match files in the build's workspace.
Returns
  • (::Array<::String>) — Path globs used to match files in the build's workspace.

#timing

def timing() -> ::Google::Cloud::Build::V1::TimeSpan
Returns