GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add prediction service RPC RawPredict to aiplatform_v1beta1 fea… · googleapis/python-aiplatform@b73cd94

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • google/cloud/aiplatform_v1beta1
    • __init__.py
    • gapic_metadata.json
    • services
      • dataset_service
        • async_client.py
        • client.py
        • transports
          • grpc.py
          • grpc_asyncio.py
      • endpoint_service
        • async_client.py
        • client.py
        • transports
          • grpc.py
          • grpc_asyncio.py
      • metadata_service
        • async_client.py
        • client.py
        • transports
          • grpc.py
          • grpc_asyncio.py
      • migration_service
        • client.py
      • prediction_service
        • async_client.py
        • client.py
        • transports
          • base.py
          • grpc.py
          • grpc_asyncio.py
      • specialist_pool_service
        • async_client.py
        • client.py
      • tensorboard_service
        • async_client.py
        • client.py
        • transports
          • base.py
          • grpc.py
          • grpc_asyncio.py
    • types
      • __init__.py
      • artifact.py
      • context.py
      • custom_job.py
      • dataset.py
      • endpoint.py
      • execution.py
      • explanation.py
      • explanation_metadata.py
      • featurestore.py
      • index_endpoint.py
      • index_service.py
      • metadata_service.py
      • migration_service.py
      • model.py
      • model_deployment_monitoring_job.py
      • pipeline_service.py
      • prediction_service.py
      • specialist_pool.py
      • study.py
      • tensorboard_run.py
      • tensorboard_service.py
  • tests/unit/gapic/aiplatform_v1beta1
    • test_dataset_service.py
    • test_endpoint_service.py
    • test_migration_service.py
    • test_prediction_service.py
    • test_tensorboard_service.py

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/aiplatform_v1beta1/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/__init__.py
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@
376376
from .types.prediction_service import ExplainResponse
377377
from .types.prediction_service import PredictRequest
378378
from .types.prediction_service import PredictResponse
379+
from .types.prediction_service import RawPredictRequest
379380
from .types.specialist_pool import SpecialistPool
380381
from .types.specialist_pool_service import CreateSpecialistPoolOperationMetadata
381382
from .types.specialist_pool_service import CreateSpecialistPoolRequest
@@ -398,6 +399,10 @@
398399
from .types.tensorboard_data import TimeSeriesDataPoint
399400
from .types.tensorboard_experiment import TensorboardExperiment
400401
from .types.tensorboard_run import TensorboardRun
402+
from .types.tensorboard_service import BatchCreateTensorboardRunsRequest
403+
from .types.tensorboard_service import BatchCreateTensorboardRunsResponse
404+
from .types.tensorboard_service import BatchCreateTensorboardTimeSeriesRequest
405+
from .types.tensorboard_service import BatchCreateTensorboardTimeSeriesResponse
401406
from .types.tensorboard_service import CreateTensorboardExperimentRequest
402407
from .types.tensorboard_service import CreateTensorboardOperationMetadata
403408
from .types.tensorboard_service import CreateTensorboardRequest
@@ -430,6 +435,8 @@
430435
from .types.tensorboard_service import UpdateTensorboardRequest
431436
from .types.tensorboard_service import UpdateTensorboardRunRequest
432437
from .types.tensorboard_service import UpdateTensorboardTimeSeriesRequest
438+
from .types.tensorboard_service import WriteTensorboardExperimentDataRequest
439+
from .types.tensorboard_service import WriteTensorboardExperimentDataResponse
433440
from .types.tensorboard_service import WriteTensorboardRunDataRequest
434441
from .types.tensorboard_service import WriteTensorboardRunDataResponse
435442
from .types.tensorboard_time_series import TensorboardTimeSeries
@@ -503,6 +510,10 @@
503510
"BatchCreateFeaturesOperationMetadata",
504511
"BatchCreateFeaturesRequest",
505512
"BatchCreateFeaturesResponse",
513+
"BatchCreateTensorboardRunsRequest",
514+
"BatchCreateTensorboardRunsResponse",
515+
"BatchCreateTensorboardTimeSeriesRequest",
516+
"BatchCreateTensorboardTimeSeriesResponse",
506517
"BatchDedicatedResources",
507518
"BatchMigrateResourcesOperationMetadata",
508519
"BatchMigrateResourcesRequest",
@@ -825,6 +836,7 @@
825836
"QueryArtifactLineageSubgraphRequest",
826837
"QueryContextLineageSubgraphRequest",
827838
"QueryExecutionInputsAndOutputsRequest",
839+
"RawPredictRequest",
828840
"ReadFeatureValuesRequest",
829841
"ReadFeatureValuesResponse",
830842
"ReadTensorboardBlobDataRequest",
@@ -906,6 +918,8 @@
906918
"Value",
907919
"VizierServiceClient",
908920
"WorkerPoolSpec",
921+
"WriteTensorboardExperimentDataRequest",
922+
"WriteTensorboardExperimentDataResponse",
909923
"WriteTensorboardRunDataRequest",
910924
"WriteTensorboardRunDataResponse",
911925
"XraiAttribution",
Collapse file

