feat: Added text extraction health care option in create model.
PiperOrigin-RevId: 336180475
This commit is contained in:
parent
bf79839b94
commit
bda7ce951d
|
|
@ -32,14 +32,14 @@ documentation:
|
|||
Sets the access control policy on the specified resource. Replaces
|
||||
any existing policy.
|
||||
|
||||
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
|
||||
PERMISSION_DENIED
|
||||
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
|
||||
errors.
|
||||
|
||||
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
|
||||
description: |-
|
||||
Returns permissions that a caller has on the specified resource. If the
|
||||
resource does not exist, this will return an empty set of
|
||||
permissions, not a NOT_FOUND error.
|
||||
permissions, not a `NOT_FOUND` error.
|
||||
|
||||
Note: This operation is designed to be used for building
|
||||
permission-aware UIs and command-line tools, not for authorization
|
||||
|
|
@ -51,6 +51,8 @@ backend:
|
|||
deadline: 5.0
|
||||
- selector: google.cloud.automl.v1beta1.AutoMl.CreateModel
|
||||
deadline: 20.0
|
||||
- selector: google.cloud.automl.v1beta1.AutoMl.DeployModel
|
||||
deadline: 20.0
|
||||
- selector: google.cloud.automl.v1beta1.AutoMl.ImportData
|
||||
deadline: 20.0
|
||||
- selector: google.cloud.automl.v1beta1.AutoMl.ListDatasets
|
||||
|
|
@ -74,33 +76,33 @@ backend:
|
|||
|
||||
http:
|
||||
rules:
|
||||
- selector: google.longrunning.Operations.ListOperations
|
||||
get: '/v1beta1/{name=projects/*/locations/*}/operations'
|
||||
|
||||
- selector: google.longrunning.Operations.GetOperation
|
||||
get: '/v1beta1/{name=projects/*/locations/*/operations/*}'
|
||||
|
||||
- selector: google.longrunning.Operations.DeleteOperation
|
||||
delete: '/v1beta1/{name=projects/*/locations/*/operations/*}'
|
||||
|
||||
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
|
||||
get: '/v1beta1/{resource=projects/*/locations/*}:getIamPolicy'
|
||||
additional_bindings:
|
||||
- get: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:getIamPolicy'
|
||||
- get: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
|
||||
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
|
||||
post: '/v1beta1/{resource=projects/*/locations/*}:setIamPolicy'
|
||||
body: '*'
|
||||
additional_bindings:
|
||||
- post: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:setIamPolicy'
|
||||
body: '*'
|
||||
- post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
|
||||
body: '*'
|
||||
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
|
||||
post: '/v1beta1/{resource=projects/*/locations/*/**}:testIamPermissions'
|
||||
body: '*'
|
||||
- selector: google.longrunning.Operations.CancelOperation
|
||||
post: '/v1beta1/{name=projects/*/locations/*/operations/*}:cancel'
|
||||
body: '*'
|
||||
|
||||
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
|
||||
post: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:setIamPolicy'
|
||||
body: '*'
|
||||
additional_bindings:
|
||||
- post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
|
||||
body: '*'
|
||||
|
||||
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
|
||||
get: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:getIamPolicy'
|
||||
additional_bindings:
|
||||
- get: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
|
||||
|
||||
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
|
||||
post: '/v1beta1/{resource=projects/*/locations/*/**}:testIamPermissions'
|
||||
- selector: google.longrunning.Operations.DeleteOperation
|
||||
delete: '/v1beta1/{name=projects/*/locations/*/operations/*}'
|
||||
- selector: google.longrunning.Operations.GetOperation
|
||||
get: '/v1beta1/{name=projects/*/locations/*/operations/*}'
|
||||
- selector: google.longrunning.Operations.ListOperations
|
||||
get: '/v1beta1/{name=projects/*/locations/*}/operations'
|
||||
- selector: google.longrunning.Operations.WaitOperation
|
||||
post: '/v1beta1/{name=projects/*/locations/*/operations/*}:wait'
|
||||
body: '*'
|
||||
|
||||
authentication:
|
||||
|
|
|
|||
|
|
@ -1015,6 +1015,32 @@ message ModelExportOutputConfig {
|
|||
// * For Image Classification mobile-core-ml-low-latency-1,
|
||||
// mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
|
||||
// "core_ml" (default).
|
||||
//
|
||||
// * For Image Object Detection mobile-low-latency-1, mobile-versatile-1,
|
||||
// mobile-high-accuracy-1:
|
||||
// "tflite", "tf_saved_model", "tf_js".
|
||||
//
|
||||
// * For Video Classification cloud,
|
||||
// "tf_saved_model".
|
||||
//
|
||||
// * For Video Object Tracking cloud,
|
||||
// "tf_saved_model".
|
||||
//
|
||||
// * For Video Object Tracking mobile-versatile-1:
|
||||
// "tflite", "edgetpu_tflite", "tf_saved_model", "docker".
|
||||
//
|
||||
// * For Video Object Tracking mobile-coral-versatile-1:
|
||||
// "tflite", "edgetpu_tflite", "docker".
|
||||
//
|
||||
// * For Video Object Tracking mobile-coral-low-latency-1:
|
||||
// "tflite", "edgetpu_tflite", "docker".
|
||||
//
|
||||
// * For Video Object Tracking mobile-jetson-versatile-1:
|
||||
// "tf_saved_model", "docker".
|
||||
//
|
||||
// * For Tables:
|
||||
// "docker".
|
||||
//
|
||||
// Formats description:
|
||||
//
|
||||
// * tflite - Used for Android mobile devices.
|
||||
|
|
|
|||
|
|
@ -45,7 +45,13 @@ message TextExtractionDatasetMetadata {
|
|||
|
||||
// Model metadata that is specific to text extraction.
|
||||
message TextExtractionModelMetadata {
|
||||
|
||||
// Indicates the scope of model use case.
|
||||
//
|
||||
// * `default`: Use to train a general text extraction model. Default value.
|
||||
//
|
||||
// * `health_care`: Use to train a text extraction model that is tuned for
|
||||
// healthcare applications.
|
||||
string model_hint = 3;
|
||||
}
|
||||
|
||||
// Dataset metadata for text sentiment.
|
||||
|
|
|
|||
Loading…
Reference in New Issue