Class: Google::Apis::ContentV2_1::Css

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Information about CSS domain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Css

Returns a new instance of Css.



3574
3575
3576
# File 'lib/google/apis/content_v2_1/classes.rb', line 3574

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#css_domain_idFixnum

Output only. Immutable. The CSS domain ID. Corresponds to the JSON property cssDomainId

Returns:

  • (Fixnum)


3544
3545
3546
# File 'lib/google/apis/content_v2_1/classes.rb', line 3544

def css_domain_id
  @css_domain_id
end

#css_group_idFixnum

Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users. Corresponds to the JSON property cssGroupId

Returns:

  • (Fixnum)


3550
3551
3552
# File 'lib/google/apis/content_v2_1/classes.rb', line 3550

def css_group_id
  @css_group_id
end

#display_nameString

Output only. Immutable. The CSS domain's display name, used when space is constrained. Corresponds to the JSON property displayName

Returns:

  • (String)


3556
3557
3558
# File 'lib/google/apis/content_v2_1/classes.rb', line 3556

def display_name
  @display_name
end

#full_nameString

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

Returns:

  • (String)


3561
3562
3563
# File 'lib/google/apis/content_v2_1/classes.rb', line 3561

def full_name
  @full_name
end

#homepage_uriString

Output only. Immutable. The CSS domain's homepage. Corresponds to the JSON property homepageUri

Returns:

  • (String)


3566
3567
3568
# File 'lib/google/apis/content_v2_1/classes.rb', line 3566

def homepage_uri
  @homepage_uri
end

#label_idsArray<Fixnum>

A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users. Corresponds to the JSON property labelIds

Returns:

  • (Array<Fixnum>)


3572
3573
3574
# File 'lib/google/apis/content_v2_1/classes.rb', line 3572

def label_ids
  @label_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3579
3580
3581
3582
3583
3584
3585
3586
# File 'lib/google/apis/content_v2_1/classes.rb', line 3579

def update!(**args)
  @css_domain_id = args[:css_domain_id] if args.key?(:css_domain_id)
  @css_group_id = args[:css_group_id] if args.key?(:css_group_id)
  @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)
end