Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add featurestore service to aiplatform v1 #765

Merged
merged 3 commits into from Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions docs/aiplatform_v1/featurestore_online_serving_service.rst
@@ -0,0 +1,6 @@
FeaturestoreOnlineServingService
--------------------------------------------------

.. automodule:: google.cloud.aiplatform_v1.services.featurestore_online_serving_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/aiplatform_v1/featurestore_service.rst
@@ -0,0 +1,10 @@
FeaturestoreService
-------------------------------------

.. automodule:: google.cloud.aiplatform_v1.services.featurestore_service
:members:
:inherited-members:

.. automodule:: google.cloud.aiplatform_v1.services.featurestore_service.pagers
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/aiplatform_v1/metadata_service.rst
@@ -0,0 +1,10 @@
MetadataService
---------------------------------

.. automodule:: google.cloud.aiplatform_v1.services.metadata_service
:members:
:inherited-members:

.. automodule:: google.cloud.aiplatform_v1.services.metadata_service.pagers
:members:
:inherited-members:
3 changes: 3 additions & 0 deletions docs/aiplatform_v1/services.rst
Expand Up @@ -5,9 +5,12 @@ Services for Google Cloud Aiplatform v1 API

dataset_service
endpoint_service
featurestore_online_serving_service
featurestore_service
index_endpoint_service
index_service
job_service
metadata_service
migration_service
model_service
pipeline_service
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Image Classification.

Attributes:
content (str):
The image bytes or Cloud Storage URI to make
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageObjectDetectionPredictionInstance(proto.Message):
r"""Prediction input format for Image Object Detection.

Attributes:
content (str):
The image bytes or Cloud Storage URI to make
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageSegmentationPredictionInstance(proto.Message):
r"""Prediction input format for Image Segmentation.

Attributes:
content (str):
The image bytes to make the predictions on.
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TextClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Text Classification.

Attributes:
content (str):
The text snippet to make the predictions on.
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TextExtractionPredictionInstance(proto.Message):
r"""Prediction input format for Text Extraction.

Attributes:
content (str):
The text snippet to make the predictions on.
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TextSentimentPredictionInstance(proto.Message):
r"""Prediction input format for Text Sentiment.

Attributes:
content (str):
The text snippet to make the predictions on.
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoActionRecognitionPredictionInstance(proto.Message):
r"""Prediction input format for Video Action Recognition.

Attributes:
content (str):
The Google Cloud Storage location of the
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Video Classification.

Attributes:
content (str):
The Google Cloud Storage location of the
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoObjectTrackingPredictionInstance(proto.Message):
r"""Prediction input format for Video Object Tracking.

Attributes:
content (str):
The Google Cloud Storage location of the
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageClassificationPredictionParams(proto.Message):
r"""Prediction model parameters for Image Classification.

Attributes:
confidence_threshold (float):
The Model only returns predictions with at
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageObjectDetectionPredictionParams(proto.Message):
r"""Prediction model parameters for Image Object Detection.

Attributes:
confidence_threshold (float):
The Model only returns predictions with at
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageSegmentationPredictionParams(proto.Message):
r"""Prediction model parameters for Image Segmentation.

Attributes:
confidence_threshold (float):
When the model predicts category of pixels of
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoActionRecognitionPredictionParams(proto.Message):
r"""Prediction model parameters for Video Action Recognition.

Attributes:
confidence_threshold (float):
The Model only returns predictions with at
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoClassificationPredictionParams(proto.Message):
r"""Prediction model parameters for Video Classification.

Attributes:
confidence_threshold (float):
The Model only returns predictions with at
Expand Down
Expand Up @@ -24,6 +24,7 @@

class VideoObjectTrackingPredictionParams(proto.Message):
r"""Prediction model parameters for Video Object Tracking.

Attributes:
confidence_threshold (float):
The Model only returns predictions with at
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ClassificationPredictionResult(proto.Message):
r"""Prediction output format for Image and Text Classification.

Attributes:
ids (Sequence[int]):
The resource IDs of the AnnotationSpecs that
Expand Down
Expand Up @@ -26,6 +26,7 @@

class ImageObjectDetectionPredictionResult(proto.Message):
r"""Prediction output format for Image Object Detection.

Attributes:
ids (Sequence[int]):
The resource IDs of the AnnotationSpecs that
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageSegmentationPredictionResult(proto.Message):
r"""Prediction output format for Image Segmentation.

Attributes:
category_mask (str):
A PNG image where each pixel in the mask
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TabularClassificationPredictionResult(proto.Message):
r"""Prediction output format for Tabular Classification.

Attributes:
classes (Sequence[str]):
The name of the classes being classified,
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TabularRegressionPredictionResult(proto.Message):
r"""Prediction output format for Tabular Regression.

Attributes:
value (float):
The regression value.
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TextExtractionPredictionResult(proto.Message):
r"""Prediction output format for Text Extraction.

Attributes:
ids (Sequence[int]):
The resource IDs of the AnnotationSpecs that
Expand Down
Expand Up @@ -24,6 +24,7 @@

