class Google::Apis::OsconfigV1beta::SoftwareRecipeArtifactGcs
Specifies an artifact available as a Google
Cloud Storage object.
Attributes
bucket[RW]
Bucket of the Google
Cloud Storage object. Given an example URL: `https:// storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my- bucket`. Corresponds to the JSON property `bucket` @return [String]
generation[RW]
Must be provided if allow_insecure is false. Generation number of the Google
Cloud Storage object. `storage.googleapis.com/my-bucket/foo/bar# 1234567` this value would be `1234567`. Corresponds to the JSON property `generation` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1753 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1758 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