‎google/cloud/aiplatform_v1beta1/gapic_metadata.json‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/gapic_metadata.json
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,11 @@
14931493
"methods": [
14941494
"predict"
14951495
]
1496+
},
1497+
"RawPredict": {
1498+
"methods": [
1499+
"raw_predict"
1500+
]
14961501
}
14971502
}
14981503
},
@@ -1508,6 +1513,11 @@
15081513
"methods": [
15091514
"predict"
15101515
]
1516+
},
1517+
"RawPredict": {
1518+
"methods": [
1519+
"raw_predict"
1520+
]
15111521
}
15121522
}
15131523
}
@@ -1582,6 +1592,16 @@
15821592
"grpc": {
15831593
"libraryClient": "TensorboardServiceClient",
15841594
"rpcs": {
1595+
"BatchCreateTensorboardRuns": {
1596+
"methods": [
1597+
"batch_create_tensorboard_runs"
1598+
]
1599+
},
1600+
"BatchCreateTensorboardTimeSeries": {
1601+
"methods": [
1602+
"batch_create_tensorboard_time_series"
1603+
]
1604+
},
15851605
"CreateTensorboard": {
15861606
"methods": [
15871607
"create_tensorboard"
@@ -1697,6 +1717,11 @@
16971717
"update_tensorboard_time_series"
16981718
]
16991719
},
1720+
"WriteTensorboardExperimentData": {
1721+
"methods": [
1722+
"write_tensorboard_experiment_data"
1723+
]
1724+
},
17001725
"WriteTensorboardRunData": {
17011726
"methods": [
17021727
"write_tensorboard_run_data"
@@ -1707,6 +1732,16 @@
17071732
"grpc-async": {
17081733
"libraryClient": "TensorboardServiceAsyncClient",
17091734
"rpcs": {
1735+
"BatchCreateTensorboardRuns": {
1736+
"methods": [
1737+
"batch_create_tensorboard_runs"
1738+
]
1739+
},
1740+
"BatchCreateTensorboardTimeSeries": {
1741+
"methods": [
1742+
"batch_create_tensorboard_time_series"
1743+
]
1744+
},
17101745
"CreateTensorboard": {
17111746
"methods": [
17121747
"create_tensorboard"
@@ -1822,6 +1857,11 @@
18221857
"update_tensorboard_time_series"
18231858
]
18241859
},
1860+
"WriteTensorboardExperimentData": {
1861+
"methods": [
1862+
"write_tensorboard_experiment_data"
1863+
]
1864+
},
18251865
"WriteTensorboardRunData": {
18261866
"methods": [
18271867
"write_tensorboard_run_data"
Collapse file

‎google/cloud/aiplatform_v1beta1/services/dataset_service/async_client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/async_client.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747

4848

4949
class DatasetServiceAsyncClient:
50-
""""""
50+
"""The service that handles the CRUD of Vertex AI Dataset and
51+
its child resources.
52+
"""
5153

5254
_client: DatasetServiceClient
5355

Collapse file

‎google/cloud/aiplatform_v1beta1/services/dataset_service/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/client.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ def get_transport_class(cls, label: str = None,) -> Type[DatasetServiceTransport
8484

8585

8686
class DatasetServiceClient(metaclass=DatasetServiceClientMeta):
87-
""""""
87+
"""The service that handles the CRUD of Vertex AI Dataset and
88+
its child resources.
89+
"""
8890

8991
@staticmethod
9092
def _get_default_mtls_endpoint(api_endpoint):
Collapse file

‎google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
class DatasetServiceGrpcTransport(DatasetServiceTransport):
3737
"""gRPC backend transport for DatasetService.
3838
39+
The service that handles the CRUD of Vertex AI Dataset and
40+
its child resources.
41+
3942
This class defines the same methods as the primary client, so the
4043
primary client can load the underlying transport implementation
4144
and call it.
Collapse file

‎google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc_asyncio.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc_asyncio.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
class DatasetServiceGrpcAsyncIOTransport(DatasetServiceTransport):
3939
"""gRPC AsyncIO backend transport for DatasetService.
4040
41+
The service that handles the CRUD of Vertex AI Dataset and
42+
its child resources.
43+
4144
This class defines the same methods as the primary client, so the
4245
primary client can load the underlying transport implementation
4346
and call it.
Collapse file

‎google/cloud/aiplatform_v1beta1/services/endpoint_service/async_client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/async_client.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444

4545
class EndpointServiceAsyncClient:
46-
""""""
46+
"""A service for managing Vertex AI's Endpoints."""
4747

4848
_client: EndpointServiceClient
4949

@@ -54,6 +54,12 @@ class EndpointServiceAsyncClient:
5454
parse_endpoint_path = staticmethod(EndpointServiceClient.parse_endpoint_path)
5555
model_path = staticmethod(EndpointServiceClient.model_path)
5656
parse_model_path = staticmethod(EndpointServiceClient.parse_model_path)
57+
model_deployment_monitoring_job_path = staticmethod(
58+
EndpointServiceClient.model_deployment_monitoring_job_path
59+
)
60+
parse_model_deployment_monitoring_job_path = staticmethod(
61+
EndpointServiceClient.parse_model_deployment_monitoring_job_path
62+
)
5763
network_path = staticmethod(EndpointServiceClient.network_path)
5864
parse_network_path = staticmethod(EndpointServiceClient.parse_network_path)
5965
common_billing_account_path = staticmethod(
Collapse file

‎google/cloud/aiplatform_v1beta1/services/endpoint_service/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/client.py
+21-1Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def get_transport_class(cls, label: str = None,) -> Type[EndpointServiceTranspor
8080

8181

8282
class EndpointServiceClient(metaclass=EndpointServiceClientMeta):
83-
""""""
83+
"""A service for managing Vertex AI's Endpoints."""
8484

8585
@staticmethod
8686
def _get_default_mtls_endpoint(api_endpoint):
@@ -196,6 +196,26 @@ def parse_model_path(path: str) -> Dict[str, str]:
196196
)
197197
return m.groupdict() if m else {}
198198

199+
@staticmethod
200+
def model_deployment_monitoring_job_path(
201+
project: str, location: str, model_deployment_monitoring_job: str,
202+
) -> str:
203+
"""Returns a fully-qualified model_deployment_monitoring_job string."""
204+
return "projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}".format(
205+
project=project,
206+
location=location,
207+
model_deployment_monitoring_job=model_deployment_monitoring_job,
208+
)
209+
210+
@staticmethod
211+
def parse_model_deployment_monitoring_job_path(path: str) -> Dict[str, str]:
212+
"""Parses a model_deployment_monitoring_job path into its component segments."""
213+
m = re.match(
214+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/modelDeploymentMonitoringJobs/(?P<model_deployment_monitoring_job>.+?)$",
215+
path,
216+
)
217+
return m.groupdict() if m else {}
218+
199219
@staticmethod
200220
def network_path(project: str, network: str,) -> str:
201221
"""Returns a fully-qualified network string."""
Collapse file

‎google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
class EndpointServiceGrpcTransport(EndpointServiceTransport):
3636
"""gRPC backend transport for EndpointService.
3737
38+
A service for managing Vertex AI's Endpoints.
39+
3840
This class defines the same methods as the primary client, so the
3941
primary client can load the underlying transport implementation
4042
and call it.
Collapse file

‎google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc_asyncio.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc_asyncio.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
class EndpointServiceGrpcAsyncIOTransport(EndpointServiceTransport):
3838
"""gRPC AsyncIO backend transport for EndpointService.
3939
40+
A service for managing Vertex AI's Endpoints.
41+
4042
This class defines the same methods as the primary client, so the
4143
primary client can load the underlying transport implementation
4244
and call it.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.