Class: Google::Apis::DriveV3::About::TeamDriveTheme

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TeamDriveTheme

Returns a new instance of TeamDriveTheme.



217
218
219
# File 'lib/google/apis/drive_v3/classes.rb', line 217

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

Instance Attribute Details

Deprecated: Use driveThemes/backgroundImageLink instead. Corresponds to the JSON property backgroundImageLink

Returns:

  • (String)


205
206
207
# File 'lib/google/apis/drive_v3/classes.rb', line 205

def background_image_link
  @background_image_link
end

#color_rgbString

Deprecated: Use driveThemes/colorRgb instead. Corresponds to the JSON property colorRgb

Returns:

  • (String)


210
211
212
# File 'lib/google/apis/drive_v3/classes.rb', line 210

def color_rgb
  @color_rgb
end

#idString

Deprecated: Use driveThemes/id instead. Corresponds to the JSON property id

Returns:

  • (String)


215
216
217
# File 'lib/google/apis/drive_v3/classes.rb', line 215

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



222
223
224
225
226
# File 'lib/google/apis/drive_v3/classes.rb', line 222

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