google-cloud-tasks-v2beta2 0.15.0 → 0.16.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f771a3827b18b7f228fe47c5a7bc950bdc9a9e276f9f3e880b41ff579ebff93
4
- data.tar.gz: 7164f2dcc68e8a8cd3d58384a78a27e60aeb663435a66236aff4180e81e2b139
3
+ metadata.gz: 400b5d3d6767519b7a2d3d43237979f32c2626b34dafea61ac2cf4e3660208a5
4
+ data.tar.gz: 614bf8a1794ec316333dfd13a1848f3621d748f3671bcfd335dea8d027f5ce51
5
5
  SHA512:
6
- metadata.gz: bf8a67f2a1b5cf35f02a177f18ac202c49b0471bd41d3573485eb643400510d3c323883568d3641bc14a88dacf9eb2d45ad9e3f79eef48f0d19096bb5c356a87
7
- data.tar.gz: b4485de995d3f372883a45279fe106e497d888a18c0167c992fc76cfcf95fc62d92b8a1242e58059de637f374ca03f24ed7673917543c87a8c1c1919c613c879
6
+ metadata.gz: 60a7afffb88b364da2b9f92837f86f6dffb6454b1c2e24d47cffcb22a7f29079091b066c63b939436bbd2df4ab4af905029b14ac10b5bdbb1651819539592ecb
7
+ data.tar.gz: 4c80b3a7acb81eb2c60a2d277472fa90652d1b6d1591edd5534a94f40602532dfede660a7dbbf85e07c0e71ad7199e4c12a7a42b6c3932e1d312ed4947d14fbe
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -69,33 +69,6 @@ module Google
69
69
  yield @configure if block_given?
70
70
  @configure
71
71
  end
72
-
73
- ##
74
- # @private
75
- # Configuration class for the google.cloud.tasks.v2beta2 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.tasks.v2beta2 package.
79
- #
80
- # This configuration is for internal use of the client library classes,
81
- # and it is not intended that the end-users will read or change it.
82
- #
83
- class Configuration
84
- extend ::Gapic::Config
85
-
86
- # @private
87
- # Overrides for http bindings for the RPC of the mixins for this package.
88
- # Services in this package should use these when creating clients for the mixin services.
89
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
- config_attr :bindings_override, {}, ::Hash, nil
91
-
92
- # @private
93
- def initialize parent_config = nil
94
- @parent_config = parent_config unless parent_config.nil?
95
-
96
- yield self if block_given?
97
- end
98
- end
99
72
  end
100
73
  end
101
74
  end
@@ -521,7 +521,7 @@ module Google
521
521
  #
522
522
  # The list of allowed locations can be obtained by calling Cloud
523
523
  # Tasks' implementation of
524
- # `::Google::Cloud::Location::Locations::Client#list_locations`.
524
+ # [ListLocations][google.cloud.location.Locations.ListLocations].
525
525
  # @param queue [::Google::Cloud::Tasks::V2beta2::Queue, ::Hash]
526
526
  # Required. The queue to create.
527
527
  #
@@ -2625,8 +2625,6 @@ module Google
2625
2625
  # @return [::String,nil]
2626
2626
  # @!attribute [rw] credentials
2627
2627
  # Credentials to send with calls. You may provide any of the following types:
2628
- # * (`String`) The path to a service account key file in JSON format
2629
- # * (`Hash`) A service account key as a Hash
2630
2628
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2631
2629
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2632
2630
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2635,7 +2633,26 @@ module Google
2635
2633
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2636
2634
  # * (`nil`) indicating no credentials
2637
2635
  #
2638
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2636
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2637
+ # is deprecated. Providing an unvalidated credential configuration to
2638
+ # Google APIs can compromise the security of your systems and data.
2639
+ #
2640
+ # @example
2641
+ #
2642
+ # # The recommended way to provide credentials is to use the `make_creds` method
2643
+ # # on the appropriate credentials class for your environment.
2644
+ #
2645
+ # require "googleauth"
2646
+ #
2647
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2648
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2649
+ # )
2650
+ #
2651
+ # client = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Client.new do |config|
2652
+ # config.credentials = credentials
2653
+ # end
2654
+ #
2655
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2639
2656
  # external source for authentication to Google Cloud, you must validate it before
2640
2657
  # providing it to a Google API client library. Providing an unvalidated credential
2641
2658
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -499,7 +499,7 @@ module Google
499
499
  #
500
500
  # The list of allowed locations can be obtained by calling Cloud
501
501
  # Tasks' implementation of
502
- # `::Google::Cloud::Location::Locations::Rest::Client#list_locations`.
502
+ # [ListLocations][google.cloud.location.Locations.ListLocations].
503
503
  # @param queue [::Google::Cloud::Tasks::V2beta2::Queue, ::Hash]
504
504
  # Required. The queue to create.
505
505
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.1"
25
25
  end
26
26
  end
27
27
  end
@@ -119,7 +119,7 @@ module Google
119
119
  #
120
120
  # The list of allowed locations can be obtained by calling Cloud
121
121
  # Tasks' implementation of
122
- # `::Google::Cloud::Location::Locations::Client#list_locations`.
122
+ # [ListLocations][google.cloud.location.Locations.ListLocations].
123
123
  # @!attribute [rw] queue
124
124
  # @return [::Google::Cloud::Tasks::V2beta2::Queue]
125
125
  # Required. The queue to create.
@@ -42,7 +42,7 @@ module Google
42
42
  # projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
43
43
  # * `LOCATION_ID` is the canonical ID for the queue's location.
44
44
  # The list of available locations can be obtained by calling
45
- # `::Google::Cloud::Location::Locations::Client#list_locations`.
45
+ # [ListLocations][google.cloud.location.Locations.ListLocations].
46
46
  # For more information, see https://cloud.google.com/about/locations/.
47
47
  # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
48
48
  # hyphens (-). The maximum length is 100 characters.
@@ -39,7 +39,7 @@ module Google
39
39
  # projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
40
40
  # * `LOCATION_ID` is the canonical ID for the task's location.
41
41
  # The list of available locations can be obtained by calling
42
- # `::Google::Cloud::Location::Locations::Client#list_locations`.
42
+ # [ListLocations][google.cloud.location.Locations.ListLocations].
43
43
  # For more information, see https://cloud.google.com/about/locations/.
44
44
  # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
45
45
  # hyphens (-). The maximum length is 100 characters.
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks-v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.6.8
139
+ rubygems_version: 3.6.9
140
140
  specification_version: 4
141
141
  summary: Manages the execution of large numbers of distributed requests.
142
142
  test_files: []