Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectServiceTerms
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectServiceTerms
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Metadata about the terms of service.
Instance Attribute Summary collapse
-
#accept_time ⇒ String
The last time when the project agreed to the terms of service.
-
#decline_time ⇒ String
The last time when the project declined or revoked the agreement to terms of service.
-
#id ⇒ String
The unique identifier of this terms of service.
-
#state ⇒ String
Whether the project has accepted/rejected the service terms or it is still pending.
-
#version ⇒ String
The version string of the terms of service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaProjectServiceTerms
constructor
A new instance of GoogleCloudDiscoveryengineV1betaProjectServiceTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaProjectServiceTerms
Returns a new instance of GoogleCloudDiscoveryengineV1betaProjectServiceTerms.
15625 15626 15627 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15625 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accept_time ⇒ String
The last time when the project agreed to the terms of service.
Corresponds to the JSON property acceptTime
15597 15598 15599 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15597 def accept_time @accept_time end |
#decline_time ⇒ String
The last time when the project declined or revoked the agreement to terms of
service.
Corresponds to the JSON property declineTime
15603 15604 15605 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15603 def decline_time @decline_time end |
#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
.
Corresponds to the JSON property id
15611 15612 15613 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15611 def id @id end |
#state ⇒ String
Whether the project has accepted/rejected the service terms or it is still
pending.
Corresponds to the JSON property state
15617 15618 15619 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15617 def state @state end |
#version ⇒ String
The version string of the terms of service. For acceptable values, see the
comments for id above.
Corresponds to the JSON property version
15623 15624 15625 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15623 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15630 15631 15632 15633 15634 15635 15636 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15630 def update!(**args) @accept_time = args[:accept_time] if args.key?(:accept_time) @decline_time = args[:decline_time] if args.key?(:decline_time) @id = args[:id] if args.key?(:id) @state = args[:state] if args.key?(:state) @version = args[:version] if args.key?(:version) end |