google-cloud-tasks-v2beta3 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 234cbbd3ddac6e14520bda769cbd7b3c3e2fc37791879cfd7db96305117b25c1
4
- data.tar.gz: 7df3bd50960ec29c3423fe00e452a8d4ca90f3ae68d15acd58e6806f474305f7
3
+ metadata.gz: 7c1e14a4ffc137e534e754384f47e94e8a4775d3b69a644b7400c77641d2d9df
4
+ data.tar.gz: b567f7c6d8883a3b530592e03c069c41454e8aa1cdc144c216198473e1dc78c3
5
5
  SHA512:
6
- metadata.gz: dfcb1c963f32598cd08763f394cd7037169c511edcaf8780baaa61ef86fdd178a5fd02de3bd8fa26e56c7da39f5bc83c0da1bb4e877a15bd3825ea2580c839d1
7
- data.tar.gz: c5ba0983867e9dbb5fd9b3477b665c8d0509f150583a9e94a1819e39cc39ff7649c6357f0b7feeaf2ce88597f448a8f0760643055dbe6e1314371d7f48b3d470
6
+ metadata.gz: c8ef6a0b661f898539b93b6a0a495064a81d39d1f3adbe8bc2bc8c7993fed675d2333e2f634356160009011843fdaf2983edc91925762a03c4bb7a3b1a4be059
7
+ data.tar.gz: e19cad379065e215c5b0fa0454e4b980d2584e843337a3961e88f59f5a476a53c9ec65c103a6378cbd4db78393a1d6ee14ecab6d8753bc16681f1aeb109d19ca
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Tasks
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/tasks/v2beta3/rest"
28
+ # client = ::Google::Cloud::Tasks::V2beta3::CloudTasks::Rest::Client.new
29
+ #
30
+ module V2beta3
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Tasks"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v2beta3/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v2beta3/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config
68
+ end
69
+ yield @configure if block_given?
70
+ @configure
71
+ end
72
+
73
+ ##
74
+ # @private
75
+ # Configuration class for the google.cloud.tasks.v2beta3 package.
76
+ #
77
+ # This class contains common configuration for all services
78
+ # of the google.cloud.tasks.v2beta3 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
+ end
100
+ end
101
+ end
102
+ end