Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: upgrade gapic-generator-python to 0.46.3 (#159)
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] committed May 21, 2021
1 parent e000109 commit bfece77
Show file tree
Hide file tree
Showing 100 changed files with 3,562 additions and 3,470 deletions.
1 change: 0 additions & 1 deletion docs/automl_v1/auto_ml.rst
Expand Up @@ -5,7 +5,6 @@ AutoMl
:members:
:inherited-members:


.. automodule:: google.cloud.automl_v1.services.auto_ml.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/automl_v1beta1/auto_ml.rst
Expand Up @@ -5,7 +5,6 @@ AutoMl
:members:
:inherited-members:


.. automodule:: google.cloud.automl_v1beta1.services.auto_ml.pagers
:members:
:inherited-members:
112 changes: 56 additions & 56 deletions google/cloud/automl/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,14 +14,15 @@
# limitations under the License.
#

from google.cloud.automl_v1.services.auto_ml.async_client import AutoMlAsyncClient
from google.cloud.automl_v1.services.auto_ml.client import AutoMlClient
from google.cloud.automl_v1.services.prediction_service.async_client import (
PredictionServiceAsyncClient,
)
from google.cloud.automl_v1.services.auto_ml.async_client import AutoMlAsyncClient
from google.cloud.automl_v1.services.prediction_service.client import (
PredictionServiceClient,
)
from google.cloud.automl_v1.services.prediction_service.async_client import (
PredictionServiceAsyncClient,
)

from google.cloud.automl_v1.types.annotation_payload import AnnotationPayload
from google.cloud.automl_v1.types.annotation_spec import AnnotationSpec
from google.cloud.automl_v1.types.classification import ClassificationAnnotation
Expand Down Expand Up @@ -111,90 +111,90 @@
from google.cloud.automl_v1.types.translation import TranslationModelMetadata

__all__ = (
"AutoMlClient",
"AutoMlAsyncClient",
"PredictionServiceClient",
"PredictionServiceAsyncClient",
"AnnotationPayload",
"AnnotationSpec",
"AutoMlAsyncClient",
"AutoMlClient",
"BatchPredictInputConfig",
"BatchPredictOperationMetadata",
"BatchPredictOutputConfig",
"BatchPredictRequest",
"BatchPredictResult",
"BoundingBoxMetricsEntry",
"BoundingPoly",
"ClassificationAnnotation",
"ClassificationEvaluationMetrics",
"ClassificationType",
"Document",
"DocumentDimensions",
"ExamplePayload",
"Image",
"TextSnippet",
"Dataset",
"BoundingBoxMetricsEntry",
"ImageObjectDetectionAnnotation",
"ImageObjectDetectionEvaluationMetrics",
"BoundingPoly",
"NormalizedVertex",
"ImageClassificationDatasetMetadata",
"ImageClassificationModelDeploymentMetadata",
"ImageClassificationModelMetadata",
"ImageObjectDetectionDatasetMetadata",
"ImageObjectDetectionModelDeploymentMetadata",
"ImageObjectDetectionModelMetadata",
"BatchPredictInputConfig",
"BatchPredictOutputConfig",
"DocumentInputConfig",
"GcsDestination",
"GcsSource",
"InputConfig",
"ModelExportOutputConfig",
"OutputConfig",
"Model",
"ModelEvaluation",
"BatchPredictOperationMetadata",
"CreateDatasetOperationMetadata",
"CreateDatasetRequest",
"CreateModelOperationMetadata",
"DeleteOperationMetadata",
"DeployModelOperationMetadata",
"ExportDataOperationMetadata",
"ExportModelOperationMetadata",
"ImportDataOperationMetadata",
"OperationMetadata",
"UndeployModelOperationMetadata",
"BatchPredictRequest",
"BatchPredictResult",
"PredictRequest",
"PredictResponse",
"CreateDatasetRequest",
"CreateModelRequest",
"Dataset",
"DeleteDatasetRequest",
"DeleteModelRequest",
"DeleteOperationMetadata",
"DeployModelOperationMetadata",
"DeployModelRequest",
"Document",
"DocumentDimensions",
"DocumentInputConfig",
"ExamplePayload",
"ExportDataOperationMetadata",
"ExportDataRequest",
"ExportModelOperationMetadata",
"ExportModelRequest",
"GcsDestination",
"GcsSource",
"GetAnnotationSpecRequest",
"GetDatasetRequest",
"GetModelEvaluationRequest",
"GetModelRequest",
"Image",
"ImageClassificationDatasetMetadata",
"ImageClassificationModelDeploymentMetadata",
"ImageClassificationModelMetadata",
"ImageObjectDetectionAnnotation",
"ImageObjectDetectionDatasetMetadata",
"ImageObjectDetectionEvaluationMetrics",
"ImageObjectDetectionModelDeploymentMetadata",
"ImageObjectDetectionModelMetadata",
"ImportDataOperationMetadata",
"ImportDataRequest",
"InputConfig",
"ListDatasetsRequest",
"ListDatasetsResponse",
"ListModelEvaluationsRequest",
"ListModelEvaluationsResponse",
"ListModelsRequest",
"ListModelsResponse",
"Model",
"ModelEvaluation",
"ModelExportOutputConfig",
"NormalizedVertex",
"OperationMetadata",
"OutputConfig",
"PredictRequest",
"PredictResponse",
"PredictionServiceAsyncClient",
"PredictionServiceClient",
"UndeployModelRequest",
"UpdateDatasetRequest",
"UpdateModelRequest",
"TextClassificationDatasetMetadata",
"TextClassificationModelMetadata",
"TextExtractionAnnotation",
"TextExtractionDatasetMetadata",
"TextExtractionEvaluationMetrics",
"TextExtractionModelMetadata",
"TextSentimentDatasetMetadata",
"TextSentimentModelMetadata",
"TextExtractionAnnotation",
"TextExtractionEvaluationMetrics",
"TextSegment",
"TextSentimentAnnotation",
"TextSentimentDatasetMetadata",
"TextSentimentEvaluationMetrics",
"TextSentimentModelMetadata",
"TextSnippet",
"TranslationAnnotation",
"TranslationDatasetMetadata",
"TranslationEvaluationMetrics",
"TranslationModelMetadata",
"UndeployModelOperationMetadata",
"UndeployModelRequest",
"UpdateDatasetRequest",
"UpdateModelRequest",
)
9 changes: 6 additions & 3 deletions google/cloud/automl_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,7 +15,10 @@
#

from .services.auto_ml import AutoMlClient
from .services.auto_ml import AutoMlAsyncClient
from .services.prediction_service import PredictionServiceClient
from .services.prediction_service import PredictionServiceAsyncClient

from .types.annotation_payload import AnnotationPayload
from .types.annotation_spec import AnnotationSpec
from .types.classification import ClassificationAnnotation
Expand Down Expand Up @@ -100,10 +102,12 @@
from .types.translation import TranslationEvaluationMetrics
from .types.translation import TranslationModelMetadata


__all__ = (
"AutoMlAsyncClient",
"PredictionServiceAsyncClient",
"AnnotationPayload",
"AnnotationSpec",
"AutoMlClient",
"BatchPredictInputConfig",
"BatchPredictOperationMetadata",
"BatchPredictOutputConfig",
Expand Down Expand Up @@ -185,5 +189,4 @@
"UndeployModelRequest",
"UpdateDatasetRequest",
"UpdateModelRequest",
"AutoMlClient",
)

0 comments on commit bfece77

Please sign in to comment.