diff --git a/google/cloud/automl_v1/types/dataset.py b/google/cloud/automl_v1/types/dataset.py index ad7bed47..f0ad21a4 100644 --- a/google/cloud/automl_v1/types/dataset.py +++ b/google/cloud/automl_v1/types/dataset.py @@ -105,6 +105,7 @@ class Dataset(proto.Message): underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + See https://goo.gl/xmQnxf for more information on and examples of labels. """ diff --git a/google/cloud/automl_v1/types/io.py b/google/cloud/automl_v1/types/io.py index 9f01e5e2..ce3f572d 100644 --- a/google/cloud/automl_v1/types/io.py +++ b/google/cloud/automl_v1/types/io.py @@ -1108,6 +1108,7 @@ class DocumentInputConfig(proto.Message): The Google Cloud Storage location of the document file. Only a single path should be given. + Max supported size: 512MB. Supported extensions: .PDF. diff --git a/google/cloud/automl_v1/types/model.py b/google/cloud/automl_v1/types/model.py index 19611777..50aee402 100644 --- a/google/cloud/automl_v1/types/model.py +++ b/google/cloud/automl_v1/types/model.py @@ -104,6 +104,7 @@ class Model(proto.Message): underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. + See https://goo.gl/xmQnxf for more information on and examples of labels. """ diff --git a/google/cloud/automl_v1beta1/types/operations.py b/google/cloud/automl_v1beta1/types/operations.py index c12d4fc5..e6743803 100644 --- a/google/cloud/automl_v1beta1/types/operations.py +++ b/google/cloud/automl_v1beta1/types/operations.py @@ -232,8 +232,8 @@ class ExportDataOutputInfo(proto.Message): This field is a member of `oneof`_ ``output_location``. bigquery_output_dataset (str): The path of the BigQuery dataset created, in - bq://projectId.bqDatasetId - format, into which the exported data is written. + bq://projectId.bqDatasetId format, into which + the exported data is written. This field is a member of `oneof`_ ``output_location``. """ @@ -289,9 +289,8 @@ class BatchPredictOutputInfo(proto.Message): This field is a member of `oneof`_ ``output_location``. bigquery_output_dataset (str): The path of the BigQuery dataset created, in - bq://projectId.bqDatasetId - format, into which the prediction output is - written. + bq://projectId.bqDatasetId format, into which + the prediction output is written. This field is a member of `oneof`_ ``output_location``. """ @@ -370,9 +369,9 @@ class ExportEvaluatedExamplesOutputInfo(proto.Message): Attributes: bigquery_output_dataset (str): The path of the BigQuery dataset created, in - bq://projectId.bqDatasetId - format, into which the output of export - evaluated examples is written. + bq://projectId.bqDatasetId format, into which + the output of export evaluated examples is + written. """ bigquery_output_dataset: str = proto.Field( diff --git a/google/cloud/automl_v1beta1/types/tables.py b/google/cloud/automl_v1beta1/types/tables.py index 1cc95ba6..6bf0f800 100644 --- a/google/cloud/automl_v1beta1/types/tables.py +++ b/google/cloud/automl_v1beta1/types/tables.py @@ -227,6 +227,7 @@ class TablesModelMetadata(proto.Message): Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. + The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being @@ -234,6 +235,7 @@ class TablesModelMetadata(proto.Message): discretion. This especially may happen when further model training ceases to provide any improvements. + If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and diff --git a/tests/unit/gapic/automl_v1/test_auto_ml.py b/tests/unit/gapic/automl_v1/test_auto_ml.py index 64cb2de2..b8ad35b1 100644 --- a/tests/unit/gapic/automl_v1/test_auto_ml.py +++ b/tests/unit/gapic/automl_v1/test_auto_ml.py @@ -68,7 +68,7 @@ from google.cloud.automl_v1.types import text_extraction from google.cloud.automl_v1.types import text_sentiment from google.cloud.automl_v1.types import translation -from google.longrunning import operations_pb2 +from google.longrunning import operations_pb2 # type: ignore from google.oauth2 import service_account from google.protobuf import empty_pb2 # type: ignore from google.protobuf import field_mask_pb2 # type: ignore diff --git a/tests/unit/gapic/automl_v1/test_prediction_service.py b/tests/unit/gapic/automl_v1/test_prediction_service.py index 31c7071c..ae3fc572 100644 --- a/tests/unit/gapic/automl_v1/test_prediction_service.py +++ b/tests/unit/gapic/automl_v1/test_prediction_service.py @@ -60,7 +60,7 @@ from google.cloud.automl_v1.types import operations from google.cloud.automl_v1.types import prediction_service from google.cloud.automl_v1.types import text_segment -from google.longrunning import operations_pb2 +from google.longrunning import operations_pb2 # type: ignore from google.oauth2 import service_account import google.auth diff --git a/tests/unit/gapic/automl_v1beta1/test_auto_ml.py b/tests/unit/gapic/automl_v1beta1/test_auto_ml.py index de40a609..1fec8da9 100644 --- a/tests/unit/gapic/automl_v1beta1/test_auto_ml.py +++ b/tests/unit/gapic/automl_v1beta1/test_auto_ml.py @@ -77,7 +77,7 @@ from google.cloud.automl_v1beta1.types import text_sentiment from google.cloud.automl_v1beta1.types import translation from google.cloud.automl_v1beta1.types import video -from google.longrunning import operations_pb2 +from google.longrunning import operations_pb2 # type: ignore from google.oauth2 import service_account from google.protobuf import empty_pb2 # type: ignore from google.protobuf import field_mask_pb2 # type: ignore diff --git a/tests/unit/gapic/automl_v1beta1/test_prediction_service.py b/tests/unit/gapic/automl_v1beta1/test_prediction_service.py index f1038415..f60c8381 100644 --- a/tests/unit/gapic/automl_v1beta1/test_prediction_service.py +++ b/tests/unit/gapic/automl_v1beta1/test_prediction_service.py @@ -62,7 +62,7 @@ from google.cloud.automl_v1beta1.types import operations from google.cloud.automl_v1beta1.types import prediction_service from google.cloud.automl_v1beta1.types import text_segment -from google.longrunning import operations_pb2 +from google.longrunning import operations_pb2 # type: ignore from google.oauth2 import service_account from google.protobuf import struct_pb2 # type: ignore import google.auth