Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A user list. This is a list of users a customer may target.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Output only.
-
#name ⇒ String
Name of this user list.
-
#resource_name ⇒ String
Immutable.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesUserList
constructor
A new instance of GoogleAdsSearchads360V0ResourcesUserList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesUserList
Returns a new instance of GoogleAdsSearchads360V0ResourcesUserList.
7461 7462 7463 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Output only. Id of the user list.
Corresponds to the JSON property id
7442 7443 7444 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7442 def id @id end |
#name ⇒ String
Name of this user list. Depending on its access_reason, the user list name may
not be unique (for example, if access_reason=SHARED)
Corresponds to the JSON property name
7448 7449 7450 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7448 def name @name end |
#resource_name ⇒ String
Immutable. The resource name of the user list. User list resource names have
the form: customers/customer_id/userLists/user_list_id`
Corresponds to the JSON propertyresourceName`
7454 7455 7456 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7454 def resource_name @resource_name end |
#type ⇒ String
Output only. Type of this list. This field is read-only.
Corresponds to the JSON property type
7459 7460 7461 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7459 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7466 7467 7468 7469 7470 7471 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7466 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @resource_name = args[:resource_name] if args.key?(:resource_name) @type = args[:type] if args.key?(:type) end |