Class: Google::Apis::CssV1::Account

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typeString

Output only. The type of this account. Corresponds to the JSON property accountType

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/css_v1/classes.rb', line 32

def 
  @account_type
end

#automatic_label_idsArray<Fixnum>

Automatically created label IDs assigned to the MC account by CSS Center. Corresponds to the JSON property automaticLabelIds

Returns:

  • (Array<Fixnum>)


37
38
39
# File 'lib/google/apis/css_v1/classes.rb', line 37

def automatic_label_ids
  @automatic_label_ids
end

#display_nameString

The CSS/MC account's short display name. Corresponds to the JSON property displayName

Returns:

  • (String)


42
43
44
# File 'lib/google/apis/css_v1/classes.rb', line 42

def display_name
  @display_name
end

#full_nameString

Output only. Immutable. The CSS/MC account's full name. Corresponds to the JSON property fullName

Returns:

  • (String)


47
48
49
# File 'lib/google/apis/css_v1/classes.rb', line 47

def full_name
  @full_name
end

#homepage_uriString

Output only. Immutable. The CSS/MC account's homepage. Corresponds to the JSON property homepageUri

Returns:

  • (String)


52
53
54
# File 'lib/google/apis/css_v1/classes.rb', line 52

def homepage_uri
  @homepage_uri
end

#label_idsArray<Fixnum>

Manually created label IDs assigned to the CSS/MC account by a CSS parent account. Corresponds to the JSON property labelIds

Returns:

  • (Array<Fixnum>)


58
59
60
# File 'lib/google/apis/css_v1/classes.rb', line 58

def label_ids
  @label_ids
end

#nameString

The label resource name. Format: accounts/account Corresponds to the JSON property name

Returns:

  • (String)


63
64
65
# File 'lib/google/apis/css_v1/classes.rb', line 63

def name
  @name
end

#parentString

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

Returns:

  • (String)


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