Skip to content

Commit 0c4590d

Browse files
feat(recommender): update the api
#### recommender:v1beta1 The following keys were added: - resources.billingAccounts.resources.locations.methods.list (Total Keys: 18) - resources.folders.resources.locations.methods.list (Total Keys: 18) - resources.organizations.resources.locations.methods.list (Total Keys: 18) - resources.projects.resources.locations.methods.list (Total Keys: 18) - schemas.GoogleCloudLocationListLocationsResponse (Total Keys: 5) - schemas.GoogleCloudLocationLocation (Total Keys: 9)
1 parent 3595431 commit 0c4590d

6 files changed

+446
-2
lines changed

docs/dyn/recommender_v1beta1.billingAccounts.locations.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,65 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Lists locations with recommendations or insights.</p>
93+
<p class="toc_element">
94+
<code><a href="#list_next">list_next()</a></code></p>
95+
<p class="firstline">Retrieves the next page of results.</p>
9096
<h3>Method Details</h3>
9197
<div class="method">
9298
<code class="details" id="close">close()</code>
9399
<pre>Close httplib2 connections.</pre>
94100
</div>
95101

102+
<div class="method">
103+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
104+
<pre>Lists locations with recommendations or insights.
105+
106+
Args:
107+
name: string, The resource that owns the locations collection, if applicable. (required)
108+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
109+
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
110+
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
111+
x__xgafv: string, V1 error format.
112+
Allowed values
113+
1 - v1 error format
114+
2 - v2 error format
115+
116+
Returns:
117+
An object of the form:
118+
119+
{ # The response message for Locations.ListLocations.
120+
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
121+
{ # A resource that represents a Google Cloud location.
122+
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
123+
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
124+
&quot;a_key&quot;: &quot;A String&quot;,
125+
},
126+
&quot;locationId&quot;: &quot;A String&quot;, # The canonical id for this location. For example: `&quot;us-east1&quot;`.
127+
&quot;metadata&quot;: { # Service-specific metadata. For example the available capacity at the given location.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
&quot;name&quot;: &quot;A String&quot;, # Resource name for the location, which may vary between implementations. For example: `&quot;projects/example-project/locations/us-east1&quot;`
131+
},
132+
],
133+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The standard List next-page token.
134+
}</pre>
135+
</div>
136+
137+
<div class="method">
138+
<code class="details" id="list_next">list_next()</code>
139+
<pre>Retrieves the next page of results.
140+
141+
Args:
142+
previous_request: The request for the previous page. (required)
143+
previous_response: The response from the request for the previous page. (required)
144+
145+
Returns:
146+
A request object that you can call &#x27;execute()&#x27; on to request the next
147+
page. Returns None if there are no more items in the collection.
148+
</pre>
149+
</div>
150+
96151
</body></html>

docs/dyn/recommender_v1beta1.folders.locations.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,65 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Lists locations with recommendations or insights.</p>
93+
<p class="toc_element">
94+
<code><a href="#list_next">list_next()</a></code></p>
95+
<p class="firstline">Retrieves the next page of results.</p>
9096
<h3>Method Details</h3>
9197
<div class="method">
9298
<code class="details" id="close">close()</code>
9399
<pre>Close httplib2 connections.</pre>
94100
</div>
95101

102+
<div class="method">
103+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
104+
<pre>Lists locations with recommendations or insights.
105+
106+
Args:
107+
name: string, The resource that owns the locations collection, if applicable. (required)
108+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
109+
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
110+
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
111+
x__xgafv: string, V1 error format.
112+
Allowed values
113+
1 - v1 error format
114+
2 - v2 error format
115+
116+
Returns:
117+
An object of the form:
118+
119+
{ # The response message for Locations.ListLocations.
120+
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
121+
{ # A resource that represents a Google Cloud location.
122+
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
123+
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
124+
&quot;a_key&quot;: &quot;A String&quot;,
125+
},
126+
&quot;locationId&quot;: &quot;A String&quot;, # The canonical id for this location. For example: `&quot;us-east1&quot;`.
127+
&quot;metadata&quot;: { # Service-specific metadata. For example the available capacity at the given location.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
&quot;name&quot;: &quot;A String&quot;, # Resource name for the location, which may vary between implementations. For example: `&quot;projects/example-project/locations/us-east1&quot;`
131+
},
132+
],
133+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The standard List next-page token.
134+
}</pre>
135+
</div>
136+
137+
<div class="method">
138+
<code class="details" id="list_next">list_next()</code>
139+
<pre>Retrieves the next page of results.
140+
141+
Args:
142+
previous_request: The request for the previous page. (required)
143+
previous_response: The response from the request for the previous page. (required)
144+
145+
Returns:
146+
A request object that you can call &#x27;execute()&#x27; on to request the next
147+
page. Returns None if there are no more items in the collection.
148+
</pre>
149+
</div>
150+
96151
</body></html>

