Google Cloud OsConfig V1 Client - Class Remote (2.0.1)

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

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicy \ Resource \ File

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSha256Checksum

SHA256 checksum of the remote file.

Returns
Type Description
string

setSha256Checksum

SHA256 checksum of the remote file.

Parameter
Name Description
var string
Returns
Type Description
$this