Class: Google::Apis::AnalyticsV3::UserDeletionRequest::Id
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::UserDeletionRequest::Id
- 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
-
#type ⇒ String
Type of user Corresponds to the JSON property
type
. -
#user_id ⇒ String
The User's id Corresponds to the JSON property
userId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Id
constructor
A new instance of Id.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Id
Returns a new instance of Id
5360 5361 5362 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of user
Corresponds to the JSON property type
5353 5354 5355 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5353 def type @type end |
#user_id ⇒ String
The User's id
Corresponds to the JSON property userId
5358 5359 5360 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5358 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5365 5366 5367 5368 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5365 def update!(**args) @type = args[:type] if args.key?(:type) @user_id = args[:user_id] if args.key?(:user_id) end |