class Google::Apis::OsconfigV1beta::SoftwareRecipeArtifactRemote

Specifies an artifact available via some URI.

Attributes

checksum[RW]

Must be provided if `allow_insecure` is `false`. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. Corresponds to the JSON property `checksum` @return [String]

uri[RW]

URI from which to fetch the object. It should contain both the protocol and path following the format `protocol`://`location`. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1783
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 1788
def update!(**args)
  @checksum = args[:checksum] if args.key?(:checksum)
  @uri = args[:uri] if args.key?(:uri)
end