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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setSignedUri
Output only. Upload URI for the file.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getHeaders
Output only. The headers that were used to sign the URI.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setHeaders
Output only. The headers that were used to sign the URI.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getUriExpirationTime
Output only. Expiration time of the upload URI.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUriExpirationTime
clearUriExpirationTime
setUriExpirationTime
Output only. Expiration time of the upload URI.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |