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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +5 -5
- data/lib/google/cloud/dataform/v1/bindings_override.rb +0 -57
- data/lib/google/cloud/dataform/v1/dataform/client.rb +2061 -48
- data/lib/google/cloud/dataform/v1/dataform/operations.rb +843 -0
- data/lib/google/cloud/dataform/v1/dataform/paths.rb +38 -0
- data/lib/google/cloud/dataform/v1/dataform/rest/client.rb +1944 -65
- data/lib/google/cloud/dataform/v1/dataform/rest/operations.rb +927 -0
- data/lib/google/cloud/dataform/v1/dataform/rest/service_stub.rb +1719 -481
- data/lib/google/cloud/dataform/v1/dataform/rest.rb +1 -0
- data/lib/google/cloud/dataform/v1/dataform.rb +1 -0
- data/lib/google/cloud/dataform/v1/dataform_pb.rb +44 -28
- data/lib/google/cloud/dataform/v1/dataform_services_pb.rb +54 -0
- data/lib/google/cloud/dataform/v1/version.rb +1 -1
- data/lib/google/longrunning/bindings_override.rb +71 -0
- data/lib/google/longrunning/operations/client.rb +954 -0
- data/lib/google/longrunning/operations/credentials.rb +40 -0
- data/lib/google/longrunning/operations/operations.rb +839 -0
- data/lib/google/longrunning/operations/rest/client.rb +777 -0
- data/lib/google/longrunning/operations/rest/operations.rb +923 -0
- data/lib/google/longrunning/operations/rest/service_stub.rb +322 -0
- data/lib/google/longrunning/operations/rest.rb +57 -0
- data/lib/google/longrunning/operations.rb +59 -0
- data/lib/google/longrunning/rest.rb +34 -0
- data/lib/google/longrunning.rb +41 -0
- data/lib/google-cloud-dataform-v1.rb +1 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/dataform/v1/dataform.rb +759 -3
- data/proto_docs/google/longrunning/operations.rb +191 -0
- metadata +18 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab8fb5b053e996e78a76296e39ee899d40a191f306d1e3aee8092534dc5f3688
|
|
4
|
+
data.tar.gz: 806436cb410aeba2d2171f51a4673e344697783f803cdeb67b24b8cacc046f55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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::
|
|
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::
|
|
69
|
+
::Google::Longrunning::Operations::Client.configure do |config|
|
|
70
70
|
config.credentials = "path/to/credentialfile.json"
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
client = ::Google::
|
|
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::
|
|
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::
|
|
36
|
-
request = ::Google::
|
|
37
|
-
response = client.
|
|
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::
|
|
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.
|
|
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?
|