Show / Hide Table of Contents

Class AccountsResource.SitesResource

The "sites" collection of methods.

Inheritance
object
AccountsResource.SitesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.SitesResource

Constructors

SitesResource(IClientService)

Constructs a new resource.

Declaration
public SitesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Gets information about the selected site.

Declaration
public virtual AccountsResource.SitesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the site. Format: accounts/{account}/sites/{site}

Returns
Type Description
AccountsResource.SitesResource.GetRequest

List(string)

Lists all the sites available in an account.

Declaration
public virtual AccountsResource.SitesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The account which owns the collection of sites. Format: accounts/{account}

Returns
Type Description
AccountsResource.SitesResource.ListRequest
In this article
Back to top Generated by DocFX