google-cloud-tasks 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/tasks.rb +6 -0
  3. data/lib/google/cloud/tasks/v2beta2.rb +6 -0
  4. data/lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb +5 -3
  5. data/lib/google/cloud/tasks/v2beta2/cloudtasks_pb.rb +1 -0
  6. data/lib/google/cloud/tasks/v2beta2/cloudtasks_services_pb.rb +1 -0
  7. data/lib/google/cloud/tasks/v2beta2/credentials.rb +1 -0
  8. data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/cloudtasks.rb +1 -0
  9. data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb +1 -0
  10. data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/target.rb +1 -0
  11. data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb +1 -0
  12. data/lib/google/cloud/tasks/v2beta2/doc/google/iam/v1/iam_policy.rb +4 -3
  13. data/lib/google/cloud/tasks/v2beta2/doc/google/iam/v1/policy.rb +5 -4
  14. data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/any.rb +14 -8
  15. data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/duration.rb +1 -0
  16. data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/empty.rb +1 -0
  17. data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/field_mask.rb +7 -0
  18. data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/timestamp.rb +9 -6
  19. data/lib/google/cloud/tasks/v2beta2/doc/google/rpc/status.rb +1 -0
  20. data/lib/google/cloud/tasks/v2beta2/doc/overview.rb +1 -0
  21. data/lib/google/cloud/tasks/v2beta2/queue_pb.rb +1 -0
  22. data/lib/google/cloud/tasks/v2beta2/target_pb.rb +1 -0
  23. data/lib/google/cloud/tasks/v2beta2/task_pb.rb +1 -0
  24. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b43105207af0e33d28dc9c10e274d5e85e7c880a5347b2328f5e58b321313f09
4
- data.tar.gz: 8b8ce7bf133ffd14cf83d02a704e354eba539b6ea024854d885fa598884676ee
3
+ metadata.gz: c8457ebffcb1198e249e7cab9d03050ee15f3dbe88c3e18d4fea7d89d756c5c6
4
+ data.tar.gz: 5097710dee88268f2bc5cb6af1e3dd7be6371bbcb30e6b38d8a3942f5c318661
5
5
  SHA512:
6
- metadata.gz: 86b282bd95bfd66a3bdee6e8e96842cc5fce1ba0ad4a95666b48f1d18ec1253fa7df34db739f4bb64db8bc16909651e8539a1cd3cc647e7789604571260de8ab
7
- data.tar.gz: 74dbd22ff1743dde0c40d8fd819109b66b1f9cfebfb109e25f6996f277a3d50f9282176371f773a9aae0e851fefa09621cee7962d9f9f779c8f3c9fa8d281908
6
+ metadata.gz: 89e7fc2ef5122ce303fffdaae7ca2108b6f58aa83e28cc993f96adb939cdb48b97480267c8381117ebf305a6b3c62d5192bada98ecebd03a5ecc5cf32cd5577e
7
+ data.tar.gz: f8c138b2161c2d7bed3921aa33a5c4c6b78d72c8871adb9cefb2eab20888439c9719ff170e24299e7f748e162bcd6a2453712dc61949dbf68928ac51d9e58310
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/gax"
16
17
  require "pathname"
17
18
 
@@ -35,6 +36,11 @@ module Google
35
36
  # 3. [Enable the Cloud Tasks API.](https://console.cloud.google.com/apis/library/tasks.googleapis.com)
36
37
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
37
38
  #
39
+ # ### Installation
40
+ # ```
41
+ # $ gem install google-cloud-tasks
42
+ # ```
43
+ #
38
44
  # ### Next Steps
39
45
  # - Read the [Cloud Tasks API Product documentation][Product Documentation]
40
46
  # to learn more about the product and see How-to Guides.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/tasks/v2beta2/cloud_tasks_client"
16
17
 
17
18
  module Google
@@ -35,6 +36,11 @@ module Google
35
36
  # 3. [Enable the Cloud Tasks API.](https://console.cloud.google.com/apis/library/tasks.googleapis.com)
36
37
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
37
38
  #
39
+ # ### Installation
40
+ # ```
41
+ # $ gem install google-cloud-tasks
42
+ # ```
43
+ #
38
44
  # ### Next Steps
