class Google::Apis::CloudbuildV1beta1::StorageSource
Location of the source in an archive file in Google
Cloud Storage.
Attributes
bucket[RW]
Google
Cloud Storage bucket containing the 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 [Fixnum]
object[RW]
Google
Cloud Storage object containing the source. This object must be a zipped (`.zip`) or 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 lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1927 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1932 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) @generation = args[:generation] if args.key?(:generation) @object = args[:object] if args.key?(:object) end