Google Cloud Discovery Engine V1 Client - Class Project (1.17.0)

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

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

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

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}. 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.

↳ customer_provided_config Project\CustomerProvidedConfig

Optional. Customer provided configurations.

↳ configurable_billing_status Project\ConfigurableBillingStatus

Output only. The current status of the project's configurable billing.

getName

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

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}.

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

getCustomerProvidedConfig

Optional. Customer provided configurations.

Returns
Type Description
Project\CustomerProvidedConfig|null

hasCustomerProvidedConfig

clearCustomerProvidedConfig

setCustomerProvidedConfig

Optional. Customer provided configurations.

Parameter
Name Description
var Project\CustomerProvidedConfig
Returns
Type Description
$this

getConfigurableBillingStatus

Output only. The current status of the project's configurable billing.

Returns
Type Description
Project\ConfigurableBillingStatus|null

hasConfigurableBillingStatus

clearConfigurableBillingStatus

setConfigurableBillingStatus

Output only. The current status of the project's configurable billing.

Parameter
Name Description
var Project\ConfigurableBillingStatus
Returns
Type Description
$this