Class CivicInfoService
The CivicInfo Service.
Inherited Members
Namespace: Google.Apis.CivicInfo.v2
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class CivicInfoService : BaseClientService, IClientService, IDisposable
Constructors
CivicInfoService()
Constructs a new service.
Declaration
public CivicInfoService()
CivicInfoService(Initializer)
Constructs a new service.
Declaration
public CivicInfoService(BaseClientService.Initializer initializer)
Parameters
Type | Name | Description |
---|---|---|
BaseClientService.Initializer | initializer | The service initializer. |
Fields
DiscoveryVersionUsed
The discovery version used to generate this service.
Declaration
public static DiscoveryVersion DiscoveryVersionUsed
Field Value
Type | Description |
---|---|
DiscoveryVersion |
Version
The API version.
Declaration
public const string Version = "v2"
Field Value
Type | Description |
---|---|
string |
Properties
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchPath
Gets the batch base path; null
if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchUri
Gets the batch base URI; null
if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Divisions
Gets the Divisions resource.
Declaration
public virtual DivisionsResource Divisions { get; }
Property Value
Type | Description |
---|---|
DivisionsResource |
Elections
Gets the Elections resource.
Declaration
public virtual ElectionsResource Elections { get; }
Property Value
Type | Description |
---|---|
ElectionsResource |
Features
Gets the service supported features.
Declaration
public override IList<string> Features { get; }
Property Value
Type | Description |
---|---|
IList<string> |
Overrides
Name
Gets the service name.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Representatives
Gets the Representatives resource.
Declaration
public virtual RepresentativesResource Representatives { get; }
Property Value
Type | Description |
---|---|
RepresentativesResource |