docs/dyn/recommender_v1beta1.organizations.locations.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,65 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Lists locations with recommendations or insights.</p>
93+
<p class="toc_element">
94+
<code><a href="#list_next">list_next()</a></code></p>
95+
<p class="firstline">Retrieves the next page of results.</p>
9096
<h3>Method Details</h3>
9197
<div class="method">
9298
<code class="details" id="close">close()</code>
9399
<pre>Close httplib2 connections.</pre>
94100
</div>
95101

102+
<div class="method">
103+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
104+
<pre>Lists locations with recommendations or insights.
105+
106+
Args:
107+
name: string, The resource that owns the locations collection, if applicable. (required)
108+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
109+
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
110+
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
111+
x__xgafv: string, V1 error format.
112+
Allowed values
113+
1 - v1 error format
114+
2 - v2 error format
115+
116+
Returns:
117+
An object of the form:
118+
119+
{ # The response message for Locations.ListLocations.
120+
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
121+
{ # A resource that represents a Google Cloud location.
122+
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
123+
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
124+
&quot;a_key&quot;: &quot;A String&quot;,
125+
},
126+
&quot;locationId&quot;: &quot;A String&quot;, # The canonical id for this location. For example: `&quot;us-east1&quot;`.
127+
&quot;metadata&quot;: { # Service-specific metadata. For example the available capacity at the given location.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
&quot;name&quot;: &quot;A String&quot;, # Resource name for the location, which may vary between implementations. For example: `&quot;projects/example-project/locations/us-east1&quot;`
131+
},
132+
],
133+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The standard List next-page token.
134+
}</pre>
135+
</div>
136+
137+
<div class="method">
138+
<code class="details" id="list_next">list_next()</code>
139+
<pre>Retrieves the next page of results.
140+
141+
Args:
142+
previous_request: The request for the previous page. (required)
143+
previous_response: The response from the request for the previous page. (required)
144+
145+
Returns:
146+
A request object that you can call &#x27;execute()&#x27; on to request the next
147+
page. Returns None if there are no more items in the collection.
148+
</pre>
149+
</div>
150+
96151
</body></html>

docs/dyn/recommender_v1beta1.projects.locations.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,65 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Lists locations with recommendations or insights.</p>
93+
<p class="toc_element">
94+
<code><a href="#list_next">list_next()</a></code></p>
95+
<p class="firstline">Retrieves the next page of results.</p>
9096
<h3>Method Details</h3>
9197
<div class="method">
9298
<code class="details" id="close">close()</code>
9399
<pre>Close httplib2 connections.</pre>
94100
</div>
95101

102+
<div class="method">
103+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
104+
<pre>Lists locations with recommendations or insights.
105+
106+
Args:
107+
name: string, The resource that owns the locations collection, if applicable. (required)
108+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
109+
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
110+
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
111+
x__xgafv: string, V1 error format.
112+
Allowed values
113+
1 - v1 error format
114+
2 - v2 error format
115+
116+
Returns:
117+
An object of the form:
118+
119+
{ # The response message for Locations.ListLocations.
120+
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
121+
{ # A resource that represents a Google Cloud location.
122+
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
123+
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
124+
&quot;a_key&quot;: &quot;A String&quot;,
125+
},
126+
&quot;locationId&quot;: &quot;A String&quot;, # The canonical id for this location. For example: `&quot;us-east1&quot;`.
127+
&quot;metadata&quot;: { # Service-specific metadata. For example the available capacity at the given location.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
&quot;name&quot;: &quot;A String&quot;, # Resource name for the location, which may vary between implementations. For example: `&quot;projects/example-project/locations/us-east1&quot;`
131+
},
132+
],
133+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The standard List next-page token.
134+
}</pre>
135+
</div>
136+
137+
<div class="method">
138+
<code class="details" id="list_next">list_next()</code>
139+
<pre>Retrieves the next page of results.
140+
141+
Args:
142+
previous_request: The request for the previous page. (required)
143+
previous_response: The response from the request for the previous page. (required)
144+
145+
Returns:
146+
A request object that you can call &#x27;execute()&#x27; on to request the next
147+
page. Returns None if there are no more items in the collection.
148+
</pre>
149+
</div>
150+
96151
</body></html>

googleapiclient/discovery_cache/documents/recommender.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@
16861686
}
16871687
}
16881688
},
1689-
"revision": "20231217",
1689+
"revision": "20240107",
16901690
"rootUrl": "https://recommender.googleapis.com/",
16911691
"schemas": {
16921692
"GoogleCloudRecommenderV1CostProjection": {

0 commit comments

Comments
 (0)