Class PropertiesResource.AudienceExportsResource.QueryRequest
Retrieves an audience export of users. After creating an audience, the users are not immediately
available for exporting. First, a request to CreateAudienceExport
is necessary to create an audience
export of users, and then second, this method is used to retrieve the users in the audience export. See
Creating an Audience
Export for an
introduction to Audience Exports with examples. Audiences in Google Analytics 4 allow you to segment
your users in the ways that are important to your business. To learn more, see
https://support.google.com/analytics/answer/9267572. Audience Export APIs have some methods at alpha and
other methods at beta stability. The intention is to advance methods to beta stability after some
feedback and adoption. To give your feedback on this API, complete the Google Analytics Audience Export
API Feedback form.
Inheritance
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1beta
Assembly: Google.Apis.AnalyticsData.v1beta.dll
Syntax
public class PropertiesResource.AudienceExportsResource.QueryRequest : AnalyticsDataBaseServiceRequest<QueryAudienceExportResponse>, IClientServiceRequest<QueryAudienceExportResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, QueryAudienceExportRequest, string)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, QueryAudienceExportRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
QueryAudienceExportRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the audience export to retrieve users from. Format:
properties/{property}/audienceExports/{audience_export}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Query parameter list.
Declaration
protected override void InitParameters()