Reference documentation and code samples for the Cloud PubSub V1 Client class GetSnapshotRequest.
Request for the GetSnapshot method.
Generated from protobuf message google.pubsub.v1.GetSnapshotRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ snapshot |
string
Required. The name of the snapshot to get. Format is |
getSnapshot
Required. The name of the snapshot to get.
Format is projects/{project}/snapshots/{snap}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSnapshot
Required. The name of the snapshot to get.
Format is projects/{project}/snapshots/{snap}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
snapshot |
string
Required. The name of the snapshot to get.
Format is |
| Returns | |
|---|---|
| Type | Description |
GetSnapshotRequest |
|