Class: Google::Apis::DriveV2::About::TeamDriveTheme
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::About::TeamDriveTheme
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
generated/google/apis/drive_v2/representations.rb,
generated/google/apis/drive_v2/representations.rb
Instance Attribute Summary collapse
-
#background_image_link ⇒ String
A link to this Team Drive theme's background image.
-
#color_rgb ⇒ String
The color of this Team Drive theme as an RGB hex string.
-
#id ⇒ String
The ID of the theme.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TeamDriveTheme
constructor
A new instance of TeamDriveTheme.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TeamDriveTheme
Returns a new instance of TeamDriveTheme
392 393 394 |
# File 'generated/google/apis/drive_v2/classes.rb', line 392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_image_link ⇒ String
A link to this Team Drive theme's background image.
Corresponds to the JSON property backgroundImageLink
380 381 382 |
# File 'generated/google/apis/drive_v2/classes.rb', line 380 def background_image_link @background_image_link end |
#color_rgb ⇒ String
The color of this Team Drive theme as an RGB hex string.
Corresponds to the JSON property colorRgb
385 386 387 |
# File 'generated/google/apis/drive_v2/classes.rb', line 385 def color_rgb @color_rgb end |
#id ⇒ String
The ID of the theme.
Corresponds to the JSON property id
390 391 392 |
# File 'generated/google/apis/drive_v2/classes.rb', line 390 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
397 398 399 400 401 |
# File 'generated/google/apis/drive_v2/classes.rb', line 397 def update!(**args) @background_image_link = args[:background_image_link] if args.key?(:background_image_link) @color_rgb = args[:color_rgb] if args.key?(:color_rgb) @id = args[:id] if args.key?(:id) end |