google-cloud-tasks 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,56 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/tasks/v2beta2/queue.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/cloud/tasks/v2beta2/target_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.cloud.tasks.v2beta2.Queue" do
12
+ optional :name, :string, 1
13
+ optional :rate_limits, :message, 5, "google.cloud.tasks.v2beta2.RateLimits"
14
+ optional :retry_config, :message, 6, "google.cloud.tasks.v2beta2.RetryConfig"
15
+ optional :state, :enum, 7, "google.cloud.tasks.v2beta2.Queue.State"
16
+ optional :purge_time, :message, 8, "google.protobuf.Timestamp"
17
+ oneof :target_type do
18
+ optional :app_engine_http_target, :message, 3, "google.cloud.tasks.v2beta2.AppEngineHttpTarget"
19
+ optional :pull_target, :message, 4, "google.cloud.tasks.v2beta2.PullTarget"
20
+ end
21
+ end
22
+ add_enum "google.cloud.tasks.v2beta2.Queue.State" do
23
+ value :STATE_UNSPECIFIED, 0
24
+ value :RUNNING, 1
25
+ value :PAUSED, 2
26
+ value :DISABLED, 3
27
+ end
28
+ add_message "google.cloud.tasks.v2beta2.RateLimits" do
29
+ optional :max_tasks_dispatched_per_second, :double, 1
30
+ optional :max_burst_size, :int32, 2
31
+ optional :max_concurrent_tasks, :int32, 3
32
+ end
33
+ add_message "google.cloud.tasks.v2beta2.RetryConfig" do
34
+ optional :max_retry_duration, :message, 3, "google.protobuf.Duration"
35
+ optional :min_backoff, :message, 4, "google.protobuf.Duration"
36
+ optional :max_backoff, :message, 5, "google.protobuf.Duration"
37
+ optional :max_doublings, :int32, 6
38
+ oneof :num_attempts do
39
+ optional :max_attempts, :int32, 1
40
+ optional :unlimited_attempts, :bool, 2
41
+ end
42
+ end
43
+ end
44
+
45
+ module Google
46
+ module Cloud
47
+ module Tasks
48
+ module V2beta2
49
+ Queue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.Queue").msgclass
50
+ Queue::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.Queue.State").enummodule
51
+ RateLimits = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.RateLimits").msgclass
52
+ RetryConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.RetryConfig").msgclass
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,54 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/tasks/v2beta2/target.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/protobuf/duration_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "google.cloud.tasks.v2beta2.PullTarget" do
10
+ end
11
+ add_message "google.cloud.tasks.v2beta2.PullMessage" do
12
+ optional :payload, :bytes, 1
13
+ optional :tag, :string, 2
14
+ end
15
+ add_message "google.cloud.tasks.v2beta2.AppEngineHttpTarget" do
16
+ optional :app_engine_routing_override, :message, 1, "google.cloud.tasks.v2beta2.AppEngineRouting"
17
+ end
18
+ add_message "google.cloud.tasks.v2beta2.AppEngineHttpRequest" do
19
+ optional :http_method, :enum, 1, "google.cloud.tasks.v2beta2.HttpMethod"
20
+ optional :app_engine_routing, :message, 2, "google.cloud.tasks.v2beta2.AppEngineRouting"
21
+ optional :relative_url, :string, 3
22
+ map :headers, :string, :string, 4
23
+ optional :payload, :bytes, 5
24
+ end
25
+ add_message "google.cloud.tasks.v2beta2.AppEngineRouting" do
26
+ optional :service, :string, 1
27
+ optional :version, :string, 2
28
+ optional :instance, :string, 3
29
+ optional :host, :string, 4
30
+ end
31
+ add_enum "google.cloud.tasks.v2beta2.HttpMethod" do
32
+ value :HTTP_METHOD_UNSPECIFIED, 0
33
+ value :POST, 1
34
+ value :GET, 2
35
+ value :HEAD, 3
36
+ value :PUT, 4
37
+ value :DELETE, 5
38
+ end
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module Tasks
44
+ module V2beta2
45
+ PullTarget = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.PullTarget").msgclass
46
+ PullMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.PullMessage").msgclass
47
+ AppEngineHttpTarget = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.AppEngineHttpTarget").msgclass
48
+ AppEngineHttpRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.AppEngineHttpRequest").msgclass
49
+ AppEngineRouting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.AppEngineRouting").msgclass
50
+ HttpMethod = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.HttpMethod").enummodule
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,52 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/tasks/v2beta2/task.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/cloud/tasks/v2beta2/target_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ require 'google/rpc/status_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.cloud.tasks.v2beta2.Task" do
12
+ optional :name, :string, 1
13
+ optional :schedule_time, :message, 5, "google.protobuf.Timestamp"
14
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
15
+ optional :status, :message, 7, "google.cloud.tasks.v2beta2.TaskStatus"
16
+ optional :view, :enum, 8, "google.cloud.tasks.v2beta2.Task.View"
17
+ oneof :payload_type do
18
+ optional :app_engine_http_request, :message, 3, "google.cloud.tasks.v2beta2.AppEngineHttpRequest"
19
+ optional :pull_message, :message, 4, "google.cloud.tasks.v2beta2.PullMessage"
20
+ end
21
+ end
22
+ add_enum "google.cloud.tasks.v2beta2.Task.View" do
23
+ value :VIEW_UNSPECIFIED, 0
24
+ value :BASIC, 1
25
+ value :FULL, 2
26
+ end
27
+ add_message "google.cloud.tasks.v2beta2.TaskStatus" do
28
+ optional :attempt_dispatch_count, :int32, 1
29
+ optional :attempt_response_count, :int32, 2
30
+ optional :first_attempt_status, :message, 3, "google.cloud.tasks.v2beta2.AttemptStatus"
31
+ optional :last_attempt_status, :message, 4, "google.cloud.tasks.v2beta2.AttemptStatus"
32
+ end
33
+ add_message "google.cloud.tasks.v2beta2.AttemptStatus" do
34
+ optional :schedule_time, :message, 1, "google.protobuf.Timestamp"
35
+ optional :dispatch_time, :message, 2, "google.protobuf.Timestamp"
36
+ optional :response_time, :message, 3, "google.protobuf.Timestamp"
37
+ optional :response_status, :message, 4, "google.rpc.Status"
38
+ end
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module Tasks
44
+ module V2beta2
45
+ Task = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.Task").msgclass
46
+ Task::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.Task.View").enummodule
47
+ TaskStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.TaskStatus").msgclass
48
+ AttemptStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.AttemptStatus").msgclass
49
+ end
50
+ end
51
+ end
52
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-tasks
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-gax
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: grpc-google-iam-v1
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.6.9
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.6.9
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.50.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.50.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.9'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.9'
83
+ description: google-cloud-tasks is the official library for Cloud Tasks API.
84
+ email: googleapis-packages@google.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - ".yardopts"
90
+ - LICENSE
91
+ - README.md
92
+ - lib/google/cloud/tasks.rb
93
+ - lib/google/cloud/tasks/credentials.rb
94
+ - lib/google/cloud/tasks/v2beta2.rb
95
+ - lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb
96
+ - lib/google/cloud/tasks/v2beta2/cloud_tasks_client_config.json
97
+ - lib/google/cloud/tasks/v2beta2/cloudtasks_pb.rb
98
+ - lib/google/cloud/tasks/v2beta2/cloudtasks_services_pb.rb
99
+ - lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb
100
+ - lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/target.rb
101
+ - lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb
102
+ - lib/google/cloud/tasks/v2beta2/doc/google/iam/v1/policy.rb
103
+ - lib/google/cloud/tasks/v2beta2/doc/google/protobuf/any.rb
104
+ - lib/google/cloud/tasks/v2beta2/doc/google/protobuf/duration.rb
105
+ - lib/google/cloud/tasks/v2beta2/doc/google/protobuf/field_mask.rb
106
+ - lib/google/cloud/tasks/v2beta2/doc/google/protobuf/timestamp.rb
107
+ - lib/google/cloud/tasks/v2beta2/doc/google/rpc/status.rb
108
+ - lib/google/cloud/tasks/v2beta2/doc/overview.rb
109
+ - lib/google/cloud/tasks/v2beta2/queue_pb.rb
110
+ - lib/google/cloud/tasks/v2beta2/target_pb.rb
111
+ - lib/google/cloud/tasks/v2beta2/task_pb.rb
112
+ homepage: https://github.com/googleapis/googleapis
113
+ licenses:
114
+ - Apache-2.0
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 2.0.0
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.7.7
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: API Client library for Cloud Tasks API
136
+ test_files: []