Google Cloud Discovery Engine V1 Client - Class ProvisionProjectRequest (1.3.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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ accept_data_use_terms bool

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_version string

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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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
Type Description
Google\Cloud\DiscoveryEngine\V1\ProvisionProjectRequest