Reference documentation and code samples for the Stackdriver Logging V2 Client class LinkMetadata.
Metadata for long running Link operations.
Generated from protobuf message google.logging.v2.LinkMetadata
Namespace
Google \ Cloud \ Logging \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
The start time of an operation. |
↳ end_time |
Google\Protobuf\Timestamp
The end time of an operation. |
↳ state |
int
State of an operation. |
↳ create_link_request |
CreateLinkRequest
CreateLink RPC request. |
↳ delete_link_request |
DeleteLinkRequest
DeleteLink RPC request. |
getStartTime
The start time of an operation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
The start time of an operation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
The end time of an operation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
The end time of an operation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
State of an operation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type OperationState. |
setState
State of an operation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type OperationState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateLinkRequest
CreateLink RPC request.
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest|null |
|
hasCreateLinkRequest
setCreateLinkRequest
CreateLink RPC request.
| Parameter | |
|---|---|
| Name | Description |
var |
CreateLinkRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeleteLinkRequest
DeleteLink RPC request.
| Returns | |
|---|---|
| Type | Description |
DeleteLinkRequest|null |
|
hasDeleteLinkRequest
setDeleteLinkRequest
DeleteLink RPC request.
| Parameter | |
|---|---|
| Name | Description |
var |
DeleteLinkRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequest
| Returns | |
|---|---|
| Type | Description |
string |
|