Class DatasetsResource.GetRequest
Returns the dataset specified by datasetID.
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class DatasetsResource.GetRequest : BigqueryBaseServiceRequest<Dataset>, IClientServiceRequest<Dataset>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | datasetId |
Properties
AccessPolicyVersion
Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be maped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by 'withcond' string followed by a hash value. For example : { "access": [ { "role": "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail": "user@example.com", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-withcond for more details.
Declaration
[RequestParameter("accessPolicyVersion", RequestParameterType.Query)]
public virtual int? AccessPolicyVersion { get; set; }
Property Value
Type | Description |
---|---|
int? |
DatasetId
Required. Dataset ID of the requested dataset
Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type | Description |
---|---|
string |
DatasetView
Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.
Declaration
[RequestParameter("datasetView", RequestParameterType.Query)]
public virtual DatasetsResource.GetRequest.DatasetViewEnum? DatasetView { get; set; }
Property Value
Type | Description |
---|---|
DatasetsResource.GetRequest.DatasetViewEnum? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Required. Project ID of the requested dataset
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()