Represents a SearchJobsRequest.
Package
@google-cloud/talentConstructors
(constructor)(properties)
constructor(properties?: google.cloud.talent.v4beta1.ISearchJobsRequest);
Constructs a new SearchJobsRequest.
Parameter | |
---|---|
Name | Description |
properties |
ISearchJobsRequest
Properties to set |
Properties
customRankingInfo
public customRankingInfo?: (google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo|null);
SearchJobsRequest customRankingInfo.
disableKeywordMatch
public disableKeywordMatch: boolean;
SearchJobsRequest disableKeywordMatch.
diversificationLevel
public diversificationLevel: (google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel);
SearchJobsRequest diversificationLevel.
enableBroadening
public enableBroadening: boolean;
SearchJobsRequest enableBroadening.
histogramQueries
public histogramQueries: google.cloud.talent.v4beta1.IHistogramQuery[];
SearchJobsRequest histogramQueries.
jobQuery
public jobQuery?: (google.cloud.talent.v4beta1.IJobQuery|null);
SearchJobsRequest jobQuery.
jobView
public jobView: (google.cloud.talent.v4beta1.JobView|keyof typeof google.cloud.talent.v4beta1.JobView);
SearchJobsRequest jobView.
keywordMatchMode
public keywordMatchMode: (google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode);
SearchJobsRequest keywordMatchMode.
offset
public offset: number;
SearchJobsRequest offset.
orderBy
public orderBy: string;
SearchJobsRequest orderBy.
pageSize
public pageSize: number;
SearchJobsRequest pageSize.
pageToken
public pageToken: string;
SearchJobsRequest pageToken.
parent
public parent: string;
SearchJobsRequest parent.
requestMetadata
public requestMetadata?: (google.cloud.talent.v4beta1.IRequestMetadata|null);
SearchJobsRequest requestMetadata.
requirePreciseResultSize
public requirePreciseResultSize: boolean;
SearchJobsRequest requirePreciseResultSize.
searchMode
public searchMode: (google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode);
SearchJobsRequest searchMode.
Methods
create(properties)
public static create(properties?: google.cloud.talent.v4beta1.ISearchJobsRequest): google.cloud.talent.v4beta1.SearchJobsRequest;
Creates a new SearchJobsRequest instance using the specified properties.
Parameter | |
---|---|
Name | Description |
properties |
ISearchJobsRequest
Properties to set |
Returns | |
---|---|
Type | Description |
SearchJobsRequest |
SearchJobsRequest instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsRequest;
Decodes a SearchJobsRequest message from the specified reader or buffer.
Parameters | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Returns | |
---|---|
Type | Description |
SearchJobsRequest |
SearchJobsRequest |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsRequest;
Decodes a SearchJobsRequest message from the specified reader or buffer, length delimited.
Parameter | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
Returns | |
---|---|
Type | Description |
SearchJobsRequest |
SearchJobsRequest |
encode(message, writer)
public static encode(message: google.cloud.talent.v4beta1.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified SearchJobsRequest message. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
ISearchJobsRequest
SearchJobsRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Returns | |
---|---|
Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.talent.v4beta1.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified SearchJobsRequest message, length delimited. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
ISearchJobsRequest
SearchJobsRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Returns | |
---|---|
Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsRequest;
Creates a SearchJobsRequest message from a plain object. Also converts values to their respective internal types.
Parameter | |
---|---|
Name | Description |
object |
{ [k: string]: any }
Plain object |
Returns | |
---|---|
Type | Description |
SearchJobsRequest |
SearchJobsRequest |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for SearchJobsRequest
Parameter | |
---|---|
Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns | |
---|---|
Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };
Converts this SearchJobsRequest to JSON.
Returns | |
---|---|
Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.talent.v4beta1.SearchJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a SearchJobsRequest message. Also converts values to other types if specified.
Parameters | |
---|---|
Name | Description |
message |
SearchJobsRequest
SearchJobsRequest |
options |
$protobuf.IConversionOptions
Conversion options |
Returns | |
---|---|
Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a SearchJobsRequest message.
Parameter | |
---|---|
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Returns | |
---|---|
Type | Description |
(string|null) |
|