class Google::Apis::ContaineranalysisV1alpha1::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. Corresponds to the JSON property `generation` @return [Fixnum]
object[RW]
Google
Cloud Storage object containing source. Corresponds to the JSON property `object` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3521 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3526 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