Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms.
Metadata about the terms of service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accept_time
def accept_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time when the project agreed to the terms of service.
#accept_time=
def accept_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last time when the project agreed to the terms of service.
Returns
- (::Google::Protobuf::Timestamp) — The last time when the project agreed to the terms of service.
#decline_time
def decline_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time when the project declined or revoked the agreement to terms of service.
#decline_time=
def decline_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last time when the project declined or revoked the agreement to terms of service.
Returns
- (::Google::Protobuf::Timestamp) — The last time when the project declined or revoked the agreement to terms of service.
#id
def id() -> ::String
Returns
-
(::String) —
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
.
#id=
def id=(value) -> ::String
Parameter
-
value (::String) —
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
.
Returns
-
(::String) —
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
.
#state
def state() -> ::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms::State
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms::State) — Whether the project has accepted/rejected the service terms or it is still pending.
#state=
def state=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms::State
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms::State) — Whether the project has accepted/rejected the service terms or it is still pending.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms::State) — Whether the project has accepted/rejected the service terms or it is still pending.
#version
def version() -> ::String
Returns
- (::String) — The version string of the terms of service. For acceptable values, see the comments for id above.
#version=
def version=(value) -> ::String
Parameter
- value (::String) — The version string of the terms of service. For acceptable values, see the comments for id above.
Returns
- (::String) — The version string of the terms of service. For acceptable values, see the comments for id above.