Google Cloud OsConfig V1 Client - Class Remote (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Remote.

Specifies a file available via some URI.

Generated from protobuf message google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

↳ sha256_checksum string

SHA256 checksum of the remote file.

getUri

Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

Returns
TypeDescription
string

setUri

Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSha256Checksum

SHA256 checksum of the remote file.

Returns
TypeDescription
string

setSha256Checksum

SHA256 checksum of the remote file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this