target.apidocs.com.google.api.services.bigquery.Bigquery.Models.html Maven / Gradle / Ivy
Bigquery.Models (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery
Class Bigquery.Models
- java.lang.Object
-
- com.google.api.services.bigquery.Bigquery.Models
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Bigquery.Models.Delete
class
Bigquery.Models.Get
class
Bigquery.Models.List
class
Bigquery.Models.Patch
-
Constructor Summary
Constructors
Constructor and Description
Models()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Bigquery.Models.Delete
delete(String projectId,
String datasetId,
String modelId)
Deletes the model specified by modelId from the dataset.
Bigquery.Models.Get
get(String projectId,
String datasetId,
String modelId)
Gets the specified model resource by model ID.
Bigquery.Models.List
list(String projectId,
String datasetId)
Lists all models in the specified dataset.
Bigquery.Models.Patch
patch(String projectId,
String datasetId,
String modelId,
Model content)
Patch specific fields in the specified model.
-
-
Method Detail
-
delete
public Bigquery.Models.Delete delete(String projectId,
String datasetId,
String modelId)
throws IOException
Deletes the model specified by modelId from the dataset.
Create a request for the method "models.delete".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. Project ID of the model to delete.
datasetId
- Required. Dataset ID of the model to delete.
modelId
- Required. Model ID of the model to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Bigquery.Models.Get get(String projectId,
String datasetId,
String modelId)
throws IOException
Gets the specified model resource by model ID.
Create a request for the method "models.get".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. Project ID of the requested model.
datasetId
- Required. Dataset ID of the requested model.
modelId
- Required. Model ID of the requested model.
- Returns:
- the request
- Throws:
IOException
-
list
public Bigquery.Models.List list(String projectId,
String datasetId)
throws IOException
Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the
list of models, you can get information about a particular model by calling the models.get
method.
Create a request for the method "models.list".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. Project ID of the models to list.
datasetId
- Required. Dataset ID of the models to list.
- Returns:
- the request
- Throws:
IOException
-
patch
public Bigquery.Models.Patch patch(String projectId,
String datasetId,
String modelId,
Model content)
throws IOException
Patch specific fields in the specified model.
Create a request for the method "models.patch".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. Project ID of the model to patch.
datasetId
- Required. Dataset ID of the model to patch.
modelId
- Required. Model ID of the model to patch.
content
- the Model
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.