Skip to content

Commit dec8ffd

Browse files
yinghsienwucopybara-github
authored andcommitted
Copybara import of the project:
-- 471b38b by gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>: feat: add RaySepc to ResourceRuntimeSpec, and add ResourceRuntime to PersistentResource (#2387) * feat: add `PredictionService.ServerStreamingPredict` method feat: add `StreamingPredictRequest` type feat: add `StreamingPredictResponse` type feat: add `Tensor` type PiperOrigin-RevId: 551672526 Source-Link: googleapis/googleapis@1b650d6 Source-Link: googleapis/googleapis-gen@62fb737 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjJmYjczNzAyNzMyY2U3MjdmYmQyZTU1NjBkMzA5ZWNlMDYwOTg1MCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add RaySepc to ResourceRuntimeSpec, and add ResourceRuntime to PersistentResource PiperOrigin-RevId: 551874408 Source-Link: googleapis/googleapis@4d230dd Source-Link: googleapis/googleapis-gen@9e603a7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU2MDNhNzA4MGJlNzhiMWVjOGE2Y2Y0Y2UxZDA2YTUyNTllZmMyMyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Amy Wu <wuamy@google.com> -- 14efbdf by yinghsienwu <wuamy@google.com>: Resolved merge conflict by incorporating both suggestions. -- 69acc80 by yinghsienwu <wuamy@google.com>: Resolved merge conflict by incorporating both suggestions. -- 0df44fd by yinghsienwu <wuamy@google.com>: Resolve coverage by reverting files. -- 7e903f9 by yinghsienwu <wuamy@google.com>: Fix migration test. -- be1625b by yinghsienwu <wuamy@google.com>: Fix lint -- 03e45ac by yinghsienwu <wuamy@google.com>: Revert COPYBARA_INTEGRATE_REVIEW=#2407 from googleapis:wuamy-patch 03e45ac PiperOrigin-RevId: 553948974
1 parent 38ec40a commit dec8ffd

64 files changed

Lines changed: 15393 additions & 13 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ScheduleService
2+
---------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1.services.schedule_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.aiplatform_v1.services.schedule_service.pagers
9+
:members:
10+
:inherited-members:

docs/aiplatform_v1/services.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Services for Google Cloud Aiplatform v1 API
1717
model_service
1818
pipeline_service
1919
prediction_service
20+
schedule_service
2021
specialist_pool_service
2122
tensorboard_service
2223
vizier_service

google/cloud/aiplatform/v1/schema/trainingjob/definition_v1/types/automl_tables.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class AutoMlTablesInputs(proto.Message):
110110
the prediction type. If the field is not set, a
111111
default objective function is used.
112112
classification (binary):
113+
113114
"maximize-au-roc" (default) - Maximize the
114115
area under the receiver
115116
operating characteristic (ROC) curve.
@@ -122,9 +123,11 @@ class AutoMlTablesInputs(proto.Message):
122123
Maximize recall for a specified
123124
precision value.
124125
classification (multi-class):
126+
125127
"minimize-log-loss" (default) - Minimize log
126128
loss.
127129
regression:
130+
128131
"minimize-rmse" (default) - Minimize
129132
root-mean-squared error (RMSE). "minimize-mae"
130133
- Minimize mean-absolute error (MAE).

google/cloud/aiplatform/v1beta1/schema/trainingjob/definition_v1beta1/types/automl_tables.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class AutoMlTablesInputs(proto.Message):
110110
the prediction type. If the field is not set, a
111111
default objective function is used.
112112
classification (binary):
113+
113114
"maximize-au-roc" (default) - Maximize the
114115
area under the receiver
115116
operating characteristic (ROC) curve.
@@ -122,9 +123,11 @@ class AutoMlTablesInputs(proto.Message):
122123
Maximize recall for a specified
123124
precision value.
124125
classification (multi-class):
126+
125127
"minimize-log-loss" (default) - Minimize log
126128
loss.
127129
regression:
130+
128131
"minimize-rmse" (default) - Minimize
129132
root-mean-squared error (RMSE). "minimize-mae"
130133
- Minimize mean-absolute error (MAE).

google/cloud/aiplatform_v1/__init__.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
from .services.pipeline_service import PipelineServiceAsyncClient
5151
from .services.prediction_service import PredictionServiceClient
5252
from .services.prediction_service import PredictionServiceAsyncClient
53+
from .services.schedule_service import ScheduleServiceClient
54+
from .services.schedule_service import ScheduleServiceAsyncClient
5355
from .services.specialist_pool_service import SpecialistPoolServiceClient
5456
from .services.specialist_pool_service import SpecialistPoolServiceAsyncClient
5557
from .services.tensorboard_service import TensorboardServiceClient
@@ -463,8 +465,19 @@
463465
from .types.prediction_service import PredictRequest
464466
from .types.prediction_service import PredictResponse
465467
from .types.prediction_service import RawPredictRequest
468+
from .types.prediction_service import StreamingPredictRequest
469+
from .types.prediction_service import StreamingPredictResponse
466470
from .types.publisher_model import PublisherModel
467471
from .types.saved_query import SavedQuery
472+
from .types.schedule import Schedule
473+
from .types.schedule_service import CreateScheduleRequest
474+
from .types.schedule_service import DeleteScheduleRequest
475+
from .types.schedule_service import GetScheduleRequest
476+
from .types.schedule_service import ListSchedulesRequest
477+
from .types.schedule_service import ListSchedulesResponse
478+
from .types.schedule_service import PauseScheduleRequest
479+
from .types.schedule_service import ResumeScheduleRequest
480+
from .types.schedule_service import UpdateScheduleRequest
468481
from .types.service_networking import PrivateServiceConnectConfig
469482
from .types.specialist_pool import SpecialistPool
470483
from .types.specialist_pool_service import CreateSpecialistPoolOperationMetadata
@@ -544,6 +557,7 @@
544557
from .types.types import DoubleArray
545558
from .types.types import Int64Array
546559
from .types.types import StringArray
560+
from .types.types import Tensor
547561
from .types.unmanaged_container_model import UnmanagedContainerModel
548562
from .types.user_action_reference import UserActionReference
549563
from .types.value import Value
@@ -585,6 +599,7 @@
585599
"ModelServiceAsyncClient",
586600
"PipelineServiceAsyncClient",
587601
"PredictionServiceAsyncClient",
602+
"ScheduleServiceAsyncClient",
588603
"SpecialistPoolServiceAsyncClient",
589604
"TensorboardServiceAsyncClient",
590605
"VizierServiceAsyncClient",
@@ -674,6 +689,7 @@
674689
"CreateModelDeploymentMonitoringJobRequest",
675690
"CreateNasJobRequest",
676691
"CreatePipelineJobRequest",
692+
"CreateScheduleRequest",
677693
"CreateSpecialistPoolOperationMetadata",
678694
"CreateSpecialistPoolRequest",
679695
"CreateStudyRequest",
@@ -720,6 +736,7 @@
720736
"DeleteOperationMetadata",
721737
"DeletePipelineJobRequest",
722738
"DeleteSavedQueryRequest",
739+
"DeleteScheduleRequest",
723740
"DeleteSpecialistPoolRequest",
724741
"DeleteStudyRequest",
725742
"DeleteTensorboardExperimentRequest",
@@ -820,6 +837,7 @@
820837
"GetNasTrialDetailRequest",
821838
"GetPipelineJobRequest",
822839
"GetPublisherModelRequest",
840+
"GetScheduleRequest",
823841
"GetSpecialistPoolRequest",
824842
"GetStudyRequest",
825843
"GetTensorboardExperimentRequest",
@@ -908,6 +926,8 @@
908926
"ListPipelineJobsResponse",
909927
"ListSavedQueriesRequest",
910928
"ListSavedQueriesResponse",
929+
"ListSchedulesRequest",
930+
"ListSchedulesResponse",
911931
"ListSpecialistPoolsRequest",
912932
"ListSpecialistPoolsResponse",
913933
"ListStudiesRequest",
@@ -968,6 +988,7 @@
968988
"Neighbor",
969989
"NfsMount",
970990
"PauseModelDeploymentMonitoringJobRequest",
991+
"PauseScheduleRequest",
971992
"PipelineFailurePolicy",
972993
"PipelineJob",
973994
"PipelineJobDetail",
@@ -1018,11 +1039,14 @@
10181039
"RemoveDatapointsResponse",
10191040
"ResourcesConsumed",
10201041
"ResumeModelDeploymentMonitoringJobRequest",
1042+
"ResumeScheduleRequest",
10211043
"SampleConfig",
10221044
"SampledShapleyAttribution",
10231045
"SamplingStrategy",
10241046
"SavedQuery",
10251047
"Scalar",
1048+
"Schedule",
1049+
"ScheduleServiceClient",
10261050
"Scheduling",
10271051
"SearchDataItemsRequest",
10281052
"SearchDataItemsResponse",
@@ -1037,6 +1061,8 @@
10371061
"SpecialistPoolServiceClient",
10381062
"StopTrialRequest",
10391063
"StratifiedSplit",
1064+
"StreamingPredictRequest",
1065+
"StreamingPredictResponse",
10401066
"StreamingReadFeatureValuesRequest",
10411067
"StringArray",
10421068
"Study",
@@ -1045,6 +1071,7 @@
10451071
"SuggestTrialsRequest",
10461072
"SuggestTrialsResponse",
10471073
"TFRecordDestination",
1074+
"Tensor",
10481075
"Tensorboard",
10491076
"TensorboardBlob",
10501077
"TensorboardBlobSequence",
@@ -1085,6 +1112,7 @@
10851112
"UpdateModelDeploymentMonitoringJobOperationMetadata",
10861113
"UpdateModelDeploymentMonitoringJobRequest",
10871114
"UpdateModelRequest",
1115+
"UpdateScheduleRequest",
10881116
"UpdateSpecialistPoolOperationMetadata",
10891117
"UpdateSpecialistPoolRequest",
10901118
"UpdateTensorboardExperimentRequest",

google/cloud/aiplatform_v1/gapic_metadata.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,11 @@
18061806
"methods": [
18071807
"raw_predict"
18081808
]
1809+
},
1810+
"ServerStreamingPredict": {
1811+
"methods": [
1812+
"server_streaming_predict"
1813+
]
18091814
}
18101815
}
18111816
},
@@ -1826,6 +1831,95 @@
18261831
"methods": [
18271832
"raw_predict"
18281833
]
1834+
},
1835+
"ServerStreamingPredict": {
1836+
"methods": [
1837+
"server_streaming_predict"
1838+
]
1839+
}
1840+
}
1841+
}
1842+
}
1843+
},
1844+
"ScheduleService": {
1845+
"clients": {
1846+
"grpc": {
1847+
"libraryClient": "ScheduleServiceClient",
1848+
"rpcs": {
1849+
"CreateSchedule": {
1850+
"methods": [
1851+
"create_schedule"
1852+
]
1853+
},
1854+
"DeleteSchedule": {
1855+
"methods": [
1856+
"delete_schedule"
1857+
]
1858+
},
1859+
"GetSchedule": {
1860+
"methods": [
1861+
"get_schedule"
1862+
]
1863+
},
1864+
"ListSchedules": {
1865+
"methods": [
1866+
"list_schedules"
1867+
]
1868+
},
1869+
"PauseSchedule": {
1870+
"methods": [
1871+
"pause_schedule"
1872+
]
1873+
},
1874+
"ResumeSchedule": {
1875+
"methods": [
1876+
"resume_schedule"
1877+
]
1878+
},
1879+
"UpdateSchedule": {
1880+
"methods": [
1881+
"update_schedule"
1882+
]
1883+
}
1884+
}
1885+
},
1886+
"grpc-async": {
1887+
"libraryClient": "ScheduleServiceAsyncClient",
1888+
"rpcs": {
1889+
"CreateSchedule": {
1890+
"methods": [
1891+
"create_schedule"
1892+
]
1893+
},
1894+
"DeleteSchedule": {
1895+
"methods": [
1896+
"delete_schedule"
1897+
]
1898+
},
1899+
"GetSchedule": {
1900+
"methods": [
1901+
"get_schedule"
1902+
]
1903+
},
1904+
"ListSchedules": {
1905+
"methods": [
1906+
"list_schedules"
1907+
]
1908+
},
1909+
"PauseSchedule": {
1910+
"methods": [
1911+
"pause_schedule"
1912+
]
1913+
},
1914+
"ResumeSchedule": {
1915+
"methods": [
1916+
"resume_schedule"
1917+
]
1918+
},
1919+
"UpdateSchedule": {
1920+
"methods": [
1921+
"update_schedule"
1922+
]
18291923
}
18301924
}
18311925
}

0 commit comments

Comments
 (0)