Google Cloud Support V2 Client - Class CreateCaseRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Support V2 Client class CreateCaseRequest.

The request message for the CreateCase endpoint.

Generated from protobuf message google.cloud.support.v2.CreateCaseRequest

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the Google Cloud Resource under which the case should be created.

↳ case Google\Cloud\Support\V2\PBCase

Required. The case to be created.

getParent

Required. The name of the Google Cloud Resource under which the case should be created.

Returns
TypeDescription
string

setParent

Required. The name of the Google Cloud Resource under which the case should be created.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCase

Required. The case to be created.

Returns
TypeDescription
Google\Cloud\Support\V2\PBCase|null

hasCase

clearCase

setCase

Required. The case to be created.

Parameter
NameDescription
var Google\Cloud\Support\V2\PBCase
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The name of the Google Cloud Resource under which the case should be created. Please see Google\Cloud\Support\V2\CaseServiceClient::projectName() for help formatting this field.

case Google\Cloud\Support\V2\PBCase

Required. The case to be created.

Returns
TypeDescription
Google\Cloud\Support\V2\CreateCaseRequest