class Pages extends Resource (View source)

The "pages" collection of methods.

Typical usage is:

 $bloggerService = new Google\Service\Blogger(...);
 $pages = $bloggerService->pages;

Methods

delete(string $blogId, string $pageId, array $optParams = [])

Deletes a page by blog id and page id. (pages.delete)

get(string $blogId, string $pageId, array $optParams = [])

Gets a page by blog id and page id. (pages.get)

insert(string $blogId, Page $postBody, array $optParams = [])

Inserts a page. (pages.insert)

listPages(string $blogId, array $optParams = [])

Lists pages. (pages.listPages)

patch(string $blogId, string $pageId, Page $postBody, array $optParams = [])

Patches a page. (pages.patch)

publish(string $blogId, string $pageId, array $optParams = [])

Publishes a page. (pages.publish)

revert(string $blogId, string $pageId, array $optParams = [])

Reverts a published or scheduled page to draft state. (pages.revert)

update(string $blogId, string $pageId, Page $postBody, array $optParams = [])

Updates a page by blog id and page id. (pages.update)

Details

delete(string $blogId, string $pageId, array $optParams = [])

Deletes a page by blog id and page id. (pages.delete)

Parameters

string $blogId
string $pageId
array $optParams

Optional parameters.

Exceptions

Exception

Page get(string $blogId, string $pageId, array $optParams = [])

Gets a page by blog id and page id. (pages.get)

Parameters

string $blogId
string $pageId
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception

Page insert(string $blogId, Page $postBody, array $optParams = [])

Inserts a page. (pages.insert)

Parameters

string $blogId
Page $postBody
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception

PageList listPages(string $blogId, array $optParams = [])

Lists pages. (pages.listPages)

Parameters

string $blogId
array $optParams

Optional parameters.

Return Value

PageList

Exceptions

Exception

Page patch(string $blogId, string $pageId, Page $postBody, array $optParams = [])

Patches a page. (pages.patch)

Parameters

string $blogId
string $pageId
Page $postBody
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception

Page publish(string $blogId, string $pageId, array $optParams = [])

Publishes a page. (pages.publish)

Parameters

string $blogId
string $pageId
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception

Page revert(string $blogId, string $pageId, array $optParams = [])

Reverts a published or scheduled page to draft state. (pages.revert)

Parameters

string $blogId
string $pageId
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception

Page update(string $blogId, string $pageId, Page $postBody, array $optParams = [])

Updates a page by blog id and page id. (pages.update)

Parameters

string $blogId
string $pageId
Page $postBody
array $optParams

Optional parameters.

Return Value

Page

Exceptions

Exception