Class ProjectsResource.LocationsResource.QueuesResource.TasksResource.GetRequest
Gets a task.
Inheritance
ProjectsResource.LocationsResource.QueuesResource.TasksResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudTasks.v2beta3
Assembly: Google.Apis.CloudTasks.v2beta3.dll
Syntax
public class ProjectsResource.LocationsResource.QueuesResource.TasksResource.GetRequest : CloudTasksBaseServiceRequest<Task>, IClientServiceRequest<Task>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
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
Name
Required. The task name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
ResponseView
The response_view specifies which subset of the Task will be returned. By default
response_view is BASIC; not all information is retrieved by default because some data, such
as payloads, might be desirable to return only when needed because of its large size or
because of the sensitivity of data that it contains. Authorization for FULL requires
cloudtasks.tasks.fullView
Google IAM permission on the
Task resource.
Declaration
[RequestParameter("responseView", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.QueuesResource.TasksResource.GetRequest.ResponseViewEnum? ResponseView { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuesResource.TasksResource.GetRequest.ResponseViewEnum? |
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()