Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::MediaPlanner
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::MediaPlanner
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/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.
1607 1608 1609 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1607 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
1585 1586 1587 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1585 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`
1592 1593 1594 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1592 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
1598 1599 1600 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1598 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`
1605 1606 1607 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1605 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1612 1613 1614 1615 1616 1617 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1612 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 |