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.
9088 9089 9090 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9088 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
9073 9074 9075 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9073 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
9081 9082 9083 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9081 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
9086 9087 9088 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9086 def service_term_version @service_term_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9093 9094 9095 9096 9097 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9093 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 |