-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [mapsplatformdatasets] Add client libraries for v1 (#4314)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 537411864 Source-Link: https://togithub.com/googleapis/googleapis/commit/99ae68a164dd3f721a30d6a0a924c175f040a881 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/2d89867010dffb9db7a9c420cdb67da8d428d621 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtbWFwc3BsYXRmb3JtZGF0YXNldHMvLk93bEJvdC55YW1sIiwiaCI6IjJkODk4NjcwMTBkZmZiOWRiN2E5YzQyMGNkYjY3ZGE4ZDQyOGQ2MjEifQ==
- Loading branch information
1 parent
b2c4f46
commit 5c99df6
Showing
24 changed files
with
8,011 additions
and
33 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
59 changes: 59 additions & 0 deletions
59
...le-maps-mapsplatformdatasets/protos/google/maps/mapsplatformdatasets/v1/data_source.proto
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,59 @@ | ||
// Copyright 2023 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. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.maps.mapsplatformdatasets.v1; | ||
|
||
option csharp_namespace = "Google.Maps.MapsPlatformDatasets.V1"; | ||
option go_package = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1/mapsplatformdatasetspb;mapsplatformdatasetspb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "DataSourceProto"; | ||
option java_package = "com.google.maps.mapsplatformdatasets.v1"; | ||
option objc_class_prefix = "MDV1"; | ||
option php_namespace = "Google\\Maps\\MapsPlatformDatasets\\V1"; | ||
|
||
// The details about the data source when it is a local file. | ||
message LocalFileSource { | ||
// The file name of the uploaded file. | ||
string filename = 1; | ||
|
||
// The format of the file that is being uploaded. | ||
FileFormat file_format = 2; | ||
} | ||
|
||
// The details about the data source when it is in Google Cloud Storage. | ||
message GcsSource { | ||
// Source data URI. For example, `gs://my_bucket/my_object`. | ||
string input_uri = 1; | ||
|
||
// The file format of the Google Cloud Storage object. This is used mainly for | ||
// validation. | ||
FileFormat file_format = 2; | ||
} | ||
|
||
// The format of the file being uploaded. | ||
enum FileFormat { | ||
// Unspecified file format. | ||
FILE_FORMAT_UNSPECIFIED = 0; | ||
|
||
// GeoJson file. | ||
FILE_FORMAT_GEOJSON = 1; | ||
|
||
// KML file. | ||
FILE_FORMAT_KML = 2; | ||
|
||
// CSV file. | ||
FILE_FORMAT_CSV = 3; | ||
} |
Oops, something went wrong.