Class: Google::Apis::SheetsV4::UpdateEmbeddedObjectBorderRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::UpdateEmbeddedObjectBorderRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
Updates an embedded object's border property.
Instance Attribute Summary collapse
-
#border ⇒ Google::Apis::SheetsV4::EmbeddedObjectBorder
A border along an embedded object.
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ Fixnum
The ID of the embedded object to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateEmbeddedObjectBorderRequest
constructor
A new instance of UpdateEmbeddedObjectBorderRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateEmbeddedObjectBorderRequest
Returns a new instance of UpdateEmbeddedObjectBorderRequest.
10677 10678 10679 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#border ⇒ Google::Apis::SheetsV4::EmbeddedObjectBorder
A border along an embedded object.
Corresponds to the JSON property border
10663 10664 10665 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10663 def border @border end |
#fields ⇒ String
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
10670 10671 10672 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10670 def fields @fields end |
#object_id_prop ⇒ Fixnum
The ID of the embedded object to update.
Corresponds to the JSON property objectId
10675 10676 10677 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10675 def object_id_prop @object_id_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10682 10683 10684 10685 10686 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10682 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 |