Skip to content

Commit

Permalink
Copybara import of the project:
Browse files Browse the repository at this point in the history
--
a1ee941 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

docs: clarified wording around quota usage

PiperOrigin-RevId: 516225429

Source-Link: googleapis/googleapis@c13a985

Source-Link: googleapis/googleapis-gen@7bf5248
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmNTI0OGZhMWQ3MjQwMDZhNTg5ZTA3ZDkwMjk5NTFjNzRhOGJjNiJ9

--
212eb12 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
fa113f0 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

chore: regenerate API index

Source-Link: googleapis/googleapis@40a03de

Source-Link: googleapis/googleapis-gen@6c17328
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmMxNzMyOGU5ZTFjMmI1OGU5NjAwNzIyZThmYzhjYmU4NDYwMGQ3ZiJ9

--
8ba689d by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
9a3775f by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

chore: Update gapic-generator-python to v1.9.0

PiperOrigin-RevId: 517425588

Source-Link: googleapis/googleapis@33c93eb

Source-Link: googleapis/googleapis-gen@d5f5978
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9

--
07037cc by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

fix!: remove large_model_reference from Model in aiplatform v1beta1 model.proto

PiperOrigin-RevId: 517426269

Source-Link: googleapis/googleapis@8c36220

Source-Link: googleapis/googleapis-gen@4e60cf5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGU2MGNmNWMxN2U1YWVmMDk3Y2FlZWI2MGY2NjQyNGUyNWU5MzFiNyJ9

--
2b4844b by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
c1ebabf by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

--
4d055c9 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
f6e5ff8 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

feat: add audit_context.proto Bazel targets

PiperOrigin-RevId: 519036970

Source-Link: googleapis/googleapis@c454580

Source-Link: googleapis/googleapis-gen@2fc6ba7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmZjNmJhNzY2YjM2OTc1MDc4ZTc5MTU1MDM4Yzc5MTk2YWNiNGEzZiJ9

--
9e8001b by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
ac701f7 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

feat: ScheduleService (schedule_service.proto) creates and manages Schedule resources to launch scheduled pipelines runs
feat: Schedule (schedule.proto) periodically schedules runs to make API calls

PiperOrigin-RevId: 519766091

Source-Link: googleapis/googleapis@4a18f3e

Source-Link: googleapis/googleapis-gen@29e73bc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjllNzNiYzQ3ODE0MWI4NDFhYTkxZmE3YjA3MTAzYzI2NDNkMmQ1NyJ9

--
d7b78fb by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

COPYBARA_INTEGRATE_REVIEW=#2014 from googleapis:owl-bot-copy d7b78fb
PiperOrigin-RevId: 520480593
  • Loading branch information
gcf-owl-bot[bot] authored and Copybara-Service committed Mar 30, 2023
1 parent e6d96da commit f66beaa
Show file tree
Hide file tree
Showing 34 changed files with 12,435 additions and 67 deletions.
10 changes: 10 additions & 0 deletions docs/aiplatform_v1beta1/schedule_service.rst
@@ -0,0 +1,10 @@
ScheduleService
---------------------------------

.. automodule:: google.cloud.aiplatform_v1beta1.services.schedule_service
:members:
:inherited-members:

