Class: Google::Apis::CssV1::Account
- Inherits:
-
Object
- Object
- Google::Apis::CssV1::Account
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/css_v1/classes.rb,
lib/google/apis/css_v1/representations.rb,
lib/google/apis/css_v1/representations.rb
Overview
Information about CSS/MC account.
Instance Attribute Summary collapse
-
#account_type ⇒ String
Output only.
-
#automatic_label_ids ⇒ Array<Fixnum>
Automatically created label IDs assigned to the MC account by CSS Center.
-
#display_name ⇒ String
The CSS/MC account's short display name.
-
#full_name ⇒ String
Output only.
-
#homepage_uri ⇒ String
Output only.
-
#label_ids ⇒ Array<Fixnum>
Manually created label IDs assigned to the CSS/MC account by a CSS parent account.
-
#name ⇒ String
The label resource name.
-
#parent ⇒ String
The CSS/MC account's parent resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Account
constructor
A new instance of Account.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account.
71 72 73 |
# File 'lib/google/apis/css_v1/classes.rb', line 71 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_type ⇒ String
Output only. The type of this account.
Corresponds to the JSON property accountType
32 33 34 |
# File 'lib/google/apis/css_v1/classes.rb', line 32 def account_type @account_type end |
#automatic_label_ids ⇒ Array<Fixnum>
Automatically created label IDs assigned to the MC account by CSS Center.
Corresponds to the JSON property automaticLabelIds
37 38 39 |
# File 'lib/google/apis/css_v1/classes.rb', line 37 def automatic_label_ids @automatic_label_ids end |
#display_name ⇒ String
The CSS/MC account's short display name.
Corresponds to the JSON property displayName
42 43 44 |
# File 'lib/google/apis/css_v1/classes.rb', line 42 def display_name @display_name end |
#full_name ⇒ String
Output only. Immutable. The CSS/MC account's full name.
Corresponds to the JSON property fullName
47 48 49 |
# File 'lib/google/apis/css_v1/classes.rb', line 47 def full_name @full_name end |
#homepage_uri ⇒ String
Output only. Immutable. The CSS/MC account's homepage.
Corresponds to the JSON property homepageUri
52 53 54 |
# File 'lib/google/apis/css_v1/classes.rb', line 52 def homepage_uri @homepage_uri end |
#label_ids ⇒ Array<Fixnum>
Manually created label IDs assigned to the CSS/MC account by a CSS parent
account.
Corresponds to the JSON property labelIds
58 59 60 |
# File 'lib/google/apis/css_v1/classes.rb', line 58 def label_ids @label_ids end |
#name ⇒ String
The label resource name. Format: accounts/account
Corresponds to the JSON property name
63 64 65 |
# File 'lib/google/apis/css_v1/classes.rb', line 63 def name @name end |
#parent ⇒ String
The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain
for MC accounts. Returned only if the user has access to the parent account.
Corresponds to the JSON property parent
69 70 71 |
# File 'lib/google/apis/css_v1/classes.rb', line 69 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
76 77 78 79 80 81 82 83 84 85 |
# File 'lib/google/apis/css_v1/classes.rb', line 76 def update!(**args) @account_type = args[:account_type] if args.key?(:account_type) @automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids) @display_name = args[:display_name] if args.key?(:display_name) @full_name = args[:full_name] if args.key?(:full_name) @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri) @label_ids = args[:label_ids] if args.key?(:label_ids) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) end |