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 — Copybara import of the project: · Russ76/python-aiplatform@8ba9e78

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/aiplatform_v1
    • model_garden_service.rst
    • services.rst
  • google/cloud
    • aiplatform_v1beta1
      • services
        • metadata_service
          • async_client.py
          • client.py
        • prediction_service
          • async_client.py
          • client.py
          • transports
            • grpc.py
            • grpc_asyncio.py
        • vizier_service
          • async_client.py
          • client.py
          • transports
            • grpc.py
            • grpc_asyncio.py
      • types
        • featurestore_service.py
        • index_endpoint.py
        • metadata_service.py
        • model.py
        • model_evaluation.py
        • publisher_model.py
        • tensorboard_experiment.py
    • aiplatform_v1
      • __init__.py
      • gapic_metadata.json
      • services
        • metadata_service
          • async_client.py
          • client.py
        • migration_service
          • client.py
        • model_garden_service
          • __init__.py
          • async_client.py
          • client.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • model_service
          • async_client.py
          • client.py
        • prediction_service
          • async_client.py
          • client.py
          • transports
            • grpc.py
            • grpc_asyncio.py
        • vizier_service
          • async_client.py
          • client.py
          • transports
            • grpc.py
            • grpc_asyncio.py
      • types
        • __init__.py
        • accelerator_type.py
        • featurestore_service.py
        • index_endpoint.py
        • metadata_service.py
        • model.py
        • model_evaluation.py
        • model_garden_service.py
        • publisher_model.py
        • tensorboard_experiment.py
  • samples/generated_samples
    • aiplatform_v1_generated_model_garden_service_get_publisher_model_async.py
    • aiplatform_v1_generated_model_garden_service_get_publisher_model_sync.py
    • snippet_metadata_google.cloud.aiplatform.v1.json
    • snippet_metadata_google.cloud.aiplatform.v1beta1.json
  • tests/unit/gapic
    • aiplatform_v1beta1
      • test_model_garden_service.py
    • aiplatform_v1
      • test_migration_service.py
      • test_model_garden_service.py
      • test_model_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

‎docs/aiplatform_v1/model_garden_service.rst‎

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ModelGardenService
2+
------------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1.services.model_garden_service
5+
:members:
6+
:inherited-members:
Collapse file

‎docs/aiplatform_v1/services.rst‎

Copy file name to clipboardExpand all lines: docs/aiplatform_v1/services.rst
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Services for Google Cloud Aiplatform v1 API
1313
match_service
1414
metadata_service
1515
migration_service
16+
model_garden_service
1617
model_service
1718
pipeline_service
1819
prediction_service
Collapse file

‎google/cloud/aiplatform_v1/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/__init__.py
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
from .services.metadata_service import MetadataServiceAsyncClient
4343
from .services.migration_service import MigrationServiceClient
4444
from .services.migration_service import MigrationServiceAsyncClient
45+
from .services.model_garden_service import ModelGardenServiceClient
46+
from .services.model_garden_service import ModelGardenServiceAsyncClient
4547
from .services.model_service import ModelServiceClient
4648
from .services.model_service import ModelServiceAsyncClient
4749
from .services.pipeline_service import PipelineServiceClient
@@ -369,6 +371,7 @@
369371
from .types.migration_service import MigrateResourceResponse
370372
from .types.migration_service import SearchMigratableResourcesRequest
371373
from .types.migration_service import SearchMigratableResourcesResponse
374+
from .types.model import LargeModelReference
372375
from .types.model import Model
373376
from .types.model import ModelContainerSpec
374377
from .types.model import ModelSourceInfo
@@ -390,6 +393,8 @@
390393
)
391394
from .types.model_evaluation import ModelEvaluation
392395
from .types.model_evaluation_slice import ModelEvaluationSlice
396+
from .types.model_garden_service import GetPublisherModelRequest
397+
from .types.model_garden_service import PublisherModelView
393398
from .types.model_monitoring import ModelMonitoringAlertConfig
394399
from .types.model_monitoring import ModelMonitoringObjectiveConfig
395400
from .types.model_monitoring import SamplingStrategy
@@ -454,6 +459,7 @@
454459
from .types.prediction_service import PredictRequest
455460
from .types.prediction_service import PredictResponse
456461
from .types.prediction_service import RawPredictRequest
462+
from .types.publisher_model import PublisherModel
457463
from .types.saved_query import SavedQuery
458464
from .types.service_networking import PrivateServiceConnectConfig
459465
from .types.specialist_pool import SpecialistPool
@@ -571,6 +577,7 @@
571577
"MatchServiceAsyncClient",
572578
"MetadataServiceAsyncClient",
573579
"MigrationServiceAsyncClient",
580+
"ModelGardenServiceAsyncClient",
574581
"ModelServiceAsyncClient",
575582
"PipelineServiceAsyncClient",
576583
"PredictionServiceAsyncClient",
@@ -807,6 +814,7 @@
807814
"GetNasJobRequest",
808815
"GetNasTrialDetailRequest",
809816
"GetPipelineJobRequest",
817+
"GetPublisherModelRequest",
810818
"GetSpecialistPoolRequest",
811819
"GetStudyRequest",
812820
"GetTensorboardExperimentRequest",
@@ -837,6 +845,7 @@
837845
"IntegratedGradientsAttribution",
838846
"JobServiceClient",
839847
"JobState",
848+
"LargeModelReference",
840849
"LineageSubgraph",
841850
"ListAnnotationsRequest",
842851
"ListAnnotationsResponse",
@@ -933,6 +942,7 @@
933942
"ModelEvaluation",
934943
"ModelEvaluationSlice",
935944
"ModelExplanation",
945+
"ModelGardenServiceClient",
936946
"ModelMonitoringAlertConfig",
937947
"ModelMonitoringObjectiveConfig",
938948
"ModelMonitoringStatsAnomalies",
@@ -971,6 +981,8 @@
971981
"Presets",
972982
"PrivateEndpoints",
973983
"PrivateServiceConnectConfig",
984+
"PublisherModel",
985+
"PublisherModelView",
974986
"PurgeArtifactsMetadata",
975987
"PurgeArtifactsRequest",
976988
"PurgeArtifactsResponse",
Collapse file

