@google-cloud/discoveryengine 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +23 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +10 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +108 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +111 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +303 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +24 -0
- package/build/protos/protos.d.ts +2891 -4
- package/build/protos/protos.js +23610 -16379
- package/build/protos/protos.json +665 -6
- package/build/src/v1beta/completion_service_client.d.ts +91 -0
- package/build/src/v1beta/completion_service_client.js +84 -0
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +18 -0
- package/build/src/v1beta/data_store_service_client.d.ts +9 -0
- package/build/src/v1beta/document_service_client.d.ts +2 -0
- package/build/src/v1beta/search_service_client.d.ts +147 -0
- package/build/src/v1beta/search_service_client.js +98 -0
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +42 -0
- package/build/src/v1beta/user_event_service_client_config.json +5 -0
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
@@ -73122,6 +73122,9 @@ export namespace google {
|
|
73122
73122
|
|
73123
73123
|
/** SearchResult chunkInfo */
|
73124
73124
|
chunkInfo?: (google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.IChunkInfo[]|null);
|
73125
|
+
|
73126
|
+
/** SearchResult structData */
|
73127
|
+
structData?: (google.protobuf.IStruct|null);
|
73125
73128
|
}
|
73126
73129
|
|
73127
73130
|
/** Represents a SearchResult. */
|
@@ -73148,6 +73151,9 @@ export namespace google {
|
|
73148
73151
|
/** SearchResult chunkInfo. */
|
73149
73152
|
public chunkInfo: google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.IChunkInfo[];
|
73150
73153
|
|
73154
|
+
/** SearchResult structData. */
|
73155
|
+
public structData?: (google.protobuf.IStruct|null);
|
73156
|
+
|
73151
73157
|
/**
|
73152
73158
|
* Creates a new SearchResult instance using the specified properties.
|
73153
73159
|
* @param [properties] Properties to set
|
@@ -73682,7 +73688,8 @@ export namespace google {
|
|
73682
73688
|
ADVERSARIAL_QUERY_IGNORED = 1,
|
73683
73689
|
NON_ANSWER_SEEKING_QUERY_IGNORED = 2,
|
73684
73690
|
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
73685
|
-
POTENTIAL_POLICY_VIOLATION = 4
|
73691
|
+
POTENTIAL_POLICY_VIOLATION = 4,
|
73692
|
+
NO_RELEVANT_CONTENT = 5
|
73686
73693
|
}
|
73687
73694
|
}
|
73688
73695
|
|
@@ -74817,6 +74824,142 @@ export namespace google {
|
|
74817
74824
|
}
|
74818
74825
|
}
|
74819
74826
|
|
74827
|
+
/** Properties of a CompletionSuggestion. */
|
74828
|
+
interface ICompletionSuggestion {
|
74829
|
+
|
74830
|
+
/** CompletionSuggestion globalScore */
|
74831
|
+
globalScore?: (number|null);
|
74832
|
+
|
74833
|
+
/** CompletionSuggestion frequency */
|
74834
|
+
frequency?: (number|Long|string|null);
|
74835
|
+
|
74836
|
+
/** CompletionSuggestion suggestion */
|
74837
|
+
suggestion?: (string|null);
|
74838
|
+
|
74839
|
+
/** CompletionSuggestion languageCode */
|
74840
|
+
languageCode?: (string|null);
|
74841
|
+
|
74842
|
+
/** CompletionSuggestion groupId */
|
74843
|
+
groupId?: (string|null);
|
74844
|
+
|
74845
|
+
/** CompletionSuggestion groupScore */
|
74846
|
+
groupScore?: (number|null);
|
74847
|
+
|
74848
|
+
/** CompletionSuggestion alternativePhrases */
|
74849
|
+
alternativePhrases?: (string[]|null);
|
74850
|
+
}
|
74851
|
+
|
74852
|
+
/** Represents a CompletionSuggestion. */
|
74853
|
+
class CompletionSuggestion implements ICompletionSuggestion {
|
74854
|
+
|
74855
|
+
/**
|
74856
|
+
* Constructs a new CompletionSuggestion.
|
74857
|
+
* @param [properties] Properties to set
|
74858
|
+
*/
|
74859
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.ICompletionSuggestion);
|
74860
|
+
|
74861
|
+
/** CompletionSuggestion globalScore. */
|
74862
|
+
public globalScore?: (number|null);
|
74863
|
+
|
74864
|
+
/** CompletionSuggestion frequency. */
|
74865
|
+
public frequency?: (number|Long|string|null);
|
74866
|
+
|
74867
|
+
/** CompletionSuggestion suggestion. */
|
74868
|
+
public suggestion: string;
|
74869
|
+
|
74870
|
+
/** CompletionSuggestion languageCode. */
|
74871
|
+
public languageCode: string;
|
74872
|
+
|
74873
|
+
/** CompletionSuggestion groupId. */
|
74874
|
+
public groupId: string;
|
74875
|
+
|
74876
|
+
/** CompletionSuggestion groupScore. */
|
74877
|
+
public groupScore: number;
|
74878
|
+
|
74879
|
+
/** CompletionSuggestion alternativePhrases. */
|
74880
|
+
public alternativePhrases: string[];
|
74881
|
+
|
74882
|
+
/** CompletionSuggestion rankingInfo. */
|
74883
|
+
public rankingInfo?: ("globalScore"|"frequency");
|
74884
|
+
|
74885
|
+
/**
|
74886
|
+
* Creates a new CompletionSuggestion instance using the specified properties.
|
74887
|
+
* @param [properties] Properties to set
|
74888
|
+
* @returns CompletionSuggestion instance
|
74889
|
+
*/
|
74890
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.ICompletionSuggestion): google.cloud.discoveryengine.v1beta.CompletionSuggestion;
|
74891
|
+
|
74892
|
+
/**
|
74893
|
+
* Encodes the specified CompletionSuggestion message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.CompletionSuggestion.verify|verify} messages.
|
74894
|
+
* @param message CompletionSuggestion message or plain object to encode
|
74895
|
+
* @param [writer] Writer to encode to
|
74896
|
+
* @returns Writer
|
74897
|
+
*/
|
74898
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.ICompletionSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
74899
|
+
|
74900
|
+
/**
|
74901
|
+
* Encodes the specified CompletionSuggestion message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.CompletionSuggestion.verify|verify} messages.
|
74902
|
+
* @param message CompletionSuggestion message or plain object to encode
|
74903
|
+
* @param [writer] Writer to encode to
|
74904
|
+
* @returns Writer
|
74905
|
+
*/
|
74906
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.ICompletionSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
74907
|
+
|
74908
|
+
/**
|
74909
|
+
* Decodes a CompletionSuggestion message from the specified reader or buffer.
|
74910
|
+
* @param reader Reader or buffer to decode from
|
74911
|
+
* @param [length] Message length if known beforehand
|
74912
|
+
* @returns CompletionSuggestion
|
74913
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74914
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74915
|
+
*/
|
74916
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.CompletionSuggestion;
|
74917
|
+
|
74918
|
+
/**
|
74919
|
+
* Decodes a CompletionSuggestion message from the specified reader or buffer, length delimited.
|
74920
|
+
* @param reader Reader or buffer to decode from
|
74921
|
+
* @returns CompletionSuggestion
|
74922
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74923
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74924
|
+
*/
|
74925
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.CompletionSuggestion;
|
74926
|
+
|
74927
|
+
/**
|
74928
|
+
* Verifies a CompletionSuggestion message.
|
74929
|
+
* @param message Plain object to verify
|
74930
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74931
|
+
*/
|
74932
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74933
|
+
|
74934
|
+
/**
|
74935
|
+
* Creates a CompletionSuggestion message from a plain object. Also converts values to their respective internal types.
|
74936
|
+
* @param object Plain object
|
74937
|
+
* @returns CompletionSuggestion
|
74938
|
+
*/
|
74939
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.CompletionSuggestion;
|
74940
|
+
|
74941
|
+
/**
|
74942
|
+
* Creates a plain object from a CompletionSuggestion message. Also converts values to other types if specified.
|
74943
|
+
* @param message CompletionSuggestion
|
74944
|
+
* @param [options] Conversion options
|
74945
|
+
* @returns Plain object
|
74946
|
+
*/
|
74947
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.CompletionSuggestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74948
|
+
|
74949
|
+
/**
|
74950
|
+
* Converts this CompletionSuggestion to JSON.
|
74951
|
+
* @returns JSON object
|
74952
|
+
*/
|
74953
|
+
public toJSON(): { [k: string]: any };
|
74954
|
+
|
74955
|
+
/**
|
74956
|
+
* Gets the default type url for CompletionSuggestion
|
74957
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74958
|
+
* @returns The default type url
|
74959
|
+
*/
|
74960
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74961
|
+
}
|
74962
|
+
|
74820
74963
|
/** Represents a CompletionService */
|
74821
74964
|
class CompletionService extends $protobuf.rpc.Service {
|
74822
74965
|
|
@@ -74878,6 +75021,34 @@ export namespace google {
|
|
74878
75021
|
* @returns Promise
|
74879
75022
|
*/
|
74880
75023
|
public purgeSuggestionDenyListEntries(request: google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest): Promise<google.longrunning.Operation>;
|
75024
|
+
|
75025
|
+
/**
|
75026
|
+
* Calls ImportCompletionSuggestions.
|
75027
|
+
* @param request ImportCompletionSuggestionsRequest message or plain object
|
75028
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
75029
|
+
*/
|
75030
|
+
public importCompletionSuggestions(request: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, callback: google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestionsCallback): void;
|
75031
|
+
|
75032
|
+
/**
|
75033
|
+
* Calls ImportCompletionSuggestions.
|
75034
|
+
* @param request ImportCompletionSuggestionsRequest message or plain object
|
75035
|
+
* @returns Promise
|
75036
|
+
*/
|
75037
|
+
public importCompletionSuggestions(request: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest): Promise<google.longrunning.Operation>;
|
75038
|
+
|
75039
|
+
/**
|
75040
|
+
* Calls PurgeCompletionSuggestions.
|
75041
|
+
* @param request PurgeCompletionSuggestionsRequest message or plain object
|
75042
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
75043
|
+
*/
|
75044
|
+
public purgeCompletionSuggestions(request: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, callback: google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestionsCallback): void;
|
75045
|
+
|
75046
|
+
/**
|
75047
|
+
* Calls PurgeCompletionSuggestions.
|
75048
|
+
* @param request PurgeCompletionSuggestionsRequest message or plain object
|
75049
|
+
* @returns Promise
|
75050
|
+
*/
|
75051
|
+
public purgeCompletionSuggestions(request: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest): Promise<google.longrunning.Operation>;
|
74881
75052
|
}
|
74882
75053
|
|
74883
75054
|
namespace CompletionService {
|
@@ -74902,6 +75073,20 @@ export namespace google {
|
|
74902
75073
|
* @param [response] Operation
|
74903
75074
|
*/
|
74904
75075
|
type PurgeSuggestionDenyListEntriesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
75076
|
+
|
75077
|
+
/**
|
75078
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1beta.CompletionService|importCompletionSuggestions}.
|
75079
|
+
* @param error Error, if any
|
75080
|
+
* @param [response] Operation
|
75081
|
+
*/
|
75082
|
+
type ImportCompletionSuggestionsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
75083
|
+
|
75084
|
+
/**
|
75085
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1beta.CompletionService|purgeCompletionSuggestions}.
|
75086
|
+
* @param error Error, if any
|
75087
|
+
* @param [response] Operation
|
75088
|
+
*/
|
75089
|
+
type PurgeCompletionSuggestionsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
74905
75090
|
}
|
74906
75091
|
|
74907
75092
|
/** Properties of a CompleteQueryRequest. */
|
@@ -76288,6 +76473,133 @@ export namespace google {
|
|
76288
76473
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
76289
76474
|
}
|
76290
76475
|
|
76476
|
+
/** Properties of an AlloyDbSource. */
|
76477
|
+
interface IAlloyDbSource {
|
76478
|
+
|
76479
|
+
/** AlloyDbSource projectId */
|
76480
|
+
projectId?: (string|null);
|
76481
|
+
|
76482
|
+
/** AlloyDbSource locationId */
|
76483
|
+
locationId?: (string|null);
|
76484
|
+
|
76485
|
+
/** AlloyDbSource clusterId */
|
76486
|
+
clusterId?: (string|null);
|
76487
|
+
|
76488
|
+
/** AlloyDbSource databaseId */
|
76489
|
+
databaseId?: (string|null);
|
76490
|
+
|
76491
|
+
/** AlloyDbSource tableId */
|
76492
|
+
tableId?: (string|null);
|
76493
|
+
|
76494
|
+
/** AlloyDbSource gcsStagingDir */
|
76495
|
+
gcsStagingDir?: (string|null);
|
76496
|
+
}
|
76497
|
+
|
76498
|
+
/** Represents an AlloyDbSource. */
|
76499
|
+
class AlloyDbSource implements IAlloyDbSource {
|
76500
|
+
|
76501
|
+
/**
|
76502
|
+
* Constructs a new AlloyDbSource.
|
76503
|
+
* @param [properties] Properties to set
|
76504
|
+
*/
|
76505
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IAlloyDbSource);
|
76506
|
+
|
76507
|
+
/** AlloyDbSource projectId. */
|
76508
|
+
public projectId: string;
|
76509
|
+
|
76510
|
+
/** AlloyDbSource locationId. */
|
76511
|
+
public locationId: string;
|
76512
|
+
|
76513
|
+
/** AlloyDbSource clusterId. */
|
76514
|
+
public clusterId: string;
|
76515
|
+
|
76516
|
+
/** AlloyDbSource databaseId. */
|
76517
|
+
public databaseId: string;
|
76518
|
+
|
76519
|
+
/** AlloyDbSource tableId. */
|
76520
|
+
public tableId: string;
|
76521
|
+
|
76522
|
+
/** AlloyDbSource gcsStagingDir. */
|
76523
|
+
public gcsStagingDir: string;
|
76524
|
+
|
76525
|
+
/**
|
76526
|
+
* Creates a new AlloyDbSource instance using the specified properties.
|
76527
|
+
* @param [properties] Properties to set
|
76528
|
+
* @returns AlloyDbSource instance
|
76529
|
+
*/
|
76530
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IAlloyDbSource): google.cloud.discoveryengine.v1beta.AlloyDbSource;
|
76531
|
+
|
76532
|
+
/**
|
76533
|
+
* Encodes the specified AlloyDbSource message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.AlloyDbSource.verify|verify} messages.
|
76534
|
+
* @param message AlloyDbSource message or plain object to encode
|
76535
|
+
* @param [writer] Writer to encode to
|
76536
|
+
* @returns Writer
|
76537
|
+
*/
|
76538
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IAlloyDbSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
76539
|
+
|
76540
|
+
/**
|
76541
|
+
* Encodes the specified AlloyDbSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.AlloyDbSource.verify|verify} messages.
|
76542
|
+
* @param message AlloyDbSource message or plain object to encode
|
76543
|
+
* @param [writer] Writer to encode to
|
76544
|
+
* @returns Writer
|
76545
|
+
*/
|
76546
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IAlloyDbSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
76547
|
+
|
76548
|
+
/**
|
76549
|
+
* Decodes an AlloyDbSource message from the specified reader or buffer.
|
76550
|
+
* @param reader Reader or buffer to decode from
|
76551
|
+
* @param [length] Message length if known beforehand
|
76552
|
+
* @returns AlloyDbSource
|
76553
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
76554
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
76555
|
+
*/
|
76556
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.AlloyDbSource;
|
76557
|
+
|
76558
|
+
/**
|
76559
|
+
* Decodes an AlloyDbSource message from the specified reader or buffer, length delimited.
|
76560
|
+
* @param reader Reader or buffer to decode from
|
76561
|
+
* @returns AlloyDbSource
|
76562
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
76563
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
76564
|
+
*/
|
76565
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.AlloyDbSource;
|
76566
|
+
|
76567
|
+
/**
|
76568
|
+
* Verifies an AlloyDbSource message.
|
76569
|
+
* @param message Plain object to verify
|
76570
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
76571
|
+
*/
|
76572
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
76573
|
+
|
76574
|
+
/**
|
76575
|
+
* Creates an AlloyDbSource message from a plain object. Also converts values to their respective internal types.
|
76576
|
+
* @param object Plain object
|
76577
|
+
* @returns AlloyDbSource
|
76578
|
+
*/
|
76579
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.AlloyDbSource;
|
76580
|
+
|
76581
|
+
/**
|
76582
|
+
* Creates a plain object from an AlloyDbSource message. Also converts values to other types if specified.
|
76583
|
+
* @param message AlloyDbSource
|
76584
|
+
* @param [options] Conversion options
|
76585
|
+
* @returns Plain object
|
76586
|
+
*/
|
76587
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.AlloyDbSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
76588
|
+
|
76589
|
+
/**
|
76590
|
+
* Converts this AlloyDbSource to JSON.
|
76591
|
+
* @returns JSON object
|
76592
|
+
*/
|
76593
|
+
public toJSON(): { [k: string]: any };
|
76594
|
+
|
76595
|
+
/**
|
76596
|
+
* Gets the default type url for AlloyDbSource
|
76597
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
76598
|
+
* @returns The default type url
|
76599
|
+
*/
|
76600
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
76601
|
+
}
|
76602
|
+
|
76291
76603
|
/** Properties of a FirestoreSource. */
|
76292
76604
|
interface IFirestoreSource {
|
76293
76605
|
|
@@ -77102,6 +77414,9 @@ export namespace google {
|
|
77102
77414
|
/** ImportDocumentsRequest firestoreSource */
|
77103
77415
|
firestoreSource?: (google.cloud.discoveryengine.v1beta.IFirestoreSource|null);
|
77104
77416
|
|
77417
|
+
/** ImportDocumentsRequest alloyDbSource */
|
77418
|
+
alloyDbSource?: (google.cloud.discoveryengine.v1beta.IAlloyDbSource|null);
|
77419
|
+
|
77105
77420
|
/** ImportDocumentsRequest bigtableSource */
|
77106
77421
|
bigtableSource?: (google.cloud.discoveryengine.v1beta.IBigtableSource|null);
|
77107
77422
|
|
@@ -77154,6 +77469,9 @@ export namespace google {
|
|
77154
77469
|
/** ImportDocumentsRequest firestoreSource. */
|
77155
77470
|
public firestoreSource?: (google.cloud.discoveryengine.v1beta.IFirestoreSource|null);
|
77156
77471
|
|
77472
|
+
/** ImportDocumentsRequest alloyDbSource. */
|
77473
|
+
public alloyDbSource?: (google.cloud.discoveryengine.v1beta.IAlloyDbSource|null);
|
77474
|
+
|
77157
77475
|
/** ImportDocumentsRequest bigtableSource. */
|
77158
77476
|
public bigtableSource?: (google.cloud.discoveryengine.v1beta.IBigtableSource|null);
|
77159
77477
|
|
@@ -77176,7 +77494,7 @@ export namespace google {
|
|
77176
77494
|
public idField: string;
|
77177
77495
|
|
77178
77496
|
/** ImportDocumentsRequest source. */
|
77179
|
-
public source?: ("inlineSource"|"gcsSource"|"bigquerySource"|"fhirStoreSource"|"spannerSource"|"cloudSqlSource"|"firestoreSource"|"bigtableSource");
|
77497
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource"|"fhirStoreSource"|"spannerSource"|"cloudSqlSource"|"firestoreSource"|"alloyDbSource"|"bigtableSource");
|
77180
77498
|
|
77181
77499
|
/**
|
77182
77500
|
* Creates a new ImportDocumentsRequest instance using the specified properties.
|
@@ -77890,6 +78208,448 @@ export namespace google {
|
|
77890
78208
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
77891
78209
|
}
|
77892
78210
|
|
78211
|
+
/** Properties of an ImportCompletionSuggestionsRequest. */
|
78212
|
+
interface IImportCompletionSuggestionsRequest {
|
78213
|
+
|
78214
|
+
/** ImportCompletionSuggestionsRequest inlineSource */
|
78215
|
+
inlineSource?: (google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource|null);
|
78216
|
+
|
78217
|
+
/** ImportCompletionSuggestionsRequest gcsSource */
|
78218
|
+
gcsSource?: (google.cloud.discoveryengine.v1beta.IGcsSource|null);
|
78219
|
+
|
78220
|
+
/** ImportCompletionSuggestionsRequest bigquerySource */
|
78221
|
+
bigquerySource?: (google.cloud.discoveryengine.v1beta.IBigQuerySource|null);
|
78222
|
+
|
78223
|
+
/** ImportCompletionSuggestionsRequest parent */
|
78224
|
+
parent?: (string|null);
|
78225
|
+
|
78226
|
+
/** ImportCompletionSuggestionsRequest errorConfig */
|
78227
|
+
errorConfig?: (google.cloud.discoveryengine.v1beta.IImportErrorConfig|null);
|
78228
|
+
}
|
78229
|
+
|
78230
|
+
/** Represents an ImportCompletionSuggestionsRequest. */
|
78231
|
+
class ImportCompletionSuggestionsRequest implements IImportCompletionSuggestionsRequest {
|
78232
|
+
|
78233
|
+
/**
|
78234
|
+
* Constructs a new ImportCompletionSuggestionsRequest.
|
78235
|
+
* @param [properties] Properties to set
|
78236
|
+
*/
|
78237
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest);
|
78238
|
+
|
78239
|
+
/** ImportCompletionSuggestionsRequest inlineSource. */
|
78240
|
+
public inlineSource?: (google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource|null);
|
78241
|
+
|
78242
|
+
/** ImportCompletionSuggestionsRequest gcsSource. */
|
78243
|
+
public gcsSource?: (google.cloud.discoveryengine.v1beta.IGcsSource|null);
|
78244
|
+
|
78245
|
+
/** ImportCompletionSuggestionsRequest bigquerySource. */
|
78246
|
+
public bigquerySource?: (google.cloud.discoveryengine.v1beta.IBigQuerySource|null);
|
78247
|
+
|
78248
|
+
/** ImportCompletionSuggestionsRequest parent. */
|
78249
|
+
public parent: string;
|
78250
|
+
|
78251
|
+
/** ImportCompletionSuggestionsRequest errorConfig. */
|
78252
|
+
public errorConfig?: (google.cloud.discoveryengine.v1beta.IImportErrorConfig|null);
|
78253
|
+
|
78254
|
+
/** ImportCompletionSuggestionsRequest source. */
|
78255
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource");
|
78256
|
+
|
78257
|
+
/**
|
78258
|
+
* Creates a new ImportCompletionSuggestionsRequest instance using the specified properties.
|
78259
|
+
* @param [properties] Properties to set
|
78260
|
+
* @returns ImportCompletionSuggestionsRequest instance
|
78261
|
+
*/
|
78262
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest;
|
78263
|
+
|
78264
|
+
/**
|
78265
|
+
* Encodes the specified ImportCompletionSuggestionsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.verify|verify} messages.
|
78266
|
+
* @param message ImportCompletionSuggestionsRequest message or plain object to encode
|
78267
|
+
* @param [writer] Writer to encode to
|
78268
|
+
* @returns Writer
|
78269
|
+
*/
|
78270
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
78271
|
+
|
78272
|
+
/**
|
78273
|
+
* Encodes the specified ImportCompletionSuggestionsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.verify|verify} messages.
|
78274
|
+
* @param message ImportCompletionSuggestionsRequest message or plain object to encode
|
78275
|
+
* @param [writer] Writer to encode to
|
78276
|
+
* @returns Writer
|
78277
|
+
*/
|
78278
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
78279
|
+
|
78280
|
+
/**
|
78281
|
+
* Decodes an ImportCompletionSuggestionsRequest message from the specified reader or buffer.
|
78282
|
+
* @param reader Reader or buffer to decode from
|
78283
|
+
* @param [length] Message length if known beforehand
|
78284
|
+
* @returns ImportCompletionSuggestionsRequest
|
78285
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78286
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78287
|
+
*/
|
78288
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest;
|
78289
|
+
|
78290
|
+
/**
|
78291
|
+
* Decodes an ImportCompletionSuggestionsRequest message from the specified reader or buffer, length delimited.
|
78292
|
+
* @param reader Reader or buffer to decode from
|
78293
|
+
* @returns ImportCompletionSuggestionsRequest
|
78294
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78295
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78296
|
+
*/
|
78297
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest;
|
78298
|
+
|
78299
|
+
/**
|
78300
|
+
* Verifies an ImportCompletionSuggestionsRequest message.
|
78301
|
+
* @param message Plain object to verify
|
78302
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
78303
|
+
*/
|
78304
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
78305
|
+
|
78306
|
+
/**
|
78307
|
+
* Creates an ImportCompletionSuggestionsRequest message from a plain object. Also converts values to their respective internal types.
|
78308
|
+
* @param object Plain object
|
78309
|
+
* @returns ImportCompletionSuggestionsRequest
|
78310
|
+
*/
|
78311
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest;
|
78312
|
+
|
78313
|
+
/**
|
78314
|
+
* Creates a plain object from an ImportCompletionSuggestionsRequest message. Also converts values to other types if specified.
|
78315
|
+
* @param message ImportCompletionSuggestionsRequest
|
78316
|
+
* @param [options] Conversion options
|
78317
|
+
* @returns Plain object
|
78318
|
+
*/
|
78319
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
78320
|
+
|
78321
|
+
/**
|
78322
|
+
* Converts this ImportCompletionSuggestionsRequest to JSON.
|
78323
|
+
* @returns JSON object
|
78324
|
+
*/
|
78325
|
+
public toJSON(): { [k: string]: any };
|
78326
|
+
|
78327
|
+
/**
|
78328
|
+
* Gets the default type url for ImportCompletionSuggestionsRequest
|
78329
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
78330
|
+
* @returns The default type url
|
78331
|
+
*/
|
78332
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
78333
|
+
}
|
78334
|
+
|
78335
|
+
namespace ImportCompletionSuggestionsRequest {
|
78336
|
+
|
78337
|
+
/** Properties of an InlineSource. */
|
78338
|
+
interface IInlineSource {
|
78339
|
+
|
78340
|
+
/** InlineSource suggestions */
|
78341
|
+
suggestions?: (google.cloud.discoveryengine.v1beta.ICompletionSuggestion[]|null);
|
78342
|
+
}
|
78343
|
+
|
78344
|
+
/** Represents an InlineSource. */
|
78345
|
+
class InlineSource implements IInlineSource {
|
78346
|
+
|
78347
|
+
/**
|
78348
|
+
* Constructs a new InlineSource.
|
78349
|
+
* @param [properties] Properties to set
|
78350
|
+
*/
|
78351
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource);
|
78352
|
+
|
78353
|
+
/** InlineSource suggestions. */
|
78354
|
+
public suggestions: google.cloud.discoveryengine.v1beta.ICompletionSuggestion[];
|
78355
|
+
|
78356
|
+
/**
|
78357
|
+
* Creates a new InlineSource instance using the specified properties.
|
78358
|
+
* @param [properties] Properties to set
|
78359
|
+
* @returns InlineSource instance
|
78360
|
+
*/
|
78361
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource;
|
78362
|
+
|
78363
|
+
/**
|
78364
|
+
* Encodes the specified InlineSource message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource.verify|verify} messages.
|
78365
|
+
* @param message InlineSource message or plain object to encode
|
78366
|
+
* @param [writer] Writer to encode to
|
78367
|
+
* @returns Writer
|
78368
|
+
*/
|
78369
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
78370
|
+
|
78371
|
+
/**
|
78372
|
+
* Encodes the specified InlineSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource.verify|verify} messages.
|
78373
|
+
* @param message InlineSource message or plain object to encode
|
78374
|
+
* @param [writer] Writer to encode to
|
78375
|
+
* @returns Writer
|
78376
|
+
*/
|
78377
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
78378
|
+
|
78379
|
+
/**
|
78380
|
+
* Decodes an InlineSource message from the specified reader or buffer.
|
78381
|
+
* @param reader Reader or buffer to decode from
|
78382
|
+
* @param [length] Message length if known beforehand
|
78383
|
+
* @returns InlineSource
|
78384
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78385
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78386
|
+
*/
|
78387
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource;
|
78388
|
+
|
78389
|
+
/**
|
78390
|
+
* Decodes an InlineSource message from the specified reader or buffer, length delimited.
|
78391
|
+
* @param reader Reader or buffer to decode from
|
78392
|
+
* @returns InlineSource
|
78393
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78394
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78395
|
+
*/
|
78396
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource;
|
78397
|
+
|
78398
|
+
/**
|
78399
|
+
* Verifies an InlineSource message.
|
78400
|
+
* @param message Plain object to verify
|
78401
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
78402
|
+
*/
|
78403
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
78404
|
+
|
78405
|
+
/**
|
78406
|
+
* Creates an InlineSource message from a plain object. Also converts values to their respective internal types.
|
78407
|
+
* @param object Plain object
|
78408
|
+
* @returns InlineSource
|
78409
|
+
*/
|
78410
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource;
|
78411
|
+
|
78412
|
+
/**
|
78413
|
+
* Creates a plain object from an InlineSource message. Also converts values to other types if specified.
|
78414
|
+
* @param message InlineSource
|
78415
|
+
* @param [options] Conversion options
|
78416
|
+
* @returns Plain object
|
78417
|
+
*/
|
78418
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
78419
|
+
|
78420
|
+
/**
|
78421
|
+
* Converts this InlineSource to JSON.
|
78422
|
+
* @returns JSON object
|
78423
|
+
*/
|
78424
|
+
public toJSON(): { [k: string]: any };
|
78425
|
+
|
78426
|
+
/**
|
78427
|
+
* Gets the default type url for InlineSource
|
78428
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
78429
|
+
* @returns The default type url
|
78430
|
+
*/
|
78431
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
78432
|
+
}
|
78433
|
+
}
|
78434
|
+
|
78435
|
+
/** Properties of an ImportCompletionSuggestionsResponse. */
|
78436
|
+
interface IImportCompletionSuggestionsResponse {
|
78437
|
+
|
78438
|
+
/** ImportCompletionSuggestionsResponse errorSamples */
|
78439
|
+
errorSamples?: (google.rpc.IStatus[]|null);
|
78440
|
+
|
78441
|
+
/** ImportCompletionSuggestionsResponse errorConfig */
|
78442
|
+
errorConfig?: (google.cloud.discoveryengine.v1beta.IImportErrorConfig|null);
|
78443
|
+
}
|
78444
|
+
|
78445
|
+
/** Represents an ImportCompletionSuggestionsResponse. */
|
78446
|
+
class ImportCompletionSuggestionsResponse implements IImportCompletionSuggestionsResponse {
|
78447
|
+
|
78448
|
+
/**
|
78449
|
+
* Constructs a new ImportCompletionSuggestionsResponse.
|
78450
|
+
* @param [properties] Properties to set
|
78451
|
+
*/
|
78452
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse);
|
78453
|
+
|
78454
|
+
/** ImportCompletionSuggestionsResponse errorSamples. */
|
78455
|
+
public errorSamples: google.rpc.IStatus[];
|
78456
|
+
|
78457
|
+
/** ImportCompletionSuggestionsResponse errorConfig. */
|
78458
|
+
public errorConfig?: (google.cloud.discoveryengine.v1beta.IImportErrorConfig|null);
|
78459
|
+
|
78460
|
+
/**
|
78461
|
+
* Creates a new ImportCompletionSuggestionsResponse instance using the specified properties.
|
78462
|
+
* @param [properties] Properties to set
|
78463
|
+
* @returns ImportCompletionSuggestionsResponse instance
|
78464
|
+
*/
|
78465
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse;
|
78466
|
+
|
78467
|
+
/**
|
78468
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
78469
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
78470
|
+
* @param [writer] Writer to encode to
|
78471
|
+
* @returns Writer
|
78472
|
+
*/
|
78473
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
78474
|
+
|
78475
|
+
/**
|
78476
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
78477
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
78478
|
+
* @param [writer] Writer to encode to
|
78479
|
+
* @returns Writer
|
78480
|
+
*/
|
78481
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
78482
|
+
|
78483
|
+
/**
|
78484
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer.
|
78485
|
+
* @param reader Reader or buffer to decode from
|
78486
|
+
* @param [length] Message length if known beforehand
|
78487
|
+
* @returns ImportCompletionSuggestionsResponse
|
78488
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78489
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78490
|
+
*/
|
78491
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse;
|
78492
|
+
|
78493
|
+
/**
|
78494
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer, length delimited.
|
78495
|
+
* @param reader Reader or buffer to decode from
|
78496
|
+
* @returns ImportCompletionSuggestionsResponse
|
78497
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78498
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78499
|
+
*/
|
78500
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse;
|
78501
|
+
|
78502
|
+
/**
|
78503
|
+
* Verifies an ImportCompletionSuggestionsResponse message.
|
78504
|
+
* @param message Plain object to verify
|
78505
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
78506
|
+
*/
|
78507
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
78508
|
+
|
78509
|
+
/**
|
78510
|
+
* Creates an ImportCompletionSuggestionsResponse message from a plain object. Also converts values to their respective internal types.
|
78511
|
+
* @param object Plain object
|
78512
|
+
* @returns ImportCompletionSuggestionsResponse
|
78513
|
+
*/
|
78514
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse;
|
78515
|
+
|
78516
|
+
/**
|
78517
|
+
* Creates a plain object from an ImportCompletionSuggestionsResponse message. Also converts values to other types if specified.
|
78518
|
+
* @param message ImportCompletionSuggestionsResponse
|
78519
|
+
* @param [options] Conversion options
|
78520
|
+
* @returns Plain object
|
78521
|
+
*/
|
78522
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
78523
|
+
|
78524
|
+
/**
|
78525
|
+
* Converts this ImportCompletionSuggestionsResponse to JSON.
|
78526
|
+
* @returns JSON object
|
78527
|
+
*/
|
78528
|
+
public toJSON(): { [k: string]: any };
|
78529
|
+
|
78530
|
+
/**
|
78531
|
+
* Gets the default type url for ImportCompletionSuggestionsResponse
|
78532
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
78533
|
+
* @returns The default type url
|
78534
|
+
*/
|
78535
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
78536
|
+
}
|
78537
|
+
|
78538
|
+
/** Properties of an ImportCompletionSuggestionsMetadata. */
|
78539
|
+
interface IImportCompletionSuggestionsMetadata {
|
78540
|
+
|
78541
|
+
/** ImportCompletionSuggestionsMetadata createTime */
|
78542
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
78543
|
+
|
78544
|
+
/** ImportCompletionSuggestionsMetadata updateTime */
|
78545
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
78546
|
+
|
78547
|
+
/** ImportCompletionSuggestionsMetadata successCount */
|
78548
|
+
successCount?: (number|Long|string|null);
|
78549
|
+
|
78550
|
+
/** ImportCompletionSuggestionsMetadata failureCount */
|
78551
|
+
failureCount?: (number|Long|string|null);
|
78552
|
+
}
|
78553
|
+
|
78554
|
+
/** Represents an ImportCompletionSuggestionsMetadata. */
|
78555
|
+
class ImportCompletionSuggestionsMetadata implements IImportCompletionSuggestionsMetadata {
|
78556
|
+
|
78557
|
+
/**
|
78558
|
+
* Constructs a new ImportCompletionSuggestionsMetadata.
|
78559
|
+
* @param [properties] Properties to set
|
78560
|
+
*/
|
78561
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata);
|
78562
|
+
|
78563
|
+
/** ImportCompletionSuggestionsMetadata createTime. */
|
78564
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
78565
|
+
|
78566
|
+
/** ImportCompletionSuggestionsMetadata updateTime. */
|
78567
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
78568
|
+
|
78569
|
+
/** ImportCompletionSuggestionsMetadata successCount. */
|
78570
|
+
public successCount: (number|Long|string);
|
78571
|
+
|
78572
|
+
/** ImportCompletionSuggestionsMetadata failureCount. */
|
78573
|
+
public failureCount: (number|Long|string);
|
78574
|
+
|
78575
|
+
/**
|
78576
|
+
* Creates a new ImportCompletionSuggestionsMetadata instance using the specified properties.
|
78577
|
+
* @param [properties] Properties to set
|
78578
|
+
* @returns ImportCompletionSuggestionsMetadata instance
|
78579
|
+
*/
|
78580
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata;
|
78581
|
+
|
78582
|
+
/**
|
78583
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
78584
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
78585
|
+
* @param [writer] Writer to encode to
|
78586
|
+
* @returns Writer
|
78587
|
+
*/
|
78588
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
78589
|
+
|
78590
|
+
/**
|
78591
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
78592
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
78593
|
+
* @param [writer] Writer to encode to
|
78594
|
+
* @returns Writer
|
78595
|
+
*/
|
78596
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
78597
|
+
|
78598
|
+
/**
|
78599
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer.
|
78600
|
+
* @param reader Reader or buffer to decode from
|
78601
|
+
* @param [length] Message length if known beforehand
|
78602
|
+
* @returns ImportCompletionSuggestionsMetadata
|
78603
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78604
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78605
|
+
*/
|
78606
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata;
|
78607
|
+
|
78608
|
+
/**
|
78609
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer, length delimited.
|
78610
|
+
* @param reader Reader or buffer to decode from
|
78611
|
+
* @returns ImportCompletionSuggestionsMetadata
|
78612
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
78613
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
78614
|
+
*/
|
78615
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata;
|
78616
|
+
|
78617
|
+
/**
|
78618
|
+
* Verifies an ImportCompletionSuggestionsMetadata message.
|
78619
|
+
* @param message Plain object to verify
|
78620
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
78621
|
+
*/
|
78622
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
78623
|
+
|
78624
|
+
/**
|
78625
|
+
* Creates an ImportCompletionSuggestionsMetadata message from a plain object. Also converts values to their respective internal types.
|
78626
|
+
* @param object Plain object
|
78627
|
+
* @returns ImportCompletionSuggestionsMetadata
|
78628
|
+
*/
|
78629
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata;
|
78630
|
+
|
78631
|
+
/**
|
78632
|
+
* Creates a plain object from an ImportCompletionSuggestionsMetadata message. Also converts values to other types if specified.
|
78633
|
+
* @param message ImportCompletionSuggestionsMetadata
|
78634
|
+
* @param [options] Conversion options
|
78635
|
+
* @returns Plain object
|
78636
|
+
*/
|
78637
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
78638
|
+
|
78639
|
+
/**
|
78640
|
+
* Converts this ImportCompletionSuggestionsMetadata to JSON.
|
78641
|
+
* @returns JSON object
|
78642
|
+
*/
|
78643
|
+
public toJSON(): { [k: string]: any };
|
78644
|
+
|
78645
|
+
/**
|
78646
|
+
* Gets the default type url for ImportCompletionSuggestionsMetadata
|
78647
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
78648
|
+
* @returns The default type url
|
78649
|
+
*/
|
78650
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
78651
|
+
}
|
78652
|
+
|
77893
78653
|
/** Properties of an ImportSampleQueriesRequest. */
|
77894
78654
|
interface IImportSampleQueriesRequest {
|
77895
78655
|
|
@@ -79968,6 +80728,327 @@ export namespace google {
|
|
79968
80728
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
79969
80729
|
}
|
79970
80730
|
|
80731
|
+
/** Properties of a PurgeUserEventsRequest. */
|
80732
|
+
interface IPurgeUserEventsRequest {
|
80733
|
+
|
80734
|
+
/** PurgeUserEventsRequest parent */
|
80735
|
+
parent?: (string|null);
|
80736
|
+
|
80737
|
+
/** PurgeUserEventsRequest filter */
|
80738
|
+
filter?: (string|null);
|
80739
|
+
|
80740
|
+
/** PurgeUserEventsRequest force */
|
80741
|
+
force?: (boolean|null);
|
80742
|
+
}
|
80743
|
+
|
80744
|
+
/** Represents a PurgeUserEventsRequest. */
|
80745
|
+
class PurgeUserEventsRequest implements IPurgeUserEventsRequest {
|
80746
|
+
|
80747
|
+
/**
|
80748
|
+
* Constructs a new PurgeUserEventsRequest.
|
80749
|
+
* @param [properties] Properties to set
|
80750
|
+
*/
|
80751
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest);
|
80752
|
+
|
80753
|
+
/** PurgeUserEventsRequest parent. */
|
80754
|
+
public parent: string;
|
80755
|
+
|
80756
|
+
/** PurgeUserEventsRequest filter. */
|
80757
|
+
public filter: string;
|
80758
|
+
|
80759
|
+
/** PurgeUserEventsRequest force. */
|
80760
|
+
public force: boolean;
|
80761
|
+
|
80762
|
+
/**
|
80763
|
+
* Creates a new PurgeUserEventsRequest instance using the specified properties.
|
80764
|
+
* @param [properties] Properties to set
|
80765
|
+
* @returns PurgeUserEventsRequest instance
|
80766
|
+
*/
|
80767
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest): google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest;
|
80768
|
+
|
80769
|
+
/**
|
80770
|
+
* Encodes the specified PurgeUserEventsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest.verify|verify} messages.
|
80771
|
+
* @param message PurgeUserEventsRequest message or plain object to encode
|
80772
|
+
* @param [writer] Writer to encode to
|
80773
|
+
* @returns Writer
|
80774
|
+
*/
|
80775
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
80776
|
+
|
80777
|
+
/**
|
80778
|
+
* Encodes the specified PurgeUserEventsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest.verify|verify} messages.
|
80779
|
+
* @param message PurgeUserEventsRequest message or plain object to encode
|
80780
|
+
* @param [writer] Writer to encode to
|
80781
|
+
* @returns Writer
|
80782
|
+
*/
|
80783
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
80784
|
+
|
80785
|
+
/**
|
80786
|
+
* Decodes a PurgeUserEventsRequest message from the specified reader or buffer.
|
80787
|
+
* @param reader Reader or buffer to decode from
|
80788
|
+
* @param [length] Message length if known beforehand
|
80789
|
+
* @returns PurgeUserEventsRequest
|
80790
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
80791
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
80792
|
+
*/
|
80793
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest;
|
80794
|
+
|
80795
|
+
/**
|
80796
|
+
* Decodes a PurgeUserEventsRequest message from the specified reader or buffer, length delimited.
|
80797
|
+
* @param reader Reader or buffer to decode from
|
80798
|
+
* @returns PurgeUserEventsRequest
|
80799
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
80800
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
80801
|
+
*/
|
80802
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest;
|
80803
|
+
|
80804
|
+
/**
|
80805
|
+
* Verifies a PurgeUserEventsRequest message.
|
80806
|
+
* @param message Plain object to verify
|
80807
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
80808
|
+
*/
|
80809
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
80810
|
+
|
80811
|
+
/**
|
80812
|
+
* Creates a PurgeUserEventsRequest message from a plain object. Also converts values to their respective internal types.
|
80813
|
+
* @param object Plain object
|
80814
|
+
* @returns PurgeUserEventsRequest
|
80815
|
+
*/
|
80816
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest;
|
80817
|
+
|
80818
|
+
/**
|
80819
|
+
* Creates a plain object from a PurgeUserEventsRequest message. Also converts values to other types if specified.
|
80820
|
+
* @param message PurgeUserEventsRequest
|
80821
|
+
* @param [options] Conversion options
|
80822
|
+
* @returns Plain object
|
80823
|
+
*/
|
80824
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
80825
|
+
|
80826
|
+
/**
|
80827
|
+
* Converts this PurgeUserEventsRequest to JSON.
|
80828
|
+
* @returns JSON object
|
80829
|
+
*/
|
80830
|
+
public toJSON(): { [k: string]: any };
|
80831
|
+
|
80832
|
+
/**
|
80833
|
+
* Gets the default type url for PurgeUserEventsRequest
|
80834
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
80835
|
+
* @returns The default type url
|
80836
|
+
*/
|
80837
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
80838
|
+
}
|
80839
|
+
|
80840
|
+
/** Properties of a PurgeUserEventsResponse. */
|
80841
|
+
interface IPurgeUserEventsResponse {
|
80842
|
+
|
80843
|
+
/** PurgeUserEventsResponse purgeCount */
|
80844
|
+
purgeCount?: (number|Long|string|null);
|
80845
|
+
}
|
80846
|
+
|
80847
|
+
/** Represents a PurgeUserEventsResponse. */
|
80848
|
+
class PurgeUserEventsResponse implements IPurgeUserEventsResponse {
|
80849
|
+
|
80850
|
+
/**
|
80851
|
+
* Constructs a new PurgeUserEventsResponse.
|
80852
|
+
* @param [properties] Properties to set
|
80853
|
+
*/
|
80854
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsResponse);
|
80855
|
+
|
80856
|
+
/** PurgeUserEventsResponse purgeCount. */
|
80857
|
+
public purgeCount: (number|Long|string);
|
80858
|
+
|
80859
|
+
/**
|
80860
|
+
* Creates a new PurgeUserEventsResponse instance using the specified properties.
|
80861
|
+
* @param [properties] Properties to set
|
80862
|
+
* @returns PurgeUserEventsResponse instance
|
80863
|
+
*/
|
80864
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsResponse): google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse;
|
80865
|
+
|
80866
|
+
/**
|
80867
|
+
* Encodes the specified PurgeUserEventsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse.verify|verify} messages.
|
80868
|
+
* @param message PurgeUserEventsResponse message or plain object to encode
|
80869
|
+
* @param [writer] Writer to encode to
|
80870
|
+
* @returns Writer
|
80871
|
+
*/
|
80872
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
80873
|
+
|
80874
|
+
/**
|
80875
|
+
* Encodes the specified PurgeUserEventsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse.verify|verify} messages.
|
80876
|
+
* @param message PurgeUserEventsResponse message or plain object to encode
|
80877
|
+
* @param [writer] Writer to encode to
|
80878
|
+
* @returns Writer
|
80879
|
+
*/
|
80880
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
80881
|
+
|
80882
|
+
/**
|
80883
|
+
* Decodes a PurgeUserEventsResponse message from the specified reader or buffer.
|
80884
|
+
* @param reader Reader or buffer to decode from
|
80885
|
+
* @param [length] Message length if known beforehand
|
80886
|
+
* @returns PurgeUserEventsResponse
|
80887
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
80888
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
80889
|
+
*/
|
80890
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse;
|
80891
|
+
|
80892
|
+
/**
|
80893
|
+
* Decodes a PurgeUserEventsResponse message from the specified reader or buffer, length delimited.
|
80894
|
+
* @param reader Reader or buffer to decode from
|
80895
|
+
* @returns PurgeUserEventsResponse
|
80896
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
80897
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
80898
|
+
*/
|
80899
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse;
|
80900
|
+
|
80901
|
+
/**
|
80902
|
+
* Verifies a PurgeUserEventsResponse message.
|
80903
|
+
* @param message Plain object to verify
|
80904
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
80905
|
+
*/
|
80906
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
80907
|
+
|
80908
|
+
/**
|
80909
|
+
* Creates a PurgeUserEventsResponse message from a plain object. Also converts values to their respective internal types.
|
80910
|
+
* @param object Plain object
|
80911
|
+
* @returns PurgeUserEventsResponse
|
80912
|
+
*/
|
80913
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse;
|
80914
|
+
|
80915
|
+
/**
|
80916
|
+
* Creates a plain object from a PurgeUserEventsResponse message. Also converts values to other types if specified.
|
80917
|
+
* @param message PurgeUserEventsResponse
|
80918
|
+
* @param [options] Conversion options
|
80919
|
+
* @returns Plain object
|
80920
|
+
*/
|
80921
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
80922
|
+
|
80923
|
+
/**
|
80924
|
+
* Converts this PurgeUserEventsResponse to JSON.
|
80925
|
+
* @returns JSON object
|
80926
|
+
*/
|
80927
|
+
public toJSON(): { [k: string]: any };
|
80928
|
+
|
80929
|
+
/**
|
80930
|
+
* Gets the default type url for PurgeUserEventsResponse
|
80931
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
80932
|
+
* @returns The default type url
|
80933
|
+
*/
|
80934
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
80935
|
+
}
|
80936
|
+
|
80937
|
+
/** Properties of a PurgeUserEventsMetadata. */
|
80938
|
+
interface IPurgeUserEventsMetadata {
|
80939
|
+
|
80940
|
+
/** PurgeUserEventsMetadata createTime */
|
80941
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
80942
|
+
|
80943
|
+
/** PurgeUserEventsMetadata updateTime */
|
80944
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
80945
|
+
|
80946
|
+
/** PurgeUserEventsMetadata successCount */
|
80947
|
+
successCount?: (number|Long|string|null);
|
80948
|
+
|
80949
|
+
/** PurgeUserEventsMetadata failureCount */
|
80950
|
+
failureCount?: (number|Long|string|null);
|
80951
|
+
}
|
80952
|
+
|
80953
|
+
/** Represents a PurgeUserEventsMetadata. */
|
80954
|
+
class PurgeUserEventsMetadata implements IPurgeUserEventsMetadata {
|
80955
|
+
|
80956
|
+
/**
|
80957
|
+
* Constructs a new PurgeUserEventsMetadata.
|
80958
|
+
* @param [properties] Properties to set
|
80959
|
+
*/
|
80960
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsMetadata);
|
80961
|
+
|
80962
|
+
/** PurgeUserEventsMetadata createTime. */
|
80963
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
80964
|
+
|
80965
|
+
/** PurgeUserEventsMetadata updateTime. */
|
80966
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
80967
|
+
|
80968
|
+
/** PurgeUserEventsMetadata successCount. */
|
80969
|
+
public successCount: (number|Long|string);
|
80970
|
+
|
80971
|
+
/** PurgeUserEventsMetadata failureCount. */
|
80972
|
+
public failureCount: (number|Long|string);
|
80973
|
+
|
80974
|
+
/**
|
80975
|
+
* Creates a new PurgeUserEventsMetadata instance using the specified properties.
|
80976
|
+
* @param [properties] Properties to set
|
80977
|
+
* @returns PurgeUserEventsMetadata instance
|
80978
|
+
*/
|
80979
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeUserEventsMetadata): google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata;
|
80980
|
+
|
80981
|
+
/**
|
80982
|
+
* Encodes the specified PurgeUserEventsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata.verify|verify} messages.
|
80983
|
+
* @param message PurgeUserEventsMetadata message or plain object to encode
|
80984
|
+
* @param [writer] Writer to encode to
|
80985
|
+
* @returns Writer
|
80986
|
+
*/
|
80987
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
80988
|
+
|
80989
|
+
/**
|
80990
|
+
* Encodes the specified PurgeUserEventsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata.verify|verify} messages.
|
80991
|
+
* @param message PurgeUserEventsMetadata message or plain object to encode
|
80992
|
+
* @param [writer] Writer to encode to
|
80993
|
+
* @returns Writer
|
80994
|
+
*/
|
80995
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeUserEventsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
80996
|
+
|
80997
|
+
/**
|
80998
|
+
* Decodes a PurgeUserEventsMetadata message from the specified reader or buffer.
|
80999
|
+
* @param reader Reader or buffer to decode from
|
81000
|
+
* @param [length] Message length if known beforehand
|
81001
|
+
* @returns PurgeUserEventsMetadata
|
81002
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81003
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81004
|
+
*/
|
81005
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata;
|
81006
|
+
|
81007
|
+
/**
|
81008
|
+
* Decodes a PurgeUserEventsMetadata message from the specified reader or buffer, length delimited.
|
81009
|
+
* @param reader Reader or buffer to decode from
|
81010
|
+
* @returns PurgeUserEventsMetadata
|
81011
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81012
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81013
|
+
*/
|
81014
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata;
|
81015
|
+
|
81016
|
+
/**
|
81017
|
+
* Verifies a PurgeUserEventsMetadata message.
|
81018
|
+
* @param message Plain object to verify
|
81019
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
81020
|
+
*/
|
81021
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
81022
|
+
|
81023
|
+
/**
|
81024
|
+
* Creates a PurgeUserEventsMetadata message from a plain object. Also converts values to their respective internal types.
|
81025
|
+
* @param object Plain object
|
81026
|
+
* @returns PurgeUserEventsMetadata
|
81027
|
+
*/
|
81028
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata;
|
81029
|
+
|
81030
|
+
/**
|
81031
|
+
* Creates a plain object from a PurgeUserEventsMetadata message. Also converts values to other types if specified.
|
81032
|
+
* @param message PurgeUserEventsMetadata
|
81033
|
+
* @param [options] Conversion options
|
81034
|
+
* @returns Plain object
|
81035
|
+
*/
|
81036
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
81037
|
+
|
81038
|
+
/**
|
81039
|
+
* Converts this PurgeUserEventsMetadata to JSON.
|
81040
|
+
* @returns JSON object
|
81041
|
+
*/
|
81042
|
+
public toJSON(): { [k: string]: any };
|
81043
|
+
|
81044
|
+
/**
|
81045
|
+
* Gets the default type url for PurgeUserEventsMetadata
|
81046
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
81047
|
+
* @returns The default type url
|
81048
|
+
*/
|
81049
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
81050
|
+
}
|
81051
|
+
|
79971
81052
|
/** Properties of a PurgeDocumentsRequest. */
|
79972
81053
|
interface IPurgeDocumentsRequest {
|
79973
81054
|
|
@@ -80604,6 +81685,309 @@ export namespace google {
|
|
80604
81685
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
80605
81686
|
}
|
80606
81687
|
|
81688
|
+
/** Properties of a PurgeCompletionSuggestionsRequest. */
|
81689
|
+
interface IPurgeCompletionSuggestionsRequest {
|
81690
|
+
|
81691
|
+
/** PurgeCompletionSuggestionsRequest parent */
|
81692
|
+
parent?: (string|null);
|
81693
|
+
}
|
81694
|
+
|
81695
|
+
/** Represents a PurgeCompletionSuggestionsRequest. */
|
81696
|
+
class PurgeCompletionSuggestionsRequest implements IPurgeCompletionSuggestionsRequest {
|
81697
|
+
|
81698
|
+
/**
|
81699
|
+
* Constructs a new PurgeCompletionSuggestionsRequest.
|
81700
|
+
* @param [properties] Properties to set
|
81701
|
+
*/
|
81702
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest);
|
81703
|
+
|
81704
|
+
/** PurgeCompletionSuggestionsRequest parent. */
|
81705
|
+
public parent: string;
|
81706
|
+
|
81707
|
+
/**
|
81708
|
+
* Creates a new PurgeCompletionSuggestionsRequest instance using the specified properties.
|
81709
|
+
* @param [properties] Properties to set
|
81710
|
+
* @returns PurgeCompletionSuggestionsRequest instance
|
81711
|
+
*/
|
81712
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest;
|
81713
|
+
|
81714
|
+
/**
|
81715
|
+
* Encodes the specified PurgeCompletionSuggestionsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest.verify|verify} messages.
|
81716
|
+
* @param message PurgeCompletionSuggestionsRequest message or plain object to encode
|
81717
|
+
* @param [writer] Writer to encode to
|
81718
|
+
* @returns Writer
|
81719
|
+
*/
|
81720
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
81721
|
+
|
81722
|
+
/**
|
81723
|
+
* Encodes the specified PurgeCompletionSuggestionsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest.verify|verify} messages.
|
81724
|
+
* @param message PurgeCompletionSuggestionsRequest message or plain object to encode
|
81725
|
+
* @param [writer] Writer to encode to
|
81726
|
+
* @returns Writer
|
81727
|
+
*/
|
81728
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
81729
|
+
|
81730
|
+
/**
|
81731
|
+
* Decodes a PurgeCompletionSuggestionsRequest message from the specified reader or buffer.
|
81732
|
+
* @param reader Reader or buffer to decode from
|
81733
|
+
* @param [length] Message length if known beforehand
|
81734
|
+
* @returns PurgeCompletionSuggestionsRequest
|
81735
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81736
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81737
|
+
*/
|
81738
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest;
|
81739
|
+
|
81740
|
+
/**
|
81741
|
+
* Decodes a PurgeCompletionSuggestionsRequest message from the specified reader or buffer, length delimited.
|
81742
|
+
* @param reader Reader or buffer to decode from
|
81743
|
+
* @returns PurgeCompletionSuggestionsRequest
|
81744
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81745
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81746
|
+
*/
|
81747
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest;
|
81748
|
+
|
81749
|
+
/**
|
81750
|
+
* Verifies a PurgeCompletionSuggestionsRequest message.
|
81751
|
+
* @param message Plain object to verify
|
81752
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
81753
|
+
*/
|
81754
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
81755
|
+
|
81756
|
+
/**
|
81757
|
+
* Creates a PurgeCompletionSuggestionsRequest message from a plain object. Also converts values to their respective internal types.
|
81758
|
+
* @param object Plain object
|
81759
|
+
* @returns PurgeCompletionSuggestionsRequest
|
81760
|
+
*/
|
81761
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest;
|
81762
|
+
|
81763
|
+
/**
|
81764
|
+
* Creates a plain object from a PurgeCompletionSuggestionsRequest message. Also converts values to other types if specified.
|
81765
|
+
* @param message PurgeCompletionSuggestionsRequest
|
81766
|
+
* @param [options] Conversion options
|
81767
|
+
* @returns Plain object
|
81768
|
+
*/
|
81769
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
81770
|
+
|
81771
|
+
/**
|
81772
|
+
* Converts this PurgeCompletionSuggestionsRequest to JSON.
|
81773
|
+
* @returns JSON object
|
81774
|
+
*/
|
81775
|
+
public toJSON(): { [k: string]: any };
|
81776
|
+
|
81777
|
+
/**
|
81778
|
+
* Gets the default type url for PurgeCompletionSuggestionsRequest
|
81779
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
81780
|
+
* @returns The default type url
|
81781
|
+
*/
|
81782
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
81783
|
+
}
|
81784
|
+
|
81785
|
+
/** Properties of a PurgeCompletionSuggestionsResponse. */
|
81786
|
+
interface IPurgeCompletionSuggestionsResponse {
|
81787
|
+
|
81788
|
+
/** PurgeCompletionSuggestionsResponse purgeSucceeded */
|
81789
|
+
purgeSucceeded?: (boolean|null);
|
81790
|
+
|
81791
|
+
/** PurgeCompletionSuggestionsResponse errorSamples */
|
81792
|
+
errorSamples?: (google.rpc.IStatus[]|null);
|
81793
|
+
}
|
81794
|
+
|
81795
|
+
/** Represents a PurgeCompletionSuggestionsResponse. */
|
81796
|
+
class PurgeCompletionSuggestionsResponse implements IPurgeCompletionSuggestionsResponse {
|
81797
|
+
|
81798
|
+
/**
|
81799
|
+
* Constructs a new PurgeCompletionSuggestionsResponse.
|
81800
|
+
* @param [properties] Properties to set
|
81801
|
+
*/
|
81802
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse);
|
81803
|
+
|
81804
|
+
/** PurgeCompletionSuggestionsResponse purgeSucceeded. */
|
81805
|
+
public purgeSucceeded: boolean;
|
81806
|
+
|
81807
|
+
/** PurgeCompletionSuggestionsResponse errorSamples. */
|
81808
|
+
public errorSamples: google.rpc.IStatus[];
|
81809
|
+
|
81810
|
+
/**
|
81811
|
+
* Creates a new PurgeCompletionSuggestionsResponse instance using the specified properties.
|
81812
|
+
* @param [properties] Properties to set
|
81813
|
+
* @returns PurgeCompletionSuggestionsResponse instance
|
81814
|
+
*/
|
81815
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse;
|
81816
|
+
|
81817
|
+
/**
|
81818
|
+
* Encodes the specified PurgeCompletionSuggestionsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse.verify|verify} messages.
|
81819
|
+
* @param message PurgeCompletionSuggestionsResponse message or plain object to encode
|
81820
|
+
* @param [writer] Writer to encode to
|
81821
|
+
* @returns Writer
|
81822
|
+
*/
|
81823
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
81824
|
+
|
81825
|
+
/**
|
81826
|
+
* Encodes the specified PurgeCompletionSuggestionsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse.verify|verify} messages.
|
81827
|
+
* @param message PurgeCompletionSuggestionsResponse message or plain object to encode
|
81828
|
+
* @param [writer] Writer to encode to
|
81829
|
+
* @returns Writer
|
81830
|
+
*/
|
81831
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
81832
|
+
|
81833
|
+
/**
|
81834
|
+
* Decodes a PurgeCompletionSuggestionsResponse message from the specified reader or buffer.
|
81835
|
+
* @param reader Reader or buffer to decode from
|
81836
|
+
* @param [length] Message length if known beforehand
|
81837
|
+
* @returns PurgeCompletionSuggestionsResponse
|
81838
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81839
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81840
|
+
*/
|
81841
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse;
|
81842
|
+
|
81843
|
+
/**
|
81844
|
+
* Decodes a PurgeCompletionSuggestionsResponse message from the specified reader or buffer, length delimited.
|
81845
|
+
* @param reader Reader or buffer to decode from
|
81846
|
+
* @returns PurgeCompletionSuggestionsResponse
|
81847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81849
|
+
*/
|
81850
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse;
|
81851
|
+
|
81852
|
+
/**
|
81853
|
+
* Verifies a PurgeCompletionSuggestionsResponse message.
|
81854
|
+
* @param message Plain object to verify
|
81855
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
81856
|
+
*/
|
81857
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
81858
|
+
|
81859
|
+
/**
|
81860
|
+
* Creates a PurgeCompletionSuggestionsResponse message from a plain object. Also converts values to their respective internal types.
|
81861
|
+
* @param object Plain object
|
81862
|
+
* @returns PurgeCompletionSuggestionsResponse
|
81863
|
+
*/
|
81864
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse;
|
81865
|
+
|
81866
|
+
/**
|
81867
|
+
* Creates a plain object from a PurgeCompletionSuggestionsResponse message. Also converts values to other types if specified.
|
81868
|
+
* @param message PurgeCompletionSuggestionsResponse
|
81869
|
+
* @param [options] Conversion options
|
81870
|
+
* @returns Plain object
|
81871
|
+
*/
|
81872
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
81873
|
+
|
81874
|
+
/**
|
81875
|
+
* Converts this PurgeCompletionSuggestionsResponse to JSON.
|
81876
|
+
* @returns JSON object
|
81877
|
+
*/
|
81878
|
+
public toJSON(): { [k: string]: any };
|
81879
|
+
|
81880
|
+
/**
|
81881
|
+
* Gets the default type url for PurgeCompletionSuggestionsResponse
|
81882
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
81883
|
+
* @returns The default type url
|
81884
|
+
*/
|
81885
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
81886
|
+
}
|
81887
|
+
|
81888
|
+
/** Properties of a PurgeCompletionSuggestionsMetadata. */
|
81889
|
+
interface IPurgeCompletionSuggestionsMetadata {
|
81890
|
+
|
81891
|
+
/** PurgeCompletionSuggestionsMetadata createTime */
|
81892
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
81893
|
+
|
81894
|
+
/** PurgeCompletionSuggestionsMetadata updateTime */
|
81895
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
81896
|
+
}
|
81897
|
+
|
81898
|
+
/** Represents a PurgeCompletionSuggestionsMetadata. */
|
81899
|
+
class PurgeCompletionSuggestionsMetadata implements IPurgeCompletionSuggestionsMetadata {
|
81900
|
+
|
81901
|
+
/**
|
81902
|
+
* Constructs a new PurgeCompletionSuggestionsMetadata.
|
81903
|
+
* @param [properties] Properties to set
|
81904
|
+
*/
|
81905
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata);
|
81906
|
+
|
81907
|
+
/** PurgeCompletionSuggestionsMetadata createTime. */
|
81908
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
81909
|
+
|
81910
|
+
/** PurgeCompletionSuggestionsMetadata updateTime. */
|
81911
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
81912
|
+
|
81913
|
+
/**
|
81914
|
+
* Creates a new PurgeCompletionSuggestionsMetadata instance using the specified properties.
|
81915
|
+
* @param [properties] Properties to set
|
81916
|
+
* @returns PurgeCompletionSuggestionsMetadata instance
|
81917
|
+
*/
|
81918
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata;
|
81919
|
+
|
81920
|
+
/**
|
81921
|
+
* Encodes the specified PurgeCompletionSuggestionsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata.verify|verify} messages.
|
81922
|
+
* @param message PurgeCompletionSuggestionsMetadata message or plain object to encode
|
81923
|
+
* @param [writer] Writer to encode to
|
81924
|
+
* @returns Writer
|
81925
|
+
*/
|
81926
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
81927
|
+
|
81928
|
+
/**
|
81929
|
+
* Encodes the specified PurgeCompletionSuggestionsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata.verify|verify} messages.
|
81930
|
+
* @param message PurgeCompletionSuggestionsMetadata message or plain object to encode
|
81931
|
+
* @param [writer] Writer to encode to
|
81932
|
+
* @returns Writer
|
81933
|
+
*/
|
81934
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.IPurgeCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
81935
|
+
|
81936
|
+
/**
|
81937
|
+
* Decodes a PurgeCompletionSuggestionsMetadata message from the specified reader or buffer.
|
81938
|
+
* @param reader Reader or buffer to decode from
|
81939
|
+
* @param [length] Message length if known beforehand
|
81940
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
81941
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81942
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81943
|
+
*/
|
81944
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata;
|
81945
|
+
|
81946
|
+
/**
|
81947
|
+
* Decodes a PurgeCompletionSuggestionsMetadata message from the specified reader or buffer, length delimited.
|
81948
|
+
* @param reader Reader or buffer to decode from
|
81949
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
81950
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
81951
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
81952
|
+
*/
|
81953
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata;
|
81954
|
+
|
81955
|
+
/**
|
81956
|
+
* Verifies a PurgeCompletionSuggestionsMetadata message.
|
81957
|
+
* @param message Plain object to verify
|
81958
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
81959
|
+
*/
|
81960
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
81961
|
+
|
81962
|
+
/**
|
81963
|
+
* Creates a PurgeCompletionSuggestionsMetadata message from a plain object. Also converts values to their respective internal types.
|
81964
|
+
* @param object Plain object
|
81965
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
81966
|
+
*/
|
81967
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata;
|
81968
|
+
|
81969
|
+
/**
|
81970
|
+
* Creates a plain object from a PurgeCompletionSuggestionsMetadata message. Also converts values to other types if specified.
|
81971
|
+
* @param message PurgeCompletionSuggestionsMetadata
|
81972
|
+
* @param [options] Conversion options
|
81973
|
+
* @returns Plain object
|
81974
|
+
*/
|
81975
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
81976
|
+
|
81977
|
+
/**
|
81978
|
+
* Converts this PurgeCompletionSuggestionsMetadata to JSON.
|
81979
|
+
* @returns JSON object
|
81980
|
+
*/
|
81981
|
+
public toJSON(): { [k: string]: any };
|
81982
|
+
|
81983
|
+
/**
|
81984
|
+
* Gets the default type url for PurgeCompletionSuggestionsMetadata
|
81985
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
81986
|
+
* @returns The default type url
|
81987
|
+
*/
|
81988
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
81989
|
+
}
|
81990
|
+
|
80607
81991
|
/** Properties of a Condition. */
|
80608
81992
|
interface ICondition {
|
80609
81993
|
|
@@ -82998,6 +84382,12 @@ export namespace google {
|
|
82998
84382
|
/** SearchRequest userInfo */
|
82999
84383
|
userInfo?: (google.cloud.discoveryengine.v1beta.IUserInfo|null);
|
83000
84384
|
|
84385
|
+
/** SearchRequest languageCode */
|
84386
|
+
languageCode?: (string|null);
|
84387
|
+
|
84388
|
+
/** SearchRequest regionCode */
|
84389
|
+
regionCode?: (string|null);
|
84390
|
+
|
83001
84391
|
/** SearchRequest facetSpecs */
|
83002
84392
|
facetSpecs?: (google.cloud.discoveryengine.v1beta.SearchRequest.IFacetSpec[]|null);
|
83003
84393
|
|
@@ -83030,6 +84420,18 @@ export namespace google {
|
|
83030
84420
|
|
83031
84421
|
/** SearchRequest userLabels */
|
83032
84422
|
userLabels?: ({ [k: string]: string }|null);
|
84423
|
+
|
84424
|
+
/** SearchRequest naturalLanguageQueryUnderstandingSpec */
|
84425
|
+
naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
|
84426
|
+
|
84427
|
+
/** SearchRequest searchAsYouTypeSpec */
|
84428
|
+
searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec|null);
|
84429
|
+
|
84430
|
+
/** SearchRequest session */
|
84431
|
+
session?: (string|null);
|
84432
|
+
|
84433
|
+
/** SearchRequest sessionSpec */
|
84434
|
+
sessionSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec|null);
|
83033
84435
|
}
|
83034
84436
|
|
83035
84437
|
/** Represents a SearchRequest. */
|
@@ -83077,6 +84479,12 @@ export namespace google {
|
|
83077
84479
|
/** SearchRequest userInfo. */
|
83078
84480
|
public userInfo?: (google.cloud.discoveryengine.v1beta.IUserInfo|null);
|
83079
84481
|
|
84482
|
+
/** SearchRequest languageCode. */
|
84483
|
+
public languageCode: string;
|
84484
|
+
|
84485
|
+
/** SearchRequest regionCode. */
|
84486
|
+
public regionCode: string;
|
84487
|
+
|
83080
84488
|
/** SearchRequest facetSpecs. */
|
83081
84489
|
public facetSpecs: google.cloud.discoveryengine.v1beta.SearchRequest.IFacetSpec[];
|
83082
84490
|
|
@@ -83110,6 +84518,18 @@ export namespace google {
|
|
83110
84518
|
/** SearchRequest userLabels. */
|
83111
84519
|
public userLabels: { [k: string]: string };
|
83112
84520
|
|
84521
|
+
/** SearchRequest naturalLanguageQueryUnderstandingSpec. */
|
84522
|
+
public naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
|
84523
|
+
|
84524
|
+
/** SearchRequest searchAsYouTypeSpec. */
|
84525
|
+
public searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec|null);
|
84526
|
+
|
84527
|
+
/** SearchRequest session. */
|
84528
|
+
public session: string;
|
84529
|
+
|
84530
|
+
/** SearchRequest sessionSpec. */
|
84531
|
+
public sessionSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec|null);
|
84532
|
+
|
83113
84533
|
/**
|
83114
84534
|
* Creates a new SearchRequest instance using the specified properties.
|
83115
84535
|
* @param [properties] Properties to set
|
@@ -85306,6 +86726,332 @@ export namespace google {
|
|
85306
86726
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
85307
86727
|
}
|
85308
86728
|
}
|
86729
|
+
|
86730
|
+
/** Properties of a NaturalLanguageQueryUnderstandingSpec. */
|
86731
|
+
interface INaturalLanguageQueryUnderstandingSpec {
|
86732
|
+
|
86733
|
+
/** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition */
|
86734
|
+
filterExtractionCondition?: (google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|null);
|
86735
|
+
|
86736
|
+
/** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames */
|
86737
|
+
geoSearchQueryDetectionFieldNames?: (string[]|null);
|
86738
|
+
}
|
86739
|
+
|
86740
|
+
/** Represents a NaturalLanguageQueryUnderstandingSpec. */
|
86741
|
+
class NaturalLanguageQueryUnderstandingSpec implements INaturalLanguageQueryUnderstandingSpec {
|
86742
|
+
|
86743
|
+
/**
|
86744
|
+
* Constructs a new NaturalLanguageQueryUnderstandingSpec.
|
86745
|
+
* @param [properties] Properties to set
|
86746
|
+
*/
|
86747
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec);
|
86748
|
+
|
86749
|
+
/** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition. */
|
86750
|
+
public filterExtractionCondition: (google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition);
|
86751
|
+
|
86752
|
+
/** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames. */
|
86753
|
+
public geoSearchQueryDetectionFieldNames: string[];
|
86754
|
+
|
86755
|
+
/**
|
86756
|
+
* Creates a new NaturalLanguageQueryUnderstandingSpec instance using the specified properties.
|
86757
|
+
* @param [properties] Properties to set
|
86758
|
+
* @returns NaturalLanguageQueryUnderstandingSpec instance
|
86759
|
+
*/
|
86760
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec): google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
86761
|
+
|
86762
|
+
/**
|
86763
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
|
86764
|
+
* @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
|
86765
|
+
* @param [writer] Writer to encode to
|
86766
|
+
* @returns Writer
|
86767
|
+
*/
|
86768
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
86769
|
+
|
86770
|
+
/**
|
86771
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
|
86772
|
+
* @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
|
86773
|
+
* @param [writer] Writer to encode to
|
86774
|
+
* @returns Writer
|
86775
|
+
*/
|
86776
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
86777
|
+
|
86778
|
+
/**
|
86779
|
+
* Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer.
|
86780
|
+
* @param reader Reader or buffer to decode from
|
86781
|
+
* @param [length] Message length if known beforehand
|
86782
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
86783
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
86784
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
86785
|
+
*/
|
86786
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
86787
|
+
|
86788
|
+
/**
|
86789
|
+
* Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer, length delimited.
|
86790
|
+
* @param reader Reader or buffer to decode from
|
86791
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
86792
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
86793
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
86794
|
+
*/
|
86795
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
86796
|
+
|
86797
|
+
/**
|
86798
|
+
* Verifies a NaturalLanguageQueryUnderstandingSpec message.
|
86799
|
+
* @param message Plain object to verify
|
86800
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
86801
|
+
*/
|
86802
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
86803
|
+
|
86804
|
+
/**
|
86805
|
+
* Creates a NaturalLanguageQueryUnderstandingSpec message from a plain object. Also converts values to their respective internal types.
|
86806
|
+
* @param object Plain object
|
86807
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
86808
|
+
*/
|
86809
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
86810
|
+
|
86811
|
+
/**
|
86812
|
+
* Creates a plain object from a NaturalLanguageQueryUnderstandingSpec message. Also converts values to other types if specified.
|
86813
|
+
* @param message NaturalLanguageQueryUnderstandingSpec
|
86814
|
+
* @param [options] Conversion options
|
86815
|
+
* @returns Plain object
|
86816
|
+
*/
|
86817
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
86818
|
+
|
86819
|
+
/**
|
86820
|
+
* Converts this NaturalLanguageQueryUnderstandingSpec to JSON.
|
86821
|
+
* @returns JSON object
|
86822
|
+
*/
|
86823
|
+
public toJSON(): { [k: string]: any };
|
86824
|
+
|
86825
|
+
/**
|
86826
|
+
* Gets the default type url for NaturalLanguageQueryUnderstandingSpec
|
86827
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
86828
|
+
* @returns The default type url
|
86829
|
+
*/
|
86830
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
86831
|
+
}
|
86832
|
+
|
86833
|
+
namespace NaturalLanguageQueryUnderstandingSpec {
|
86834
|
+
|
86835
|
+
/** FilterExtractionCondition enum. */
|
86836
|
+
enum FilterExtractionCondition {
|
86837
|
+
CONDITION_UNSPECIFIED = 0,
|
86838
|
+
DISABLED = 1,
|
86839
|
+
ENABLED = 2
|
86840
|
+
}
|
86841
|
+
}
|
86842
|
+
|
86843
|
+
/** Properties of a SearchAsYouTypeSpec. */
|
86844
|
+
interface ISearchAsYouTypeSpec {
|
86845
|
+
|
86846
|
+
/** SearchAsYouTypeSpec condition */
|
86847
|
+
condition?: (google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition|null);
|
86848
|
+
}
|
86849
|
+
|
86850
|
+
/** Represents a SearchAsYouTypeSpec. */
|
86851
|
+
class SearchAsYouTypeSpec implements ISearchAsYouTypeSpec {
|
86852
|
+
|
86853
|
+
/**
|
86854
|
+
* Constructs a new SearchAsYouTypeSpec.
|
86855
|
+
* @param [properties] Properties to set
|
86856
|
+
*/
|
86857
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec);
|
86858
|
+
|
86859
|
+
/** SearchAsYouTypeSpec condition. */
|
86860
|
+
public condition: (google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition);
|
86861
|
+
|
86862
|
+
/**
|
86863
|
+
* Creates a new SearchAsYouTypeSpec instance using the specified properties.
|
86864
|
+
* @param [properties] Properties to set
|
86865
|
+
* @returns SearchAsYouTypeSpec instance
|
86866
|
+
*/
|
86867
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec): google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec;
|
86868
|
+
|
86869
|
+
/**
|
86870
|
+
* Encodes the specified SearchAsYouTypeSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.verify|verify} messages.
|
86871
|
+
* @param message SearchAsYouTypeSpec message or plain object to encode
|
86872
|
+
* @param [writer] Writer to encode to
|
86873
|
+
* @returns Writer
|
86874
|
+
*/
|
86875
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
86876
|
+
|
86877
|
+
/**
|
86878
|
+
* Encodes the specified SearchAsYouTypeSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.verify|verify} messages.
|
86879
|
+
* @param message SearchAsYouTypeSpec message or plain object to encode
|
86880
|
+
* @param [writer] Writer to encode to
|
86881
|
+
* @returns Writer
|
86882
|
+
*/
|
86883
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchRequest.ISearchAsYouTypeSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
86884
|
+
|
86885
|
+
/**
|
86886
|
+
* Decodes a SearchAsYouTypeSpec message from the specified reader or buffer.
|
86887
|
+
* @param reader Reader or buffer to decode from
|
86888
|
+
* @param [length] Message length if known beforehand
|
86889
|
+
* @returns SearchAsYouTypeSpec
|
86890
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
86891
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
86892
|
+
*/
|
86893
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec;
|
86894
|
+
|
86895
|
+
/**
|
86896
|
+
* Decodes a SearchAsYouTypeSpec message from the specified reader or buffer, length delimited.
|
86897
|
+
* @param reader Reader or buffer to decode from
|
86898
|
+
* @returns SearchAsYouTypeSpec
|
86899
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
86900
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
86901
|
+
*/
|
86902
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec;
|
86903
|
+
|
86904
|
+
/**
|
86905
|
+
* Verifies a SearchAsYouTypeSpec message.
|
86906
|
+
* @param message Plain object to verify
|
86907
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
86908
|
+
*/
|
86909
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
86910
|
+
|
86911
|
+
/**
|
86912
|
+
* Creates a SearchAsYouTypeSpec message from a plain object. Also converts values to their respective internal types.
|
86913
|
+
* @param object Plain object
|
86914
|
+
* @returns SearchAsYouTypeSpec
|
86915
|
+
*/
|
86916
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec;
|
86917
|
+
|
86918
|
+
/**
|
86919
|
+
* Creates a plain object from a SearchAsYouTypeSpec message. Also converts values to other types if specified.
|
86920
|
+
* @param message SearchAsYouTypeSpec
|
86921
|
+
* @param [options] Conversion options
|
86922
|
+
* @returns Plain object
|
86923
|
+
*/
|
86924
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
86925
|
+
|
86926
|
+
/**
|
86927
|
+
* Converts this SearchAsYouTypeSpec to JSON.
|
86928
|
+
* @returns JSON object
|
86929
|
+
*/
|
86930
|
+
public toJSON(): { [k: string]: any };
|
86931
|
+
|
86932
|
+
/**
|
86933
|
+
* Gets the default type url for SearchAsYouTypeSpec
|
86934
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
86935
|
+
* @returns The default type url
|
86936
|
+
*/
|
86937
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
86938
|
+
}
|
86939
|
+
|
86940
|
+
namespace SearchAsYouTypeSpec {
|
86941
|
+
|
86942
|
+
/** Condition enum. */
|
86943
|
+
enum Condition {
|
86944
|
+
CONDITION_UNSPECIFIED = 0,
|
86945
|
+
DISABLED = 1,
|
86946
|
+
ENABLED = 2
|
86947
|
+
}
|
86948
|
+
}
|
86949
|
+
|
86950
|
+
/** Properties of a SessionSpec. */
|
86951
|
+
interface ISessionSpec {
|
86952
|
+
|
86953
|
+
/** SessionSpec queryId */
|
86954
|
+
queryId?: (string|null);
|
86955
|
+
|
86956
|
+
/** SessionSpec searchResultPersistenceCount */
|
86957
|
+
searchResultPersistenceCount?: (number|null);
|
86958
|
+
}
|
86959
|
+
|
86960
|
+
/** Represents a SessionSpec. */
|
86961
|
+
class SessionSpec implements ISessionSpec {
|
86962
|
+
|
86963
|
+
/**
|
86964
|
+
* Constructs a new SessionSpec.
|
86965
|
+
* @param [properties] Properties to set
|
86966
|
+
*/
|
86967
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec);
|
86968
|
+
|
86969
|
+
/** SessionSpec queryId. */
|
86970
|
+
public queryId: string;
|
86971
|
+
|
86972
|
+
/** SessionSpec searchResultPersistenceCount. */
|
86973
|
+
public searchResultPersistenceCount?: (number|null);
|
86974
|
+
|
86975
|
+
/** SessionSpec _searchResultPersistenceCount. */
|
86976
|
+
public _searchResultPersistenceCount?: "searchResultPersistenceCount";
|
86977
|
+
|
86978
|
+
/**
|
86979
|
+
* Creates a new SessionSpec instance using the specified properties.
|
86980
|
+
* @param [properties] Properties to set
|
86981
|
+
* @returns SessionSpec instance
|
86982
|
+
*/
|
86983
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec): google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec;
|
86984
|
+
|
86985
|
+
/**
|
86986
|
+
* Encodes the specified SessionSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec.verify|verify} messages.
|
86987
|
+
* @param message SessionSpec message or plain object to encode
|
86988
|
+
* @param [writer] Writer to encode to
|
86989
|
+
* @returns Writer
|
86990
|
+
*/
|
86991
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
86992
|
+
|
86993
|
+
/**
|
86994
|
+
* Encodes the specified SessionSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec.verify|verify} messages.
|
86995
|
+
* @param message SessionSpec message or plain object to encode
|
86996
|
+
* @param [writer] Writer to encode to
|
86997
|
+
* @returns Writer
|
86998
|
+
*/
|
86999
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchRequest.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
87000
|
+
|
87001
|
+
/**
|
87002
|
+
* Decodes a SessionSpec message from the specified reader or buffer.
|
87003
|
+
* @param reader Reader or buffer to decode from
|
87004
|
+
* @param [length] Message length if known beforehand
|
87005
|
+
* @returns SessionSpec
|
87006
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
87007
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
87008
|
+
*/
|
87009
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec;
|
87010
|
+
|
87011
|
+
/**
|
87012
|
+
* Decodes a SessionSpec message from the specified reader or buffer, length delimited.
|
87013
|
+
* @param reader Reader or buffer to decode from
|
87014
|
+
* @returns SessionSpec
|
87015
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
87016
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
87017
|
+
*/
|
87018
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec;
|
87019
|
+
|
87020
|
+
/**
|
87021
|
+
* Verifies a SessionSpec message.
|
87022
|
+
* @param message Plain object to verify
|
87023
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
87024
|
+
*/
|
87025
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
87026
|
+
|
87027
|
+
/**
|
87028
|
+
* Creates a SessionSpec message from a plain object. Also converts values to their respective internal types.
|
87029
|
+
* @param object Plain object
|
87030
|
+
* @returns SessionSpec
|
87031
|
+
*/
|
87032
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec;
|
87033
|
+
|
87034
|
+
/**
|
87035
|
+
* Creates a plain object from a SessionSpec message. Also converts values to other types if specified.
|
87036
|
+
* @param message SessionSpec
|
87037
|
+
* @param [options] Conversion options
|
87038
|
+
* @returns Plain object
|
87039
|
+
*/
|
87040
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
87041
|
+
|
87042
|
+
/**
|
87043
|
+
* Converts this SessionSpec to JSON.
|
87044
|
+
* @returns JSON object
|
87045
|
+
*/
|
87046
|
+
public toJSON(): { [k: string]: any };
|
87047
|
+
|
87048
|
+
/**
|
87049
|
+
* Gets the default type url for SessionSpec
|
87050
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
87051
|
+
* @returns The default type url
|
87052
|
+
*/
|
87053
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
87054
|
+
}
|
85309
87055
|
}
|
85310
87056
|
|
85311
87057
|
/** Properties of a SearchResponse. */
|
@@ -85346,6 +87092,12 @@ export namespace google {
|
|
85346
87092
|
|
85347
87093
|
/** SearchResponse queryExpansionInfo */
|
85348
87094
|
queryExpansionInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.IQueryExpansionInfo|null);
|
87095
|
+
|
87096
|
+
/** SearchResponse naturalLanguageQueryUnderstandingInfo */
|
87097
|
+
naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
|
87098
|
+
|
87099
|
+
/** SearchResponse sessionInfo */
|
87100
|
+
sessionInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo|null);
|
85349
87101
|
}
|
85350
87102
|
|
85351
87103
|
/** Represents a SearchResponse. */
|
@@ -85393,6 +87145,12 @@ export namespace google {
|
|
85393
87145
|
/** SearchResponse queryExpansionInfo. */
|
85394
87146
|
public queryExpansionInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.IQueryExpansionInfo|null);
|
85395
87147
|
|
87148
|
+
/** SearchResponse naturalLanguageQueryUnderstandingInfo. */
|
87149
|
+
public naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
|
87150
|
+
|
87151
|
+
/** SearchResponse sessionInfo. */
|
87152
|
+
public sessionInfo?: (google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo|null);
|
87153
|
+
|
85396
87154
|
/**
|
85397
87155
|
* Creates a new SearchResponse instance using the specified properties.
|
85398
87156
|
* @param [properties] Properties to set
|
@@ -86881,7 +88639,8 @@ export namespace google {
|
|
86881
88639
|
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2,
|
86882
88640
|
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
86883
88641
|
POTENTIAL_POLICY_VIOLATION = 4,
|
86884
|
-
LLM_ADDON_NOT_ENABLED = 5
|
88642
|
+
LLM_ADDON_NOT_ENABLED = 5,
|
88643
|
+
NO_RELEVANT_CONTENT = 6
|
86885
88644
|
}
|
86886
88645
|
}
|
86887
88646
|
|
@@ -87090,6 +88849,973 @@ export namespace google {
|
|
87090
88849
|
*/
|
87091
88850
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
87092
88851
|
}
|
88852
|
+
|
88853
|
+
/** Properties of a NaturalLanguageQueryUnderstandingInfo. */
|
88854
|
+
interface INaturalLanguageQueryUnderstandingInfo {
|
88855
|
+
|
88856
|
+
/** NaturalLanguageQueryUnderstandingInfo extractedFilters */
|
88857
|
+
extractedFilters?: (string|null);
|
88858
|
+
|
88859
|
+
/** NaturalLanguageQueryUnderstandingInfo rewrittenQuery */
|
88860
|
+
rewrittenQuery?: (string|null);
|
88861
|
+
|
88862
|
+
/** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter */
|
88863
|
+
structuredExtractedFilter?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
|
88864
|
+
}
|
88865
|
+
|
88866
|
+
/** Represents a NaturalLanguageQueryUnderstandingInfo. */
|
88867
|
+
class NaturalLanguageQueryUnderstandingInfo implements INaturalLanguageQueryUnderstandingInfo {
|
88868
|
+
|
88869
|
+
/**
|
88870
|
+
* Constructs a new NaturalLanguageQueryUnderstandingInfo.
|
88871
|
+
* @param [properties] Properties to set
|
88872
|
+
*/
|
88873
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo);
|
88874
|
+
|
88875
|
+
/** NaturalLanguageQueryUnderstandingInfo extractedFilters. */
|
88876
|
+
public extractedFilters: string;
|
88877
|
+
|
88878
|
+
/** NaturalLanguageQueryUnderstandingInfo rewrittenQuery. */
|
88879
|
+
public rewrittenQuery: string;
|
88880
|
+
|
88881
|
+
/** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter. */
|
88882
|
+
public structuredExtractedFilter?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
|
88883
|
+
|
88884
|
+
/**
|
88885
|
+
* Creates a new NaturalLanguageQueryUnderstandingInfo instance using the specified properties.
|
88886
|
+
* @param [properties] Properties to set
|
88887
|
+
* @returns NaturalLanguageQueryUnderstandingInfo instance
|
88888
|
+
*/
|
88889
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
88890
|
+
|
88891
|
+
/**
|
88892
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
|
88893
|
+
* @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
|
88894
|
+
* @param [writer] Writer to encode to
|
88895
|
+
* @returns Writer
|
88896
|
+
*/
|
88897
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
88898
|
+
|
88899
|
+
/**
|
88900
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
|
88901
|
+
* @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
|
88902
|
+
* @param [writer] Writer to encode to
|
88903
|
+
* @returns Writer
|
88904
|
+
*/
|
88905
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
88906
|
+
|
88907
|
+
/**
|
88908
|
+
* Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer.
|
88909
|
+
* @param reader Reader or buffer to decode from
|
88910
|
+
* @param [length] Message length if known beforehand
|
88911
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
88912
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
88913
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
88914
|
+
*/
|
88915
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
88916
|
+
|
88917
|
+
/**
|
88918
|
+
* Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer, length delimited.
|
88919
|
+
* @param reader Reader or buffer to decode from
|
88920
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
88921
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
88922
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
88923
|
+
*/
|
88924
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
88925
|
+
|
88926
|
+
/**
|
88927
|
+
* Verifies a NaturalLanguageQueryUnderstandingInfo message.
|
88928
|
+
* @param message Plain object to verify
|
88929
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
88930
|
+
*/
|
88931
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
88932
|
+
|
88933
|
+
/**
|
88934
|
+
* Creates a NaturalLanguageQueryUnderstandingInfo message from a plain object. Also converts values to their respective internal types.
|
88935
|
+
* @param object Plain object
|
88936
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
88937
|
+
*/
|
88938
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
88939
|
+
|
88940
|
+
/**
|
88941
|
+
* Creates a plain object from a NaturalLanguageQueryUnderstandingInfo message. Also converts values to other types if specified.
|
88942
|
+
* @param message NaturalLanguageQueryUnderstandingInfo
|
88943
|
+
* @param [options] Conversion options
|
88944
|
+
* @returns Plain object
|
88945
|
+
*/
|
88946
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
88947
|
+
|
88948
|
+
/**
|
88949
|
+
* Converts this NaturalLanguageQueryUnderstandingInfo to JSON.
|
88950
|
+
* @returns JSON object
|
88951
|
+
*/
|
88952
|
+
public toJSON(): { [k: string]: any };
|
88953
|
+
|
88954
|
+
/**
|
88955
|
+
* Gets the default type url for NaturalLanguageQueryUnderstandingInfo
|
88956
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
88957
|
+
* @returns The default type url
|
88958
|
+
*/
|
88959
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
88960
|
+
}
|
88961
|
+
|
88962
|
+
namespace NaturalLanguageQueryUnderstandingInfo {
|
88963
|
+
|
88964
|
+
/** Properties of a StructuredExtractedFilter. */
|
88965
|
+
interface IStructuredExtractedFilter {
|
88966
|
+
|
88967
|
+
/** StructuredExtractedFilter expression */
|
88968
|
+
expression?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
|
88969
|
+
}
|
88970
|
+
|
88971
|
+
/** Represents a StructuredExtractedFilter. */
|
88972
|
+
class StructuredExtractedFilter implements IStructuredExtractedFilter {
|
88973
|
+
|
88974
|
+
/**
|
88975
|
+
* Constructs a new StructuredExtractedFilter.
|
88976
|
+
* @param [properties] Properties to set
|
88977
|
+
*/
|
88978
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter);
|
88979
|
+
|
88980
|
+
/** StructuredExtractedFilter expression. */
|
88981
|
+
public expression?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
|
88982
|
+
|
88983
|
+
/**
|
88984
|
+
* Creates a new StructuredExtractedFilter instance using the specified properties.
|
88985
|
+
* @param [properties] Properties to set
|
88986
|
+
* @returns StructuredExtractedFilter instance
|
88987
|
+
*/
|
88988
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
88989
|
+
|
88990
|
+
/**
|
88991
|
+
* Encodes the specified StructuredExtractedFilter message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
|
88992
|
+
* @param message StructuredExtractedFilter message or plain object to encode
|
88993
|
+
* @param [writer] Writer to encode to
|
88994
|
+
* @returns Writer
|
88995
|
+
*/
|
88996
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
88997
|
+
|
88998
|
+
/**
|
88999
|
+
* Encodes the specified StructuredExtractedFilter message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
|
89000
|
+
* @param message StructuredExtractedFilter message or plain object to encode
|
89001
|
+
* @param [writer] Writer to encode to
|
89002
|
+
* @returns Writer
|
89003
|
+
*/
|
89004
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
89005
|
+
|
89006
|
+
/**
|
89007
|
+
* Decodes a StructuredExtractedFilter message from the specified reader or buffer.
|
89008
|
+
* @param reader Reader or buffer to decode from
|
89009
|
+
* @param [length] Message length if known beforehand
|
89010
|
+
* @returns StructuredExtractedFilter
|
89011
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89012
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89013
|
+
*/
|
89014
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
89015
|
+
|
89016
|
+
/**
|
89017
|
+
* Decodes a StructuredExtractedFilter message from the specified reader or buffer, length delimited.
|
89018
|
+
* @param reader Reader or buffer to decode from
|
89019
|
+
* @returns StructuredExtractedFilter
|
89020
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89021
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89022
|
+
*/
|
89023
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
89024
|
+
|
89025
|
+
/**
|
89026
|
+
* Verifies a StructuredExtractedFilter message.
|
89027
|
+
* @param message Plain object to verify
|
89028
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89029
|
+
*/
|
89030
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89031
|
+
|
89032
|
+
/**
|
89033
|
+
* Creates a StructuredExtractedFilter message from a plain object. Also converts values to their respective internal types.
|
89034
|
+
* @param object Plain object
|
89035
|
+
* @returns StructuredExtractedFilter
|
89036
|
+
*/
|
89037
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
89038
|
+
|
89039
|
+
/**
|
89040
|
+
* Creates a plain object from a StructuredExtractedFilter message. Also converts values to other types if specified.
|
89041
|
+
* @param message StructuredExtractedFilter
|
89042
|
+
* @param [options] Conversion options
|
89043
|
+
* @returns Plain object
|
89044
|
+
*/
|
89045
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89046
|
+
|
89047
|
+
/**
|
89048
|
+
* Converts this StructuredExtractedFilter to JSON.
|
89049
|
+
* @returns JSON object
|
89050
|
+
*/
|
89051
|
+
public toJSON(): { [k: string]: any };
|
89052
|
+
|
89053
|
+
/**
|
89054
|
+
* Gets the default type url for StructuredExtractedFilter
|
89055
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89056
|
+
* @returns The default type url
|
89057
|
+
*/
|
89058
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89059
|
+
}
|
89060
|
+
|
89061
|
+
namespace StructuredExtractedFilter {
|
89062
|
+
|
89063
|
+
/** Properties of a StringConstraint. */
|
89064
|
+
interface IStringConstraint {
|
89065
|
+
|
89066
|
+
/** StringConstraint fieldName */
|
89067
|
+
fieldName?: (string|null);
|
89068
|
+
|
89069
|
+
/** StringConstraint values */
|
89070
|
+
values?: (string[]|null);
|
89071
|
+
}
|
89072
|
+
|
89073
|
+
/** Represents a StringConstraint. */
|
89074
|
+
class StringConstraint implements IStringConstraint {
|
89075
|
+
|
89076
|
+
/**
|
89077
|
+
* Constructs a new StringConstraint.
|
89078
|
+
* @param [properties] Properties to set
|
89079
|
+
*/
|
89080
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint);
|
89081
|
+
|
89082
|
+
/** StringConstraint fieldName. */
|
89083
|
+
public fieldName: string;
|
89084
|
+
|
89085
|
+
/** StringConstraint values. */
|
89086
|
+
public values: string[];
|
89087
|
+
|
89088
|
+
/**
|
89089
|
+
* Creates a new StringConstraint instance using the specified properties.
|
89090
|
+
* @param [properties] Properties to set
|
89091
|
+
* @returns StringConstraint instance
|
89092
|
+
*/
|
89093
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
89094
|
+
|
89095
|
+
/**
|
89096
|
+
* Encodes the specified StringConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
|
89097
|
+
* @param message StringConstraint message or plain object to encode
|
89098
|
+
* @param [writer] Writer to encode to
|
89099
|
+
* @returns Writer
|
89100
|
+
*/
|
89101
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89102
|
+
|
89103
|
+
/**
|
89104
|
+
* Encodes the specified StringConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
|
89105
|
+
* @param message StringConstraint message or plain object to encode
|
89106
|
+
* @param [writer] Writer to encode to
|
89107
|
+
* @returns Writer
|
89108
|
+
*/
|
89109
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89110
|
+
|
89111
|
+
/**
|
89112
|
+
* Decodes a StringConstraint message from the specified reader or buffer.
|
89113
|
+
* @param reader Reader or buffer to decode from
|
89114
|
+
* @param [length] Message length if known beforehand
|
89115
|
+
* @returns StringConstraint
|
89116
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89117
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89118
|
+
*/
|
89119
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
89120
|
+
|
89121
|
+
/**
|
89122
|
+
* Decodes a StringConstraint message from the specified reader or buffer, length delimited.
|
89123
|
+
* @param reader Reader or buffer to decode from
|
89124
|
+
* @returns StringConstraint
|
89125
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89126
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89127
|
+
*/
|
89128
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
89129
|
+
|
89130
|
+
/**
|
89131
|
+
* Verifies a StringConstraint message.
|
89132
|
+
* @param message Plain object to verify
|
89133
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89134
|
+
*/
|
89135
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89136
|
+
|
89137
|
+
/**
|
89138
|
+
* Creates a StringConstraint message from a plain object. Also converts values to their respective internal types.
|
89139
|
+
* @param object Plain object
|
89140
|
+
* @returns StringConstraint
|
89141
|
+
*/
|
89142
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
89143
|
+
|
89144
|
+
/**
|
89145
|
+
* Creates a plain object from a StringConstraint message. Also converts values to other types if specified.
|
89146
|
+
* @param message StringConstraint
|
89147
|
+
* @param [options] Conversion options
|
89148
|
+
* @returns Plain object
|
89149
|
+
*/
|
89150
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89151
|
+
|
89152
|
+
/**
|
89153
|
+
* Converts this StringConstraint to JSON.
|
89154
|
+
* @returns JSON object
|
89155
|
+
*/
|
89156
|
+
public toJSON(): { [k: string]: any };
|
89157
|
+
|
89158
|
+
/**
|
89159
|
+
* Gets the default type url for StringConstraint
|
89160
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89161
|
+
* @returns The default type url
|
89162
|
+
*/
|
89163
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89164
|
+
}
|
89165
|
+
|
89166
|
+
/** Properties of a NumberConstraint. */
|
89167
|
+
interface INumberConstraint {
|
89168
|
+
|
89169
|
+
/** NumberConstraint fieldName */
|
89170
|
+
fieldName?: (string|null);
|
89171
|
+
|
89172
|
+
/** NumberConstraint comparison */
|
89173
|
+
comparison?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|null);
|
89174
|
+
|
89175
|
+
/** NumberConstraint value */
|
89176
|
+
value?: (number|null);
|
89177
|
+
}
|
89178
|
+
|
89179
|
+
/** Represents a NumberConstraint. */
|
89180
|
+
class NumberConstraint implements INumberConstraint {
|
89181
|
+
|
89182
|
+
/**
|
89183
|
+
* Constructs a new NumberConstraint.
|
89184
|
+
* @param [properties] Properties to set
|
89185
|
+
*/
|
89186
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint);
|
89187
|
+
|
89188
|
+
/** NumberConstraint fieldName. */
|
89189
|
+
public fieldName: string;
|
89190
|
+
|
89191
|
+
/** NumberConstraint comparison. */
|
89192
|
+
public comparison: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison);
|
89193
|
+
|
89194
|
+
/** NumberConstraint value. */
|
89195
|
+
public value: number;
|
89196
|
+
|
89197
|
+
/**
|
89198
|
+
* Creates a new NumberConstraint instance using the specified properties.
|
89199
|
+
* @param [properties] Properties to set
|
89200
|
+
* @returns NumberConstraint instance
|
89201
|
+
*/
|
89202
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
89203
|
+
|
89204
|
+
/**
|
89205
|
+
* Encodes the specified NumberConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
|
89206
|
+
* @param message NumberConstraint message or plain object to encode
|
89207
|
+
* @param [writer] Writer to encode to
|
89208
|
+
* @returns Writer
|
89209
|
+
*/
|
89210
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89211
|
+
|
89212
|
+
/**
|
89213
|
+
* Encodes the specified NumberConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
|
89214
|
+
* @param message NumberConstraint message or plain object to encode
|
89215
|
+
* @param [writer] Writer to encode to
|
89216
|
+
* @returns Writer
|
89217
|
+
*/
|
89218
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89219
|
+
|
89220
|
+
/**
|
89221
|
+
* Decodes a NumberConstraint message from the specified reader or buffer.
|
89222
|
+
* @param reader Reader or buffer to decode from
|
89223
|
+
* @param [length] Message length if known beforehand
|
89224
|
+
* @returns NumberConstraint
|
89225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89227
|
+
*/
|
89228
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
89229
|
+
|
89230
|
+
/**
|
89231
|
+
* Decodes a NumberConstraint message from the specified reader or buffer, length delimited.
|
89232
|
+
* @param reader Reader or buffer to decode from
|
89233
|
+
* @returns NumberConstraint
|
89234
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89235
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89236
|
+
*/
|
89237
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
89238
|
+
|
89239
|
+
/**
|
89240
|
+
* Verifies a NumberConstraint message.
|
89241
|
+
* @param message Plain object to verify
|
89242
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89243
|
+
*/
|
89244
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89245
|
+
|
89246
|
+
/**
|
89247
|
+
* Creates a NumberConstraint message from a plain object. Also converts values to their respective internal types.
|
89248
|
+
* @param object Plain object
|
89249
|
+
* @returns NumberConstraint
|
89250
|
+
*/
|
89251
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
89252
|
+
|
89253
|
+
/**
|
89254
|
+
* Creates a plain object from a NumberConstraint message. Also converts values to other types if specified.
|
89255
|
+
* @param message NumberConstraint
|
89256
|
+
* @param [options] Conversion options
|
89257
|
+
* @returns Plain object
|
89258
|
+
*/
|
89259
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89260
|
+
|
89261
|
+
/**
|
89262
|
+
* Converts this NumberConstraint to JSON.
|
89263
|
+
* @returns JSON object
|
89264
|
+
*/
|
89265
|
+
public toJSON(): { [k: string]: any };
|
89266
|
+
|
89267
|
+
/**
|
89268
|
+
* Gets the default type url for NumberConstraint
|
89269
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89270
|
+
* @returns The default type url
|
89271
|
+
*/
|
89272
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89273
|
+
}
|
89274
|
+
|
89275
|
+
namespace NumberConstraint {
|
89276
|
+
|
89277
|
+
/** Comparison enum. */
|
89278
|
+
enum Comparison {
|
89279
|
+
COMPARISON_UNSPECIFIED = 0,
|
89280
|
+
EQUALS = 1,
|
89281
|
+
LESS_THAN_EQUALS = 2,
|
89282
|
+
LESS_THAN = 3,
|
89283
|
+
GREATER_THAN_EQUALS = 4,
|
89284
|
+
GREATER_THAN = 5
|
89285
|
+
}
|
89286
|
+
}
|
89287
|
+
|
89288
|
+
/** Properties of a GeolocationConstraint. */
|
89289
|
+
interface IGeolocationConstraint {
|
89290
|
+
|
89291
|
+
/** GeolocationConstraint fieldName */
|
89292
|
+
fieldName?: (string|null);
|
89293
|
+
|
89294
|
+
/** GeolocationConstraint address */
|
89295
|
+
address?: (string|null);
|
89296
|
+
|
89297
|
+
/** GeolocationConstraint radiusInMeters */
|
89298
|
+
radiusInMeters?: (number|null);
|
89299
|
+
}
|
89300
|
+
|
89301
|
+
/** Represents a GeolocationConstraint. */
|
89302
|
+
class GeolocationConstraint implements IGeolocationConstraint {
|
89303
|
+
|
89304
|
+
/**
|
89305
|
+
* Constructs a new GeolocationConstraint.
|
89306
|
+
* @param [properties] Properties to set
|
89307
|
+
*/
|
89308
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint);
|
89309
|
+
|
89310
|
+
/** GeolocationConstraint fieldName. */
|
89311
|
+
public fieldName: string;
|
89312
|
+
|
89313
|
+
/** GeolocationConstraint address. */
|
89314
|
+
public address: string;
|
89315
|
+
|
89316
|
+
/** GeolocationConstraint radiusInMeters. */
|
89317
|
+
public radiusInMeters: number;
|
89318
|
+
|
89319
|
+
/**
|
89320
|
+
* Creates a new GeolocationConstraint instance using the specified properties.
|
89321
|
+
* @param [properties] Properties to set
|
89322
|
+
* @returns GeolocationConstraint instance
|
89323
|
+
*/
|
89324
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
89325
|
+
|
89326
|
+
/**
|
89327
|
+
* Encodes the specified GeolocationConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
|
89328
|
+
* @param message GeolocationConstraint message or plain object to encode
|
89329
|
+
* @param [writer] Writer to encode to
|
89330
|
+
* @returns Writer
|
89331
|
+
*/
|
89332
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89333
|
+
|
89334
|
+
/**
|
89335
|
+
* Encodes the specified GeolocationConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
|
89336
|
+
* @param message GeolocationConstraint message or plain object to encode
|
89337
|
+
* @param [writer] Writer to encode to
|
89338
|
+
* @returns Writer
|
89339
|
+
*/
|
89340
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
89341
|
+
|
89342
|
+
/**
|
89343
|
+
* Decodes a GeolocationConstraint message from the specified reader or buffer.
|
89344
|
+
* @param reader Reader or buffer to decode from
|
89345
|
+
* @param [length] Message length if known beforehand
|
89346
|
+
* @returns GeolocationConstraint
|
89347
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89348
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89349
|
+
*/
|
89350
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
89351
|
+
|
89352
|
+
/**
|
89353
|
+
* Decodes a GeolocationConstraint message from the specified reader or buffer, length delimited.
|
89354
|
+
* @param reader Reader or buffer to decode from
|
89355
|
+
* @returns GeolocationConstraint
|
89356
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89357
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89358
|
+
*/
|
89359
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
89360
|
+
|
89361
|
+
/**
|
89362
|
+
* Verifies a GeolocationConstraint message.
|
89363
|
+
* @param message Plain object to verify
|
89364
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89365
|
+
*/
|
89366
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89367
|
+
|
89368
|
+
/**
|
89369
|
+
* Creates a GeolocationConstraint message from a plain object. Also converts values to their respective internal types.
|
89370
|
+
* @param object Plain object
|
89371
|
+
* @returns GeolocationConstraint
|
89372
|
+
*/
|
89373
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
89374
|
+
|
89375
|
+
/**
|
89376
|
+
* Creates a plain object from a GeolocationConstraint message. Also converts values to other types if specified.
|
89377
|
+
* @param message GeolocationConstraint
|
89378
|
+
* @param [options] Conversion options
|
89379
|
+
* @returns Plain object
|
89380
|
+
*/
|
89381
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89382
|
+
|
89383
|
+
/**
|
89384
|
+
* Converts this GeolocationConstraint to JSON.
|
89385
|
+
* @returns JSON object
|
89386
|
+
*/
|
89387
|
+
public toJSON(): { [k: string]: any };
|
89388
|
+
|
89389
|
+
/**
|
89390
|
+
* Gets the default type url for GeolocationConstraint
|
89391
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89392
|
+
* @returns The default type url
|
89393
|
+
*/
|
89394
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89395
|
+
}
|
89396
|
+
|
89397
|
+
/** Properties of an AndExpression. */
|
89398
|
+
interface IAndExpression {
|
89399
|
+
|
89400
|
+
/** AndExpression expressions */
|
89401
|
+
expressions?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
89402
|
+
}
|
89403
|
+
|
89404
|
+
/** Represents an AndExpression. */
|
89405
|
+
class AndExpression implements IAndExpression {
|
89406
|
+
|
89407
|
+
/**
|
89408
|
+
* Constructs a new AndExpression.
|
89409
|
+
* @param [properties] Properties to set
|
89410
|
+
*/
|
89411
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression);
|
89412
|
+
|
89413
|
+
/** AndExpression expressions. */
|
89414
|
+
public expressions: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
89415
|
+
|
89416
|
+
/**
|
89417
|
+
* Creates a new AndExpression instance using the specified properties.
|
89418
|
+
* @param [properties] Properties to set
|
89419
|
+
* @returns AndExpression instance
|
89420
|
+
*/
|
89421
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
89422
|
+
|
89423
|
+
/**
|
89424
|
+
* Encodes the specified AndExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
|
89425
|
+
* @param message AndExpression message or plain object to encode
|
89426
|
+
* @param [writer] Writer to encode to
|
89427
|
+
* @returns Writer
|
89428
|
+
*/
|
89429
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89430
|
+
|
89431
|
+
/**
|
89432
|
+
* Encodes the specified AndExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
|
89433
|
+
* @param message AndExpression message or plain object to encode
|
89434
|
+
* @param [writer] Writer to encode to
|
89435
|
+
* @returns Writer
|
89436
|
+
*/
|
89437
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89438
|
+
|
89439
|
+
/**
|
89440
|
+
* Decodes an AndExpression message from the specified reader or buffer.
|
89441
|
+
* @param reader Reader or buffer to decode from
|
89442
|
+
* @param [length] Message length if known beforehand
|
89443
|
+
* @returns AndExpression
|
89444
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89445
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89446
|
+
*/
|
89447
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
89448
|
+
|
89449
|
+
/**
|
89450
|
+
* Decodes an AndExpression message from the specified reader or buffer, length delimited.
|
89451
|
+
* @param reader Reader or buffer to decode from
|
89452
|
+
* @returns AndExpression
|
89453
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89454
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89455
|
+
*/
|
89456
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
89457
|
+
|
89458
|
+
/**
|
89459
|
+
* Verifies an AndExpression message.
|
89460
|
+
* @param message Plain object to verify
|
89461
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89462
|
+
*/
|
89463
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89464
|
+
|
89465
|
+
/**
|
89466
|
+
* Creates an AndExpression message from a plain object. Also converts values to their respective internal types.
|
89467
|
+
* @param object Plain object
|
89468
|
+
* @returns AndExpression
|
89469
|
+
*/
|
89470
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
89471
|
+
|
89472
|
+
/**
|
89473
|
+
* Creates a plain object from an AndExpression message. Also converts values to other types if specified.
|
89474
|
+
* @param message AndExpression
|
89475
|
+
* @param [options] Conversion options
|
89476
|
+
* @returns Plain object
|
89477
|
+
*/
|
89478
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89479
|
+
|
89480
|
+
/**
|
89481
|
+
* Converts this AndExpression to JSON.
|
89482
|
+
* @returns JSON object
|
89483
|
+
*/
|
89484
|
+
public toJSON(): { [k: string]: any };
|
89485
|
+
|
89486
|
+
/**
|
89487
|
+
* Gets the default type url for AndExpression
|
89488
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89489
|
+
* @returns The default type url
|
89490
|
+
*/
|
89491
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89492
|
+
}
|
89493
|
+
|
89494
|
+
/** Properties of an OrExpression. */
|
89495
|
+
interface IOrExpression {
|
89496
|
+
|
89497
|
+
/** OrExpression expressions */
|
89498
|
+
expressions?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
89499
|
+
}
|
89500
|
+
|
89501
|
+
/** Represents an OrExpression. */
|
89502
|
+
class OrExpression implements IOrExpression {
|
89503
|
+
|
89504
|
+
/**
|
89505
|
+
* Constructs a new OrExpression.
|
89506
|
+
* @param [properties] Properties to set
|
89507
|
+
*/
|
89508
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression);
|
89509
|
+
|
89510
|
+
/** OrExpression expressions. */
|
89511
|
+
public expressions: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
89512
|
+
|
89513
|
+
/**
|
89514
|
+
* Creates a new OrExpression instance using the specified properties.
|
89515
|
+
* @param [properties] Properties to set
|
89516
|
+
* @returns OrExpression instance
|
89517
|
+
*/
|
89518
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
89519
|
+
|
89520
|
+
/**
|
89521
|
+
* Encodes the specified OrExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
|
89522
|
+
* @param message OrExpression message or plain object to encode
|
89523
|
+
* @param [writer] Writer to encode to
|
89524
|
+
* @returns Writer
|
89525
|
+
*/
|
89526
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89527
|
+
|
89528
|
+
/**
|
89529
|
+
* Encodes the specified OrExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
|
89530
|
+
* @param message OrExpression message or plain object to encode
|
89531
|
+
* @param [writer] Writer to encode to
|
89532
|
+
* @returns Writer
|
89533
|
+
*/
|
89534
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89535
|
+
|
89536
|
+
/**
|
89537
|
+
* Decodes an OrExpression message from the specified reader or buffer.
|
89538
|
+
* @param reader Reader or buffer to decode from
|
89539
|
+
* @param [length] Message length if known beforehand
|
89540
|
+
* @returns OrExpression
|
89541
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89542
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89543
|
+
*/
|
89544
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
89545
|
+
|
89546
|
+
/**
|
89547
|
+
* Decodes an OrExpression message from the specified reader or buffer, length delimited.
|
89548
|
+
* @param reader Reader or buffer to decode from
|
89549
|
+
* @returns OrExpression
|
89550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89552
|
+
*/
|
89553
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
89554
|
+
|
89555
|
+
/**
|
89556
|
+
* Verifies an OrExpression message.
|
89557
|
+
* @param message Plain object to verify
|
89558
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89559
|
+
*/
|
89560
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89561
|
+
|
89562
|
+
/**
|
89563
|
+
* Creates an OrExpression message from a plain object. Also converts values to their respective internal types.
|
89564
|
+
* @param object Plain object
|
89565
|
+
* @returns OrExpression
|
89566
|
+
*/
|
89567
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
89568
|
+
|
89569
|
+
/**
|
89570
|
+
* Creates a plain object from an OrExpression message. Also converts values to other types if specified.
|
89571
|
+
* @param message OrExpression
|
89572
|
+
* @param [options] Conversion options
|
89573
|
+
* @returns Plain object
|
89574
|
+
*/
|
89575
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89576
|
+
|
89577
|
+
/**
|
89578
|
+
* Converts this OrExpression to JSON.
|
89579
|
+
* @returns JSON object
|
89580
|
+
*/
|
89581
|
+
public toJSON(): { [k: string]: any };
|
89582
|
+
|
89583
|
+
/**
|
89584
|
+
* Gets the default type url for OrExpression
|
89585
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89586
|
+
* @returns The default type url
|
89587
|
+
*/
|
89588
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89589
|
+
}
|
89590
|
+
|
89591
|
+
/** Properties of an Expression. */
|
89592
|
+
interface IExpression {
|
89593
|
+
|
89594
|
+
/** Expression stringConstraint */
|
89595
|
+
stringConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
89596
|
+
|
89597
|
+
/** Expression numberConstraint */
|
89598
|
+
numberConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
89599
|
+
|
89600
|
+
/** Expression geolocationConstraint */
|
89601
|
+
geolocationConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
89602
|
+
|
89603
|
+
/** Expression andExpr */
|
89604
|
+
andExpr?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
89605
|
+
|
89606
|
+
/** Expression orExpr */
|
89607
|
+
orExpr?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
89608
|
+
}
|
89609
|
+
|
89610
|
+
/** Represents an Expression. */
|
89611
|
+
class Expression implements IExpression {
|
89612
|
+
|
89613
|
+
/**
|
89614
|
+
* Constructs a new Expression.
|
89615
|
+
* @param [properties] Properties to set
|
89616
|
+
*/
|
89617
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression);
|
89618
|
+
|
89619
|
+
/** Expression stringConstraint. */
|
89620
|
+
public stringConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
89621
|
+
|
89622
|
+
/** Expression numberConstraint. */
|
89623
|
+
public numberConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
89624
|
+
|
89625
|
+
/** Expression geolocationConstraint. */
|
89626
|
+
public geolocationConstraint?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
89627
|
+
|
89628
|
+
/** Expression andExpr. */
|
89629
|
+
public andExpr?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
89630
|
+
|
89631
|
+
/** Expression orExpr. */
|
89632
|
+
public orExpr?: (google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
89633
|
+
|
89634
|
+
/** Expression expr. */
|
89635
|
+
public expr?: ("stringConstraint"|"numberConstraint"|"geolocationConstraint"|"andExpr"|"orExpr");
|
89636
|
+
|
89637
|
+
/**
|
89638
|
+
* Creates a new Expression instance using the specified properties.
|
89639
|
+
* @param [properties] Properties to set
|
89640
|
+
* @returns Expression instance
|
89641
|
+
*/
|
89642
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
89643
|
+
|
89644
|
+
/**
|
89645
|
+
* Encodes the specified Expression message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
|
89646
|
+
* @param message Expression message or plain object to encode
|
89647
|
+
* @param [writer] Writer to encode to
|
89648
|
+
* @returns Writer
|
89649
|
+
*/
|
89650
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89651
|
+
|
89652
|
+
/**
|
89653
|
+
* Encodes the specified Expression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
|
89654
|
+
* @param message Expression message or plain object to encode
|
89655
|
+
* @param [writer] Writer to encode to
|
89656
|
+
* @returns Writer
|
89657
|
+
*/
|
89658
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
89659
|
+
|
89660
|
+
/**
|
89661
|
+
* Decodes an Expression message from the specified reader or buffer.
|
89662
|
+
* @param reader Reader or buffer to decode from
|
89663
|
+
* @param [length] Message length if known beforehand
|
89664
|
+
* @returns Expression
|
89665
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89666
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89667
|
+
*/
|
89668
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
89669
|
+
|
89670
|
+
/**
|
89671
|
+
* Decodes an Expression message from the specified reader or buffer, length delimited.
|
89672
|
+
* @param reader Reader or buffer to decode from
|
89673
|
+
* @returns Expression
|
89674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89676
|
+
*/
|
89677
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
89678
|
+
|
89679
|
+
/**
|
89680
|
+
* Verifies an Expression message.
|
89681
|
+
* @param message Plain object to verify
|
89682
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89683
|
+
*/
|
89684
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89685
|
+
|
89686
|
+
/**
|
89687
|
+
* Creates an Expression message from a plain object. Also converts values to their respective internal types.
|
89688
|
+
* @param object Plain object
|
89689
|
+
* @returns Expression
|
89690
|
+
*/
|
89691
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
89692
|
+
|
89693
|
+
/**
|
89694
|
+
* Creates a plain object from an Expression message. Also converts values to other types if specified.
|
89695
|
+
* @param message Expression
|
89696
|
+
* @param [options] Conversion options
|
89697
|
+
* @returns Plain object
|
89698
|
+
*/
|
89699
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89700
|
+
|
89701
|
+
/**
|
89702
|
+
* Converts this Expression to JSON.
|
89703
|
+
* @returns JSON object
|
89704
|
+
*/
|
89705
|
+
public toJSON(): { [k: string]: any };
|
89706
|
+
|
89707
|
+
/**
|
89708
|
+
* Gets the default type url for Expression
|
89709
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89710
|
+
* @returns The default type url
|
89711
|
+
*/
|
89712
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89713
|
+
}
|
89714
|
+
}
|
89715
|
+
}
|
89716
|
+
|
89717
|
+
/** Properties of a SessionInfo. */
|
89718
|
+
interface ISessionInfo {
|
89719
|
+
|
89720
|
+
/** SessionInfo name */
|
89721
|
+
name?: (string|null);
|
89722
|
+
|
89723
|
+
/** SessionInfo queryId */
|
89724
|
+
queryId?: (string|null);
|
89725
|
+
}
|
89726
|
+
|
89727
|
+
/** Represents a SessionInfo. */
|
89728
|
+
class SessionInfo implements ISessionInfo {
|
89729
|
+
|
89730
|
+
/**
|
89731
|
+
* Constructs a new SessionInfo.
|
89732
|
+
* @param [properties] Properties to set
|
89733
|
+
*/
|
89734
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo);
|
89735
|
+
|
89736
|
+
/** SessionInfo name. */
|
89737
|
+
public name: string;
|
89738
|
+
|
89739
|
+
/** SessionInfo queryId. */
|
89740
|
+
public queryId: string;
|
89741
|
+
|
89742
|
+
/**
|
89743
|
+
* Creates a new SessionInfo instance using the specified properties.
|
89744
|
+
* @param [properties] Properties to set
|
89745
|
+
* @returns SessionInfo instance
|
89746
|
+
*/
|
89747
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo): google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo;
|
89748
|
+
|
89749
|
+
/**
|
89750
|
+
* Encodes the specified SessionInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo.verify|verify} messages.
|
89751
|
+
* @param message SessionInfo message or plain object to encode
|
89752
|
+
* @param [writer] Writer to encode to
|
89753
|
+
* @returns Writer
|
89754
|
+
*/
|
89755
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
89756
|
+
|
89757
|
+
/**
|
89758
|
+
* Encodes the specified SessionInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo.verify|verify} messages.
|
89759
|
+
* @param message SessionInfo message or plain object to encode
|
89760
|
+
* @param [writer] Writer to encode to
|
89761
|
+
* @returns Writer
|
89762
|
+
*/
|
89763
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.ISessionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
89764
|
+
|
89765
|
+
/**
|
89766
|
+
* Decodes a SessionInfo message from the specified reader or buffer.
|
89767
|
+
* @param reader Reader or buffer to decode from
|
89768
|
+
* @param [length] Message length if known beforehand
|
89769
|
+
* @returns SessionInfo
|
89770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89772
|
+
*/
|
89773
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo;
|
89774
|
+
|
89775
|
+
/**
|
89776
|
+
* Decodes a SessionInfo message from the specified reader or buffer, length delimited.
|
89777
|
+
* @param reader Reader or buffer to decode from
|
89778
|
+
* @returns SessionInfo
|
89779
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
89780
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
89781
|
+
*/
|
89782
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo;
|
89783
|
+
|
89784
|
+
/**
|
89785
|
+
* Verifies a SessionInfo message.
|
89786
|
+
* @param message Plain object to verify
|
89787
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
89788
|
+
*/
|
89789
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
89790
|
+
|
89791
|
+
/**
|
89792
|
+
* Creates a SessionInfo message from a plain object. Also converts values to their respective internal types.
|
89793
|
+
* @param object Plain object
|
89794
|
+
* @returns SessionInfo
|
89795
|
+
*/
|
89796
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo;
|
89797
|
+
|
89798
|
+
/**
|
89799
|
+
* Creates a plain object from a SessionInfo message. Also converts values to other types if specified.
|
89800
|
+
* @param message SessionInfo
|
89801
|
+
* @param [options] Conversion options
|
89802
|
+
* @returns Plain object
|
89803
|
+
*/
|
89804
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
89805
|
+
|
89806
|
+
/**
|
89807
|
+
* Converts this SessionInfo to JSON.
|
89808
|
+
* @returns JSON object
|
89809
|
+
*/
|
89810
|
+
public toJSON(): { [k: string]: any };
|
89811
|
+
|
89812
|
+
/**
|
89813
|
+
* Gets the default type url for SessionInfo
|
89814
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
89815
|
+
* @returns The default type url
|
89816
|
+
*/
|
89817
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
89818
|
+
}
|
87093
89819
|
}
|
87094
89820
|
|
87095
89821
|
/** Represents a ConversationalSearchService */
|
@@ -88305,6 +91031,9 @@ export namespace google {
|
|
88305
91031
|
|
88306
91032
|
/** AnswerQueryRequest userPseudoId */
|
88307
91033
|
userPseudoId?: (string|null);
|
91034
|
+
|
91035
|
+
/** AnswerQueryRequest userLabels */
|
91036
|
+
userLabels?: ({ [k: string]: string }|null);
|
88308
91037
|
}
|
88309
91038
|
|
88310
91039
|
/** Represents an AnswerQueryRequest. */
|
@@ -88346,6 +91075,9 @@ export namespace google {
|
|
88346
91075
|
/** AnswerQueryRequest userPseudoId. */
|
88347
91076
|
public userPseudoId: string;
|
88348
91077
|
|
91078
|
+
/** AnswerQueryRequest userLabels. */
|
91079
|
+
public userLabels: { [k: string]: string };
|
91080
|
+
|
88349
91081
|
/**
|
88350
91082
|
* Creates a new AnswerQueryRequest instance using the specified properties.
|
88351
91083
|
* @param [properties] Properties to set
|
@@ -91452,6 +94184,9 @@ export namespace google {
|
|
91452
94184
|
|
91453
94185
|
/** CustomTuningModel trainingStartTime */
|
91454
94186
|
trainingStartTime?: (google.protobuf.ITimestamp|null);
|
94187
|
+
|
94188
|
+
/** CustomTuningModel metrics */
|
94189
|
+
metrics?: ({ [k: string]: number }|null);
|
91455
94190
|
}
|
91456
94191
|
|
91457
94192
|
/** Represents a CustomTuningModel. */
|
@@ -91481,6 +94216,9 @@ export namespace google {
|
|
91481
94216
|
/** CustomTuningModel trainingStartTime. */
|
91482
94217
|
public trainingStartTime?: (google.protobuf.ITimestamp|null);
|
91483
94218
|
|
94219
|
+
/** CustomTuningModel metrics. */
|
94220
|
+
public metrics: { [k: string]: number };
|
94221
|
+
|
91484
94222
|
/**
|
91485
94223
|
* Creates a new CustomTuningModel instance using the specified properties.
|
91486
94224
|
* @param [properties] Properties to set
|
@@ -91568,7 +94306,8 @@ export namespace google {
|
|
91568
94306
|
TRAINING = 2,
|
91569
94307
|
TRAINING_COMPLETE = 3,
|
91570
94308
|
READY_FOR_SERVING = 4,
|
91571
|
-
TRAINING_FAILED = 5
|
94309
|
+
TRAINING_FAILED = 5,
|
94310
|
+
NO_IMPROVEMENT = 6
|
91572
94311
|
}
|
91573
94312
|
}
|
91574
94313
|
|
@@ -91596,6 +94335,9 @@ export namespace google {
|
|
91596
94335
|
/** DataStore createTime */
|
91597
94336
|
createTime?: (google.protobuf.ITimestamp|null);
|
91598
94337
|
|
94338
|
+
/** DataStore languageInfo */
|
94339
|
+
languageInfo?: (google.cloud.discoveryengine.v1beta.ILanguageInfo|null);
|
94340
|
+
|
91599
94341
|
/** DataStore documentProcessingConfig */
|
91600
94342
|
documentProcessingConfig?: (google.cloud.discoveryengine.v1beta.IDocumentProcessingConfig|null);
|
91601
94343
|
|
@@ -91633,6 +94375,9 @@ export namespace google {
|
|
91633
94375
|
/** DataStore createTime. */
|
91634
94376
|
public createTime?: (google.protobuf.ITimestamp|null);
|
91635
94377
|
|
94378
|
+
/** DataStore languageInfo. */
|
94379
|
+
public languageInfo?: (google.cloud.discoveryengine.v1beta.ILanguageInfo|null);
|
94380
|
+
|
91636
94381
|
/** DataStore documentProcessingConfig. */
|
91637
94382
|
public documentProcessingConfig?: (google.cloud.discoveryengine.v1beta.IDocumentProcessingConfig|null);
|
91638
94383
|
|
@@ -91728,6 +94473,121 @@ export namespace google {
|
|
91728
94473
|
}
|
91729
94474
|
}
|
91730
94475
|
|
94476
|
+
/** Properties of a LanguageInfo. */
|
94477
|
+
interface ILanguageInfo {
|
94478
|
+
|
94479
|
+
/** LanguageInfo languageCode */
|
94480
|
+
languageCode?: (string|null);
|
94481
|
+
|
94482
|
+
/** LanguageInfo normalizedLanguageCode */
|
94483
|
+
normalizedLanguageCode?: (string|null);
|
94484
|
+
|
94485
|
+
/** LanguageInfo language */
|
94486
|
+
language?: (string|null);
|
94487
|
+
|
94488
|
+
/** LanguageInfo region */
|
94489
|
+
region?: (string|null);
|
94490
|
+
}
|
94491
|
+
|
94492
|
+
/** Represents a LanguageInfo. */
|
94493
|
+
class LanguageInfo implements ILanguageInfo {
|
94494
|
+
|
94495
|
+
/**
|
94496
|
+
* Constructs a new LanguageInfo.
|
94497
|
+
* @param [properties] Properties to set
|
94498
|
+
*/
|
94499
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.ILanguageInfo);
|
94500
|
+
|
94501
|
+
/** LanguageInfo languageCode. */
|
94502
|
+
public languageCode: string;
|
94503
|
+
|
94504
|
+
/** LanguageInfo normalizedLanguageCode. */
|
94505
|
+
public normalizedLanguageCode: string;
|
94506
|
+
|
94507
|
+
/** LanguageInfo language. */
|
94508
|
+
public language: string;
|
94509
|
+
|
94510
|
+
/** LanguageInfo region. */
|
94511
|
+
public region: string;
|
94512
|
+
|
94513
|
+
/**
|
94514
|
+
* Creates a new LanguageInfo instance using the specified properties.
|
94515
|
+
* @param [properties] Properties to set
|
94516
|
+
* @returns LanguageInfo instance
|
94517
|
+
*/
|
94518
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.ILanguageInfo): google.cloud.discoveryengine.v1beta.LanguageInfo;
|
94519
|
+
|
94520
|
+
/**
|
94521
|
+
* Encodes the specified LanguageInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.LanguageInfo.verify|verify} messages.
|
94522
|
+
* @param message LanguageInfo message or plain object to encode
|
94523
|
+
* @param [writer] Writer to encode to
|
94524
|
+
* @returns Writer
|
94525
|
+
*/
|
94526
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.ILanguageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
94527
|
+
|
94528
|
+
/**
|
94529
|
+
* Encodes the specified LanguageInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.LanguageInfo.verify|verify} messages.
|
94530
|
+
* @param message LanguageInfo message or plain object to encode
|
94531
|
+
* @param [writer] Writer to encode to
|
94532
|
+
* @returns Writer
|
94533
|
+
*/
|
94534
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.ILanguageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
94535
|
+
|
94536
|
+
/**
|
94537
|
+
* Decodes a LanguageInfo message from the specified reader or buffer.
|
94538
|
+
* @param reader Reader or buffer to decode from
|
94539
|
+
* @param [length] Message length if known beforehand
|
94540
|
+
* @returns LanguageInfo
|
94541
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
94542
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
94543
|
+
*/
|
94544
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.LanguageInfo;
|
94545
|
+
|
94546
|
+
/**
|
94547
|
+
* Decodes a LanguageInfo message from the specified reader or buffer, length delimited.
|
94548
|
+
* @param reader Reader or buffer to decode from
|
94549
|
+
* @returns LanguageInfo
|
94550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
94551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
94552
|
+
*/
|
94553
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.LanguageInfo;
|
94554
|
+
|
94555
|
+
/**
|
94556
|
+
* Verifies a LanguageInfo message.
|
94557
|
+
* @param message Plain object to verify
|
94558
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
94559
|
+
*/
|
94560
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
94561
|
+
|
94562
|
+
/**
|
94563
|
+
* Creates a LanguageInfo message from a plain object. Also converts values to their respective internal types.
|
94564
|
+
* @param object Plain object
|
94565
|
+
* @returns LanguageInfo
|
94566
|
+
*/
|
94567
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.LanguageInfo;
|
94568
|
+
|
94569
|
+
/**
|
94570
|
+
* Creates a plain object from a LanguageInfo message. Also converts values to other types if specified.
|
94571
|
+
* @param message LanguageInfo
|
94572
|
+
* @param [options] Conversion options
|
94573
|
+
* @returns Plain object
|
94574
|
+
*/
|
94575
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.LanguageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
94576
|
+
|
94577
|
+
/**
|
94578
|
+
* Converts this LanguageInfo to JSON.
|
94579
|
+
* @returns JSON object
|
94580
|
+
*/
|
94581
|
+
public toJSON(): { [k: string]: any };
|
94582
|
+
|
94583
|
+
/**
|
94584
|
+
* Gets the default type url for LanguageInfo
|
94585
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
94586
|
+
* @returns The default type url
|
94587
|
+
*/
|
94588
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
94589
|
+
}
|
94590
|
+
|
91731
94591
|
/** Properties of a DocumentProcessingConfig. */
|
91732
94592
|
interface IDocumentProcessingConfig {
|
91733
94593
|
|
@@ -92707,6 +95567,9 @@ export namespace google {
|
|
92707
95567
|
|
92708
95568
|
/** CreateDataStoreRequest createAdvancedSiteSearch */
|
92709
95569
|
createAdvancedSiteSearch?: (boolean|null);
|
95570
|
+
|
95571
|
+
/** CreateDataStoreRequest skipDefaultSchemaCreation */
|
95572
|
+
skipDefaultSchemaCreation?: (boolean|null);
|
92710
95573
|
}
|
92711
95574
|
|
92712
95575
|
/** Represents a CreateDataStoreRequest. */
|
@@ -92730,6 +95593,9 @@ export namespace google {
|
|
92730
95593
|
/** CreateDataStoreRequest createAdvancedSiteSearch. */
|
92731
95594
|
public createAdvancedSiteSearch: boolean;
|
92732
95595
|
|
95596
|
+
/** CreateDataStoreRequest skipDefaultSchemaCreation. */
|
95597
|
+
public skipDefaultSchemaCreation: boolean;
|
95598
|
+
|
92733
95599
|
/**
|
92734
95600
|
* Creates a new CreateDataStoreRequest instance using the specified properties.
|
92735
95601
|
* @param [properties] Properties to set
|
@@ -108268,6 +111134,20 @@ export namespace google {
|
|
108268
111134
|
*/
|
108269
111135
|
public collectUserEvent(request: google.cloud.discoveryengine.v1beta.ICollectUserEventRequest): Promise<google.api.HttpBody>;
|
108270
111136
|
|
111137
|
+
/**
|
111138
|
+
* Calls PurgeUserEvents.
|
111139
|
+
* @param request PurgeUserEventsRequest message or plain object
|
111140
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
111141
|
+
*/
|
111142
|
+
public purgeUserEvents(request: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest, callback: google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEventsCallback): void;
|
111143
|
+
|
111144
|
+
/**
|
111145
|
+
* Calls PurgeUserEvents.
|
111146
|
+
* @param request PurgeUserEventsRequest message or plain object
|
111147
|
+
* @returns Promise
|
111148
|
+
*/
|
111149
|
+
public purgeUserEvents(request: google.cloud.discoveryengine.v1beta.IPurgeUserEventsRequest): Promise<google.longrunning.Operation>;
|
111150
|
+
|
108271
111151
|
/**
|
108272
111152
|
* Calls ImportUserEvents.
|
108273
111153
|
* @param request ImportUserEventsRequest message or plain object
|
@@ -108299,6 +111179,13 @@ export namespace google {
|
|
108299
111179
|
*/
|
108300
111180
|
type CollectUserEventCallback = (error: (Error|null), response?: google.api.HttpBody) => void;
|
108301
111181
|
|
111182
|
+
/**
|
111183
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1beta.UserEventService|purgeUserEvents}.
|
111184
|
+
* @param error Error, if any
|
111185
|
+
* @param [response] Operation
|
111186
|
+
*/
|
111187
|
+
type PurgeUserEventsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
111188
|
+
|
108302
111189
|
/**
|
108303
111190
|
* Callback as used by {@link google.cloud.discoveryengine.v1beta.UserEventService|importUserEvents}.
|
108304
111191
|
* @param error Error, if any
|