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

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

User 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) ⇒ Id

Returns a new instance of Id.


5366
5367
5368
# File 'generated/google/apis/analytics_v3/classes.rb', line 5366

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

Instance Attribute Details

#typeString

Type of user Corresponds to the JSON property type

Returns:

  • (String)

5359
5360
5361
# File 'generated/google/apis/analytics_v3/classes.rb', line 5359

def type
  @type
end

#user_idString

The User's id Corresponds to the JSON property userId

Returns:

  • (String)

5364
5365
5366
# File 'generated/google/apis/analytics_v3/classes.rb', line 5364

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5371
5372
5373
5374
# File 'generated/google/apis/analytics_v3/classes.rb', line 5371

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