Class: Google::Apis::DocsV1::EndOfSegmentLocation
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::EndOfSegmentLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb more...
Overview
Location at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment.
Instance Attribute Summary collapse
-
#segment_id ⇒ String
The ID of the header, footer or footnote the location is in.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndOfSegmentLocation
constructor
A new instance of EndOfSegmentLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EndOfSegmentLocation
Returns a new instance of EndOfSegmentLocation
1376 1377 1378 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#segment_id ⇒ String
The ID of the header, footer or footnote the location is in. An empty
segment ID signifies the document's body.
Corresponds to the JSON property segmentId
1374 1375 1376 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1374 def segment_id @segment_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1381 1382 1383 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1381 def update!(**args) @segment_id = args[:segment_id] if args.key?(:segment_id) end |