Show / Hide Table of Contents

Class PropertiesResource.AudiencesResource

The "audiences" collection of methods.

Inheritance
object
PropertiesResource.AudiencesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.AudiencesResource

Constructors

AudiencesResource(IClientService)

Constructs a new resource.

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

Methods

Archive(GoogleAnalyticsAdminV1alphaArchiveAudienceRequest, string)

Archives an Audience on a property.

Declaration
public virtual PropertiesResource.AudiencesResource.ArchiveRequest Archive(GoogleAnalyticsAdminV1alphaArchiveAudienceRequest body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaArchiveAudienceRequest body

The body of the request.

string name

Required. Example format: properties/1234/audiences/5678

Returns
Type Description
PropertiesResource.AudiencesResource.ArchiveRequest

Create(GoogleAnalyticsAdminV1alphaAudience, string)

Creates an Audience.

Declaration
public virtual PropertiesResource.AudiencesResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaAudience body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaAudience body

The body of the request.

string parent

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.AudiencesResource.CreateRequest

Get(string)

Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

Declaration
public virtual PropertiesResource.AudiencesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

Returns
Type Description
PropertiesResource.AudiencesResource.GetRequest

List(string)

Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

Declaration
public virtual PropertiesResource.AudiencesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.AudiencesResource.ListRequest

Patch(GoogleAnalyticsAdminV1alphaAudience, string)

Updates an Audience on a property.

Declaration
public virtual PropertiesResource.AudiencesResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaAudience body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaAudience body

The body of the request.

string name

Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}

Returns
Type Description
PropertiesResource.AudiencesResource.PatchRequest
In this article
Back to top Generated by DocFX