Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Request message for AcknowledgeUserDataCollection RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest.



131
132
133
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 131

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#acknowledgementString

Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: "I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property." Corresponds to the JSON property acknowledgement

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 129

def acknowledgement
  @acknowledgement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



136
137
138
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 136

def update!(**args)
  @acknowledgement = args[:acknowledgement] if args.key?(:acknowledgement)
end