Class: Google::Apis::AnalyticsV3::UserDeletionRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::UserDeletionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
JSON template for a user deletion request resource.
Defined Under Namespace
Classes: Id
Instance Attribute Summary collapse
-
#deletion_request_time ⇒ DateTime
This marks the point in time for which all user data before should be deleted Corresponds to the JSON property
deletionRequestTime
. -
#firebase_project_id ⇒ String
Firebase Project Id Corresponds to the JSON property
firebaseProjectId
. -
#id ⇒ Google::Apis::AnalyticsV3::UserDeletionRequest::Id
User ID.
-
#kind ⇒ String
Value is "analytics#userDeletionRequest".
-
#property_id ⇒ String
Property ID Corresponds to the JSON property
propertyId
. -
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserDeletionRequest
constructor
A new instance of UserDeletionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserDeletionRequest
Returns a new instance of UserDeletionRequest.
5338 5339 5340 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deletion_request_time ⇒ DateTime
This marks the point in time for which all user data before should be deleted
Corresponds to the JSON property deletionRequestTime
5311 5312 5313 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5311 def deletion_request_time @deletion_request_time end |
#firebase_project_id ⇒ String
Firebase Project Id
Corresponds to the JSON property firebaseProjectId
5316 5317 5318 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5316 def firebase_project_id @firebase_project_id end |
#id ⇒ Google::Apis::AnalyticsV3::UserDeletionRequest::Id
User ID.
Corresponds to the JSON property id
5321 5322 5323 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5321 def id @id end |
#kind ⇒ String
Value is "analytics#userDeletionRequest".
Corresponds to the JSON property kind
5326 5327 5328 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5326 def kind @kind end |
#property_id ⇒ String
Property ID
Corresponds to the JSON property propertyId
5331 5332 5333 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5331 def property_id @property_id end |
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY.
Corresponds to the JSON property webPropertyId
5336 5337 5338 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5336 def web_property_id @web_property_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5343 5344 5345 5346 5347 5348 5349 5350 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 5343 def update!(**args) @deletion_request_time = args[:deletion_request_time] if args.key?(:deletion_request_time) @firebase_project_id = args[:firebase_project_id] if args.key?(:firebase_project_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @property_id = args[:property_id] if args.key?(:property_id) @web_property_id = args[:web_property_id] if args.key?(:web_property_id) end |