Show / Hide Table of Contents

Class RoutinesResource

The "routines" collection of methods.

Inheritance
System.Object
RoutinesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.String projectId

Required. Project ID of the routine to delete

System.String datasetId

Required. Dataset ID of the routine to delete

System.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
System.String projectId

Required. Project ID of the requested routine

System.String datasetId

Required. Dataset ID of the requested routine

System.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.

System.String projectId

Required. Project ID of the new routine

System.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
System.String projectId

Required. Project ID of the routines to list

System.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.

System.String projectId

Required. Project ID of the routine to update

System.String datasetId

Required. Dataset ID of the routine to update

System.String routineId

Required. Routine ID of the routine to update

Returns
Type Description
RoutinesResource.UpdateRequest
In This Article
Back to top