Google Cloud Tasks V2beta2 Client - Class UploadQueueYamlRequest (1.14.4)

Reference documentation and code samples for the Google Cloud Tasks V2beta2 Client class UploadQueueYamlRequest.

Request message for UploadQueueYaml.

Generated from protobuf message google.cloud.tasks.v2beta2.UploadQueueYamlRequest

Namespace

Google \ Cloud \ Tasks \ V2beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ app_id string

Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against which to make the request.

↳ http_body Google\Api\HttpBody

The http body contains the queue.yaml file which used to update queue lists

getAppId

Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against which to make the request.

Returns
TypeDescription
string

setAppId

Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against which to make the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHttpBody

The http body contains the queue.yaml file which used to update queue lists

Returns
TypeDescription
Google\Api\HttpBody|null

hasHttpBody

clearHttpBody

setHttpBody

The http body contains the queue.yaml file which used to update queue lists

Parameter
NameDescription
var Google\Api\HttpBody
Returns
TypeDescription
$this