Class: Google::Cloud::Tasks::V2beta3::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb

Overview

A unit of scheduled work.

Defined Under Namespace

Modules: View

Instance Attribute Summary collapse

Instance Attribute Details

#app_engine_http_requestGoogle::Cloud::Tasks::V2beta3::AppEngineHttpRequest



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#create_timeGoogle::Protobuf::Timestamp



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#dispatch_countInteger



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#dispatch_deadlineGoogle::Protobuf::Duration



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#first_attemptGoogle::Cloud::Tasks::V2beta3::Attempt



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#http_requestGoogle::Cloud::Tasks::V2beta3::HttpRequest



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#last_attemptGoogle::Cloud::Tasks::V2beta3::Attempt



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#nameString



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#response_countInteger



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#schedule_timeGoogle::Protobuf::Timestamp



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end

#viewGoogle::Cloud::Tasks::V2beta3::Task::View



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/task.rb', line 120

class Task
  # The view specifies a subset of {Google::Cloud::Tasks::V2beta3::Task Task} data.
  #
  # When a task is returned in a response, 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.
  module View
    # Unspecified. Defaults to BASIC.
    VIEW_UNSPECIFIED = 0

    # The basic view omits fields which can be large or can contain
    # sensitive data.
    #
    # This view does not include the
    # {Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#body body in AppEngineHttpRequest}.
    # Bodies are desirable to return only when needed, because they
    # can be large and because of the sensitivity of the data that you
    # choose to store in it.
    BASIC = 1

    # All information is returned.
    #
    # Authorization for {Google::Cloud::Tasks::V2beta3::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {Google::Cloud::Tasks::V2beta3::Queue Queue} resource.
    FULL = 2
  end
end