Skip to content

Commit b6310c5

Browse files
feat(cloudsearch): update the api
#### cloudsearch:v1 The following keys were added: - resources.v1.methods.initializeCustomer (Total Keys: 8) - schemas.InitializeCustomerRequest (Total Keys: 2)
1 parent efdb8fc commit b6310c5

File tree

4 files changed

+171
-4
lines changed

4 files changed

+171
-4
lines changed

docs/dyn/cloudsearch_v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ <h2>Instance Methods</h2>
109109
</p>
110110
<p class="firstline">Returns the stats Resource.</p>
111111

112+
<p class="toc_element">
113+
<code><a href="cloudsearch_v1.v1.html">v1()</a></code>
114+
</p>
115+
<p class="firstline">Returns the v1 Resource.</p>
116+
112117
<p class="toc_element">
113118
<code><a href="#close">close()</a></code></p>
114119
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/cloudsearch_v1.stats.query.searchapplications.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{
110-
&quot;stats&quot;: [
111-
{
109+
{ # Response format for getting query stats at a search application level between given dates.
110+
&quot;stats&quot;: [ # Search application level query stats per date
111+
{ # Search application level query stats per date
112112
&quot;date&quot;: { # Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999. # Date for which query stats were calculated. Stats calculated on the next day close to midnight are returned.
113113
&quot;day&quot;: 42, # Day of month. Must be from 1 to 31 and valid for the year and month.
114114
&quot;month&quot;: 42, # Month of date. Must be from 1 to 12.

docs/dyn/cloudsearch_v1.v1.html

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
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="cloudsearch_v1.html">Cloud Search API</a> . <a href="cloudsearch_v1.v1.html">v1</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="#initializeCustomer">initializeCustomer(body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Initializes the customer. **Note:** This API requires an admin account to execute.</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="initializeCustomer">initializeCustomer(body=None, x__xgafv=None)</code>
91+
<pre>Initializes the customer. **Note:** This API requires an admin account to execute.
92+
93+
Args:
94+
body: object, The request body.
95+
The object takes the form of:
96+
97+
{ # Request message for `InitializeCustomer` method.
98+
}
99+
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # This resource represents a long-running operation that is the result of a network API call.
109+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
110+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
111+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
112+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
113+
{
114+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
115+
},
116+
],
117+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
118+
},
119+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
120+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
121+
},
122+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
123+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
124+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
125+
},
126+
}</pre>
127+
</div>
128+
129+
</body></html>

googleapiclient/discovery_cache/documents/cloudsearch.v1.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,9 +1914,33 @@
19141914
}
19151915
}
19161916
}
1917+
},
1918+
"v1": {
1919+
"methods": {
1920+
"initializeCustomer": {
1921+
"description": "Initializes the customer. **Note:** This API requires an admin account to execute.",
1922+
"flatPath": "v1:initializeCustomer",
1923+
"httpMethod": "POST",
1924+
"id": "cloudsearch.initializeCustomer",
1925+
"parameterOrder": [],
1926+
"parameters": {},
1927+
"path": "v1:initializeCustomer",
1928+
"request": {
1929+
"$ref": "InitializeCustomerRequest"
1930+
},
1931+
"response": {
1932+
"$ref": "Operation"
1933+
},
1934+
"scopes": [
1935+
"https://www.googleapis.com/auth/cloud_search",
1936+
"https://www.googleapis.com/auth/cloud_search.settings",
1937+
"https://www.googleapis.com/auth/cloud_search.settings.indexing"
1938+
]
1939+
}
1940+
}
19171941
}
19181942
},
1919-
"revision": "20210920",
1943+
"revision": "20211005",
19201944
"rootUrl": "https://cloudsearch.googleapis.com/",
19211945
"schemas": {
19221946
"AuditLoggingSettings": {
@@ -2762,9 +2786,11 @@
27622786
"type": "object"
27632787
},
27642788
"GetSearchApplicationQueryStatsResponse": {
2789+
"description": "Response format for getting query stats at a search application level between given dates.",
27652790
"id": "GetSearchApplicationQueryStatsResponse",
27662791
"properties": {
27672792
"stats": {
2793+
"description": "Search application level query stats per date",
27682794
"items": {
27692795
"$ref": "SearchApplicationQueryStats"
27702796
},
@@ -2882,6 +2908,12 @@
28822908
},
28832909
"type": "object"
28842910
},
2911+
"InitializeCustomerRequest": {
2912+
"description": "Request message for `InitializeCustomer` method.",
2913+
"id": "InitializeCustomerRequest",
2914+
"properties": {},
2915+
"type": "object"
2916+
},
28852917
"IntegerOperatorOptions": {
28862918
"description": "Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
28872919
"id": "IntegerOperatorOptions",
@@ -4473,6 +4505,7 @@
44734505
"type": "object"
44744506
},
44754507
"SearchApplicationQueryStats": {
4508+
"description": "Search application level query stats per date",
44764509
"id": "SearchApplicationQueryStats",
44774510
"properties": {
44784511
"date": {

0 commit comments

Comments
 (0)