class Google::Apis::BloggerV3::Page

Attributes

author[RW]

The author of this Page. Corresponds to the JSON property `author` @return [Google::Apis::BloggerV3::Page::Author]

blog[RW]

Data about the blog containing this Page. Corresponds to the JSON property `blog` @return [Google::Apis::BloggerV3::Page::Blog]

content[RW]

The body content of this Page, in HTML. Corresponds to the JSON property `content` @return [String]

etag[RW]

Etag of the resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The identifier for this resource. Corresponds to the JSON property `id` @return [String]

kind[RW]

The kind of this entity. Always blogger#page. Corresponds to the JSON property `kind` @return [String]

published[RW]

RFC 3339 date-time when this Page was published. Corresponds to the JSON property `published` @return [String]

status[RW]

The status of the page for admin resources (either LIVE or DRAFT). Corresponds to the JSON property `status` @return [String]

title[RW]

The title of this entity. This is the name displayed in the Admin user interface. Corresponds to the JSON property `title` @return [String]

updated[RW]

RFC 3339 date-time when this Page was last updated. Corresponds to the JSON property `updated` @return [String]

url[RW]

The URL that this Page is displayed at. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/blogger_v3/classes.rb, line 615
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/blogger_v3/classes.rb, line 620
def update!(**args)
  @author = args[:author] if args.key?(:author)
  @blog = args[:blog] if args.key?(:blog)
  @content = args[:content] if args.key?(:content)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @published = args[:published] if args.key?(:published)
  @self_link = args[:self_link] if args.key?(:self_link)
  @status = args[:status] if args.key?(:status)
  @title = args[:title] if args.key?(:title)
  @updated = args[:updated] if args.key?(:updated)
  @url = args[:url] if args.key?(:url)
end