Skip to content

Commit 4c855d1

Browse files
authoredOct 15, 2024··
chore: Update discovery artifacts (#2499)
## Deleted keys were detected in the following stable discovery artifacts: backupdr v1 https://togithub.com/googleapis/google-api-python-client/commit/00ea603ab7db6a61bc46b3137b13317cd92794e9 beyondcorp v1 https://togithub.com/googleapis/google-api-python-client/commit/c5dc8155a6e45947ad1e814e4f5b7b565dff52d2 compute v1 https://togithub.com/googleapis/google-api-python-client/commit/a2da190b62fce111b85d64269e31ff99a96ac0ef datamigration v1 https://togithub.com/googleapis/google-api-python-client/commit/ce05f20c9b34285f61c3012458e094d0cafc6f12 sqladmin v1 https://togithub.com/googleapis/google-api-python-client/commit/e974cd42205b66a807017f06136e86c818b9bfbc ## Deleted keys were detected in the following pre-stable discovery artifacts: aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/bf8e9269aaa605ef1fefc19ab463616c7257c517 beyondcorp v1alpha https://togithub.com/googleapis/google-api-python-client/commit/c5dc8155a6e45947ad1e814e4f5b7b565dff52d2 compute alpha https://togithub.com/googleapis/google-api-python-client/commit/a2da190b62fce111b85d64269e31ff99a96ac0ef compute beta https://togithub.com/googleapis/google-api-python-client/commit/a2da190b62fce111b85d64269e31ff99a96ac0ef sqladmin v1beta4 https://togithub.com/googleapis/google-api-python-client/commit/e974cd42205b66a807017f06136e86c818b9bfbc ## Discovery Artifact Change Summary: feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/bf8e9269aaa605ef1fefc19ab463616c7257c517 feat(alloydb): update the api https://togithub.com/googleapis/google-api-python-client/commit/c4eb92ce6c666b864707455516db0c84fdaae7c2 feat(appengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/af5ad121035ef9c3f1dab63cc96c149d5e689936 feat(apphub): update the api https://togithub.com/googleapis/google-api-python-client/commit/9dc88cd5d815b074ae9dcb0ccf6b0855d1679089 feat(assuredworkloads): update the api https://togithub.com/googleapis/google-api-python-client/commit/5c39d8bc4a749a49616429c5c0e841dca3e5858c feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/00ea603ab7db6a61bc46b3137b13317cd92794e9 feat(beyondcorp): update the api https://togithub.com/googleapis/google-api-python-client/commit/c5dc8155a6e45947ad1e814e4f5b7b565dff52d2 fix(composer): update the api https://togithub.com/googleapis/google-api-python-client/commit/20db5f7a3b556930ea0befd26a124a60f9b4e24c feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/a2da190b62fce111b85d64269e31ff99a96ac0ef feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/d8e8dbcef43f5bcf12f739034f601ca8d753de4e feat(datamigration): update the api https://togithub.com/googleapis/google-api-python-client/commit/ce05f20c9b34285f61c3012458e094d0cafc6f12 feat(drive): update the api https://togithub.com/googleapis/google-api-python-client/commit/c428cccc59c55c0cb88764bd8e06f539b124bd7b feat(firebaseml): update the api https://togithub.com/googleapis/google-api-python-client/commit/0613d82d828c3b28b505d59bb979c04f35cf6d10 feat(gkehub): update the api https://togithub.com/googleapis/google-api-python-client/commit/1c68621a39b8bfcb63081daec46bfbb6846ea5c6 feat(migrationcenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/d10becb6f833c30fb39166910ac57e1a479acdcc feat(monitoring): update the api https://togithub.com/googleapis/google-api-python-client/commit/cfd92ec4e2c717b99aeb7e9c8133ef8ad3961b52 feat(playdeveloperreporting): update the api https://togithub.com/googleapis/google-api-python-client/commit/2f85d8c59aab4764b5d5cece5c739469a83e4ca3 feat(retail): update the api https://togithub.com/googleapis/google-api-python-client/commit/fdb5e8ae1c48ec8948ae1827b5cdd4af8c537722 feat(securitycenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/87e6b171a58f1640abb3548f90e223ad91fbd130 fix(spanner): update the api https://togithub.com/googleapis/google-api-python-client/commit/2e0b806e16128b277d0eeab23a825ee120b22d5d feat(sqladmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/e974cd42205b66a807017f06136e86c818b9bfbc feat(storage): update the api https://togithub.com/googleapis/google-api-python-client/commit/d8a6456c767c5c3fda2ce8ace3d656ca29da0286 feat(workloadmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/bb24af0704b3afffad4e3c183e375de0398e97da feat(youtube): update the api https://togithub.com/googleapis/google-api-python-client/commit/3bbf27b2f0acb2b7a28f81a787e2aff92f55efb0
1 parent 2034e78 commit 4c855d1

File tree

557 files changed

+36899
-12198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

557 files changed

+36899
-12198
lines changed
 

‎docs/dyn/aiplatform_v1.endpoints.html

+26-8
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ <h3>Method Details</h3>
383383
},
384384
],
385385
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
386+
&quot;dynamicRetrievalConfig&quot;: { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
387+
&quot;dynamicThreshold&quot;: 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
388+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the predictor to be used in dynamic retrieval.
389+
},
386390
},
387391
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
388392
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
@@ -652,6 +656,10 @@ <h3>Method Details</h3>
652656
},
653657
],
654658
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
659+
&quot;dynamicRetrievalConfig&quot;: { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
660+
&quot;dynamicThreshold&quot;: 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
661+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the predictor to be used in dynamic retrieval.
662+
},
655663
},
656664
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
657665
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
@@ -769,6 +777,9 @@ <h3>Method Details</h3>
769777
},
770778
},
771779
],
780+
&quot;retrievalMetadata&quot;: { # Metadata related to retrieval in the grounding flow. # Optional. Output only. Retrieval metadata.
781+
&quot;googleSearchDynamicRetrievalScore&quot;: 3.14, # Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
782+
},
772783
&quot;searchEntryPoint&quot;: { # Google search entry point. # Optional. Google search entry for the following-up web searches.
773784
&quot;renderedContent&quot;: &quot;A String&quot;, # Optional. Web content snippet that can be embedded in a web page or an app webview.
774785
&quot;sdkBlob&quot;: &quot;A String&quot;, # Optional. Base64 encoded JSON representing array of tuple.
@@ -782,17 +793,17 @@ <h3>Method Details</h3>
782793
&quot;chosenCandidates&quot;: [ # Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
783794
{ # Candidate for the logprobs token and score.
784795
&quot;logProbability&quot;: 3.14, # The candidate&#x27;s log probability.
785-
&quot;token&quot;: &quot;A String&quot;, # The candidates token string value.
786-
&quot;tokenId&quot;: 42, # The candidates token id value.
796+
&quot;token&quot;: &quot;A String&quot;, # The candidate&#x27;s token string value.
797+
&quot;tokenId&quot;: 42, # The candidate&#x27;s token id value.
787798
},
788799
],
789800
&quot;topCandidates&quot;: [ # Length = total number of decoding steps.
790801
{ # Candidates with top log probabilities at each decoding step.
791802
&quot;candidates&quot;: [ # Sorted by log probability in descending order.
792803
{ # Candidate for the logprobs token and score.
793804
&quot;logProbability&quot;: 3.14, # The candidate&#x27;s log probability.
794-
&quot;token&quot;: &quot;A String&quot;, # The candidates token string value.
795-
&quot;tokenId&quot;: 42, # The candidates token id value.
805+
&quot;token&quot;: &quot;A String&quot;, # The candidate&#x27;s token string value.
806+
&quot;tokenId&quot;: 42, # The candidate&#x27;s token id value.
796807
},
797808
],
798809
},
@@ -1062,6 +1073,10 @@ <h3>Method Details</h3>
10621073
},
10631074
],
10641075
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
1076+
&quot;dynamicRetrievalConfig&quot;: { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
1077+
&quot;dynamicThreshold&quot;: 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
1078+
&quot;mode&quot;: &quot;A String&quot;, # The mode of the predictor to be used in dynamic retrieval.
1079+
},
10651080
},
10661081
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
10671082
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
@@ -1179,6 +1194,9 @@ <h3>Method Details</h3>
11791194
},
11801195
},
11811196
],
1197+
&quot;retrievalMetadata&quot;: { # Metadata related to retrieval in the grounding flow. # Optional. Output only. Retrieval metadata.
1198+
&quot;googleSearchDynamicRetrievalScore&quot;: 3.14, # Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
1199+
},
11821200
&quot;searchEntryPoint&quot;: { # Google search entry point. # Optional. Google search entry for the following-up web searches.
11831201
&quot;renderedContent&quot;: &quot;A String&quot;, # Optional. Web content snippet that can be embedded in a web page or an app webview.
11841202
&quot;sdkBlob&quot;: &quot;A String&quot;, # Optional. Base64 encoded JSON representing array of tuple.
@@ -1192,17 +1210,17 @@ <h3>Method Details</h3>
11921210
&quot;chosenCandidates&quot;: [ # Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
11931211
{ # Candidate for the logprobs token and score.
11941212
&quot;logProbability&quot;: 3.14, # The candidate&#x27;s log probability.
1195-
&quot;token&quot;: &quot;A String&quot;, # The candidates token string value.
1196-
&quot;tokenId&quot;: 42, # The candidates token id value.
1213+
&quot;token&quot;: &quot;A String&quot;, # The candidate&#x27;s token string value.
1214+
&quot;tokenId&quot;: 42, # The candidate&#x27;s token id value.
11971215
},
11981216
],
11991217
&quot;topCandidates&quot;: [ # Length = total number of decoding steps.
12001218
{ # Candidates with top log probabilities at each decoding step.
12011219
&quot;candidates&quot;: [ # Sorted by log probability in descending order.
12021220
{ # Candidate for the logprobs token and score.
12031221
&quot;logProbability&quot;: 3.14, # The candidate&#x27;s log probability.
1204-
&quot;token&quot;: &quot;A String&quot;, # The candidates token string value.
1205-
&quot;tokenId&quot;: 42, # The candidates token id value.
1222+
&quot;token&quot;: &quot;A String&quot;, # The candidate&#x27;s token string value.
1223+
&quot;tokenId&quot;: 42, # The candidate&#x27;s token id value.
12061224
},
12071225
],
12081226
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="aiplatform_v1.html">Vertex AI API</a> . <a href="aiplatform_v1.projects.html">projects</a> . <a href="aiplatform_v1.projects.locations.html">locations</a> . <a href="aiplatform_v1.projects.locations.endpoints.html">endpoints</a> . <a href="aiplatform_v1.projects.locations.endpoints.chat.html">chat</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#completions">completions(endpoint, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Exposes an OpenAI-compatible endpoint for chat completions.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="completions">completions(endpoint, body=None, x__xgafv=None)</code>
91+
<pre>Exposes an OpenAI-compatible endpoint for chat completions.
92+
93+
Args:
94+
endpoint: string, Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
99+
&quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
100+
&quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
101+
&quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
102+
{
103+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
104+
},
105+
],
106+
}
107+
108+
x__xgafv: string, V1 error format.
109+
Allowed values
110+
1 - v1 error format
111+
2 - v2 error format
112+
113+
Returns:
114+
An object of the form:
115+
116+
{ # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
117+
&quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
118+
&quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
119+
&quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
120+
{
121+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122+
},
123+
],
124+
}</pre>
125+
</div>
126+
127+
</body></html>

0 commit comments

Comments
 (0)