Skip to content

Commit 43c8ed8

Browse files
feat(recommender): update the api
#### recommender:v1beta1 The following keys were deleted: - resources.organizations.resources.locations.resources.insightTypes.methods.config (Total Keys: 17) - resources.organizations.resources.locations.resources.recommenders.methods.config (Total Keys: 17) The following keys were added: - resources.organizations.resources.locations.resources.insightTypes.methods.updateConfig (Total Keys: 17) - resources.organizations.resources.locations.resources.recommenders.methods.updateConfig (Total Keys: 17)
1 parent 3a26ea7 commit 43c8ed8

File tree

4 files changed

+104
-104
lines changed

4 files changed

+104
-104
lines changed

docs/dyn/recommender_v1beta1.organizations.locations.insightTypes.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,33 @@ <h2>Instance Methods</h2>
8282
<p class="toc_element">
8383
<code><a href="#close">close()</a></code></p>
8484
<p class="firstline">Close httplib2 connections.</p>
85-
<p class="toc_element">
86-
<code><a href="#config">config(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
87-
<p class="firstline">Updates an InsightTypeConfig change. This will create a new revision of the config.</p>
8885
<p class="toc_element">
8986
<code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
9087
<p class="firstline">Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.</p>
88+
<p class="toc_element">
89+
<code><a href="#updateConfig">updateConfig(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Updates an InsightTypeConfig change. This will create a new revision of the config.</p>
9191
<h3>Method Details</h3>
9292
<div class="method">
9393
<code class="details" id="close">close()</code>
9494
<pre>Close httplib2 connections.</pre>
9595
</div>
9696

9797
<div class="method">
98-
<code class="details" id="config">config(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</code>
99-
<pre>Updates an InsightTypeConfig change. This will create a new revision of the config.
98+
<code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
99+
<pre>Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
100100

101101
Args:
102-
name: string, Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config (required)
103-
body: object, The request body.
104-
The object takes the form of:
102+
name: string, Required. Name of the InsightTypeConfig to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` (required)
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
105107

106-
{ # Configuration for an InsightType.
108+
Returns:
109+
An object of the form:
110+
111+
{ # Configuration for an InsightType.
107112
&quot;annotations&quot;: { # Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
108113
&quot;a_key&quot;: &quot;A String&quot;,
109114
},
@@ -117,19 +122,19 @@ <h3>Method Details</h3>
117122
&quot;name&quot;: &quot;A String&quot;, # Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
118123
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
119124
&quot;updateTime&quot;: &quot;A String&quot;, # Last time when the config was updated.
120-
}
125+
}</pre>
126+
</div>
121127

122-
updateMask: string, The list of fields to be updated.
123-
validateOnly: boolean, If true, validate the request and preview the change, but do not actually update it.
124-
x__xgafv: string, V1 error format.
125-
Allowed values
126-
1 - v1 error format
127-
2 - v2 error format
128+
<div class="method">
129+
<code class="details" id="updateConfig">updateConfig(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</code>
130+
<pre>Updates an InsightTypeConfig change. This will create a new revision of the config.
128131

129-
Returns:
130-
An object of the form:
132+
Args:
133+
name: string, Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config (required)
134+
body: object, The request body.
135+
The object takes the form of:
131136

132-
{ # Configuration for an InsightType.
137+
{ # Configuration for an InsightType.
133138
&quot;annotations&quot;: { # Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
134139
&quot;a_key&quot;: &quot;A String&quot;,
135140
},
@@ -143,15 +148,10 @@ <h3>Method Details</h3>
143148
&quot;name&quot;: &quot;A String&quot;, # Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
144149
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
145150
&quot;updateTime&quot;: &quot;A String&quot;, # Last time when the config was updated.
146-
}</pre>
147-
</div>
148-
149-
<div class="method">
150-
<code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
151-
<pre>Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
151+
}
152152

153-
Args:
154-
name: string, Required. Name of the InsightTypeConfig to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` (required)
153+
updateMask: string, The list of fields to be updated.
154+
validateOnly: boolean, If true, validate the request and preview the change, but do not actually update it.
155155
x__xgafv: string, V1 error format.
156156
Allowed values
157157
1 - v1 error format

docs/dyn/recommender_v1beta1.organizations.locations.recommenders.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,33 @@ <h2>Instance Methods</h2>
8282
<p class="toc_element">
8383
<code><a href="#close">close()</a></code></p>
8484
<p class="firstline">Close httplib2 connections.</p>
85-
<p class="toc_element">
86-
<code><a href="#config">config(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
87-
<p class="firstline">Updates a Recommender Config. This will create a new revision of the config.</p>
8885
<p class="toc_element">
8986
<code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
9087
<p class="firstline">Gets the requested Recommender Config. There is only one instance of the config for each Recommender.</p>
88+
<p class="toc_element">
89+
<code><a href="#updateConfig">updateConfig(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Updates a Recommender Config. This will create a new revision of the config.</p>
9191
<h3>Method Details</h3>
9292
<div class="method">
9393
<code class="details" id="close">close()</code>
9494
<pre>Close httplib2 connections.</pre>
9595
</div>
9696

9797
<div class="method">
98-
<code class="details" id="config">config(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</code>
99-
<pre>Updates a Recommender Config. This will create a new revision of the config.
98+
<code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
99+
<pre>Gets the requested Recommender Config. There is only one instance of the config for each Recommender.
100100

101101
Args:
102-
name: string, Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config (required)
103-
body: object, The request body.
104-
The object takes the form of:
102+
name: string, Required. Name of the Recommendation Config to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` (required)
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
105107

106-
{ # Configuration for a Recommender.
108+
Returns:
109+
An object of the form:
110+
111+
{ # Configuration for a Recommender.
107112
&quot;annotations&quot;: { # Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
108113
&quot;a_key&quot;: &quot;A String&quot;,
109114
},
@@ -117,19 +122,19 @@ <h3>Method Details</h3>
117122
},
118123
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
119124
&quot;updateTime&quot;: &quot;A String&quot;, # Last time when the config was updated.
120-
}
125+
}</pre>
126+
</div>
121127

122-
updateMask: string, The list of fields to be updated.
123-
validateOnly: boolean, If true, validate the request and preview the change, but do not actually update it.
124-
x__xgafv: string, V1 error format.
125-
Allowed values
126-
1 - v1 error format
127-
2 - v2 error format
128+
<div class="method">
129+
<code class="details" id="updateConfig">updateConfig(name, body, updateMask=None, validateOnly=None, x__xgafv=None)</code>
130+
<pre>Updates a Recommender Config. This will create a new revision of the config.
128131

129-
Returns:
130-
An object of the form:
132+
Args:
133+
name: string, Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config (required)
134+
body: object, The request body.
135+
The object takes the form of:
131136

132-
{ # Configuration for a Recommender.
137+
{ # Configuration for a Recommender.
133138
&quot;annotations&quot;: { # Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
134139
&quot;a_key&quot;: &quot;A String&quot;,
135140
},
@@ -143,15 +148,10 @@ <h3>Method Details</h3>
143148
},
144149
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
145150
&quot;updateTime&quot;: &quot;A String&quot;, # Last time when the config was updated.
146-
}</pre>
147-
</div>
148-
149-
<div class="method">
150-
<code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
151-
<pre>Gets the requested Recommender Config. There is only one instance of the config for each Recommender.
151+
}
152152

153-
Args:
154-
name: string, Required. Name of the Recommendation Config to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` (required)
153+
updateMask: string, The list of fields to be updated.
154+
validateOnly: boolean, If true, validate the request and preview the change, but do not actually update it.
155155
x__xgafv: string, V1 error format.
156156
Allowed values
157157
1 - v1 error format

googleapiclient/discovery_cache/documents/recommender.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@
11781178
}
11791179
}
11801180
},
1181-
"revision": "20220228",
1181+
"revision": "20220307",
11821182
"rootUrl": "https://recommender.googleapis.com/",
11831183
"schemas": {
11841184
"GoogleCloudRecommenderV1CostProjection": {

0 commit comments

Comments
 (0)