‎google/cloud/aiplatform_v1/gapic_metadata.json‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/gapic_metadata.json
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,30 @@
14451445
}
14461446
}
14471447
},
1448+
"ModelGardenService": {
1449+
"clients": {
1450+
"grpc": {
1451+
"libraryClient": "ModelGardenServiceClient",
1452+
"rpcs": {
1453+
"GetPublisherModel": {
1454+
"methods": [
1455+
"get_publisher_model"
1456+
]
1457+
}
1458+
}
1459+
},
1460+
"grpc-async": {
1461+
"libraryClient": "ModelGardenServiceAsyncClient",
1462+
"rpcs": {
1463+
"GetPublisherModel": {
1464+
"methods": [
1465+
"get_publisher_model"
1466+
]
1467+
}
1468+
}
1469+
}
1470+
}
1471+
},
14481472
"ModelService": {
14491473
"clients": {
14501474
"grpc": {
Collapse file

‎google/cloud/aiplatform_v1/services/metadata_service/async_client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/services/metadata_service/async_client.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,8 +1146,6 @@ async def sample_update_artifact():
11461146
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
11471147
Optional. A FieldMask indicating
11481148
which fields should be updated.
1149-
Functionality of this field is not yet
1150-
supported.
11511149
11521150
This corresponds to the ``update_mask`` field
11531151
on the ``request`` instance; if ``request`` is provided, this
@@ -1849,8 +1847,6 @@ async def sample_update_context():
18491847
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
18501848
Optional. A FieldMask indicating
18511849
which fields should be updated.
1852-
Functionality of this field is not yet
1853-
supported.
18541850
18551851
This corresponds to the ``update_mask`` field
18561852
on the ``request`` instance; if ``request`` is provided, this
@@ -3038,8 +3034,6 @@ async def sample_update_execution():
30383034
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
30393035
Optional. A FieldMask indicating
30403036
which fields should be updated.
3041-
Functionality of this field is not yet
3042-
supported.
30433037
30443038
This corresponds to the ``update_mask`` field
30453039
on the ``request`` instance; if ``request`` is provided, this
Collapse file

‎google/cloud/aiplatform_v1/services/metadata_service/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/services/metadata_service/client.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,8 +1457,6 @@ def sample_update_artifact():
14571457
update_mask (google.protobuf.field_mask_pb2.FieldMask):
14581458
Optional. A FieldMask indicating
14591459
which fields should be updated.
1460-
Functionality of this field is not yet
1461-
supported.
14621460
14631461
This corresponds to the ``update_mask`` field
14641462
on the ``request`` instance; if ``request`` is provided, this
@@ -2160,8 +2158,6 @@ def sample_update_context():
21602158
update_mask (google.protobuf.field_mask_pb2.FieldMask):
21612159
Optional. A FieldMask indicating
21622160
which fields should be updated.
2163-
Functionality of this field is not yet
2164-
supported.
21652161
21662162
This corresponds to the ``update_mask`` field
21672163
on the ``request`` instance; if ``request`` is provided, this
@@ -3355,8 +3351,6 @@ def sample_update_execution():
33553351
update_mask (google.protobuf.field_mask_pb2.FieldMask):
33563352
Optional. A FieldMask indicating
33573353
which fields should be updated.
3358-
Functionality of this field is not yet
3359-
supported.
33603354
33613355
This corresponds to the ``update_mask`` field
33623356
on the ``request`` instance; if ``request`` is provided, this
Collapse file

‎google/cloud/aiplatform_v1/services/migration_service/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/services/migration_service/client.py
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,40 +230,40 @@ def parse_dataset_path(path: str) -> Dict[str, str]:
230230
@staticmethod
231231
def dataset_path(
232232
project: str,
233+
location: str,
233234
dataset: str,
234235
) -> str:
235236
"""Returns a fully-qualified dataset string."""
236-
return "projects/{project}/datasets/{dataset}".format(
237+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
237238
project=project,
239+
location=location,
238240
dataset=dataset,
239241
)
240242

241243
@staticmethod
242244
def parse_dataset_path(path: str) -> Dict[str, str]:
243245
"""Parses a dataset path into its component segments."""
244-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
246+
m = re.match(
247+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
248+
path,
249+
)
245250
return m.groupdict() if m else {}
246251

247252
@staticmethod
248253
def dataset_path(
249254
project: str,
250-
location: str,
251255
dataset: str,
252256
) -> str:
253257
"""Returns a fully-qualified dataset string."""
254-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
258+
return "projects/{project}/datasets/{dataset}".format(
255259
project=project,
256-
location=location,
257260
dataset=dataset,
258261
)
259262

260263
@staticmethod
261264
def parse_dataset_path(path: str) -> Dict[str, str]:
262265
"""Parses a dataset path into its component segments."""
263-
m = re.match(
264-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
265-
path,
266-
)
266+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
267267
return m.groupdict() if m else {}
268268

269269
@staticmethod
Collapse file

‎google/cloud/aiplatform_v1/services/model_garden_service/__init__.py‎

Copy file name to clipboard
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .client import ModelGardenServiceClient
17+
from .async_client import ModelGardenServiceAsyncClient
18+
19+
__all__ = (
20+
"ModelGardenServiceClient",
21+
"ModelGardenServiceAsyncClient",
22+
)

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.