Class: Google::Cloud::Tasks::V2::Task

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2/task.rb

Overview

A unit of scheduled work.

Defined Under Namespace

Modules: View

Instance Attribute Summary collapse

Instance Attribute Details

#app_engine_http_request::Google::Cloud::Tasks::V2::AppEngineHttpRequest



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#create_time::Google::Protobuf::Timestamp



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#dispatch_count::Integer



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#dispatch_deadline::Google::Protobuf::Duration



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#first_attempt::Google::Cloud::Tasks::V2::Attempt



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#http_request::Google::Cloud::Tasks::V2::HttpRequest



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#last_attempt::Google::Cloud::Tasks::V2::Attempt



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#name::String



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#response_count::Integer



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#schedule_time::Google::Protobuf::Timestamp



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end

#view::Google::Cloud::Tasks::V2::Task::View



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
150
151
152
153
154
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 122

class Task
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The view specifies a subset of {::Google::Cloud::Tasks::V2::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::V2::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::V2::Task::View::FULL FULL} requires
    # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
    # permission on the {::Google::Cloud::Tasks::V2::Queue Queue} resource.
    FULL = 2
  end
end