Class: Google::Apis::DocsV1::DeleteFooterRequest

Inherits:
Object
  • Object
show all
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

Overview

Deletes a Footer from the document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeleteFooterRequest

Returns a new instance of DeleteFooterRequest.



702
703
704
# File 'generated/google/apis/docs_v1/classes.rb', line 702

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

Instance Attribute Details

The id of the footer to delete. If this footer is defined on DocumentStyle, the reference to this footer is removed, resulting in no footer of that type for the first section of the document. If this footer is defined on a SectionStyle, the reference to this footer is removed and the footer of that type is now continued from the previous section. Corresponds to the JSON property footerId

Returns:

  • (String)


700
701
702
# File 'generated/google/apis/docs_v1/classes.rb', line 700

def footer_id
  @footer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



707
708
709
# File 'generated/google/apis/docs_v1/classes.rb', line 707

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