Google Cloud Web Risk V1 Client - Class SubmitUriMetadata (1.5.3)

Reference documentation and code samples for the Google Cloud Web Risk V1 Client class SubmitUriMetadata.

Metadata for the Submit URI long-running operation.

option (google.api.message_visibility).restriction = "TRUSTED_TESTER";

Generated from protobuf message google.cloud.webrisk.v1.SubmitUriMetadata

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

The state of the operation.

↳ create_time Google\Protobuf\Timestamp

Creation time of the operation.

↳ update_time Google\Protobuf\Timestamp

Latest update time of the operation.

getState

The state of the operation.

Returns
Type Description
int

setState

The state of the operation.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

Creation time of the operation.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Creation time of the operation.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Latest update time of the operation.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Latest update time of the operation.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this