Class JobsResource.HistogramRequest
Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Retrieves a histogram for the given GetHistogramRequest. This call provides a structured count of jobs that match against the search query, grouped by specified facets. This call constrains the visibility of jobs present in the database, and only counts jobs the caller has permission to search against. For example, use this call to generate the number of jobs in the U.S. by state.
Inheritance
System.Object
JobsResource.HistogramRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudTalentSolution.v2
Assembly: Google.Apis.CloudTalentSolution.v2.dll
Syntax
public class HistogramRequest : CloudTalentSolutionBaseServiceRequest<GetHistogramResponse>, IClientServiceRequest<GetHistogramResponse>, IClientServiceRequest
Constructors
HistogramRequest(IClientService, GetHistogramRequest)
Constructs a new Histogram request.
Declaration
public HistogramRequest(IClientService service, GetHistogramRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GetHistogramRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTalentSolution.v2.Data.GetHistogramResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTalentSolution.v2.Data.GetHistogramResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTalentSolution.v2.Data.GetHistogramResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTalentSolution.v2.Data.GetHistogramResponse>.GetBody()
InitParameters()
Initializes Histogram parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudTalentSolution.v2.CloudTalentSolutionBaseServiceRequest<Google.Apis.CloudTalentSolution.v2.Data.GetHistogramResponse>.InitParameters()