Google Cloud Discovery Engine V1 Client - Class ProvisionProjectRequest (1.0.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ProvisionProjectRequest.

Request for ProjectService.ProvisionProject method.

Generated from protobuf message google.cloud.discoveryengine.v1.ProvisionProjectRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

↳ accept_data_use_termsbool

Required. Set to true to specify that caller has read and would like to give consent to the Terms for data use.

↳ data_use_terms_versionstring

Required. The version of the Terms for data use that caller has read and would like to give consent to. Acceptable version is 2022-11-23, and this may change over time.

getName

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

Returns
TypeDescription
string

setName

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAcceptDataUseTerms

Required. Set to true to specify that caller has read and would like to give consent to the Terms for data use.

Returns
TypeDescription
bool

setAcceptDataUseTerms

Required. Set to true to specify that caller has read and would like to give consent to the Terms for data use.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getDataUseTermsVersion

Required. The version of the Terms for data use that caller has read and would like to give consent to.

Acceptable version is 2022-11-23, and this may change over time.

Returns
TypeDescription
string

setDataUseTermsVersion

Required. The version of the Terms for data use that caller has read and would like to give consent to.

Acceptable version is 2022-11-23, and this may change over time.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. Full resource name of a Project, such as projects/{project_id_or_number}. Please see Google\Cloud\DiscoveryEngine\V1\ProjectServiceClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\ProvisionProjectRequest