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 | |
---|---|
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 |
↳ 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 |