class Google::Apis::CloudbuildV1::StorageSource
StorageSource describes the location of the source in an archive file in Google Cloud Storage.
Attributes
bucket[RW]
Google Cloud Storage bucket containing source (see [Bucket Name Requirements](cloud.google.com/storage/docs/bucket-naming#requirements) ). Corresponds to the JSON property `bucket` @return [String]
generation[RW]
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. Corresponds to the JSON property `generation` @return [String]
object[RW]
Google Cloud Storage object containing source. This object must be a gzipped archive file (.tar.gz) containing source to build. Corresponds to the JSON property `object` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudbuild_v1/classes.rb, line 289 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/cloudbuild_v1/classes.rb, line 294 def update!(**args) @generation = args[:generation] if args.key?(:generation) @bucket = args[:bucket] if args.key?(:bucket) @object = args[:object] if args.key?(:object) end