Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
- 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
Request for ReportConsentChange method.
Instance Attribute Summary collapse
-
#consent_change_action ⇒ String
Required.
-
#service_term_id ⇒ String
Required.
-
#service_term_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest.
14071 14072 14073 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent_change_action ⇒ String
Required. Whether customer decides to accept or decline service term. At this
moment, only accept action is supported.
Corresponds to the JSON property consentChangeAction
14056 14057 14058 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14056 def @consent_change_action end |
#service_term_id ⇒ String
Required. The unique identifier of the terms of service to update. Available
term ids: * GA_DATA_USE_TERMS
: Terms for data use. When using this service term id, the acceptable
service_term_version to provide is 2022-11-23
.
Corresponds to the JSON property serviceTermId
14064 14065 14066 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14064 def service_term_id @service_term_id end |
#service_term_version ⇒ String
Required. The version string of the terms of service to update.
Corresponds to the JSON property serviceTermVersion
14069 14070 14071 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14069 def service_term_version @service_term_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14076 14077 14078 14079 14080 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14076 def update!(**args) @consent_change_action = args[:consent_change_action] if args.key?(:consent_change_action) @service_term_id = args[:service_term_id] if args.key?(:service_term_id) @service_term_version = args[:service_term_version] if args.key?(:service_term_version) end |