GeezerVison is showing github.com — feat: Client libraries for the Dataform API (#1221) · googleapis/python-aiplatform@b6bf6dc
File treeExpand file treeCollapse file tree Open diff view settings services/migration_service
samples/generated_samples
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1 Schema Trainingjob Definition v1 API | | 2 | +========================================================================= | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Trainingjob Definition v1beta1 API | | 2 | +=================================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1 Schema Predict Instance v1 API | | 2 | +=================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1.schema.predict.instance_v1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Instance v1beta1 API | | 2 | +============================================================================= | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1 Schema Predict Params v1 API | | 2 | +================================================================= | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1.schema.predict.params_v1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Params v1beta1 API | | 2 | +=========================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.params_v1beta1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1 Schema Predict Prediction v1 API | | 2 | +===================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1.schema.predict.prediction_v1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Prediction v1beta1 API | | 2 | +=============================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.prediction_v1beta1.types | | 5 | + :members: | | 6 | + :undoc-members: | | 7 | + :show-inheritance: |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/__init__.py +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 362 | 362 | from .types.model_service import UploadModelResponse | 363 | 363 | from .types.operation import DeleteOperationMetadata | 364 | 364 | from .types.operation import GenericOperationMetadata | | 365 | +from .types.pipeline_failure_policy import PipelineFailurePolicy | 365 | 366 | from .types.pipeline_job import PipelineJob | 366 | 367 | from .types.pipeline_job import PipelineJobDetail | 367 | 368 | from .types.pipeline_job import PipelineTaskDetail | 368 | 369 | from .types.pipeline_job import PipelineTaskExecutorDetail | | 370 | +from .types.pipeline_job import PipelineTemplateMetadata | 369 | 371 | from .types.pipeline_service import CancelPipelineJobRequest | 370 | 372 | from .types.pipeline_service import CancelTrainingPipelineRequest | 371 | 373 | from .types.pipeline_service import CreatePipelineJobRequest | | 829 | 831 | "NearestNeighborSearchOperationMetadata", | 830 | 832 | "NfsMount", | 831 | 833 | "PauseModelDeploymentMonitoringJobRequest", | | 834 | + "PipelineFailurePolicy", | 832 | 835 | "PipelineJob", | 833 | 836 | "PipelineJobDetail", | 834 | 837 | "PipelineServiceClient", | 835 | 838 | "PipelineState", | 836 | 839 | "PipelineTaskDetail", | 837 | 840 | "PipelineTaskExecutorDetail", | | 841 | + "PipelineTemplateMetadata", | 838 | 842 | "Port", | 839 | 843 | "PredefinedSplit", | 840 | 844 | "PredictRequest", | |
Collapse file 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 number | Diff line number | Diff line change |
|---|
@@ -192,40 +192,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]: | 192 | 192 | @staticmethod | 193 | 193 | def dataset_path( | 194 | 194 | project: str, | | 195 | + location: str, | 195 | 196 | dataset: str, | 196 | 197 | ) -> str: | 197 | 198 | """Returns a fully-qualified dataset string.""" | 198 | | - return "projects/{project}/datasets/{dataset}".format( | | 199 | + return "projects/{project}/locations/{location}/datasets/{dataset}".format( | 199 | 200 | project=project, | | 201 | + location=location, | 200 | 202 | dataset=dataset, | 201 | 203 | ) | 202 | 204 |
| 203 | 205 | @staticmethod | 204 | 206 | def parse_dataset_path(path: str) -> Dict[str, str]: | 205 | 207 | """Parses a dataset path into its component segments.""" | 206 | | - m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path) | | 208 | + m = re.match( | | 209 | + r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$", | | 210 | + path, | | 211 | + ) | 207 | 212 | return m.groupdict() if m else {} | 208 | 213 |
| 209 | 214 | @staticmethod | 210 | 215 | def dataset_path( | 211 | 216 | project: str, | 212 | | - location: str, | 213 | 217 | dataset: str, | 214 | 218 | ) -> str: | 215 | 219 | """Returns a fully-qualified dataset string.""" | 216 | | - return "projects/{project}/locations/{location}/datasets/{dataset}".format( | | 220 | + return "projects/{project}/datasets/{dataset}".format( | 217 | 221 | project=project, | 218 | | - location=location, | 219 | 222 | dataset=dataset, | 220 | 223 | ) | 221 | 224 |
| 222 | 225 | @staticmethod | 223 | 226 | def parse_dataset_path(path: str) -> Dict[str, str]: | 224 | 227 | """Parses a dataset path into its component segments.""" | 225 | | - m = re.match( | 226 | | - r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$", | 227 | | - path, | 228 | | - ) | | 228 | + m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path) | 229 | 229 | return m.groupdict() if m else {} | 230 | 230 |
| 231 | 231 | @staticmethod | |
|