Class: Google::Apis::SheetsV4::UpdateEmbeddedObjectBorderRequest

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

Overview

Updates an embedded object's border property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateEmbeddedObjectBorderRequest

Returns a new instance of UpdateEmbeddedObjectBorderRequest.



10650
10651
10652
# File 'generated/google/apis/sheets_v4/classes.rb', line 10650

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

Instance Attribute Details

#borderGoogle::Apis::SheetsV4::EmbeddedObjectBorder

A border along an embedded object. Corresponds to the JSON property border



10636
10637
10638
# File 'generated/google/apis/sheets_v4/classes.rb', line 10636

def border
  @border
end

#fieldsString

The fields that should be updated. At least one field must be specified. The root border is implied and should not be specified. A single "*" can be used as short-hand for listing every field. Corresponds to the JSON property fields

Returns:

  • (String)


10643
10644
10645
# File 'generated/google/apis/sheets_v4/classes.rb', line 10643

def fields
  @fields
end

#object_id_propFixnum

The ID of the embedded object to update. Corresponds to the JSON property objectId

Returns:

  • (Fixnum)


10648
10649
10650
# File 'generated/google/apis/sheets_v4/classes.rb', line 10648

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10655
10656
10657
10658
10659
# File 'generated/google/apis/sheets_v4/classes.rb', line 10655

def update!(**args)
  @border = args[:border] if args.key?(:border)
  @fields = args[:fields] if args.key?(:fields)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end