Class CitiesResource.ListRequest
Retrieves a list of cities, possibly filtered.
Inheritance
CitiesResource.ListRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class CitiesResource.ListRequest : DfareportingBaseServiceRequest<CitiesListResponse>, IClientServiceRequest<CitiesListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | profileId |
Properties
CountryDartIds
Select only cities from these countries.
Declaration
[RequestParameter("countryDartIds", RequestParameterType.Query)]
public virtual Repeatable<string> CountryDartIds { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
DartIds
Select only cities with these DART IDs.
Declaration
[RequestParameter("dartIds", RequestParameterType.Query)]
public virtual Repeatable<string> DartIds { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
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
NamePrefix
Select only cities with names starting with this prefix.
Declaration
[RequestParameter("namePrefix", RequestParameterType.Query)]
public virtual string NamePrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
RegionDartIds
Select only cities from these regions.
Declaration
[RequestParameter("regionDartIds", RequestParameterType.Query)]
public virtual Repeatable<string> RegionDartIds { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()