Class: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Represents a media planner account.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Output only.
-
#ancestor_names ⇒ Array<String>
Output only.
-
#display_name ⇒ String
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MediaPlanner
constructor
A new instance of MediaPlanner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MediaPlanner
Returns a new instance of MediaPlanner.
1325 1326 1327 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Output only. Account ID of the media planner.
Corresponds to the JSON property accountId
1303 1304 1305 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1303 def account_id @account_id end |
#ancestor_names ⇒ Array<String>
Output only. The ancestor names of the media planner. Format: mediaPlanners/
mediaPlannerAccountId`Can be used to filter the response of the
mediaPlanners.list method.
Corresponds to the JSON propertyancestorNames`
1310 1311 1312 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1310 def ancestor_names @ancestor_names end |
#display_name ⇒ String
Output only. The display name of the media planner. Can be used to filter the
response of the mediaPlanners.list method.
Corresponds to the JSON property displayName
1316 1317 1318 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1316 def display_name @display_name end |
#name ⇒ String
Identifier. The unique resource name of the media planner. Format:
mediaPlanners/mediaPlannerAccountId`Can be used to filter the response of
the mediaPlanners.list method.
Corresponds to the JSON propertyname`
1323 1324 1325 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1323 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1330 1331 1332 1333 1334 1335 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1330 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @ancestor_names = args[:ancestor_names] if args.key?(:ancestor_names) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |