google-cloud-dataform-v1beta1 0.1.0 → 0.2.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: 6ea017f4114c2e8c057a63f8bd7e7bdbb963844bb5ce9bebac9ee58d0f879a28
4
- data.tar.gz: 4f0f7bec243534e50ecbe438629a46b192011123b5217ebc3f5098a0cc5d7d92
3
+ metadata.gz: 5510d33ce5ff601f2bae900630aa07c30ae3530f3af3ce3a20d9b1fa321cef59
4
+ data.tar.gz: 4d5330a717013c98285a759fc90cbb2501291db970322ce8f36ff8cfda36bc14
5
5
  SHA512:
6
- metadata.gz: 216dde18b7db4d45d07e99d51d4e4fb78fee7e96383884bbe9f475ecb4f1c8c9a7ca870792fad73ea8be839c55ad0d10db8252ff7c9b821759fd29d781f4ac36
7
- data.tar.gz: 41a71eb6c45bf2d89e4a8241f55644ec9e729d8a404113806b50fa1c1fc86ba016c78bdb67bf6f8649e998847f952d045986371783f8690baef112a15dbd66e4
6
+ metadata.gz: 572b9a75bed5d1da7cb34ac04430d5b49bb45b2c72651619672dbe1999bb86813f33abfb80c2958594bb5ed1849ac9aa4d5751ff187e7aab8f7c118a1bf5d1e8
7
+ data.tar.gz: ad8e73092999a637b2c8df17c88262014340f5289672d9b1808905775e569af7d004103d8676d22ab3d60f04ecdd4348415f0bcbd4e61756b5d3c5bcd2911805
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -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 Dataform
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/dataform/v1beta1/rest"
28
+ # client = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client.new
29
+ #
30
+ module V1beta1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Dataform"]
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: "/v1beta1/{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: "/v1beta1/{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.dataform.v1beta1 package.
76
+ #
77
+ # This class contains common configuration for all services
78
+ # of the google.cloud.dataform.v1beta1 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
@@ -231,13 +231,11 @@ module Google
231
231
  # # Call the list_repositories method.
232
232
  # result = client.list_repositories request
233
233
  #
234
- # # The returned object is of type Gapic::PagedEnumerable. You can
235
- # # iterate over all elements by calling #each, and the enumerable
236
- # # will lazily make API calls to fetch subsequent pages. Other
237
- # # methods are also available for managing paging directly.
238
- # result.each do |response|
234
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
235
+ # # over elements, and API calls will be issued to fetch pages as needed.
236
+ # result.each do |item|
239
237
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::Repository.
240
- # p response
238
+ # p item
241
239
  # end
242
240
  #
243
241
  def list_repositories request, options = nil
@@ -778,13 +776,11 @@ module Google
778
776
  # # Call the list_workspaces method.
779
777
  # result = client.list_workspaces request
780
778
  #
781
- # # The returned object is of type Gapic::PagedEnumerable. You can
782
- # # iterate over all elements by calling #each, and the enumerable
783
- # # will lazily make API calls to fetch subsequent pages. Other
784
- # # methods are also available for managing paging directly.
785
- # result.each do |response|
779
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
780
+ # # over elements, and API calls will be issued to fetch pages as needed.
781
+ # result.each do |item|
786
782
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::Workspace.
787
- # p response
783
+ # p item
788
784
  # end
789
785
  #
790
786
  def list_workspaces request, options = nil
@@ -1852,13 +1848,11 @@ module Google
1852
1848
  # # Call the query_directory_contents method.
1853
1849
  # result = client.query_directory_contents request
1854
1850
  #
1855
- # # The returned object is of type Gapic::PagedEnumerable. You can
1856
- # # iterate over all elements by calling #each, and the enumerable
1857
- # # will lazily make API calls to fetch subsequent pages. Other
1858
- # # methods are also available for managing paging directly.
1859
- # result.each do |response|
1851
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1852
+ # # over elements, and API calls will be issued to fetch pages as needed.
1853
+ # result.each do |item|
1860
1854
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::QueryDirectoryContentsResponse::DirectoryEntry.
1861
- # p response
1855
+ # p item
1862
1856
  # end
1863
1857
  #
1864
1858
  def query_directory_contents request, options = nil
@@ -2575,13 +2569,11 @@ module Google
2575
2569
  # # Call the list_compilation_results method.
2576
2570
  # result = client.list_compilation_results request
2577
2571
  #
2578
- # # The returned object is of type Gapic::PagedEnumerable. You can
2579
- # # iterate over all elements by calling #each, and the enumerable
2580
- # # will lazily make API calls to fetch subsequent pages. Other
2581
- # # methods are also available for managing paging directly.
2582
- # result.each do |response|
2572
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2573
+ # # over elements, and API calls will be issued to fetch pages as needed.
2574
+ # result.each do |item|
2583
2575
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::CompilationResult.
2584
- # p response
2576
+ # p item
2585
2577
  # end
2586
2578
  #
2587
2579
  def list_compilation_results request, options = nil
@@ -2854,13 +2846,11 @@ module Google
2854
2846
  # # Call the query_compilation_result_actions method.
2855
2847
  # result = client.query_compilation_result_actions request
2856
2848
  #
2857
- # # The returned object is of type Gapic::PagedEnumerable. You can
2858
- # # iterate over all elements by calling #each, and the enumerable
2859
- # # will lazily make API calls to fetch subsequent pages. Other
2860
- # # methods are also available for managing paging directly.
2861
- # result.each do |response|
2849
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2850
+ # # over elements, and API calls will be issued to fetch pages as needed.
2851
+ # result.each do |item|
2862
2852
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::CompilationResultAction.
2863
- # p response
2853
+ # p item
2864
2854
  # end
2865
2855
  #
2866
2856
  def query_compilation_result_actions request, options = nil
@@ -2957,13 +2947,11 @@ module Google
2957
2947
  # # Call the list_workflow_invocations method.
2958
2948
  # result = client.list_workflow_invocations request
2959
2949
  #
2960
- # # The returned object is of type Gapic::PagedEnumerable. You can
2961
- # # iterate over all elements by calling #each, and the enumerable
2962
- # # will lazily make API calls to fetch subsequent pages. Other
2963
- # # methods are also available for managing paging directly.
2964
- # result.each do |response|
2950
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2951
+ # # over elements, and API calls will be issued to fetch pages as needed.
2952
+ # result.each do |item|
2965
2953
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation.
2966
- # p response
2954
+ # p item
2967
2955
  # end
2968
2956
  #
2969
2957
  def list_workflow_invocations request, options = nil
@@ -3403,13 +3391,11 @@ module Google
3403
3391
  # # Call the query_workflow_invocation_actions method.
3404
3392
  # result = client.query_workflow_invocation_actions request
3405
3393
  #
3406
- # # The returned object is of type Gapic::PagedEnumerable. You can
3407
- # # iterate over all elements by calling #each, and the enumerable
3408
- # # will lazily make API calls to fetch subsequent pages. Other
3409
- # # methods are also available for managing paging directly.
3410
- # result.each do |response|
3394
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3395
+ # # over elements, and API calls will be issued to fetch pages as needed.
3396
+ # result.each do |item|
3411
3397
  # # Each element is of type ::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction.
3412
- # p response
3398
+ # p item
3413
3399
  # end
3414
3400
  #
3415
3401
  def query_workflow_invocation_actions request, options = nil