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
Deprecated - use driveThemes/backgroundImageLink instead.
-
#color_rgb ⇒ String
Deprecated - use driveThemes/colorRgb instead.
-
#id ⇒ String
Deprecated - use driveThemes/id instead.
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
443 444 445 |
# File 'generated/google/apis/drive_v2/classes.rb', line 443 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_image_link ⇒ String
Deprecated - use driveThemes/backgroundImageLink instead.
Corresponds to the JSON property backgroundImageLink
431 432 433 |
# File 'generated/google/apis/drive_v2/classes.rb', line 431 def background_image_link @background_image_link end |
#color_rgb ⇒ String
Deprecated - use driveThemes/colorRgb instead.
Corresponds to the JSON property colorRgb
436 437 438 |
# File 'generated/google/apis/drive_v2/classes.rb', line 436 def color_rgb @color_rgb end |
#id ⇒ String
Deprecated - use driveThemes/id instead.
Corresponds to the JSON property id
441 442 443 |
# File 'generated/google/apis/drive_v2/classes.rb', line 441 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
448 449 450 451 452 |
# File 'generated/google/apis/drive_v2/classes.rb', line 448 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 |