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

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
NameDescription
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
TypeDescription
int

setState

The state of the operation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Creation time of the operation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Creation time of the operation.

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

getUpdateTime

Latest update time of the operation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Latest update time of the operation.

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