public sealed class GetTaskRequest : IMessage<GetTaskRequest>, IEquatable<GetTaskRequest>, IDeepCloneable<GetTaskRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2beta3 API class GetTaskRequest.
Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
Implements
IMessageGetTaskRequest, IEquatableGetTaskRequest, IDeepCloneableGetTaskRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Tasks.V2Beta3Assembly
Google.Cloud.Tasks.V2Beta3.dll
Constructors
GetTaskRequest()
public GetTaskRequest()
GetTaskRequest(GetTaskRequest)
public GetTaskRequest(GetTaskRequest other)
Parameter | |
---|---|
Name | Description |
other | GetTaskRequest |
Properties
Name
public string Name { get; set; }
Required. The task name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID
Property Value | |
---|---|
Type | Description |
string |
ResponseView
public Task.Types.View ResponseView { get; set; }
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned.
By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL]
requires cloudtasks.tasks.fullView
Google
IAM permission on the
[Task][google.cloud.tasks.v2beta3.Task] resource.
Property Value | |
---|---|
Type | Description |
TaskTypesView |
TaskName
public TaskName TaskName { get; set; }
Property Value | |
---|---|
Type | Description |
TaskName |