@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240530 → 0.0.20240612
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/index.d.ts +285 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240612
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,6 +28,64 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace discoveryengine {
|
|
31
|
+
interface GoogleApiDistribution {
|
|
32
|
+
/** The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1). */
|
|
33
|
+
bucketCounts?: string[];
|
|
34
|
+
/** Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field. */
|
|
35
|
+
bucketOptions?: GoogleApiDistributionBucketOptions;
|
|
36
|
+
/** The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided. */
|
|
37
|
+
count?: string;
|
|
38
|
+
/** Must be in increasing order of `value` field. */
|
|
39
|
+
exemplars?: GoogleApiDistributionExemplar[];
|
|
40
|
+
/** The arithmetic mean of the values in the population. If `count` is zero then this field must be zero. */
|
|
41
|
+
mean?: number;
|
|
42
|
+
/** If specified, contains the range of the population values. The field must not be present if the `count` is zero. */
|
|
43
|
+
range?: GoogleApiDistributionRange;
|
|
44
|
+
/** The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's method for accumulating this sum in one pass. If `count` is zero then this field must be zero. */
|
|
45
|
+
sumOfSquaredDeviation?: number;
|
|
46
|
+
}
|
|
47
|
+
interface GoogleApiDistributionBucketOptions {
|
|
48
|
+
/** The explicit buckets. */
|
|
49
|
+
explicitBuckets?: GoogleApiDistributionBucketOptionsExplicit;
|
|
50
|
+
/** The exponential buckets. */
|
|
51
|
+
exponentialBuckets?: GoogleApiDistributionBucketOptionsExponential;
|
|
52
|
+
/** The linear bucket. */
|
|
53
|
+
linearBuckets?: GoogleApiDistributionBucketOptionsLinear;
|
|
54
|
+
}
|
|
55
|
+
interface GoogleApiDistributionBucketOptionsExplicit {
|
|
56
|
+
/** The values must be monotonically increasing. */
|
|
57
|
+
bounds?: number[];
|
|
58
|
+
}
|
|
59
|
+
interface GoogleApiDistributionBucketOptionsExponential {
|
|
60
|
+
/** Must be greater than 1. */
|
|
61
|
+
growthFactor?: number;
|
|
62
|
+
/** Must be greater than 0. */
|
|
63
|
+
numFiniteBuckets?: number;
|
|
64
|
+
/** Must be greater than 0. */
|
|
65
|
+
scale?: number;
|
|
66
|
+
}
|
|
67
|
+
interface GoogleApiDistributionBucketOptionsLinear {
|
|
68
|
+
/** Must be greater than 0. */
|
|
69
|
+
numFiniteBuckets?: number;
|
|
70
|
+
/** Lower bound of the first bucket. */
|
|
71
|
+
offset?: number;
|
|
72
|
+
/** Must be greater than 0. */
|
|
73
|
+
width?: number;
|
|
74
|
+
}
|
|
75
|
+
interface GoogleApiDistributionExemplar {
|
|
76
|
+
/** Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system. */
|
|
77
|
+
attachments?: Array<{[P in string]: any}>;
|
|
78
|
+
/** The observation (sampling) time of the above value. */
|
|
79
|
+
timestamp?: string;
|
|
80
|
+
/** Value of the exemplar point. This value determines to which bucket the exemplar belongs. */
|
|
81
|
+
value?: number;
|
|
82
|
+
}
|
|
83
|
+
interface GoogleApiDistributionRange {
|
|
84
|
+
/** The maximum of the population values. */
|
|
85
|
+
max?: number;
|
|
86
|
+
/** The minimum of the population values. */
|
|
87
|
+
min?: number;
|
|
88
|
+
}
|
|
31
89
|
interface GoogleApiHttpBody {
|
|
32
90
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
33
91
|
contentType?: string;
|
|
@@ -36,6 +94,12 @@ declare namespace gapi.client {
|
|
|
36
94
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
37
95
|
extensions?: Array<{[P in string]: any}>;
|
|
38
96
|
}
|
|
97
|
+
interface GoogleApiMonitoredResource {
|
|
98
|
+
/** Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `"project_id"`, `"instance_id"`, and `"zone"`. */
|
|
99
|
+
labels?: {[P in string]: string};
|
|
100
|
+
/** Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`. */
|
|
101
|
+
type?: string;
|
|
102
|
+
}
|
|
39
103
|
interface GoogleCloudDiscoveryengineLoggingErrorContext {
|
|
40
104
|
/** The HTTP request which was processed when the error was triggered. */
|
|
41
105
|
httpRequest?: GoogleCloudDiscoveryengineLoggingHttpRequestContext;
|
|
@@ -493,6 +557,36 @@ declare namespace gapi.client {
|
|
|
493
557
|
/** The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6. */
|
|
494
558
|
citationThreshold?: number;
|
|
495
559
|
}
|
|
560
|
+
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest {
|
|
561
|
+
/** A Requirement.type specifying the requirement to check. */
|
|
562
|
+
requirementType?: string;
|
|
563
|
+
/** The resources to be checked for this requirement. */
|
|
564
|
+
resources?: GoogleApiMonitoredResource[];
|
|
565
|
+
}
|
|
566
|
+
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse {
|
|
567
|
+
/** Metric results. */
|
|
568
|
+
metricResults?: GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult[];
|
|
569
|
+
/** Timestamp of the oldest calculated metric (i.e. the most stale metric). Indicates that the `requirement_result` may not accurately reflect any Event and Product Catalog updates performed after this time. */
|
|
570
|
+
oldestMetricTimestamp?: string;
|
|
571
|
+
/** Requirement definition. */
|
|
572
|
+
requirement?: GoogleCloudDiscoveryengineV1alphaRequirement;
|
|
573
|
+
/** The condition for evaluating the requirement result. */
|
|
574
|
+
requirementCondition?: GoogleTypeExpr;
|
|
575
|
+
/** Requirement result, e.g. pass or fail. */
|
|
576
|
+
requirementResult?: string;
|
|
577
|
+
}
|
|
578
|
+
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult {
|
|
579
|
+
/** Type identifier of the metric corresponding to this query result. */
|
|
580
|
+
metricType?: string;
|
|
581
|
+
/** This metric query name is mapping to variables in the requirement_condition. */
|
|
582
|
+
name?: string;
|
|
583
|
+
/** Time corresponding to when this metric value was calculated. */
|
|
584
|
+
timestamp?: string;
|
|
585
|
+
/** The unit in which this metric is reported. Follows [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard. */
|
|
586
|
+
unit?: string;
|
|
587
|
+
/** Value of the metric query. */
|
|
588
|
+
value?: GoogleMonitoringV3TypedValue;
|
|
589
|
+
}
|
|
496
590
|
interface GoogleCloudDiscoveryengineV1alphaChunk {
|
|
497
591
|
/** Output only. Metadata of the current chunk. */
|
|
498
592
|
chunkMetadata?: GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata;
|
|
@@ -752,6 +846,8 @@ declare namespace gapi.client {
|
|
|
752
846
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
753
847
|
/** Immutable. The industry vertical that the data store registers. */
|
|
754
848
|
industryVertical?: string;
|
|
849
|
+
/** Language info for DataStore. */
|
|
850
|
+
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
755
851
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
756
852
|
name?: string;
|
|
757
853
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -1228,6 +1324,16 @@ declare namespace gapi.client {
|
|
|
1228
1324
|
/** Inclusive lower bound. */
|
|
1229
1325
|
minimum?: number;
|
|
1230
1326
|
}
|
|
1327
|
+
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
1328
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
1329
|
+
language?: string;
|
|
1330
|
+
/** The language code for the DataStore. */
|
|
1331
|
+
languageCode?: string;
|
|
1332
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
1333
|
+
normalizedLanguageCode?: string;
|
|
1334
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
1335
|
+
region?: string;
|
|
1336
|
+
}
|
|
1231
1337
|
interface GoogleCloudDiscoveryengineV1alphaListChunksResponse {
|
|
1232
1338
|
/** The Chunks. */
|
|
1233
1339
|
chunks?: GoogleCloudDiscoveryengineV1alphaChunk[];
|
|
@@ -1559,6 +1665,52 @@ declare namespace gapi.client {
|
|
|
1559
1665
|
/** Required. The version string of the terms of service to update. */
|
|
1560
1666
|
serviceTermVersion?: string;
|
|
1561
1667
|
}
|
|
1668
|
+
interface GoogleCloudDiscoveryengineV1alphaRequirement {
|
|
1669
|
+
/** The condition for evaluating the requirement result. Variables in the expression should be provided by `metrics_bindings` or `threshold_bindings`. Where `metrics_bindings` are used for computed metrics and `threshold_bindings` are used to define thresholds for corresponding `metric_bindings`. */
|
|
1670
|
+
condition?: GoogleTypeExpr;
|
|
1671
|
+
/** The description of the requirement. */
|
|
1672
|
+
description?: string;
|
|
1673
|
+
/** The name of the requirement. */
|
|
1674
|
+
displayName?: string;
|
|
1675
|
+
/** A list of the metric bindings to be used in `condition`. */
|
|
1676
|
+
metricBindings?: GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding[];
|
|
1677
|
+
/** A list of threshold bindings to be used in `condition`. */
|
|
1678
|
+
thresholdBindings?: GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding[];
|
|
1679
|
+
/** The requirement type, used as an identifier. Must be unique. The type should prefix with service name to avoid possible collision. It's encoraged to use natural hierarchical grouping for similar requirements. Examples: * `library.googleapis.com/books/min_available_books` * `discoveryengine.googleapis.com/media_rec/recommended_for_you/conversion_rate` */
|
|
1680
|
+
type?: string;
|
|
1681
|
+
/** A list of the metric bindings to be used in `condition`. */
|
|
1682
|
+
violationSamplesBindings?: GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding[];
|
|
1683
|
+
}
|
|
1684
|
+
interface GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding {
|
|
1685
|
+
/** The category of the metric's target resource. Example: "Events" */
|
|
1686
|
+
category?: string;
|
|
1687
|
+
/** Human readable description of the corresponding metric filter. */
|
|
1688
|
+
description?: string;
|
|
1689
|
+
/** The filter string used for metrics query. Example: "metric.type = \"discoveryengine.googleapis.com/events/day_count\" AND " "metric.conditions.time_range = \"NINETY_DAYS\"" */
|
|
1690
|
+
metricFilter?: string;
|
|
1691
|
+
/** The resource being monitored for the metric. */
|
|
1692
|
+
resourceType?: string;
|
|
1693
|
+
/** The variable id to be referenced in `condition`. */
|
|
1694
|
+
variableId?: string;
|
|
1695
|
+
}
|
|
1696
|
+
interface GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding {
|
|
1697
|
+
/** Threshold to trigger a blocking failure. If not met, the requirement will evaluate as a `FAILURE`. */
|
|
1698
|
+
blockingThreshold?: number;
|
|
1699
|
+
/** Human readable description of the corresponding threshold and sub-requirement. */
|
|
1700
|
+
description?: string;
|
|
1701
|
+
/** The variable id to be referenced in `condition`. Must be unique across all `metric_bindings` and `threshold_bindings`. */
|
|
1702
|
+
variableId?: string;
|
|
1703
|
+
/** Threshold to trigger a warning. If not met, the requirement will evaluate as a `WARNING`. */
|
|
1704
|
+
warningThreshold?: number;
|
|
1705
|
+
}
|
|
1706
|
+
interface GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding {
|
|
1707
|
+
/** Description of this sample binding. Used by the UI to render user friendly descriptions for each requirement condition. Should be less than 128 characters long. */
|
|
1708
|
+
description?: string;
|
|
1709
|
+
/** The filter string used for samples query. Example: "sample.type = \"retail.googleapis.com/user_event\" AND " "sample.labels.event_type = \"PURCHASE\" " */
|
|
1710
|
+
sampleFilter?: string;
|
|
1711
|
+
/** The variable id to be referenced in `condition`. */
|
|
1712
|
+
variableId?: string;
|
|
1713
|
+
}
|
|
1562
1714
|
interface GoogleCloudDiscoveryengineV1alphaResumeEngineRequest {}
|
|
1563
1715
|
interface GoogleCloudDiscoveryengineV1alphaSchema {
|
|
1564
1716
|
/** Output only. Configurations for fields of the schema. */
|
|
@@ -1599,6 +1751,8 @@ declare namespace gapi.client {
|
|
|
1599
1751
|
filter?: string;
|
|
1600
1752
|
/** Raw image query. */
|
|
1601
1753
|
imageQuery?: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery;
|
|
1754
|
+
/** The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. */
|
|
1755
|
+
languageCode?: string;
|
|
1602
1756
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
1603
1757
|
offset?: number;
|
|
1604
1758
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
@@ -1615,6 +1769,8 @@ declare namespace gapi.client {
|
|
|
1615
1769
|
queryExpansionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec;
|
|
1616
1770
|
/** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */
|
|
1617
1771
|
rankingExpression?: string;
|
|
1772
|
+
/** The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided. */
|
|
1773
|
+
regionCode?: string;
|
|
1618
1774
|
/** Whether to turn on safe search. This is only supported for website search. */
|
|
1619
1775
|
safeSearch?: boolean;
|
|
1620
1776
|
/** The spell correction specification that specifies the mode under which spell correction takes effect. */
|
|
@@ -2300,6 +2456,8 @@ declare namespace gapi.client {
|
|
|
2300
2456
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
2301
2457
|
/** Immutable. The industry vertical that the data store registers. */
|
|
2302
2458
|
industryVertical?: string;
|
|
2459
|
+
/** Language info for DataStore. */
|
|
2460
|
+
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
2303
2461
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
2304
2462
|
name?: string;
|
|
2305
2463
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -2493,6 +2651,16 @@ declare namespace gapi.client {
|
|
|
2493
2651
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
2494
2652
|
unjoinedEventsCount?: string;
|
|
2495
2653
|
}
|
|
2654
|
+
interface GoogleCloudDiscoveryengineV1betaLanguageInfo {
|
|
2655
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
2656
|
+
language?: string;
|
|
2657
|
+
/** The language code for the DataStore. */
|
|
2658
|
+
languageCode?: string;
|
|
2659
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
2660
|
+
normalizedLanguageCode?: string;
|
|
2661
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
2662
|
+
region?: string;
|
|
2663
|
+
}
|
|
2496
2664
|
interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
|
|
2497
2665
|
/** List of custom tuning models. */
|
|
2498
2666
|
models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
|
|
@@ -3053,6 +3221,18 @@ declare namespace gapi.client {
|
|
|
3053
3221
|
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
3054
3222
|
response?: {[P in string]: any};
|
|
3055
3223
|
}
|
|
3224
|
+
interface GoogleMonitoringV3TypedValue {
|
|
3225
|
+
/** A Boolean value: `true` or `false`. */
|
|
3226
|
+
boolValue?: boolean;
|
|
3227
|
+
/** A distribution value. */
|
|
3228
|
+
distributionValue?: GoogleApiDistribution;
|
|
3229
|
+
/** A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision. */
|
|
3230
|
+
doubleValue?: number;
|
|
3231
|
+
/** A 64-bit integer. Its range is approximately ±9.2x1018. */
|
|
3232
|
+
int64Value?: string;
|
|
3233
|
+
/** A variable-length string value. */
|
|
3234
|
+
stringValue?: string;
|
|
3235
|
+
}
|
|
3056
3236
|
interface GoogleProtobufEmpty {}
|
|
3057
3237
|
interface GoogleRpcStatus {
|
|
3058
3238
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
@@ -3070,6 +3250,16 @@ declare namespace gapi.client {
|
|
|
3070
3250
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
3071
3251
|
year?: number;
|
|
3072
3252
|
}
|
|
3253
|
+
interface GoogleTypeExpr {
|
|
3254
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
3255
|
+
description?: string;
|
|
3256
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
3257
|
+
expression?: string;
|
|
3258
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
3259
|
+
location?: string;
|
|
3260
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
3261
|
+
title?: string;
|
|
3262
|
+
}
|
|
3073
3263
|
interface OperationsResource {
|
|
3074
3264
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
3075
3265
|
get(request?: {
|
|
@@ -11360,6 +11550,66 @@ declare namespace gapi.client {
|
|
|
11360
11550
|
body: GoogleCloudDiscoveryengineV1alphaRankRequest
|
|
11361
11551
|
): Request<GoogleCloudDiscoveryengineV1alphaRankResponse>;
|
|
11362
11552
|
}
|
|
11553
|
+
interface RequirementsResource {
|
|
11554
|
+
/** Check a particular requirement. */
|
|
11555
|
+
checkRequirement(request: {
|
|
11556
|
+
/** V1 error format. */
|
|
11557
|
+
'$.xgafv'?: string;
|
|
11558
|
+
/** OAuth access token. */
|
|
11559
|
+
access_token?: string;
|
|
11560
|
+
/** Data format for response. */
|
|
11561
|
+
alt?: string;
|
|
11562
|
+
/** JSONP */
|
|
11563
|
+
callback?: string;
|
|
11564
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11565
|
+
fields?: string;
|
|
11566
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11567
|
+
key?: string;
|
|
11568
|
+
/** Required. Full resource name of the location. Format `projects/{project_number_or_id}/locations/{location}` */
|
|
11569
|
+
location: string;
|
|
11570
|
+
/** OAuth 2.0 token for the current user. */
|
|
11571
|
+
oauth_token?: string;
|
|
11572
|
+
/** Returns response with indentations and line breaks. */
|
|
11573
|
+
prettyPrint?: boolean;
|
|
11574
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11575
|
+
quotaUser?: string;
|
|
11576
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11577
|
+
upload_protocol?: string;
|
|
11578
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11579
|
+
uploadType?: string;
|
|
11580
|
+
/** Request body */
|
|
11581
|
+
resource: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest;
|
|
11582
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse>;
|
|
11583
|
+
checkRequirement(
|
|
11584
|
+
request: {
|
|
11585
|
+
/** V1 error format. */
|
|
11586
|
+
'$.xgafv'?: string;
|
|
11587
|
+
/** OAuth access token. */
|
|
11588
|
+
access_token?: string;
|
|
11589
|
+
/** Data format for response. */
|
|
11590
|
+
alt?: string;
|
|
11591
|
+
/** JSONP */
|
|
11592
|
+
callback?: string;
|
|
11593
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11594
|
+
fields?: string;
|
|
11595
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11596
|
+
key?: string;
|
|
11597
|
+
/** Required. Full resource name of the location. Format `projects/{project_number_or_id}/locations/{location}` */
|
|
11598
|
+
location: string;
|
|
11599
|
+
/** OAuth 2.0 token for the current user. */
|
|
11600
|
+
oauth_token?: string;
|
|
11601
|
+
/** Returns response with indentations and line breaks. */
|
|
11602
|
+
prettyPrint?: boolean;
|
|
11603
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11604
|
+
quotaUser?: string;
|
|
11605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11606
|
+
upload_protocol?: string;
|
|
11607
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11608
|
+
uploadType?: string;
|
|
11609
|
+
},
|
|
11610
|
+
body: GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
|
|
11611
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse>;
|
|
11612
|
+
}
|
|
11363
11613
|
interface OperationsResource {
|
|
11364
11614
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
11365
11615
|
get(request?: {
|
|
@@ -11393,6 +11643,39 @@ declare namespace gapi.client {
|
|
|
11393
11643
|
operations: OperationsResource;
|
|
11394
11644
|
}
|
|
11395
11645
|
interface UserEventsResource {
|
|
11646
|
+
/** Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
|
|
11647
|
+
collect(request?: {
|
|
11648
|
+
/** V1 error format. */
|
|
11649
|
+
'$.xgafv'?: string;
|
|
11650
|
+
/** OAuth access token. */
|
|
11651
|
+
access_token?: string;
|
|
11652
|
+
/** Data format for response. */
|
|
11653
|
+
alt?: string;
|
|
11654
|
+
/** JSONP */
|
|
11655
|
+
callback?: string;
|
|
11656
|
+
/** The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
11657
|
+
ets?: string;
|
|
11658
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11659
|
+
fields?: string;
|
|
11660
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11661
|
+
key?: string;
|
|
11662
|
+
/** OAuth 2.0 token for the current user. */
|
|
11663
|
+
oauth_token?: string;
|
|
11664
|
+
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
11665
|
+
parent: string;
|
|
11666
|
+
/** Returns response with indentations and line breaks. */
|
|
11667
|
+
prettyPrint?: boolean;
|
|
11668
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11669
|
+
quotaUser?: string;
|
|
11670
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11671
|
+
upload_protocol?: string;
|
|
11672
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11673
|
+
uploadType?: string;
|
|
11674
|
+
/** The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests. */
|
|
11675
|
+
uri?: string;
|
|
11676
|
+
/** Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. */
|
|
11677
|
+
userEvent?: string;
|
|
11678
|
+
}): Request<GoogleApiHttpBody>;
|
|
11396
11679
|
/** Writes a single user event. */
|
|
11397
11680
|
write(request: {
|
|
11398
11681
|
/** V1 error format. */
|
|
@@ -11606,6 +11889,7 @@ declare namespace gapi.client {
|
|
|
11606
11889
|
groundingConfigs: GroundingConfigsResource;
|
|
11607
11890
|
operations: OperationsResource;
|
|
11608
11891
|
rankingConfigs: RankingConfigsResource;
|
|
11892
|
+
requirements: RequirementsResource;
|
|
11609
11893
|
sampleQuerySets: SampleQuerySetsResource;
|
|
11610
11894
|
userEvents: UserEventsResource;
|
|
11611
11895
|
}
|