target.apidocs.com.google.api.services.bigquery.Bigquery.Routines.html Maven / Gradle / Ivy
Bigquery.Routines (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery
Class Bigquery.Routines
- java.lang.Object
-
- com.google.api.services.bigquery.Bigquery.Routines
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Bigquery.Routines.Delete
class
Bigquery.Routines.Get
class
Bigquery.Routines.GetIamPolicy
class
Bigquery.Routines.Insert
class
Bigquery.Routines.List
class
Bigquery.Routines.SetIamPolicy
class
Bigquery.Routines.Update
-
Constructor Summary
Constructors
Constructor and Description
Routines()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Bigquery.Routines.Delete
delete(String projectId,
String datasetId,
String routineId)
Deletes the routine specified by routineId from the dataset.
Bigquery.Routines.Get
get(String projectId,
String datasetId,
String routineId)
Gets the specified routine resource by routine ID.
Bigquery.Routines.GetIamPolicy
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
Bigquery.Routines.Insert
insert(String projectId,
String datasetId,
Routine content)
Creates a new routine in the dataset.
Bigquery.Routines.List
list(String projectId,
String datasetId)
Lists all routines in the specified dataset.
Bigquery.Routines.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
Bigquery.Routines.Update
update(String projectId,
String datasetId,
String routineId,
Routine content)
Updates information in an existing routine.
-
-
Method Detail
-
delete
public Bigquery.Routines.Delete delete(String projectId,
String datasetId,
String routineId)
throws IOException
Deletes the routine specified by routineId from the dataset.
Create a request for the method "routines.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 routine to delete
datasetId
- Required. Dataset ID of the routine to delete
routineId
- Required. Routine ID of the routine to delete
- Returns:
- the request
- Throws:
IOException
-
get
public Bigquery.Routines.Get get(String projectId,
String datasetId,
String routineId)
throws IOException
Gets the specified routine resource by routine ID.
Create a request for the method "routines.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 routine
datasetId
- Required. Dataset ID of the requested routine
routineId
- Required. Routine ID of the requested routine
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public Bigquery.Routines.GetIamPolicy getIamPolicy(String resource,
GetIamPolicyRequest content)
throws IOException
Gets the access control policy for a resource. Returns an empty policy if the resource exists and
does not have a policy set.
Create a request for the method "routines.getIamPolicy".
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:
resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the GetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
insert
public Bigquery.Routines.Insert insert(String projectId,
String datasetId,
Routine content)
throws IOException
Creates a new routine in the dataset.
Create a request for the method "routines.insert".
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 new routine
datasetId
- Required. Dataset ID of the new routine
content
- the Routine
- Returns:
- the request
- Throws:
IOException
-
list
public Bigquery.Routines.List list(String projectId,
String datasetId)
throws IOException
Lists all routines in the specified dataset. Requires the READER dataset role.
Create a request for the method "routines.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 routines to list
datasetId
- Required. Dataset ID of the routines to list
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Bigquery.Routines.SetIamPolicy setIamPolicy(String resource,
SetIamPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Create a request for the method "routines.setIamPolicy".
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:
resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
update
public Bigquery.Routines.Update update(String projectId,
String datasetId,
String routineId,
Routine content)
throws IOException
Updates information in an existing routine. The update method replaces the entire Routine
resource.
Create a request for the method "routines.update".
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 routine to update
datasetId
- Required. Dataset ID of the routine to update
routineId
- Required. Routine ID of the routine to update
content
- the Routine
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.