google-cloud-dataform-v1 0.2.1 → 0.4.0

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +5 -5
  4. data/lib/google/cloud/dataform/v1/bindings_override.rb +0 -57
  5. data/lib/google/cloud/dataform/v1/dataform/client.rb +2061 -48
  6. data/lib/google/cloud/dataform/v1/dataform/operations.rb +843 -0
  7. data/lib/google/cloud/dataform/v1/dataform/paths.rb +38 -0
  8. data/lib/google/cloud/dataform/v1/dataform/rest/client.rb +1944 -65
  9. data/lib/google/cloud/dataform/v1/dataform/rest/operations.rb +927 -0
  10. data/lib/google/cloud/dataform/v1/dataform/rest/service_stub.rb +1719 -481
  11. data/lib/google/cloud/dataform/v1/dataform/rest.rb +1 -0
  12. data/lib/google/cloud/dataform/v1/dataform.rb +1 -0
  13. data/lib/google/cloud/dataform/v1/dataform_pb.rb +44 -28
  14. data/lib/google/cloud/dataform/v1/dataform_services_pb.rb +54 -0
  15. data/lib/google/cloud/dataform/v1/version.rb +1 -1
  16. data/lib/google/longrunning/bindings_override.rb +71 -0
  17. data/lib/google/longrunning/operations/client.rb +954 -0
  18. data/lib/google/longrunning/operations/credentials.rb +40 -0
  19. data/lib/google/longrunning/operations/operations.rb +839 -0
  20. data/lib/google/longrunning/operations/rest/client.rb +777 -0
  21. data/lib/google/longrunning/operations/rest/operations.rb +923 -0
  22. data/lib/google/longrunning/operations/rest/service_stub.rb +322 -0
  23. data/lib/google/longrunning/operations/rest.rb +57 -0
  24. data/lib/google/longrunning/operations.rb +59 -0
  25. data/lib/google/longrunning/rest.rb +34 -0
  26. data/lib/google/longrunning.rb +41 -0
  27. data/lib/google-cloud-dataform-v1.rb +1 -0
  28. data/proto_docs/google/api/client.rb +149 -29
  29. data/proto_docs/google/cloud/dataform/v1/dataform.rb +759 -3
  30. data/proto_docs/google/longrunning/operations.rb +191 -0
  31. metadata +18 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c1a689f9c71169a459a8a15c67d7dc2ad2352b8fff8b80c320f40390a525730
4
- data.tar.gz: a37b44b7a9567823d2b03c6fd65bc14953f447d3049465efff8b70bde4441397
3
+ metadata.gz: ab8fb5b053e996e78a76296e39ee899d40a191f306d1e3aee8092534dc5f3688
4
+ data.tar.gz: 806436cb410aeba2d2171f51a4673e344697783f803cdeb67b24b8cacc046f55
5
5
  SHA512:
6
- metadata.gz: 07d146b250f02c7586c7f0970da9944cdc13515bc9209ffbff253fff1246eda9553ff7ca6971fef60434dc575b7bf712cc5709578fc3122f9c8bbeadbfbe8ada
7
- data.tar.gz: 4ce96e5702e0af65fc033e1956c56c1808b113df1003a204e4e4942f910c89d9c46d861eef8565d07d915a5cfb0aec482bc8a206ea8d7fce51b21b888ad6cf36
6
+ metadata.gz: 651dcb87b3917bb46685efb02fab78191abb097b9b2041e6ab39652c224f853d6d30eb97bbbcf14284e8ddab9ad1f1431c2f94987209139b74ab6bcdc5ae2bac
7
+ data.tar.gz: 649bd91ac49407ab3807b68e34e51a552436b24ebe3dd1935f8cd92b9aa0f97555f82f43497045d3d7dcfe9a34e8447c4c9ff02006103d72b5d8e5c2de6f9d37
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/dataform/v1"
58
58
 
59
- client = ::Google::Cloud::Dataform::V1::Dataform::Client.new do |config|
59
+ client = ::Google::Longrunning::Operations::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/dataform/v1"
68
68
 
69
- ::Google::Cloud::Dataform::V1::Dataform::Client.configure do |config|
69
+ ::Google::Longrunning::Operations::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::Dataform::V1::Dataform::Client.new
73
+ client = ::Google::Longrunning::Operations::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/dataform/v1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::Dataform::V1::Dataform::Client.new
103
+ client = ::Google::Longrunning::Operations::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/dataform/v1"
34
34
 
35
- client = ::Google::Cloud::Dataform::V1::Dataform::Client.new
36
- request = ::Google::Cloud::Dataform::V1::ListRepositoriesRequest.new # (request fields as keyword arguments...)
37
- response = client.list_repositories request
35
+ client = ::Google::Longrunning::Operations::Client.new
36
+ request = ::Google::Longrunning::ListOperationsRequest.new # (request fields as keyword arguments...)
37
+ response = client.list_operations request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest)
@@ -75,7 +75,7 @@ constructing a client object. For example:
75
75
  require "google/cloud/dataform/v1"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Cloud::Dataform::V1::Dataform::Client.new do |config|
78
+ client = ::Google::Longrunning::Operations::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 3.0+.
89
+ This library is supported on Ruby 3.2+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -64,63 +64,6 @@ module Google
64
64
  body: nil
65
65
  )
66
66
  ]
67
- default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
68
-
69
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
70
- uri_method: :get,
71
- uri_template: "/v1/{resource}:getIamPolicy",
72
- matches: [
73
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
74
- ],
75
- body: nil
76
- ),
77
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
78
- uri_method: :get,
79
- uri_template: "/v1/{resource}:getIamPolicy",
80
- matches: [
81
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
82
- ],
83
- body: nil
84
- )
85
- ]
86
- default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
87
-
88
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
89
- uri_method: :post,
90
- uri_template: "/v1/{resource}:setIamPolicy",
91
- matches: [
92
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
93
- ],
94
- body: "*"
95
- ),
96
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
97
- uri_method: :post,
98
- uri_template: "/v1/{resource}:setIamPolicy",
99
- matches: [
100
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
101
- ],
102
- body: "*"
103
- )
104
- ]
105
- default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
106
-
107
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
108
- uri_method: :post,
109
- uri_template: "/v1/{resource}:testIamPermissions",
110
- matches: [
111
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
112
- ],
113
- body: "*"
114
- ),
115
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
116
- uri_method: :post,
117
- uri_template: "/v1/{resource}:testIamPermissions",
118
- matches: [
119
- ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
120
- ],
121
- body: "*"
122
- )
123
- ]
124
67
  default_config
125
68
  end
126
69
  yield @configure if block_given?