Class PagesResource
The "pages" collection of methods.
Inherited Members
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class PagesResource
Constructors
PagesResource(IClientService)
Constructs a new resource.
Declaration
public PagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Deletes a page by blog id and page id.
Declaration
public virtual PagesResource.DeleteRequest Delete(string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.DeleteRequest |
Get(string, string)
Gets a page by blog id and page id.
Declaration
public virtual PagesResource.GetRequest Get(string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.GetRequest |
Insert(Page, string)
Inserts a page.
Declaration
public virtual PagesResource.InsertRequest Insert(Page body, string blogId)
Parameters
Type | Name | Description |
---|---|---|
Page | body | The body of the request. |
string | blogId |
|
Returns
Type | Description |
---|---|
PagesResource.InsertRequest |
List(string)
Lists pages.
Declaration
public virtual PagesResource.ListRequest List(string blogId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
Returns
Type | Description |
---|---|
PagesResource.ListRequest |
Patch(Page, string, string)
Patches a page.
Declaration
public virtual PagesResource.PatchRequest Patch(Page body, string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
Page | body | The body of the request. |
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.PatchRequest |
Publish(string, string)
Publishes a page.
Declaration
public virtual PagesResource.PublishRequest Publish(string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.PublishRequest |
Revert(string, string)
Reverts a published or scheduled page to draft state.
Declaration
public virtual PagesResource.RevertRequest Revert(string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.RevertRequest |
Update(Page, string, string)
Updates a page by blog id and page id.
Declaration
public virtual PagesResource.UpdateRequest Update(Page body, string blogId, string pageId)
Parameters
Type | Name | Description |
---|---|---|
Page | body | The body of the request. |
string | blogId |
|
string | pageId |
|
Returns
Type | Description |
---|---|
PagesResource.UpdateRequest |