class TextSentimentPredictionResult(proto.Message):
r"""Prediction output format for Text Sentiment

Attributes:
sentiment (int):
The integer sentiment labels between 0
Expand Down
Expand Up @@ -27,6 +27,7 @@

class VideoActionRecognitionPredictionResult(proto.Message):
r"""Prediction output format for Video Action Recognition.

Attributes:
id (str):
The resource ID of the AnnotationSpec that
Expand Down
Expand Up @@ -27,6 +27,7 @@

class VideoClassificationPredictionResult(proto.Message):
r"""Prediction output format for Video Classification.

Attributes:
id (str):
The resource ID of the AnnotationSpec that
Expand Down
Expand Up @@ -27,6 +27,7 @@

class VideoObjectTrackingPredictionResult(proto.Message):
r"""Prediction output format for Video Object Tracking.

Attributes:
id (str):
The resource ID of the AnnotationSpec that
Expand Down
Expand Up @@ -47,6 +47,7 @@ class AutoMlImageClassification(proto.Message):

class AutoMlImageClassificationInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlImageClassificationInputs.ModelType):

Expand Down Expand Up @@ -106,6 +107,7 @@ class ModelType(proto.Enum):

class AutoMlImageClassificationMetadata(proto.Message):
r"""

Attributes:
cost_milli_node_hours (int):
The actual training cost of creating this
Expand Down
Expand Up @@ -47,6 +47,7 @@ class AutoMlImageObjectDetection(proto.Message):

class AutoMlImageObjectDetectionInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlImageObjectDetectionInputs.ModelType):

Expand Down Expand Up @@ -93,6 +94,7 @@ class ModelType(proto.Enum):

class AutoMlImageObjectDetectionMetadata(proto.Message):
r"""

Attributes:
cost_milli_node_hours (int):
The actual training cost of creating this
Expand Down
Expand Up @@ -47,6 +47,7 @@ class AutoMlImageSegmentation(proto.Message):

class AutoMlImageSegmentationInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlImageSegmentationInputs.ModelType):

Expand Down Expand Up @@ -87,6 +88,7 @@ class ModelType(proto.Enum):

class AutoMlImageSegmentationMetadata(proto.Message):
r"""

Attributes:
cost_milli_node_hours (int):
The actual training cost of creating this
Expand Down
Expand Up @@ -28,6 +28,7 @@

class AutoMlTables(proto.Message):
r"""A TrainingJob that trains and uploads an AutoML Tables Model.

Attributes:
inputs (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlTablesInputs):
The input parameters of this TrainingJob.
Expand All @@ -41,6 +42,7 @@ class AutoMlTables(proto.Message):

class AutoMlTablesInputs(proto.Message):
r"""

Attributes:
optimization_objective_recall_value (float):
Required when optimization_objective is
Expand Down Expand Up @@ -146,6 +148,7 @@ class AutoMlTablesInputs(proto.Message):

class Transformation(proto.Message):
r"""

Attributes:
auto (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlTablesInputs.Transformation.AutoTransformation):

Expand Down Expand Up @@ -409,6 +412,7 @@ class TextArrayTransformation(proto.Message):

class AutoMlTablesMetadata(proto.Message):
r"""Model metadata specific to AutoML Tables.

Attributes:
train_cost_milli_node_hours (int):
Output only. The actual training cost of the
Expand Down
Expand Up @@ -38,6 +38,7 @@ class AutoMlTextClassification(proto.Message):

class AutoMlTextClassificationInputs(proto.Message):
r"""

Attributes:
multi_label (bool):

Expand Down
Expand Up @@ -35,7 +35,8 @@ class AutoMlTextExtraction(proto.Message):


class AutoMlTextExtractionInputs(proto.Message):
r""" """
r"""
"""


__all__ = tuple(sorted(__protobuf__.manifest))
Expand Up @@ -36,6 +36,7 @@ class AutoMlTextSentiment(proto.Message):

class AutoMlTextSentimentInputs(proto.Message):
r"""

Attributes:
sentiment_max (int):
A sentiment is expressed as an integer
Expand Down
Expand Up @@ -38,6 +38,7 @@ class AutoMlVideoActionRecognition(proto.Message):

class AutoMlVideoActionRecognitionInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlVideoActionRecognitionInputs.ModelType):

Expand Down
Expand Up @@ -38,6 +38,7 @@ class AutoMlVideoClassification(proto.Message):

class AutoMlVideoClassificationInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlVideoClassificationInputs.ModelType):

Expand Down
Expand Up @@ -38,6 +38,7 @@ class AutoMlVideoObjectTracking(proto.Message):

class AutoMlVideoObjectTrackingInputs(proto.Message):
r"""

Attributes:
model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlVideoObjectTrackingInputs.ModelType):

Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Image Classification.

Attributes:
content (str):
The image bytes or Cloud Storage URI to make
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageObjectDetectionPredictionInstance(proto.Message):
r"""Prediction input format for Image Object Detection.

Attributes:
content (str):
The image bytes or Cloud Storage URI to make
Expand Down
Expand Up @@ -24,6 +24,7 @@

class ImageSegmentationPredictionInstance(proto.Message):
r"""Prediction input format for Image Segmentation.

Attributes:
content (str):
The image bytes to make the predictions on.
Expand Down