Class OrganizationsResource.PublicationsResource
The "publications" collection of methods.
Inherited Members
Namespace: Google.Apis.WebContentPublisher.v1
Assembly: Google.Apis.WebContentPublisher.v1.dll
Syntax
public class OrganizationsResource.PublicationsResource
Constructors
PublicationsResource(IClientService)
Constructs a new resource.
Declaration
public PublicationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Ctas
Gets the Ctas resource.
Declaration
public virtual OrganizationsResource.PublicationsResource.CtasResource Ctas { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.PublicationsResource.CtasResource |
Methods
Create(Publication, string)
Creates a publication.
Declaration
public virtual OrganizationsResource.PublicationsResource.CreateRequest Create(Publication body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Publication | body | The body of the request. |
| string | parent | Required. The parent resource where this publication will be created. Format:
|
Returns
| Type | Description |
|---|---|
| OrganizationsResource.PublicationsResource.CreateRequest |
Get(string)
Gets a publication.
Declaration
public virtual OrganizationsResource.PublicationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the publication to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| OrganizationsResource.PublicationsResource.GetRequest |
List(string)
Lists publications.
Declaration
public virtual OrganizationsResource.PublicationsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent organization whose publications to list. Format: |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.PublicationsResource.ListRequest |
Patch(Publication, string)
Updates a publication.
Declaration
public virtual OrganizationsResource.PublicationsResource.PatchRequest Patch(Publication body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Publication | body | The body of the request. |
| string | name | Identifier. The resource name of the publication. Format: organizations/{organization}/publications/{publication} |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.PublicationsResource.PatchRequest |