Show / Hide Table of Contents

Class RoutinesResource

The "routines" collection of methods.

Inheritance
object
RoutinesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
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

GetIamPolicy(GetIamPolicyRequest, string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual RoutinesResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
RoutinesResource.GetIamPolicyRequest

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

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual RoutinesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
RoutinesResource.SetIamPolicyRequest

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
In this article
Back to top Generated by DocFX