Class: Google::Cloud::Tasks::V2beta2::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/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::V2beta2::AppEngineHttpRequest



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#create_timeGoogle::Protobuf::Timestamp



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#nameString



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#pull_messageGoogle::Cloud::Tasks::V2beta2::PullMessage



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#schedule_timeGoogle::Protobuf::Timestamp



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#statusGoogle::Cloud::Tasks::V2beta2::TaskStatus



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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

#viewGoogle::Cloud::Tasks::V2beta2::Task::View



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb', line 88

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