Class PagesResource
The "pages" collection of methods.
Inheritance
System.Object
PagesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|---|
| System.String | blogId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.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. |
| System.String | blogId |
Returns
| Type | Description |
|---|---|
| PagesResource.InsertRequest |
List(String)
Lists pages.
Declaration
public virtual PagesResource.ListRequest List(string blogId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.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. |
| System.String | blogId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.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. |
| System.String | blogId | |
| System.String | pageId |
Returns
| Type | Description |
|---|---|
| PagesResource.UpdateRequest |