Class RoutinesResource
The "routines" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class RoutinesResource
Constructors
RoutinesResource(IClientService)
Constructs a new resource.
Declaration
public RoutinesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the routine specified by routineId from the dataset.
Declaration
public virtual RoutinesResource.DeleteRequest Delete(string projectId, string datasetId, string routineId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. Project ID of the routine to delete |
string | datasetId | Required. Dataset ID of the routine to delete |
string | routineId | Required. Routine ID of the routine to delete |
Returns
Type | Description |
---|---|
RoutinesResource.DeleteRequest |
Get(string, string, string)
Gets the specified routine resource by routine ID.
Declaration
public virtual RoutinesResource.GetRequest Get(string projectId, string datasetId, string routineId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. Project ID of the requested routine |
string | datasetId | Required. Dataset ID of the requested routine |
string | routineId | Required. Routine ID of the requested routine |
Returns
Type | Description |
---|---|
RoutinesResource.GetRequest |
Insert(Routine, string, string)
Creates a new routine in the dataset.
Declaration
public virtual RoutinesResource.InsertRequest Insert(Routine body, string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
Routine | body | The body of the request. |
string | projectId | Required. Project ID of the new routine |
string | datasetId | Required. Dataset ID of the new routine |
Returns
Type | Description |
---|---|
RoutinesResource.InsertRequest |
List(string, string)
Lists all routines in the specified dataset. Requires the READER dataset role.
Declaration
public virtual RoutinesResource.ListRequest List(string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. Project ID of the routines to list |
string | datasetId | Required. Dataset ID of the routines to list |
Returns
Type | Description |
---|---|
RoutinesResource.ListRequest |
Update(Routine, string, string, string)
Updates information in an existing routine. The update method replaces the entire Routine resource.
Declaration
public virtual RoutinesResource.UpdateRequest Update(Routine body, string projectId, string datasetId, string routineId)
Parameters
Type | Name | Description |
---|---|---|
Routine | body | The body of the request. |
string | projectId | Required. Project ID of the routine to update |
string | datasetId | Required. Dataset ID of the routine to update |
string | routineId | Required. Routine ID of the routine to update |
Returns
Type | Description |
---|---|
RoutinesResource.UpdateRequest |