Reference documentation and code samples for the Cloud PubSub V1 Client class DeleteSnapshotRequest.
Request for the DeleteSnapshot
method.
Generated from protobuf message google.pubsub.v1.DeleteSnapshotRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ snapshot |
string
Required. The name of the snapshot to delete. Format is |
getSnapshot
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
Generated from protobuf field string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setSnapshot
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
Generated from protobuf field string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |