Class: Google::Apis::DriveV2::About::TeamDriveTheme

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TeamDriveTheme

Returns a new instance of TeamDriveTheme.



444
445
446
# File 'generated/google/apis/drive_v2/classes.rb', line 444

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

Instance Attribute Details

Deprecated - use driveThemes/backgroundImageLink instead. Corresponds to the JSON property backgroundImageLink

Returns:

  • (String)


432
433
434
# File 'generated/google/apis/drive_v2/classes.rb', line 432

def background_image_link
  @background_image_link
end

#color_rgbString

Deprecated - use driveThemes/colorRgb instead. Corresponds to the JSON property colorRgb

Returns:

  • (String)


437
438
439
# File 'generated/google/apis/drive_v2/classes.rb', line 437

def color_rgb
  @color_rgb
end

#idString

Deprecated - use driveThemes/id instead. Corresponds to the JSON property id

Returns:

  • (String)


442
443
444
# File 'generated/google/apis/drive_v2/classes.rb', line 442

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



449
450
451
452
453
# File 'generated/google/apis/drive_v2/classes.rb', line 449

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