-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add client libraries for v1 (#11226)
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b2d9eed
commit 08b0fe0
Showing
41 changed files
with
10,596 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ps-mapsplatformdatasets/docs/mapsplatformdatasets_v1/maps_platform_datasets.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MapsPlatformDatasets | ||
-------------------------------------- | ||
|
||
.. automodule:: google.maps.mapsplatformdatasets_v1.services.maps_platform_datasets | ||
:members: | ||
:inherited-members: | ||
|
||
.. automodule:: google.maps.mapsplatformdatasets_v1.services.maps_platform_datasets.pagers | ||
:members: | ||
:inherited-members: |
6 changes: 6 additions & 0 deletions
6
...ages/google-maps-mapsplatformdatasets/docs/mapsplatformdatasets_v1/services.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Services for Google Maps Mapsplatformdatasets v1 API | ||
==================================================== | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
maps_platform_datasets |
6 changes: 6 additions & 0 deletions
6
packages/google-maps-mapsplatformdatasets/docs/mapsplatformdatasets_v1/types.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Types for Google Maps Mapsplatformdatasets v1 API | ||
================================================= | ||
|
||
.. automodule:: google.maps.mapsplatformdatasets_v1.types | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
packages/google-maps-mapsplatformdatasets/google/maps/mapsplatformdatasets_v1/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# -*- 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 google.maps.mapsplatformdatasets_v1 import gapic_version as package_version | ||
|
||
__version__ = package_version.__version__ | ||
|
||
|
||
from .services.maps_platform_datasets import ( | ||
MapsPlatformDatasetsAsyncClient, | ||
MapsPlatformDatasetsClient, | ||
) | ||
from .types.data_source import FileFormat, GcsSource, LocalFileSource | ||
from .types.dataset import Dataset, Status, Usage | ||
from .types.maps_platform_datasets import ( | ||
CreateDatasetRequest, | ||
DeleteDatasetRequest, | ||
GetDatasetRequest, | ||
ListDatasetsRequest, | ||
ListDatasetsResponse, | ||
UpdateDatasetMetadataRequest, | ||
) | ||
|
||
__all__ = ( | ||
"MapsPlatformDatasetsAsyncClient", | ||
"CreateDatasetRequest", | ||
"Dataset", | ||
"DeleteDatasetRequest", | ||
"FileFormat", | ||
"GcsSource", | ||
"GetDatasetRequest", | ||
"ListDatasetsRequest", | ||
"ListDatasetsResponse", | ||
"LocalFileSource", | ||
"MapsPlatformDatasetsClient", | ||
"Status", | ||
"UpdateDatasetMetadataRequest", | ||
"Usage", | ||
) |
103 changes: 103 additions & 0 deletions
103
.../google-maps-mapsplatformdatasets/google/maps/mapsplatformdatasets_v1/gapic_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "python", | ||
"libraryPackage": "google.maps.mapsplatformdatasets_v1", | ||
"protoPackage": "google.maps.mapsplatformdatasets.v1", | ||
"schema": "1.0", | ||
"services": { | ||
"MapsPlatformDatasets": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "MapsPlatformDatasetsClient", | ||
"rpcs": { | ||
"CreateDataset": { | ||
"methods": [ | ||
"create_dataset" | ||
] | ||
}, | ||
"DeleteDataset": { | ||
"methods": [ | ||
"delete_dataset" | ||
] | ||
}, | ||
"GetDataset": { | ||
"methods": [ | ||
"get_dataset" | ||
] | ||
}, | ||
"ListDatasets": { | ||
"methods": [ | ||
"list_datasets" | ||
] | ||
}, | ||
"UpdateDatasetMetadata": { | ||
"methods": [ | ||
"update_dataset_metadata" | ||
] | ||
} | ||
} | ||
}, | ||
"grpc-async": { | ||
"libraryClient": "MapsPlatformDatasetsAsyncClient", | ||
"rpcs": { | ||
"CreateDataset": { | ||
"methods": [ | ||
"create_dataset" | ||
] | ||
}, | ||
"DeleteDataset": { | ||
"methods": [ | ||
"delete_dataset" | ||
] | ||
}, | ||
"GetDataset": { | ||
"methods": [ | ||
"get_dataset" | ||
] | ||
}, | ||
"ListDatasets": { | ||
"methods": [ | ||
"list_datasets" | ||
] | ||
}, | ||
"UpdateDatasetMetadata": { | ||
"methods": [ | ||
"update_dataset_metadata" | ||
] | ||
} | ||
} | ||
}, | ||
"rest": { | ||
"libraryClient": "MapsPlatformDatasetsClient", | ||
"rpcs": { | ||
"CreateDataset": { | ||
"methods": [ | ||
"create_dataset" | ||
] | ||
}, | ||
"DeleteDataset": { | ||
"methods": [ | ||
"delete_dataset" | ||
] | ||
}, | ||
"GetDataset": { | ||
"methods": [ | ||
"get_dataset" | ||
] | ||
}, | ||
"ListDatasets": { | ||
"methods": [ | ||
"list_datasets" | ||
] | ||
}, | ||
"UpdateDatasetMetadata": { | ||
"methods": [ | ||
"update_dataset_metadata" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ges/google-maps-mapsplatformdatasets/google/maps/mapsplatformdatasets_v1/gapic_version.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- 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. | ||
# | ||
__version__ = "0.1.0" # {x-release-please-version} |
2 changes: 2 additions & 0 deletions
2
packages/google-maps-mapsplatformdatasets/google/maps/mapsplatformdatasets_v1/py.typed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-maps-mapsplatformdatasets package uses inline types. |
15 changes: 15 additions & 0 deletions
15
...google-maps-mapsplatformdatasets/google/maps/mapsplatformdatasets_v1/services/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- 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. | ||
# |
22 changes: 22 additions & 0 deletions
22
...mdatasets/google/maps/mapsplatformdatasets_v1/services/maps_platform_datasets/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 .async_client import MapsPlatformDatasetsAsyncClient | ||
from .client import MapsPlatformDatasetsClient | ||
|
||
__all__ = ( | ||
"MapsPlatformDatasetsClient", | ||
"MapsPlatformDatasetsAsyncClient", | ||
) |
Oops, something went wrong.