39
45
  # - Read the [Cloud Tasks API Product documentation][Product Documentation]
40
46
  # to learn more about the product and see How-to Guides.
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -37,6 +38,7 @@ module Google
37
38
  # @!attribute [r] cloud_tasks_stub
38
39
  # @return [Google::Cloud::Tasks::V2beta2::CloudTasks::Stub]
39
40
  class CloudTasksClient
41
+ # @private
40
42
  attr_reader :cloud_tasks_stub
41
43
 
42
44
  # The default address of the service.
@@ -815,7 +817,7 @@ module Google
815
817
  # @param resource [String]
816
818
  # REQUIRED: The resource for which the policy is being requested.
817
819
  # +resource+ is usually specified as a path. For example, a Project
818
- # resource is specified as +projects/{project}+.
820
+ # resource is specified as +projects/\\{project}+.
819
821
  # @param options [Google::Gax::CallOptions]
820
822
  # Overrides the default settings for this call, e.g, timeout,
821
823
  # retries, etc.
@@ -857,7 +859,7 @@ module Google
857
859
  # @param resource [String]
858
860
  # REQUIRED: The resource for which the policy is being specified.
859
861
  # +resource+ is usually specified as a path. For example, a Project
860
- # resource is specified as +projects/{project}+.
862
+ # resource is specified as +projects/\\{project}+.
861
863
  # @param policy [Google::Iam::V1::Policy | Hash]
862
864
  # REQUIRED: The complete policy to be applied to the +resource+. The size of
863
865
  # the policy is limited to a few 10s of KB. An empty policy is a
@@ -907,7 +909,7 @@ module Google
907
909
  # @param resource [String]
908
910
  # REQUIRED: The resource for which the policy detail is being requested.
909
911
  # +resource+ is usually specified as a path. For example, a Project
910
- # resource is specified as +projects/{project}+.
912
+ # resource is specified as +projects/\\{project}+.
911
913
  # @param permissions [Array<String>]
912
914
  # The set of permissions to check for the +resource+. Permissions with
913
915
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/tasks/v2beta2/cloudtasks.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/tasks/v2beta2/cloudtasks_pb'
21
22
 
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Tasks
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Tasks
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Tasks
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Tasks
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Iam
17
18
  module V1
@@ -20,7 +21,7 @@ module Google
20
21
  # @return [String]
21
22
  # REQUIRED: The resource for which the policy is being specified.
22
23
  # +resource+ is usually specified as a path. For example, a Project
23
- # resource is specified as +projects/{project}+.
24
+ # resource is specified as +projects/\\{project}+.
24
25
  # @!attribute [rw] policy
25
26
  # @return [Google::Iam::V1::Policy]
26
27
  # REQUIRED: The complete policy to be applied to the +resource+. The size of
@@ -34,7 +35,7 @@ module Google
34
35
  # @return [String]
35
36
  # REQUIRED: The resource for which the policy is being requested.
36
37
  # +resource+ is usually specified as a path. For example, a Project
37
- # resource is specified as +projects/{project}+.
38
+ # resource is specified as +projects/\\{project}+.
38
39
  class GetIamPolicyRequest; end
39
40
 
40
41
  # Request message for +TestIamPermissions+ method.
@@ -42,7 +43,7 @@ module Google
42
43
  # @return [String]
43
44
  # REQUIRED: The resource for which the policy detail is being requested.
44
45
  # +resource+ is usually specified as a path. For example, a Project
45
- # resource is specified as +projects/{project}+.
46
+ # resource is specified as +projects/\\{project}+.
46
47
  # @!attribute [rw] permissions
47
48
  # @return [Array<String>]
48
49
  # The set of permissions to check for the +resource+. Permissions with
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Iam
17
18
  module V1
@@ -85,17 +86,17 @@ module Google
85
86
  # * +allAuthenticatedUsers+: A special identifier that represents anyone
86
87
  # who is authenticated with a Google account or a service account.
87
88
  #
88
- # * +user:{emailid}+: An email address that represents a specific Google
89
+ # * +user:\\{emailid}+: An email address that represents a specific Google
89
90
  # account. For example, +alice@gmail.com+ or +joe@example.com+.
