Class: Google::Apis::AnalyticsV3::UserDeletionRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeDateTime

This marks the point in time for which all user data before should be deleted Corresponds to the JSON property deletionRequestTime

Returns:

  • (DateTime)


5311
5312
5313
# File 'lib/google/apis/analytics_v3/classes.rb', line 5311

def deletion_request_time
  @deletion_request_time
end

#firebase_project_idString

Firebase Project Id Corresponds to the JSON property firebaseProjectId

Returns:

  • (String)


5316
5317
5318
# File 'lib/google/apis/analytics_v3/classes.rb', line 5316

def firebase_project_id
  @firebase_project_id
end

#idGoogle::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

#kindString

Value is "analytics#userDeletionRequest". Corresponds to the JSON property kind

Returns:

  • (String)


5326
5327
5328
# File 'lib/google/apis/analytics_v3/classes.rb', line 5326

def kind
  @kind
end

#property_idString

Property ID Corresponds to the JSON property propertyId

Returns:

  • (String)


5331
5332
5333
# File 'lib/google/apis/analytics_v3/classes.rb', line 5331

def property_id
  @property_id
end

#web_property_idString

Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property webPropertyId

Returns:

  • (String)


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