You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parent: string, Required. The parent resource where this custom class will be created. Format: {api_version}/projects/{project}/locations/{location}/customClasses (required)
110
+
body: object, The request body.
111
+
The object takes the form of:
112
+
113
+
{ # Message sent by the client for the `CreateCustomClass` method.
114
+
"customClass": { # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases. # Required. The custom class to create.
115
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
116
+
"items": [ # A collection of class items.
117
+
{ # An item of the class.
118
+
"value": "A String", # The class item's value.
119
+
},
120
+
],
121
+
"name": "A String", # The resource name of the custom class.
122
+
},
123
+
"customClassId": "A String", # Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
124
+
}
125
+
126
+
x__xgafv: string, V1 error format.
127
+
Allowed values
128
+
1 - v1 error format
129
+
2 - v2 error format
130
+
131
+
Returns:
132
+
An object of the form:
133
+
134
+
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
135
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
136
+
"items": [ # A collection of class items.
137
+
{ # An item of the class.
138
+
"value": "A String", # The class item's value.
139
+
},
140
+
],
141
+
"name": "A String", # The resource name of the custom class.
name: string, Required. The name of the custom class to delete. Format: {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class} (required)
151
+
x__xgafv: string, V1 error format.
152
+
Allowed values
153
+
1 - v1 error format
154
+
2 - v2 error format
155
+
156
+
Returns:
157
+
An object of the form:
158
+
159
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
name: string, Required. The name of the custom class to retrieve. Format: {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class} (required)
169
+
x__xgafv: string, V1 error format.
170
+
Allowed values
171
+
1 - v1 error format
172
+
2 - v2 error format
173
+
174
+
Returns:
175
+
An object of the form:
176
+
177
+
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
178
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
179
+
"items": [ # A collection of class items.
180
+
{ # An item of the class.
181
+
"value": "A String", # The class item's value.
182
+
},
183
+
],
184
+
"name": "A String", # The resource name of the custom class.
parent: string, Required. The parent, which owns this collection of custom classes. Format: {api_version}/projects/{project}/locations/{location}/customClasses (required)
194
+
pageSize: integer, The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
195
+
pageToken: string, A page token, received from a previous `ListCustomClass` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomClass` must match the call that provided the page token.
196
+
x__xgafv: string, V1 error format.
197
+
Allowed values
198
+
1 - v1 error format
199
+
2 - v2 error format
200
+
201
+
Returns:
202
+
An object of the form:
203
+
204
+
{ # Message returned to the client by the `ListCustomClasses` method.
205
+
"customClasses": [ # The custom classes.
206
+
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
207
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
208
+
"items": [ # A collection of class items.
209
+
{ # An item of the class.
210
+
"value": "A String", # The class item's value.
211
+
},
212
+
],
213
+
"name": "A String", # The resource name of the custom class.
214
+
},
215
+
],
216
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
name: string, The resource name of the custom class. (required)
240
+
body: object, The request body.
241
+
The object takes the form of:
242
+
243
+
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
244
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
245
+
"items": [ # A collection of class items.
246
+
{ # An item of the class.
247
+
"value": "A String", # The class item's value.
248
+
},
249
+
],
250
+
"name": "A String", # The resource name of the custom class.
251
+
}
252
+
253
+
updateMask: string, The list of fields to be updated.
254
+
x__xgafv: string, V1 error format.
255
+
Allowed values
256
+
1 - v1 error format
257
+
2 - v2 error format
258
+
259
+
Returns:
260
+
An object of the form:
261
+
262
+
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
263
+
"customClassId": "A String", # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
264
+
"items": [ # A collection of class items.
265
+
{ # An item of the class.
266
+
"value": "A String", # The class item's value.
267
+
},
268
+
],
269
+
"name": "A String", # The resource name of the custom class.
0 commit comments