Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ServiceTerms.
Metadata about the terms of service.
Generated from protobuf message google.cloud.discoveryengine.v1.Project.ServiceTerms
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ ProjectMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
The unique identifier of this terms of service. Available terms: * GA_DATA_USE_TERMS
: Terms for data use
. When using this as id
, the acceptable version
to provide is 2022-11-23
.
↳ version
string
The version string of the terms of service. For acceptable values, see the comments for id above.
↳ state
int
Whether the project has accepted/rejected the service terms or it is still pending.
↳ accept_time
↳ decline_time
Google\Protobuf\Timestamp
The last time when the project declined or revoked the agreement to terms of service.
getId
The unique identifier of this terms of service.
Available terms:
-
GA_DATA_USE_TERMS
: Terms for data use . When using this asid
, the acceptable version to provide is2022-11-23
.
string
setId
The unique identifier of this terms of service.
Available terms:
-
GA_DATA_USE_TERMS
: Terms for data use . When using this asid
, the acceptable version to provide is2022-11-23
.
var
string
$this
getVersion
The version string of the terms of service.
For acceptable values, see the comments for id above.
string
setVersion
The version string of the terms of service.
For acceptable values, see the comments for id above.
var
string
$this
getState
Whether the project has accepted/rejected the service terms or it is still pending.
int
setState
Whether the project has accepted/rejected the service terms or it is still pending.
var
int
$this
getAcceptTime
The last time when the project agreed to the terms of service.
hasAcceptTime
clearAcceptTime
setAcceptTime
The last time when the project agreed to the terms of service.
$this
getDeclineTime
The last time when the project declined or revoked the agreement to terms of service.
hasDeclineTime
clearDeclineTime
setDeclineTime
The last time when the project declined or revoked the agreement to terms of service.
$this