class

GoogleDrive::Drive

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Representation of a shared drive.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

background_image_file
Source
background_image_file=(new_value : GoogleDrive::DriveBackgroundImageFile | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] background_image_file Object to be assigned

Source
capabilities
Source
capabilities=(new_value : GoogleDrive::DriveCapabilities | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] capabilities Object to be assigned

Source
color_rgb

The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.

Source
color_rgb=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] color_rgb Object to be assigned

Source
created_time

The time at which the shared drive was created (RFC 3339 date-time).

Source
created_time=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] created_time Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

hidden

Whether the shared drive is hidden from default view.

Source
hidden=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] hidden Object to be assigned

Source
id

The ID of this shared drive which is also the ID of the top level folder of this shared drive.

Source
id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned

Source
kind

Identifies what kind of resource this is. Value: the fixed string "drive#drive".

Source
kind=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
name

The name of this shared drive.

Source
name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned

Source
org_unit_id

The organizational unit of this shared drive. This field is only populated on drives.list responses when the useDomainAdminAccess parameter is set to true.

Source
org_unit_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] org_unit_id Object to be assigned

Source
restrictions
Source
restrictions=(new_value : GoogleDrive::DriveRestrictions | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] restrictions Object to be assigned

Source
theme_id

The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.

Source
theme_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] theme_id Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source