Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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) ⇒ GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaProjectServiceTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
Returns a new instance of GoogleCloudDiscoveryengineV1alphaProjectServiceTerms.
11133 11134 11135 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11133 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
11105 11106 11107 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11105 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
11111 11112 11113 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11111 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
11119 11120 11121 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11119 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
11125 11126 11127 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11125 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
11131 11132 11133 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11131 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11138 11139 11140 11141 11142 11143 11144 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11138 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 |