Class: Google::Apis::DfareportingV2_1::UserProfile
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::UserProfile
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Represents a UserProfile resource.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The account ID to which this profile belongs.
-
#account_name ⇒ String
The account name this profile belongs to.
-
#etag ⇒ String
The eTag of this response for caching purposes.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#userProfile.
-
#profile_id ⇒ String
The unique ID of the user profile.
-
#sub_account_id ⇒ String
The sub account ID this profile belongs to if applicable.
-
#sub_account_name ⇒ String
The sub account name this profile belongs to if applicable.
-
#user_name ⇒ String
The user name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserProfile
constructor
A new instance of UserProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserProfile
Returns a new instance of UserProfile
10490 10491 10492 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The account ID to which this profile belongs.
Corresponds to the JSON property accountId
10453 10454 10455 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10453 def account_id @account_id end |
#account_name ⇒ String
The account name this profile belongs to.
Corresponds to the JSON property accountName
10458 10459 10460 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10458 def account_name @account_name end |
#etag ⇒ String
The eTag of this response for caching purposes.
Corresponds to the JSON property etag
10463 10464 10465 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10463 def etag @etag end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#userProfile.
Corresponds to the JSON property kind
10468 10469 10470 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10468 def kind @kind end |
#profile_id ⇒ String
The unique ID of the user profile.
Corresponds to the JSON property profileId
10473 10474 10475 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10473 def profile_id @profile_id end |
#sub_account_id ⇒ String
The sub account ID this profile belongs to if applicable.
Corresponds to the JSON property subAccountId
10478 10479 10480 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10478 def sub_account_id @sub_account_id end |
#sub_account_name ⇒ String
The sub account name this profile belongs to if applicable.
Corresponds to the JSON property subAccountName
10483 10484 10485 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10483 def sub_account_name @sub_account_name end |
#user_name ⇒ String
The user name.
Corresponds to the JSON property userName
10488 10489 10490 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10488 def user_name @user_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10495 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @account_name = args[:account_name] unless args[:account_name].nil? @etag = args[:etag] unless args[:etag].nil? @kind = args[:kind] unless args[:kind].nil? @profile_id = args[:profile_id] unless args[:profile_id].nil? @sub_account_id = args[:sub_account_id] unless args[:sub_account_id].nil? @sub_account_name = args[:sub_account_name] unless args[:sub_account_name].nil? @user_name = args[:user_name] unless args[:user_name].nil? end |