.. automodule:: google.cloud.aiplatform_v1beta1.services.schedule_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/services.rst
Expand Up @@ -17,6 +17,7 @@ Services for Google Cloud Aiplatform v1beta1 API
model_service
pipeline_service
prediction_service
schedule_service
specialist_pool_service
tensorboard_service
vizier_service
18 changes: 9 additions & 9 deletions google/cloud/aiplatform_v1/services/migration_service/client.py
Expand Up @@ -230,40 +230,40 @@ def parse_dataset_path(path: str) -> Dict[str, str]:
@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
return "projects/{project}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/datasets/{dataset}".format(
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
Expand Down
20 changes: 20 additions & 0 deletions google/cloud/aiplatform_v1beta1/__init__.py
Expand Up @@ -54,6 +54,8 @@
from .services.pipeline_service import PipelineServiceAsyncClient
from .services.prediction_service import PredictionServiceClient
from .services.prediction_service import PredictionServiceAsyncClient
from .services.schedule_service import ScheduleServiceClient
from .services.schedule_service import ScheduleServiceAsyncClient
from .services.specialist_pool_service import SpecialistPoolServiceClient
from .services.specialist_pool_service import SpecialistPoolServiceAsyncClient
from .services.tensorboard_service import TensorboardServiceClient
Expand Down Expand Up @@ -476,6 +478,14 @@
from .types.prediction_service import PredictResponse
from .types.prediction_service import RawPredictRequest
from .types.saved_query import SavedQuery
from .types.schedule import Schedule
from .types.schedule_service import CreateScheduleRequest
from .types.schedule_service import DeleteScheduleRequest
from .types.schedule_service import GetScheduleRequest
from .types.schedule_service import ListSchedulesRequest
from .types.schedule_service import ListSchedulesResponse
from .types.schedule_service import PauseScheduleRequest
from .types.schedule_service import ResumeScheduleRequest
from .types.service_networking import PrivateServiceConnectConfig
from .types.specialist_pool import SpecialistPool
from .types.specialist_pool_service import CreateSpecialistPoolOperationMetadata
Expand Down Expand Up @@ -596,6 +606,7 @@
"ModelServiceAsyncClient",
"PipelineServiceAsyncClient",
"PredictionServiceAsyncClient",
"ScheduleServiceAsyncClient",
"SpecialistPoolServiceAsyncClient",
"TensorboardServiceAsyncClient",
"VizierServiceAsyncClient",
Expand Down Expand Up @@ -687,6 +698,7 @@
"CreateModelDeploymentMonitoringJobRequest",
"CreateNasJobRequest",
"CreatePipelineJobRequest",
"CreateScheduleRequest",
"CreateSpecialistPoolOperationMetadata",
"CreateSpecialistPoolRequest",
"CreateStudyRequest",
Expand Down Expand Up @@ -733,6 +745,7 @@
"DeleteNasJobRequest",
"DeleteOperationMetadata",
"DeletePipelineJobRequest",
"DeleteScheduleRequest",
"DeleteSpecialistPoolRequest",
"DeleteStudyRequest",
"DeleteTensorboardExperimentRequest",
Expand Down Expand Up @@ -835,6 +848,7 @@
"GetNasJobRequest",
"GetNasTrialDetailRequest",
"GetPipelineJobRequest",
"GetScheduleRequest",
"GetSpecialistPoolRequest",
"GetStudyRequest",
"GetTensorboardExperimentRequest",
Expand Down Expand Up @@ -924,6 +938,8 @@
"ListPipelineJobsResponse",
"ListSavedQueriesRequest",
"ListSavedQueriesResponse",
"ListSchedulesRequest",
"ListSchedulesResponse",
"ListSpecialistPoolsRequest",
"ListSpecialistPoolsResponse",
"ListStudiesRequest",
Expand Down Expand Up @@ -981,6 +997,7 @@
"Neighbor",
"NfsMount",
"PauseModelDeploymentMonitoringJobRequest",
"PauseScheduleRequest",
"PipelineFailurePolicy",
"PipelineJob",
"PipelineJobDetail",
Expand Down Expand Up @@ -1031,11 +1048,14 @@
"RemoveDatapointsResponse",
"ResourcesConsumed",
"ResumeModelDeploymentMonitoringJobRequest",
"ResumeScheduleRequest",
"SampleConfig",
"SampledShapleyAttribution",
"SamplingStrategy",
"SavedQuery",
"Scalar",
"Schedule",
"ScheduleServiceClient",
"Scheduling",
"SearchDataItemsRequest",
"SearchDataItemsResponse",
Expand Down
74 changes: 74 additions & 0 deletions google/cloud/aiplatform_v1beta1/gapic_metadata.json
Expand Up @@ -1851,6 +1851,80 @@
}
}
},
"ScheduleService": {
"clients": {
"grpc": {
"libraryClient": "ScheduleServiceClient",
"rpcs": {
"CreateSchedule": {
"methods": [
"create_schedule"
]
},
"DeleteSchedule": {
"methods": [
"delete_schedule"
]
},
"GetSchedule": {
"methods": [
"get_schedule"
]
},
"ListSchedules": {
"methods": [
"list_schedules"
]
},
"PauseSchedule": {
"methods": [
"pause_schedule"
]
},
"ResumeSchedule": {
"methods": [
"resume_schedule"
]
}
}
},
"grpc-async": {
"libraryClient": "ScheduleServiceAsyncClient",
"rpcs": {
"CreateSchedule": {
"methods": [
"create_schedule"
]
},
"DeleteSchedule": {
"methods": [
"delete_schedule"
]
},
"GetSchedule": {
"methods": [
"get_schedule"
]
},
"ListSchedules": {
"methods": [
"list_schedules"
]
},
"PauseSchedule": {
"methods": [
"pause_schedule"
]
},
"ResumeSchedule": {
"methods": [
"resume_schedule"
]
}
}
}
}
},
"SpecialistPoolService": {
"clients": {
"grpc": {
Expand Down
Expand Up @@ -208,40 +208,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/datasets/{dataset}".format(
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
return "projects/{project}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
Expand Down
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import ScheduleServiceClient
from .async_client import ScheduleServiceAsyncClient

__all__ = (
"ScheduleServiceClient",
"ScheduleServiceAsyncClient",
)

0 comments on commit f66beaa

Please sign in to comment.