class Google::Apis::OsconfigV1alpha::OsPolicyResourceFileRemote

Specifies a file available via some URI.

Attributes

sha256_checksum[RW]

SHA256 checksum of the remote file. Corresponds to the JSON property `sha256Checksum` @return [String]

uri[RW]

Required. 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_v1alpha/classes.rb, line 1702
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_v1alpha/classes.rb, line 1707
def update!(**args)
  @sha256_checksum = args[:sha256_checksum] if args.key?(:sha256_checksum)
  @uri = args[:uri] if args.key?(:uri)
end