google-cloud-tasks 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/tasks/v2/cloud_tasks_client.rb +1254 -0
  4. data/lib/google/cloud/tasks/v2/cloud_tasks_client_config.json +106 -0
  5. data/lib/google/cloud/tasks/v2/cloudtasks_pb.rb +99 -0
  6. data/lib/google/cloud/tasks/v2/cloudtasks_services_pb.rb +200 -0
  7. data/lib/google/cloud/tasks/v2/credentials.rb +41 -0
  8. data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/cloudtasks.rb +340 -0
  9. data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb +333 -0
  10. data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/target.rb +270 -0
  11. data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb +170 -0
  12. data/lib/google/cloud/tasks/v2/doc/google/iam/v1/iam_policy.rb +63 -0
  13. data/lib/google/cloud/tasks/v2/doc/google/iam/v1/policy.rb +104 -0
  14. data/lib/google/cloud/tasks/v2/doc/google/protobuf/any.rb +130 -0
  15. data/lib/google/cloud/tasks/v2/doc/google/protobuf/duration.rb +91 -0
  16. data/lib/google/cloud/tasks/v2/doc/google/protobuf/empty.rb +29 -0
  17. data/lib/google/cloud/tasks/v2/doc/google/protobuf/field_mask.rb +230 -0
  18. data/lib/google/cloud/tasks/v2/doc/google/protobuf/timestamp.rb +109 -0
  19. data/lib/google/cloud/tasks/v2/doc/google/rpc/status.rb +87 -0
  20. data/lib/google/cloud/tasks/v2/helpers.rb +56 -0
  21. data/lib/google/cloud/tasks/v2/queue_pb.rb +51 -0
  22. data/lib/google/cloud/tasks/v2/target_pb.rb +44 -0
  23. data/lib/google/cloud/tasks/v2/task_pb.rb +50 -0
  24. data/lib/google/cloud/tasks/v2.rb +139 -0
  25. data/lib/google/cloud/tasks.rb +2 -2
  26. metadata +24 -2
@@ -91,7 +91,7 @@ module Google
91
91
  # work in their applications.
92
92
  #
93
93
  # @param version [Symbol, String]
94
- # The major version of the service to be used. By default :v2beta3
94
+ # The major version of the service to be used. By default :v2
95
95
  # is used.
96
96
  # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
97
97
  # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
@@ -123,7 +123,7 @@ module Google
123
123
  # @param exception_transformer [Proc]
124
124
  # An optional proc that intercepts any exceptions raised during an API call to inject
125
125
  # custom error handling.
126
- def self.new(*args, version: :v2beta3, **kwargs)
126
+ def self.new(*args, version: :v2, **kwargs)
127
127
  unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
128
128
  raise "The version: #{version} is not available. The available versions " \
129
129
  "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-20 00:00:00.000000000 Z
11
+ date: 2019-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -118,6 +118,28 @@ files:
118
118
  - LICENSE
119
119
  - README.md
120
120
  - lib/google/cloud/tasks.rb
121
+ - lib/google/cloud/tasks/v2.rb
122
+ - lib/google/cloud/tasks/v2/cloud_tasks_client.rb
123
+ - lib/google/cloud/tasks/v2/cloud_tasks_client_config.json
124
+ - lib/google/cloud/tasks/v2/cloudtasks_pb.rb
125
+ - lib/google/cloud/tasks/v2/cloudtasks_services_pb.rb
126
+ - lib/google/cloud/tasks/v2/credentials.rb
127
+ - lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/cloudtasks.rb
128
+ - lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb
129
+ - lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/target.rb
130
+ - lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb
131
+ - lib/google/cloud/tasks/v2/doc/google/iam/v1/iam_policy.rb
132
+ - lib/google/cloud/tasks/v2/doc/google/iam/v1/policy.rb
133
+ - lib/google/cloud/tasks/v2/doc/google/protobuf/any.rb
134
+ - lib/google/cloud/tasks/v2/doc/google/protobuf/duration.rb
135
+ - lib/google/cloud/tasks/v2/doc/google/protobuf/empty.rb
136
+ - lib/google/cloud/tasks/v2/doc/google/protobuf/field_mask.rb
137
+ - lib/google/cloud/tasks/v2/doc/google/protobuf/timestamp.rb
138
+ - lib/google/cloud/tasks/v2/doc/google/rpc/status.rb
139
+ - lib/google/cloud/tasks/v2/helpers.rb
140
+ - lib/google/cloud/tasks/v2/queue_pb.rb
141
+ - lib/google/cloud/tasks/v2/target_pb.rb
142
+ - lib/google/cloud/tasks/v2/task_pb.rb
121
143
  - lib/google/cloud/tasks/v2beta2.rb
122
144
  - lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb
123
145
  - lib/google/cloud/tasks/v2beta2/cloud_tasks_client_config.json