Class: Google::Apis::DriveV2::About::TeamDriveTheme
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::About::TeamDriveTheme
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v2/classes.rb,
lib/google/apis/drive_v2/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ TeamDriveTheme
Returns a new instance of TeamDriveTheme.
440 441 442 |
# File 'lib/google/apis/drive_v2/classes.rb', line 440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_image_link ⇒ String
Deprecated: Use driveThemes/backgroundImageLink
instead.
Corresponds to the JSON property backgroundImageLink
428 429 430 |
# File 'lib/google/apis/drive_v2/classes.rb', line 428 def background_image_link @background_image_link end |
#color_rgb ⇒ String
Deprecated: Use driveThemes/colorRgb
instead.
Corresponds to the JSON property colorRgb
433 434 435 |
# File 'lib/google/apis/drive_v2/classes.rb', line 433 def color_rgb @color_rgb end |
#id ⇒ String
Deprecated: Use driveThemes/id
instead.
Corresponds to the JSON property id
438 439 440 |
# File 'lib/google/apis/drive_v2/classes.rb', line 438 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
445 446 447 448 449 |
# File 'lib/google/apis/drive_v2/classes.rb', line 445 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 |