Google Cloud Migration Center V1 Client - Class UploadFileInfo (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class UploadFileInfo.

A resource that contains a URI to which a data file can be uploaded.

Generated from protobuf message google.cloud.migrationcenter.v1.UploadFileInfo

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ signed_uri string

Output only. Upload URI for the file.

↳ headers array|Google\Protobuf\Internal\MapField

Output only. The headers that were used to sign the URI.

↳ uri_expiration_time Google\Protobuf\Timestamp

Output only. Expiration time of the upload URI.

getSignedUri

Output only. Upload URI for the file.

Returns
TypeDescription
string

setSignedUri

Output only. Upload URI for the file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHeaders

Output only. The headers that were used to sign the URI.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setHeaders

Output only. The headers that were used to sign the URI.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getUriExpirationTime

Output only. Expiration time of the upload URI.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUriExpirationTime

clearUriExpirationTime

setUriExpirationTime

Output only. Expiration time of the upload URI.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this