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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UserDeletionRequest

Returns a new instance of UserDeletionRequest



5427
5428
5429
# File 'generated/google/apis/analytics_v3/classes.rb', line 5427

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)


5405
5406
5407
# File 'generated/google/apis/analytics_v3/classes.rb', line 5405

def deletion_request_time
  @deletion_request_time
end

#firebase_project_idString

Firebase Project Id Corresponds to the JSON property firebaseProjectId

Returns:

  • (String)


5410
5411
5412
# File 'generated/google/apis/analytics_v3/classes.rb', line 5410

def firebase_project_id
  @firebase_project_id
end

#idGoogle::Apis::AnalyticsV3::UserDeletionRequest::Id

User ID. Corresponds to the JSON property id



5415
5416
5417
# File 'generated/google/apis/analytics_v3/classes.rb', line 5415

def id
  @id
end

#kindString

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

Returns:

  • (String)


5420
5421
5422
# File 'generated/google/apis/analytics_v3/classes.rb', line 5420

def kind
  @kind
end

#web_property_idString

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

Returns:

  • (String)


5425
5426
5427
# File 'generated/google/apis/analytics_v3/classes.rb', line 5425

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5432
5433
5434
5435
5436
5437
5438
# File 'generated/google/apis/analytics_v3/classes.rb', line 5432

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)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end