blob: 12c7fa053d6751fdca017aadbc95d740b8ae02ff [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha",
"version": "1.6.0",
"language": "GO",
"apis": [
{
"id": "google.maps.mapsplatformdatasets.v1alpha",
"version": "v1alpha"
}
]
},
"snippets": [
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_CreateDataset_sync",
"title": "mapsplatformdatasets CreateDataset Sample",
"description": "CreateDataset create a new dataset for the specified project.",
"file": "MapsPlatformDatasetsV1AlphaClient/CreateDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.CreateDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.CreateDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*mapsplatformdatasetspb.Dataset",
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "CreateDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.CreateDataset",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_DeleteDataset_sync",
"title": "mapsplatformdatasets DeleteDataset Sample",
"description": "DeleteDataset delete the specified dataset and optionally all its corresponding\nversions.",
"file": "MapsPlatformDatasetsV1AlphaClient/DeleteDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.DeleteDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.DeleteDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "DeleteDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.DeleteDataset",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_DeleteDatasetVersion_sync",
"title": "mapsplatformdatasets DeleteDatasetVersion Sample",
"description": "DeleteDatasetVersion delete a specific version of the dataset.",
"file": "MapsPlatformDatasetsV1AlphaClient/DeleteDatasetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDatasetVersion",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.DeleteDatasetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.DeleteDatasetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "DeleteDatasetVersion",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.DeleteDatasetVersion",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_GetDataset_sync",
"title": "mapsplatformdatasets GetDataset Sample",
"description": "GetDataset get the published or latest version of the dataset.",
"file": "MapsPlatformDatasetsV1AlphaClient/GetDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.GetDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.GetDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*mapsplatformdatasetspb.Dataset",
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "GetDataset",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.GetDataset",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_ListDatasetVersions_sync",
"title": "mapsplatformdatasets ListDatasetVersions Sample",
"description": "ListDatasetVersions list all the versions of a dataset.",
"file": "MapsPlatformDatasetsV1AlphaClient/ListDatasetVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDatasetVersions",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.ListDatasetVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.ListDatasetVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DatasetIterator",
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "ListDatasetVersions",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.ListDatasetVersions",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_ListDatasets_sync",
"title": "mapsplatformdatasets ListDatasets Sample",
"description": "ListDatasets list all the datasets for the specified project.",
"file": "MapsPlatformDatasetsV1AlphaClient/ListDatasets/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDatasets",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.ListDatasets",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.ListDatasetsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DatasetIterator",
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "ListDatasets",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.ListDatasets",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "mapsplatformdatasets_v1alpha_generated_MapsPlatformDatasetsV1Alpha_UpdateDatasetMetadata_sync",
"title": "mapsplatformdatasets UpdateDatasetMetadata Sample",
"description": "UpdateDatasetMetadata update the metadata for the dataset. To update the data use: UploadDataset.",
"file": "MapsPlatformDatasetsV1AlphaClient/UpdateDatasetMetadata/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateDatasetMetadata",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient.UpdateDatasetMetadata",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "mapsplatformdatasetspb.UpdateDatasetMetadataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*mapsplatformdatasetspb.Dataset",
"client": {
"shortName": "MapsPlatformDatasetsV1AlphaClient",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1AlphaClient"
},
"method": {
"shortName": "UpdateDatasetMetadata",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.UpdateDatasetMetadata",
"service": {
"shortName": "MapsPlatformDatasetsV1Alpha",
"fullName": "google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
}
]
}