90
91
  #
91
92
  #
92
- # * +serviceAccount:{emailid}+: An email address that represents a service
93
+ # * +serviceAccount:\\{emailid}+: An email address that represents a service
93
94
  # account. For example, +my-other-app@appspot.gserviceaccount.com+.
94
95
  #
95
- # * +group:{emailid}+: An email address that represents a Google group.
96
+ # * +group:\\{emailid}+: An email address that represents a Google group.
96
97
  # For example, +admins@example.com+.
97
98
  #
98
- # * +domain:{domain}+: A Google Apps domain name that represents all the
99
+ # * +domain:\\{domain}+: A Google Apps domain name that represents all the
99
100
  # users of that domain. For example, +google.com+ or +example.com+.
100
101
  class Binding; end
101
102
 
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Any+ contains an arbitrary serialized protocol buffer message along with a
@@ -95,17 +96,18 @@ module Google
95
96
  # }
96
97
  # @!attribute [rw] type_url
97
98
  # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
99
+ # A URL/resource name that uniquely identifies the type of the serialized
100
+ # protocol buffer message. The last segment of the URL's path must represent
101
+ # the fully qualified name of the type (as in
102
+ # +path/google.protobuf.Duration+). The name should be in a canonical form
103
+ # (e.g., leading "." is not accepted).
100
104
  #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
105
+ # In practice, teams usually precompile into the binary all types that they
106
+ # expect it to use in the context of Any. However, for URLs which use the
107
+ # scheme +http+, +https+, or no scheme, one can optionally set up a type
108
+ # server that maps type URLs to message definitions as follows:
103
109
  #
104
110
  # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
112
  # value in binary format, or produce an error.
111
113
  # * Applications are allowed to cache lookup results based on the
@@ -114,6 +116,10 @@ module Google
114
116
  # on changes to types. (Use versioned type names to manage
115
117
  # breaking changes.)
116
118
  #
119
+ # Note: this functionality is not currently available in the official
120
+ # protobuf release, and it is not used for type URLs beginning with
121
+ # type.googleapis.com.
122
+ #
117
123
  # Schemes other than +http+, +https+ (or the empty scheme) might be
118
124
  # used with implementation specific semantics.
119
125
  # @!attribute [rw] value
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Duration represents a signed, fixed-length span of time represented
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A generic empty message that you can re-use to avoid defining duplicated
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +FieldMask+ represents a set of symbolic field paths, for example:
@@ -215,6 +216,12 @@ module Google
215
216
  #
216
217
  # Note that oneof type names ("test_oneof" in this case) cannot be used in
217
218
  # paths.
219
+ #
220
+ # == Field Mask Verification
221
+ #
222
+ # The implementation of any API method which has a FieldMask type field in the
223
+ # request should verify the included field paths, and return an
224
+ # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
218
225
  # @!attribute [rw] paths
219
226
  # @return [Array<String>]
220
227
  # The set of field mask paths.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Timestamp represents a point in time independent of any time zone
@@ -72,12 +73,14 @@ module Google
72
73
  #
73
74
  # In JSON format, the Timestamp type is encoded as a string in the
74
75
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
75
- # format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
76
- # where {year} is always expressed using four digits while {month}, {day},
77
- # {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
76
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
77
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
78
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
78
79
  # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
79
80
  # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
80
- # is required, though only UTC (as indicated by "Z") is presently supported.
81
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
82
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
83
+ # able to accept both UTC and other timezones (as indicated by an offset).
81
84
  #
82
85
  # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
83
86
  # 01:30 UTC on January 15, 2017.
@@ -88,8 +91,8 @@ module Google
88
91
  # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
89
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
90
93
  # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
91
- # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
92
- # to obtain a formatter capable of generating timestamps in this format.
94
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
+ # ) to obtain a formatter capable of generating timestamps in this format.
93
96
  # @!attribute [rw] seconds
94
97
  # @return [Integer]
95
98
  # Represents seconds of UTC time since Unix epoch
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  # rubocop:disable LineLength
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/tasks/v2beta2/queue.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/tasks/v2beta2/target.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/tasks/v2beta2/task.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax