Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote (v0.4.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote.

Specifies a file available via some URI.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#sha256_checksum

def sha256_checksum() -> ::String
Returns
  • (::String) — SHA256 checksum of the remote file.

#sha256_checksum=

def sha256_checksum=(value) -> ::String
Parameter
  • value (::String) — SHA256 checksum of the remote file.
Returns
  • (::String) — SHA256 checksum of the remote file.

#uri

def uri() -> ::String
Returns
  • (::String) — Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
Returns
  • (::String) — Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.