Class: Google::Apis::ContentV2_1::Css
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::Css
- 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
-
#css_domain_id ⇒ Fixnum
Output only.
-
#css_group_id ⇒ Fixnum
Output only.
-
#display_name ⇒ String
Output only.
-
#full_name ⇒ String
Output only.
-
#homepage_uri ⇒ String
Output only.
-
#label_ids ⇒ Array<Fixnum>
A list of label IDs that are assigned to this CSS domain by its CSS group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Css
constructor
A new instance of Css.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Css
Returns a new instance of Css.
2202 2203 2204 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#css_domain_id ⇒ Fixnum
Output only. Immutable. The CSS domain ID.
Corresponds to the JSON property cssDomainId
2172 2173 2174 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2172 def css_domain_id @css_domain_id end |
#css_group_id ⇒ Fixnum
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
2178 2179 2180 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2178 def css_group_id @css_group_id end |
#display_name ⇒ String
Output only. Immutable. The CSS domain's display name, used when space is
constrained.
Corresponds to the JSON property displayName
2184 2185 2186 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2184 def display_name @display_name end |
#full_name ⇒ String
Output only. Immutable. The CSS domain's full name.
Corresponds to the JSON property fullName
2189 2190 2191 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2189 def full_name @full_name end |
#homepage_uri ⇒ String
Output only. Immutable. The CSS domain's homepage.
Corresponds to the JSON property homepageUri
2194 2195 2196 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2194 def homepage_uri @homepage_uri end |
#label_ids ⇒ Array<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
2200 2201 2202 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2200 def label_ids @label_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2207 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 |