Stackdriver Logging V2 Client - Class BucketMetadata (1.27.1)

Reference documentation and code samples for the Stackdriver Logging V2 Client class BucketMetadata.

Metadata for LongRunningUpdateBucket Operations.

Generated from protobuf message google.logging.v2.BucketMetadata

Namespace

Google \ Cloud \ Logging \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

The create time of an operation.

↳ end_time Google\Protobuf\Timestamp

The end time of an operation.

↳ state int

State of an operation.

↳ create_bucket_request Google\Cloud\Logging\V2\CreateBucketRequest

LongRunningCreateBucket RPC request.

↳ update_bucket_request Google\Cloud\Logging\V2\UpdateBucketRequest

LongRunningUpdateBucket RPC request.

getStartTime

The create time of an operation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The create time of an operation.

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

getEndTime

The end time of an operation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The end time of an operation.

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

getState

State of an operation.

Returns
TypeDescription
int

setState

State of an operation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateBucketRequest

LongRunningCreateBucket RPC request.

Returns
TypeDescription
Google\Cloud\Logging\V2\CreateBucketRequest|null

hasCreateBucketRequest

setCreateBucketRequest

LongRunningCreateBucket RPC request.

Parameter
NameDescription
var Google\Cloud\Logging\V2\CreateBucketRequest
Returns
TypeDescription
$this

getUpdateBucketRequest

LongRunningUpdateBucket RPC request.

Returns
TypeDescription
Google\Cloud\Logging\V2\UpdateBucketRequest|null

hasUpdateBucketRequest

setUpdateBucketRequest

LongRunningUpdateBucket RPC request.

Parameter
NameDescription
var Google\Cloud\Logging\V2\UpdateBucketRequest
Returns
TypeDescription
$this

getRequest

Returns
TypeDescription
string