Google Cloud Discovery Engine V1beta Client - Class Project (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Project.

Metadata and configurations for a Google Cloud project in the service.

Generated from protobuf message google.cloud.discoveryengine.v1beta.Project

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Full resource name of the project, for example projects/{project_number}. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp when this project is created.

↳ provision_completion_time Google\Protobuf\Timestamp

Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.

↳ service_terms_map array|Google\Protobuf\Internal\MapField

Output only. A map of terms of services. The key is the id of ServiceTerms.

getName

Output only. Full resource name of the project, for example projects/{project_number}.

Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.

Returns
Type Description
string

setName

Output only. Full resource name of the project, for example projects/{project_number}.

Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The timestamp when this project is created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when this project is created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getProvisionCompletionTime

Output only. The timestamp when this project is successfully provisioned.

Empty value means this project is still provisioning and is not ready for use.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasProvisionCompletionTime

clearProvisionCompletionTime

setProvisionCompletionTime

Output only. The timestamp when this project is successfully provisioned.

Empty value means this project is still provisioning and is not ready for use.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getServiceTermsMap

Output only. A map of terms of services. The key is the id of ServiceTerms.

Returns
Type Description
Google\Protobuf\Internal\MapField

setServiceTermsMap

Output only. A map of terms of services. The key is the id of ServiceTerms.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this