google-cloud-dataform-v1beta1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +6 -4
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +6 -4
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +36 -36
- data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +26 -399
- data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 679676b2839b6e273bffa65ec0abee8f1ad7d4ebc98d3faa5ede3889fa7b271c
|
4
|
+
data.tar.gz: a668691efeb3692e057cfa99297e5aaafe066f73d8bb08fed3a6abf1a4a3c5f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302b047fedd46b189306e26399d5f29b1324f9c195ab9a4b1d4269e4620d177213c0b6f33d5f32641813939ff29241a87b37fa83bf454e31c3a7de236ce7dff3
|
7
|
+
data.tar.gz: 046ac56c21b8665eea40a2bee057e7c37daca0f90d85968b2d1f7d4ff0c5881ce89659da4898f2fa9dc0584e1674557a4bd381790d1b291950ec97b94430092a
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
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
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
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
|
53
53
|
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
credentials = @config.credentials
|
127
127
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
128
128
|
# but only if the default endpoint does not have a region prefix.
|
129
|
-
enable_self_signed_jwt = @config.endpoint ==
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
130
130
|
!@config.endpoint.split(".").first.include?("-")
|
131
131
|
credentials ||= Credentials.default scope: @config.scope,
|
132
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -3478,9 +3478,9 @@ module Google
|
|
3478
3478
|
# * (`String`) The path to a service account key file in JSON format
|
3479
3479
|
# * (`Hash`) A service account key as a Hash
|
3480
3480
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
3481
|
-
# (see the [googleauth docs](https://
|
3481
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
3482
3482
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3483
|
-
# (see the [signet docs](https://
|
3483
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3484
3484
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
3485
3485
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
3486
3486
|
# * (`nil`) indicating no credentials
|
@@ -3522,7 +3522,9 @@ module Google
|
|
3522
3522
|
class Configuration
|
3523
3523
|
extend ::Gapic::Config
|
3524
3524
|
|
3525
|
-
|
3525
|
+
DEFAULT_ENDPOINT = "dataform.googleapis.com"
|
3526
|
+
|
3527
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
3526
3528
|
config_attr :credentials, nil do |value|
|
3527
3529
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3528
3530
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -122,7 +122,7 @@ module Google
|
|
122
122
|
credentials = @config.credentials
|
123
123
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
124
124
|
# but only if the default endpoint does not have a region prefix.
|
125
|
-
enable_self_signed_jwt = @config.endpoint ==
|
125
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
126
126
|
!@config.endpoint.split(".").first.include?("-")
|
127
127
|
credentials ||= Credentials.default scope: @config.scope,
|
128
128
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2610,9 +2610,9 @@ module Google
|
|
2610
2610
|
# * (`String`) The path to a service account key file in JSON format
|
2611
2611
|
# * (`Hash`) A service account key as a Hash
|
2612
2612
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2613
|
-
# (see the [googleauth docs](https://
|
2613
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2614
2614
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2615
|
-
# (see the [signet docs](https://
|
2615
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2616
2616
|
# * (`nil`) indicating no credentials
|
2617
2617
|
# @return [::Object]
|
2618
2618
|
# @!attribute [rw] scope
|
@@ -2645,7 +2645,9 @@ module Google
|
|
2645
2645
|
class Configuration
|
2646
2646
|
extend ::Gapic::Config
|
2647
2647
|
|
2648
|
-
|
2648
|
+
DEFAULT_ENDPOINT = "dataform.googleapis.com"
|
2649
|
+
|
2650
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2649
2651
|
config_attr :credentials, nil do |value|
|
2650
2652
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2651
2653
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_repositories_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_repository_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_repository_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_repository_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
177
177
|
else
|
178
178
|
{}
|
179
179
|
end
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_repository_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
215
215
|
else
|
216
216
|
{}
|
217
217
|
end
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_remote_branches_request request_pb
|
251
251
|
query_string_params = if query_string_params.any?
|
252
|
-
query_string_params.to_h { |p| p.split
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
253
253
|
else
|
254
254
|
{}
|
255
255
|
end
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
|
288
288
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_workspaces_request request_pb
|
289
289
|
query_string_params = if query_string_params.any?
|
290
|
-
query_string_params.to_h { |p| p.split
|
290
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
291
291
|
else
|
292
292
|
{}
|
293
293
|
end
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
|
326
326
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_workspace_request request_pb
|
327
327
|
query_string_params = if query_string_params.any?
|
328
|
-
query_string_params.to_h { |p| p.split
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
329
|
else
|
330
330
|
{}
|
331
331
|
end
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_workspace_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
367
|
else
|
368
368
|
{}
|
369
369
|
end
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
|
402
402
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_workspace_request request_pb
|
403
403
|
query_string_params = if query_string_params.any?
|
404
|
-
query_string_params.to_h { |p| p.split
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
405
405
|
else
|
406
406
|
{}
|
407
407
|
end
|
@@ -439,7 +439,7 @@ module Google
|
|
439
439
|
|
440
440
|
verb, uri, query_string_params, body = ServiceStub.transcode_install_npm_packages_request request_pb
|
441
441
|
query_string_params = if query_string_params.any?
|
442
|
-
query_string_params.to_h { |p| p.split
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
443
443
|
else
|
444
444
|
{}
|
445
445
|
end
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
|
478
478
|
verb, uri, query_string_params, body = ServiceStub.transcode_pull_git_commits_request request_pb
|
479
479
|
query_string_params = if query_string_params.any?
|
480
|
-
query_string_params.to_h { |p| p.split
|
480
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
481
481
|
else
|
482
482
|
{}
|
483
483
|
end
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
|
516
516
|
verb, uri, query_string_params, body = ServiceStub.transcode_push_git_commits_request request_pb
|
517
517
|
query_string_params = if query_string_params.any?
|
518
|
-
query_string_params.to_h { |p| p.split
|
518
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
519
519
|
else
|
520
520
|
{}
|
521
521
|
end
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
|
554
554
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_git_statuses_request request_pb
|
555
555
|
query_string_params = if query_string_params.any?
|
556
|
-
query_string_params.to_h { |p| p.split
|
556
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
557
557
|
else
|
558
558
|
{}
|
559
559
|
end
|
@@ -591,7 +591,7 @@ module Google
|
|
591
591
|
|
592
592
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_git_ahead_behind_request request_pb
|
593
593
|
query_string_params = if query_string_params.any?
|
594
|
-
query_string_params.to_h { |p| p.split
|
594
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
595
595
|
else
|
596
596
|
{}
|
597
597
|
end
|
@@ -629,7 +629,7 @@ module Google
|
|
629
629
|
|
630
630
|
verb, uri, query_string_params, body = ServiceStub.transcode_commit_workspace_changes_request request_pb
|
631
631
|
query_string_params = if query_string_params.any?
|
632
|
-
query_string_params.to_h { |p| p.split
|
632
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
633
633
|
else
|
634
634
|
{}
|
635
635
|
end
|
@@ -667,7 +667,7 @@ module Google
|
|
667
667
|
|
668
668
|
verb, uri, query_string_params, body = ServiceStub.transcode_reset_workspace_changes_request request_pb
|
669
669
|
query_string_params = if query_string_params.any?
|
670
|
-
query_string_params.to_h { |p| p.split
|
670
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
671
671
|
else
|
672
672
|
{}
|
673
673
|
end
|
@@ -705,7 +705,7 @@ module Google
|
|
705
705
|
|
706
706
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_diff_request request_pb
|
707
707
|
query_string_params = if query_string_params.any?
|
708
|
-
query_string_params.to_h { |p| p.split
|
708
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
709
709
|
else
|
710
710
|
{}
|
711
711
|
end
|
@@ -743,7 +743,7 @@ module Google
|
|
743
743
|
|
744
744
|
verb, uri, query_string_params, body = ServiceStub.transcode_query_directory_contents_request request_pb
|
745
745
|
query_string_params = if query_string_params.any?
|
746
|
-
query_string_params.to_h { |p| p.split
|
746
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
747
747
|
else
|
748
748
|
{}
|
749
749
|
end
|
@@ -781,7 +781,7 @@ module Google
|
|
781
781
|
|
782
782
|
verb, uri, query_string_params, body = ServiceStub.transcode_make_directory_request request_pb
|
783
783
|
query_string_params = if query_string_params.any?
|
784
|
-
query_string_params.to_h { |p| p.split
|
784
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
785
785
|
else
|
786
786
|
{}
|
787
787
|
end
|
@@ -819,7 +819,7 @@ module Google
|
|
819
819
|
|
820
820
|
verb, uri, query_string_params, body = ServiceStub.transcode_remove_directory_request request_pb
|
821
821
|
query_string_params = if query_string_params.any?
|
822
|
-
query_string_params.to_h { |p| p.split
|
822
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
823
823
|
else
|
824
824
|
{}
|
825
825
|
end
|
@@ -857,7 +857,7 @@ module Google
|
|
857
857
|
|
858
858
|
verb, uri, query_string_params, body = ServiceStub.transcode_move_directory_request request_pb
|
859
859
|
query_string_params = if query_string_params.any?
|
860
|
-
query_string_params.to_h { |p| p.split
|
860
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
861
861
|
else
|
862
862
|
{}
|
863
863
|
end
|
@@ -895,7 +895,7 @@ module Google
|
|
895
895
|
|
896
896
|
verb, uri, query_string_params, body = ServiceStub.transcode_read_file_request request_pb
|
897
897
|
query_string_params = if query_string_params.any?
|
898
|
-
query_string_params.to_h { |p| p.split
|
898
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
899
899
|
else
|
900
900
|
{}
|
901
901
|
end
|
@@ -933,7 +933,7 @@ module Google
|
|
933
933
|
|
934
934
|
verb, uri, query_string_params, body = ServiceStub.transcode_remove_file_request request_pb
|
935
935
|
query_string_params = if query_string_params.any?
|
936
|
-
query_string_params.to_h { |p| p.split
|
936
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
937
937
|
else
|
938
938
|
{}
|
939
939
|
end
|
@@ -971,7 +971,7 @@ module Google
|
|
971
971
|
|
972
972
|
verb, uri, query_string_params, body = ServiceStub.transcode_move_file_request request_pb
|
973
973
|
query_string_params = if query_string_params.any?
|
974
|
-
query_string_params.to_h { |p| p.split
|
974
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
975
975
|
else
|
976
976
|
{}
|
977
977
|
end
|
@@ -1009,7 +1009,7 @@ module Google
|
|
1009
1009
|
|
1010
1010
|
verb, uri, query_string_params, body = ServiceStub.transcode_write_file_request request_pb
|
1011
1011
|
query_string_params = if query_string_params.any?
|
1012
|
-
query_string_params.to_h { |p| p.split
|
1012
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1013
1013
|
else
|
1014
1014
|
{}
|
1015
1015
|
end
|
@@ -1047,7 +1047,7 @@ module Google
|
|
1047
1047
|
|
1048
1048
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_compilation_results_request request_pb
|
1049
1049
|
query_string_params = if query_string_params.any?
|
1050
|
-
query_string_params.to_h { |p| p.split
|
1050
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1051
1051
|
else
|
1052
1052
|
{}
|
1053
1053
|
end
|
@@ -1085,7 +1085,7 @@ module Google
|
|
1085
1085
|
|
1086
1086
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_compilation_result_request request_pb
|
1087
1087
|
query_string_params = if query_string_params.any?
|
1088
|
-
query_string_params.to_h { |p| p.split
|
1088
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1089
1089
|
else
|
1090
1090
|
{}
|
1091
1091
|
end
|
@@ -1123,7 +1123,7 @@ module Google
|
|
1123
1123
|
|
1124
1124
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_compilation_result_request request_pb
|
1125
1125
|
query_string_params = if query_string_params.any?
|
1126
|
-
query_string_params.to_h { |p| p.split
|
1126
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1127
1127
|
else
|
1128
1128
|
{}
|
1129
1129
|
end
|
@@ -1161,7 +1161,7 @@ module Google
|
|
1161
1161
|
|
1162
1162
|
verb, uri, query_string_params, body = ServiceStub.transcode_query_compilation_result_actions_request request_pb
|
1163
1163
|
query_string_params = if query_string_params.any?
|
1164
|
-
query_string_params.to_h { |p| p.split
|
1164
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1165
1165
|
else
|
1166
1166
|
{}
|
1167
1167
|
end
|
@@ -1199,7 +1199,7 @@ module Google
|
|
1199
1199
|
|
1200
1200
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_invocations_request request_pb
|
1201
1201
|
query_string_params = if query_string_params.any?
|
1202
|
-
query_string_params.to_h { |p| p.split
|
1202
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1203
1203
|
else
|
1204
1204
|
{}
|
1205
1205
|
end
|
@@ -1237,7 +1237,7 @@ module Google
|
|
1237
1237
|
|
1238
1238
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_invocation_request request_pb
|
1239
1239
|
query_string_params = if query_string_params.any?
|
1240
|
-
query_string_params.to_h { |p| p.split
|
1240
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1241
1241
|
else
|
1242
1242
|
{}
|
1243
1243
|
end
|
@@ -1275,7 +1275,7 @@ module Google
|
|
1275
1275
|
|
1276
1276
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_invocation_request request_pb
|
1277
1277
|
query_string_params = if query_string_params.any?
|
1278
|
-
query_string_params.to_h { |p| p.split
|
1278
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1279
1279
|
else
|
1280
1280
|
{}
|
1281
1281
|
end
|
@@ -1313,7 +1313,7 @@ module Google
|
|
1313
1313
|
|
1314
1314
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_invocation_request request_pb
|
1315
1315
|
query_string_params = if query_string_params.any?
|
1316
|
-
query_string_params.to_h { |p| p.split
|
1316
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1317
1317
|
else
|
1318
1318
|
{}
|
1319
1319
|
end
|
@@ -1351,7 +1351,7 @@ module Google
|
|
1351
1351
|
|
1352
1352
|
verb, uri, query_string_params, body = ServiceStub.transcode_cancel_workflow_invocation_request request_pb
|
1353
1353
|
query_string_params = if query_string_params.any?
|
1354
|
-
query_string_params.to_h { |p| p.split
|
1354
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1355
1355
|
else
|
1356
1356
|
{}
|
1357
1357
|
end
|
@@ -1389,7 +1389,7 @@ module Google
|
|
1389
1389
|
|
1390
1390
|
verb, uri, query_string_params, body = ServiceStub.transcode_query_workflow_invocation_actions_request request_pb
|
1391
1391
|
query_string_params = if query_string_params.any?
|
1392
|
-
query_string_params.to_h { |p| p.split
|
1392
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1393
1393
|
else
|
1394
1394
|
{}
|
1395
1395
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/dataform/v1beta1/dataform.proto
|
3
4
|
|
@@ -11,407 +12,33 @@ require 'google/protobuf/empty_pb'
|
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/type/interval_pb'
|
13
14
|
|
14
|
-
|
15
|
-
add_file("google/cloud/dataform/v1beta1/dataform.proto", :syntax => :proto3) do
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
optional :filter, :string, 5
|
38
|
-
end
|
39
|
-
add_message "google.cloud.dataform.v1beta1.ListRepositoriesResponse" do
|
40
|
-
repeated :repositories, :message, 1, "google.cloud.dataform.v1beta1.Repository"
|
41
|
-
optional :next_page_token, :string, 2
|
42
|
-
repeated :unreachable, :string, 3
|
43
|
-
end
|
44
|
-
add_message "google.cloud.dataform.v1beta1.GetRepositoryRequest" do
|
45
|
-
optional :name, :string, 1
|
46
|
-
end
|
47
|
-
add_message "google.cloud.dataform.v1beta1.CreateRepositoryRequest" do
|
48
|
-
optional :parent, :string, 1
|
49
|
-
optional :repository, :message, 2, "google.cloud.dataform.v1beta1.Repository"
|
50
|
-
optional :repository_id, :string, 3
|
51
|
-
end
|
52
|
-
add_message "google.cloud.dataform.v1beta1.UpdateRepositoryRequest" do
|
53
|
-
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
54
|
-
optional :repository, :message, 2, "google.cloud.dataform.v1beta1.Repository"
|
55
|
-
end
|
56
|
-
add_message "google.cloud.dataform.v1beta1.DeleteRepositoryRequest" do
|
57
|
-
optional :name, :string, 1
|
58
|
-
optional :force, :bool, 2
|
59
|
-
end
|
60
|
-
add_message "google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest" do
|
61
|
-
optional :name, :string, 1
|
62
|
-
end
|
63
|
-
add_message "google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse" do
|
64
|
-
repeated :branches, :string, 1
|
65
|
-
end
|
66
|
-
add_message "google.cloud.dataform.v1beta1.Workspace" do
|
67
|
-
optional :name, :string, 1
|
68
|
-
end
|
69
|
-
add_message "google.cloud.dataform.v1beta1.ListWorkspacesRequest" do
|
70
|
-
optional :parent, :string, 1
|
71
|
-
optional :page_size, :int32, 2
|
72
|
-
optional :page_token, :string, 3
|
73
|
-
optional :order_by, :string, 4
|
74
|
-
optional :filter, :string, 5
|
75
|
-
end
|
76
|
-
add_message "google.cloud.dataform.v1beta1.ListWorkspacesResponse" do
|
77
|
-
repeated :workspaces, :message, 1, "google.cloud.dataform.v1beta1.Workspace"
|
78
|
-
optional :next_page_token, :string, 2
|
79
|
-
repeated :unreachable, :string, 3
|
80
|
-
end
|
81
|
-
add_message "google.cloud.dataform.v1beta1.GetWorkspaceRequest" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.dataform.v1beta1.CreateWorkspaceRequest" do
|
85
|
-
optional :parent, :string, 1
|
86
|
-
optional :workspace, :message, 2, "google.cloud.dataform.v1beta1.Workspace"
|
87
|
-
optional :workspace_id, :string, 3
|
88
|
-
end
|
89
|
-
add_message "google.cloud.dataform.v1beta1.DeleteWorkspaceRequest" do
|
90
|
-
optional :name, :string, 1
|
91
|
-
end
|
92
|
-
add_message "google.cloud.dataform.v1beta1.CommitAuthor" do
|
93
|
-
optional :name, :string, 1
|
94
|
-
optional :email_address, :string, 2
|
95
|
-
end
|
96
|
-
add_message "google.cloud.dataform.v1beta1.PullGitCommitsRequest" do
|
97
|
-
optional :name, :string, 1
|
98
|
-
optional :remote_branch, :string, 2
|
99
|
-
optional :author, :message, 3, "google.cloud.dataform.v1beta1.CommitAuthor"
|
100
|
-
end
|
101
|
-
add_message "google.cloud.dataform.v1beta1.PushGitCommitsRequest" do
|
102
|
-
optional :name, :string, 1
|
103
|
-
optional :remote_branch, :string, 2
|
104
|
-
end
|
105
|
-
add_message "google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest" do
|
106
|
-
optional :name, :string, 1
|
107
|
-
end
|
108
|
-
add_message "google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse" do
|
109
|
-
repeated :uncommitted_file_changes, :message, 1, "google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange"
|
110
|
-
end
|
111
|
-
add_message "google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange" do
|
112
|
-
optional :path, :string, 1
|
113
|
-
optional :state, :enum, 2, "google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State"
|
114
|
-
end
|
115
|
-
add_enum "google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State" do
|
116
|
-
value :STATE_UNSPECIFIED, 0
|
117
|
-
value :ADDED, 1
|
118
|
-
value :DELETED, 2
|
119
|
-
value :MODIFIED, 3
|
120
|
-
value :HAS_CONFLICTS, 4
|
121
|
-
end
|
122
|
-
add_message "google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest" do
|
123
|
-
optional :name, :string, 1
|
124
|
-
optional :remote_branch, :string, 2
|
125
|
-
end
|
126
|
-
add_message "google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse" do
|
127
|
-
optional :commits_ahead, :int32, 1
|
128
|
-
optional :commits_behind, :int32, 2
|
129
|
-
end
|
130
|
-
add_message "google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest" do
|
131
|
-
optional :name, :string, 1
|
132
|
-
optional :author, :message, 4, "google.cloud.dataform.v1beta1.CommitAuthor"
|
133
|
-
optional :commit_message, :string, 2
|
134
|
-
repeated :paths, :string, 3
|
135
|
-
end
|
136
|
-
add_message "google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest" do
|
137
|
-
optional :name, :string, 1
|
138
|
-
repeated :paths, :string, 2
|
139
|
-
optional :clean, :bool, 3
|
140
|
-
end
|
141
|
-
add_message "google.cloud.dataform.v1beta1.FetchFileDiffRequest" do
|
142
|
-
optional :workspace, :string, 1
|
143
|
-
optional :path, :string, 2
|
144
|
-
end
|
145
|
-
add_message "google.cloud.dataform.v1beta1.FetchFileDiffResponse" do
|
146
|
-
optional :formatted_diff, :string, 1
|
147
|
-
end
|
148
|
-
add_message "google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest" do
|
149
|
-
optional :workspace, :string, 1
|
150
|
-
optional :path, :string, 2
|
151
|
-
optional :page_size, :int32, 3
|
152
|
-
optional :page_token, :string, 4
|
153
|
-
end
|
154
|
-
add_message "google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse" do
|
155
|
-
repeated :directory_entries, :message, 1, "google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry"
|
156
|
-
optional :next_page_token, :string, 2
|
157
|
-
end
|
158
|
-
add_message "google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry" do
|
159
|
-
oneof :entry do
|
160
|
-
optional :file, :string, 1
|
161
|
-
optional :directory, :string, 2
|
162
|
-
end
|
163
|
-
end
|
164
|
-
add_message "google.cloud.dataform.v1beta1.MakeDirectoryRequest" do
|
165
|
-
optional :workspace, :string, 1
|
166
|
-
optional :path, :string, 2
|
167
|
-
end
|
168
|
-
add_message "google.cloud.dataform.v1beta1.MakeDirectoryResponse" do
|
169
|
-
end
|
170
|
-
add_message "google.cloud.dataform.v1beta1.RemoveDirectoryRequest" do
|
171
|
-
optional :workspace, :string, 1
|
172
|
-
optional :path, :string, 2
|
173
|
-
end
|
174
|
-
add_message "google.cloud.dataform.v1beta1.MoveDirectoryRequest" do
|
175
|
-
optional :workspace, :string, 1
|
176
|
-
optional :path, :string, 2
|
177
|
-
optional :new_path, :string, 3
|
178
|
-
end
|
179
|
-
add_message "google.cloud.dataform.v1beta1.MoveDirectoryResponse" do
|
180
|
-
end
|
181
|
-
add_message "google.cloud.dataform.v1beta1.ReadFileRequest" do
|
182
|
-
optional :workspace, :string, 1
|
183
|
-
optional :path, :string, 2
|
184
|
-
end
|
185
|
-
add_message "google.cloud.dataform.v1beta1.ReadFileResponse" do
|
186
|
-
optional :file_contents, :bytes, 1
|
187
|
-
end
|
188
|
-
add_message "google.cloud.dataform.v1beta1.RemoveFileRequest" do
|
189
|
-
optional :workspace, :string, 1
|
190
|
-
optional :path, :string, 2
|
191
|
-
end
|
192
|
-
add_message "google.cloud.dataform.v1beta1.MoveFileRequest" do
|
193
|
-
optional :workspace, :string, 1
|
194
|
-
optional :path, :string, 2
|
195
|
-
optional :new_path, :string, 3
|
196
|
-
end
|
197
|
-
add_message "google.cloud.dataform.v1beta1.MoveFileResponse" do
|
198
|
-
end
|
199
|
-
add_message "google.cloud.dataform.v1beta1.WriteFileRequest" do
|
200
|
-
optional :workspace, :string, 1
|
201
|
-
optional :path, :string, 2
|
202
|
-
optional :contents, :bytes, 3
|
203
|
-
end
|
204
|
-
add_message "google.cloud.dataform.v1beta1.WriteFileResponse" do
|
205
|
-
end
|
206
|
-
add_message "google.cloud.dataform.v1beta1.InstallNpmPackagesRequest" do
|
207
|
-
optional :workspace, :string, 1
|
208
|
-
end
|
209
|
-
add_message "google.cloud.dataform.v1beta1.InstallNpmPackagesResponse" do
|
210
|
-
end
|
211
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResult" do
|
212
|
-
optional :name, :string, 1
|
213
|
-
optional :code_compilation_config, :message, 4, "google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig"
|
214
|
-
optional :dataform_core_version, :string, 5
|
215
|
-
repeated :compilation_errors, :message, 6, "google.cloud.dataform.v1beta1.CompilationResult.CompilationError"
|
216
|
-
oneof :source do
|
217
|
-
optional :git_commitish, :string, 2
|
218
|
-
optional :workspace, :string, 3
|
219
|
-
end
|
220
|
-
end
|
221
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig" do
|
222
|
-
optional :default_database, :string, 1
|
223
|
-
optional :default_schema, :string, 2
|
224
|
-
optional :default_location, :string, 8
|
225
|
-
optional :assertion_schema, :string, 3
|
226
|
-
map :vars, :string, :string, 4
|
227
|
-
optional :database_suffix, :string, 5
|
228
|
-
optional :schema_suffix, :string, 6
|
229
|
-
optional :table_prefix, :string, 7
|
230
|
-
end
|
231
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResult.CompilationError" do
|
232
|
-
optional :message, :string, 1
|
233
|
-
optional :stack, :string, 2
|
234
|
-
optional :path, :string, 3
|
235
|
-
optional :action_target, :message, 4, "google.cloud.dataform.v1beta1.Target"
|
236
|
-
end
|
237
|
-
add_message "google.cloud.dataform.v1beta1.ListCompilationResultsRequest" do
|
238
|
-
optional :parent, :string, 1
|
239
|
-
optional :page_size, :int32, 2
|
240
|
-
optional :page_token, :string, 3
|
241
|
-
end
|
242
|
-
add_message "google.cloud.dataform.v1beta1.ListCompilationResultsResponse" do
|
243
|
-
repeated :compilation_results, :message, 1, "google.cloud.dataform.v1beta1.CompilationResult"
|
244
|
-
optional :next_page_token, :string, 2
|
245
|
-
repeated :unreachable, :string, 3
|
246
|
-
end
|
247
|
-
add_message "google.cloud.dataform.v1beta1.GetCompilationResultRequest" do
|
248
|
-
optional :name, :string, 1
|
249
|
-
end
|
250
|
-
add_message "google.cloud.dataform.v1beta1.CreateCompilationResultRequest" do
|
251
|
-
optional :parent, :string, 1
|
252
|
-
optional :compilation_result, :message, 2, "google.cloud.dataform.v1beta1.CompilationResult"
|
253
|
-
end
|
254
|
-
add_message "google.cloud.dataform.v1beta1.Target" do
|
255
|
-
optional :database, :string, 1
|
256
|
-
optional :schema, :string, 2
|
257
|
-
optional :name, :string, 3
|
258
|
-
end
|
259
|
-
add_message "google.cloud.dataform.v1beta1.RelationDescriptor" do
|
260
|
-
optional :description, :string, 1
|
261
|
-
repeated :columns, :message, 2, "google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor"
|
262
|
-
map :bigquery_labels, :string, :string, 3
|
263
|
-
end
|
264
|
-
add_message "google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor" do
|
265
|
-
repeated :path, :string, 1
|
266
|
-
optional :description, :string, 2
|
267
|
-
repeated :bigquery_policy_tags, :string, 3
|
268
|
-
end
|
269
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction" do
|
270
|
-
optional :target, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
271
|
-
optional :canonical_target, :message, 2, "google.cloud.dataform.v1beta1.Target"
|
272
|
-
optional :file_path, :string, 3
|
273
|
-
oneof :compiled_object do
|
274
|
-
optional :relation, :message, 4, "google.cloud.dataform.v1beta1.CompilationResultAction.Relation"
|
275
|
-
optional :operations, :message, 5, "google.cloud.dataform.v1beta1.CompilationResultAction.Operations"
|
276
|
-
optional :assertion, :message, 6, "google.cloud.dataform.v1beta1.CompilationResultAction.Assertion"
|
277
|
-
optional :declaration, :message, 7, "google.cloud.dataform.v1beta1.CompilationResultAction.Declaration"
|
278
|
-
end
|
279
|
-
end
|
280
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction.Relation" do
|
281
|
-
repeated :dependency_targets, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
282
|
-
optional :disabled, :bool, 2
|
283
|
-
repeated :tags, :string, 3
|
284
|
-
optional :relation_descriptor, :message, 4, "google.cloud.dataform.v1beta1.RelationDescriptor"
|
285
|
-
optional :relation_type, :enum, 5, "google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType"
|
286
|
-
optional :select_query, :string, 6
|
287
|
-
repeated :pre_operations, :string, 7
|
288
|
-
repeated :post_operations, :string, 8
|
289
|
-
optional :incremental_table_config, :message, 9, "google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig"
|
290
|
-
optional :partition_expression, :string, 10
|
291
|
-
repeated :cluster_expressions, :string, 11
|
292
|
-
optional :partition_expiration_days, :int32, 12
|
293
|
-
optional :require_partition_filter, :bool, 13
|
294
|
-
map :additional_options, :string, :string, 14
|
295
|
-
end
|
296
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig" do
|
297
|
-
optional :incremental_select_query, :string, 1
|
298
|
-
optional :refresh_disabled, :bool, 2
|
299
|
-
repeated :unique_key_parts, :string, 3
|
300
|
-
optional :update_partition_filter, :string, 4
|
301
|
-
repeated :incremental_pre_operations, :string, 5
|
302
|
-
repeated :incremental_post_operations, :string, 6
|
303
|
-
end
|
304
|
-
add_enum "google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType" do
|
305
|
-
value :RELATION_TYPE_UNSPECIFIED, 0
|
306
|
-
value :TABLE, 1
|
307
|
-
value :VIEW, 2
|
308
|
-
value :INCREMENTAL_TABLE, 3
|
309
|
-
value :MATERIALIZED_VIEW, 4
|
310
|
-
end
|
311
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction.Operations" do
|
312
|
-
repeated :dependency_targets, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
313
|
-
optional :disabled, :bool, 2
|
314
|
-
repeated :tags, :string, 3
|
315
|
-
optional :relation_descriptor, :message, 6, "google.cloud.dataform.v1beta1.RelationDescriptor"
|
316
|
-
repeated :queries, :string, 4
|
317
|
-
optional :has_output, :bool, 5
|
318
|
-
end
|
319
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction.Assertion" do
|
320
|
-
repeated :dependency_targets, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
321
|
-
optional :parent_action, :message, 5, "google.cloud.dataform.v1beta1.Target"
|
322
|
-
optional :disabled, :bool, 2
|
323
|
-
repeated :tags, :string, 3
|
324
|
-
optional :select_query, :string, 4
|
325
|
-
optional :relation_descriptor, :message, 6, "google.cloud.dataform.v1beta1.RelationDescriptor"
|
326
|
-
end
|
327
|
-
add_message "google.cloud.dataform.v1beta1.CompilationResultAction.Declaration" do
|
328
|
-
optional :relation_descriptor, :message, 1, "google.cloud.dataform.v1beta1.RelationDescriptor"
|
329
|
-
end
|
330
|
-
add_message "google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest" do
|
331
|
-
optional :name, :string, 1
|
332
|
-
optional :page_size, :int32, 2
|
333
|
-
optional :page_token, :string, 3
|
334
|
-
optional :filter, :string, 4
|
335
|
-
end
|
336
|
-
add_message "google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse" do
|
337
|
-
repeated :compilation_result_actions, :message, 1, "google.cloud.dataform.v1beta1.CompilationResultAction"
|
338
|
-
optional :next_page_token, :string, 2
|
339
|
-
end
|
340
|
-
add_message "google.cloud.dataform.v1beta1.WorkflowInvocation" do
|
341
|
-
optional :name, :string, 1
|
342
|
-
optional :compilation_result, :string, 2
|
343
|
-
optional :invocation_config, :message, 3, "google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig"
|
344
|
-
optional :state, :enum, 4, "google.cloud.dataform.v1beta1.WorkflowInvocation.State"
|
345
|
-
optional :invocation_timing, :message, 5, "google.type.Interval"
|
346
|
-
end
|
347
|
-
add_message "google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig" do
|
348
|
-
repeated :included_targets, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
349
|
-
repeated :included_tags, :string, 2
|
350
|
-
optional :transitive_dependencies_included, :bool, 3
|
351
|
-
optional :transitive_dependents_included, :bool, 4
|
352
|
-
optional :fully_refresh_incremental_tables_enabled, :bool, 5
|
353
|
-
end
|
354
|
-
add_enum "google.cloud.dataform.v1beta1.WorkflowInvocation.State" do
|
355
|
-
value :STATE_UNSPECIFIED, 0
|
356
|
-
value :RUNNING, 1
|
357
|
-
value :SUCCEEDED, 2
|
358
|
-
value :CANCELLED, 3
|
359
|
-
value :FAILED, 4
|
360
|
-
value :CANCELING, 5
|
361
|
-
end
|
362
|
-
add_message "google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest" do
|
363
|
-
optional :parent, :string, 1
|
364
|
-
optional :page_size, :int32, 2
|
365
|
-
optional :page_token, :string, 3
|
366
|
-
end
|
367
|
-
add_message "google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse" do
|
368
|
-
repeated :workflow_invocations, :message, 1, "google.cloud.dataform.v1beta1.WorkflowInvocation"
|
369
|
-
optional :next_page_token, :string, 2
|
370
|
-
repeated :unreachable, :string, 3
|
371
|
-
end
|
372
|
-
add_message "google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest" do
|
373
|
-
optional :name, :string, 1
|
374
|
-
end
|
375
|
-
add_message "google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest" do
|
376
|
-
optional :parent, :string, 1
|
377
|
-
optional :workflow_invocation, :message, 2, "google.cloud.dataform.v1beta1.WorkflowInvocation"
|
378
|
-
end
|
379
|
-
add_message "google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest" do
|
380
|
-
optional :name, :string, 1
|
381
|
-
end
|
382
|
-
add_message "google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest" do
|
383
|
-
optional :name, :string, 1
|
384
|
-
end
|
385
|
-
add_message "google.cloud.dataform.v1beta1.WorkflowInvocationAction" do
|
386
|
-
optional :target, :message, 1, "google.cloud.dataform.v1beta1.Target"
|
387
|
-
optional :canonical_target, :message, 2, "google.cloud.dataform.v1beta1.Target"
|
388
|
-
optional :state, :enum, 4, "google.cloud.dataform.v1beta1.WorkflowInvocationAction.State"
|
389
|
-
optional :failure_reason, :string, 7
|
390
|
-
optional :invocation_timing, :message, 5, "google.type.Interval"
|
391
|
-
optional :bigquery_action, :message, 6, "google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction"
|
392
|
-
end
|
393
|
-
add_message "google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction" do
|
394
|
-
optional :sql_script, :string, 1
|
395
|
-
end
|
396
|
-
add_enum "google.cloud.dataform.v1beta1.WorkflowInvocationAction.State" do
|
397
|
-
value :PENDING, 0
|
398
|
-
value :RUNNING, 1
|
399
|
-
value :SKIPPED, 2
|
400
|
-
value :DISABLED, 3
|
401
|
-
value :SUCCEEDED, 4
|
402
|
-
value :CANCELLED, 5
|
403
|
-
value :FAILED, 6
|
404
|
-
end
|
405
|
-
add_message "google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest" do
|
406
|
-
optional :name, :string, 1
|
407
|
-
optional :page_size, :int32, 2
|
408
|
-
optional :page_token, :string, 3
|
409
|
-
end
|
410
|
-
add_message "google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse" do
|
411
|
-
repeated :workflow_invocation_actions, :message, 1, "google.cloud.dataform.v1beta1.WorkflowInvocationAction"
|
412
|
-
optional :next_page_token, :string, 2
|
15
|
+
|
16
|
+
descriptor_data = "\n,google/cloud/dataform/v1beta1/dataform.proto\x12\x1dgoogle.cloud.dataform.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1agoogle/type/interval.proto\"\xc8\x04\n\nRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12]\n\x13git_remote_settings\x18\x02 \x01(\x0b\x32;.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsB\x03\xe0\x41\x01\x1a\xdb\x02\n\x11GitRemoteSettings\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x64\x65\x66\x61ult_branch\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12_\n#authentication_token_secret_version\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x62\n\x0ctoken_status\x18\x04 \x01(\x0e\x32G.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatusB\x03\xe0\x41\x03\"R\n\x0bTokenStatus\x12\x1c\n\x18TOKEN_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x12\t\n\x05VALID\x10\x03:j\xea\x41g\n\"dataform.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\"\xb1\x01\n\x17ListRepositoriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x18ListRepositoriesResponse\x12?\n\x0crepositories\x18\x01 \x03(\x0b\x32).google.cloud.dataform.v1beta1.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"P\n\x14GetRepositoryRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\"\xb4\x01\n\x17\x43reateRepositoryRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x42\n\nrepository\x18\x02 \x01(\x0b\x32).google.cloud.dataform.v1beta1.RepositoryB\x03\xe0\x41\x02\x12\x1a\n\rrepository_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x93\x01\n\x17UpdateRepositoryRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x42\n\nrepository\x18\x02 \x01(\x0b\x32).google.cloud.dataform.v1beta1.RepositoryB\x03\xe0\x41\x02\"b\n\x17\x44\x65leteRepositoryRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"V\n\x1a\x46\x65tchRemoteBranchesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\"/\n\x1b\x46\x65tchRemoteBranchesResponse\x12\x10\n\x08\x62ranches\x18\x01 \x03(\t\"\xa1\x01\n\tWorkspace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03:\x80\x01\xea\x41}\n!dataform.googleapis.com/Workspace\x12Xprojects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}\"\xb0\x01\n\x15ListWorkspacesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x16ListWorkspacesResponse\x12<\n\nworkspaces\x18\x01 \x03(\x0b\x32(.google.cloud.dataform.v1beta1.Workspace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x13GetWorkspaceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\"\xb1\x01\n\x16\x43reateWorkspaceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12@\n\tworkspace\x18\x02 \x01(\x0b\x32(.google.cloud.dataform.v1beta1.WorkspaceB\x03\xe0\x41\x02\x12\x19\n\x0cworkspace_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"Q\n\x16\x44\x65leteWorkspaceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\"=\n\x0c\x43ommitAuthor\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\remail_address\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x15PullGitCommitsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x1a\n\rremote_branch\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x06\x61uthor\x18\x03 \x01(\x0b\x32+.google.cloud.dataform.v1beta1.CommitAuthorB\x03\xe0\x41\x02\"l\n\x15PushGitCommitsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x1a\n\rremote_branch\x18\x02 \x01(\tB\x03\xe0\x41\x01\"V\n\x1b\x46\x65tchFileGitStatusesRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\"\xfc\x02\n\x1c\x46\x65tchFileGitStatusesResponse\x12s\n\x18uncommitted_file_changes\x18\x01 \x03(\x0b\x32Q.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange\x1a\xe6\x01\n\x15UncommittedFileChange\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x66\n\x05state\x18\x02 \x01(\x0e\x32W.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\x12\x0c\n\x08MODIFIED\x10\x03\x12\x11\n\rHAS_CONFLICTS\x10\x04\"q\n\x1a\x46\x65tchGitAheadBehindRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x1a\n\rremote_branch\x18\x02 \x01(\tB\x03\xe0\x41\x01\"L\n\x1b\x46\x65tchGitAheadBehindResponse\x12\x15\n\rcommits_ahead\x18\x01 \x01(\x05\x12\x16\n\x0e\x63ommits_behind\x18\x02 \x01(\x05\"\xcb\x01\n\x1d\x43ommitWorkspaceChangesRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12@\n\x06\x61uthor\x18\x04 \x01(\x0b\x32+.google.cloud.dataform.v1beta1.CommitAuthorB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63ommit_message\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05paths\x18\x03 \x03(\tB\x03\xe0\x41\x01\"\x7f\n\x1cResetWorkspaceChangesRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x12\n\x05paths\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x63lean\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"g\n\x14\x46\x65tchFileDiffRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\"/\n\x15\x46\x65tchFileDiffResponse\x12\x16\n\x0e\x66ormatted_diff\x18\x01 \x01(\t\"\xa1\x01\n\x1dQueryDirectoryContentsRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xe2\x01\n\x1eQueryDirectoryContentsResponse\x12g\n\x11\x64irectory_entries\x18\x01 \x03(\x0b\x32L.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a>\n\x0e\x44irectoryEntry\x12\x0e\n\x04\x66ile\x18\x01 \x01(\tH\x00\x12\x13\n\tdirectory\x18\x02 \x01(\tH\x00\x42\x07\n\x05\x65ntry\"g\n\x14MakeDirectoryRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x17\n\x15MakeDirectoryResponse\"i\n\x16RemoveDirectoryRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\"~\n\x14MoveDirectoryRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08new_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x17\n\x15MoveDirectoryResponse\"b\n\x0fReadFileRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\")\n\x10ReadFileResponse\x12\x15\n\rfile_contents\x18\x01 \x01(\x0c\"d\n\x11RemoveFileRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\"y\n\x0fMoveFileRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08new_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x12\n\x10MoveFileResponse\"z\n\x10WriteFileRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x63ontents\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x02\"\x13\n\x11WriteFileResponse\"Y\n\x19InstallNpmPackagesRequest\x12<\n\tworkspace\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataform.googleapis.com/Workspace\"\x1c\n\x1aInstallNpmPackagesResponse\"\xb1\x08\n\x11\x43ompilationResult\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\rgit_commitish\x18\x02 \x01(\tB\x03\xe0\x41\x05H\x00\x12>\n\tworkspace\x18\x03 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!dataform.googleapis.com/WorkspaceH\x00\x12l\n\x17\x63ode_compilation_config\x18\x04 \x01(\x0b\x32\x46.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigB\x03\xe0\x41\x05\x12\"\n\x15\x64\x61taform_core_version\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x62\n\x12\x63ompilation_errors\x18\x06 \x03(\x0b\x32\x41.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorB\x03\xe0\x41\x03\x1a\xf8\x02\n\x15\x43odeCompilationConfig\x12\x1d\n\x10\x64\x65\x66\x61ult_database\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x65\x66\x61ult_location\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x61ssertion_schema\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x63\n\x04vars\x18\x04 \x03(\x0b\x32P.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.VarsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0f\x64\x61tabase_suffix\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rschema_suffix\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0ctable_prefix\x18\x07 \x01(\tB\x03\xe0\x41\x01\x1a+\n\tVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x92\x01\n\x10\x43ompilationError\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05stack\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04path\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\raction_target\x18\x04 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.TargetB\x03\xe0\x41\x03:\x9a\x01\xea\x41\x96\x01\n)dataform.googleapis.com/CompilationResult\x12iprojects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}B\x08\n\x06source\"\x8c\x01\n\x1dListCompilationResultsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x1eListCompilationResultsResponse\x12M\n\x13\x63ompilation_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.dataform.v1beta1.CompilationResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x1bGetCompilationResultRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)dataform.googleapis.com/CompilationResult\"\xaf\x01\n\x1e\x43reateCompilationResultRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12Q\n\x12\x63ompilation_result\x18\x02 \x01(\x0b\x32\x30.google.cloud.dataform.v1beta1.CompilationResultB\x03\xe0\x41\x02\"8\n\x06Target\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"\xea\x02\n\x12RelationDescriptor\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12S\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x42.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor\x12^\n\x0f\x62igquery_labels\x18\x03 \x03(\x0b\x32\x45.google.cloud.dataform.v1beta1.RelationDescriptor.BigqueryLabelsEntry\x1aS\n\x10\x43olumnDescriptor\x12\x0c\n\x04path\x18\x01 \x03(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1c\n\x14\x62igquery_policy_tags\x18\x03 \x03(\t\x1a\x35\n\x13\x42igqueryLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd3\x11\n\x17\x43ompilationResultAction\x12\x35\n\x06target\x18\x01 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12?\n\x10\x63\x61nonical_target\x18\x02 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12\x11\n\tfile_path\x18\x03 \x01(\t\x12S\n\x08relation\x18\x04 \x01(\x0b\x32?.google.cloud.dataform.v1beta1.CompilationResultAction.RelationH\x00\x12W\n\noperations\x18\x05 \x01(\x0b\x32\x41.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsH\x00\x12U\n\tassertion\x18\x06 \x01(\x0b\x32@.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionH\x00\x12Y\n\x0b\x64\x65\x63laration\x18\x07 \x01(\x0b\x32\x42.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationH\x00\x1a\xde\x08\n\x08Relation\x12\x41\n\x12\x64\x65pendency_targets\x18\x01 \x03(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12\x10\n\x08\x64isabled\x18\x02 \x01(\x08\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12N\n\x13relation_descriptor\x18\x04 \x01(\x0b\x32\x31.google.cloud.dataform.v1beta1.RelationDescriptor\x12\x63\n\rrelation_type\x18\x05 \x01(\x0e\x32L.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType\x12\x14\n\x0cselect_query\x18\x06 \x01(\t\x12\x16\n\x0epre_operations\x18\x07 \x03(\t\x12\x17\n\x0fpost_operations\x18\x08 \x03(\t\x12x\n\x18incremental_table_config\x18\t \x01(\x0b\x32V.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig\x12\x1c\n\x14partition_expression\x18\n \x01(\t\x12\x1b\n\x13\x63luster_expressions\x18\x0b \x03(\t\x12!\n\x19partition_expiration_days\x18\x0c \x01(\x05\x12 \n\x18require_partition_filter\x18\r \x01(\x08\x12r\n\x12\x61\x64\x64itional_options\x18\x0e \x03(\x0b\x32V.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.AdditionalOptionsEntry\x1a\xd8\x01\n\x16IncrementalTableConfig\x12 \n\x18incremental_select_query\x18\x01 \x01(\t\x12\x18\n\x10refresh_disabled\x18\x02 \x01(\x08\x12\x18\n\x10unique_key_parts\x18\x03 \x03(\t\x12\x1f\n\x17update_partition_filter\x18\x04 \x01(\t\x12\"\n\x1aincremental_pre_operations\x18\x05 \x03(\t\x12#\n\x1bincremental_post_operations\x18\x06 \x03(\t\x1a\x38\n\x16\x41\x64\x64itionalOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x0cRelationType\x12\x1d\n\x19RELATION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05TABLE\x10\x01\x12\x08\n\x04VIEW\x10\x02\x12\x15\n\x11INCREMENTAL_TABLE\x10\x03\x12\x15\n\x11MATERIALIZED_VIEW\x10\x04\x1a\xe4\x01\n\nOperations\x12\x41\n\x12\x64\x65pendency_targets\x18\x01 \x03(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12\x10\n\x08\x64isabled\x18\x02 \x01(\x08\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12N\n\x13relation_descriptor\x18\x06 \x01(\x0b\x32\x31.google.cloud.dataform.v1beta1.RelationDescriptor\x12\x0f\n\x07queries\x18\x04 \x03(\t\x12\x12\n\nhas_output\x18\x05 \x01(\x08\x1a\x92\x02\n\tAssertion\x12\x41\n\x12\x64\x65pendency_targets\x18\x01 \x03(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12<\n\rparent_action\x18\x05 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.Target\x12\x10\n\x08\x64isabled\x18\x02 \x01(\x08\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12\x14\n\x0cselect_query\x18\x04 \x01(\t\x12N\n\x13relation_descriptor\x18\x06 \x01(\x0b\x32\x31.google.cloud.dataform.v1beta1.RelationDescriptor\x1a]\n\x0b\x44\x65\x63laration\x12N\n\x13relation_descriptor\x18\x01 \x01(\x0b\x32\x31.google.cloud.dataform.v1beta1.RelationDescriptorB\x11\n\x0f\x63ompiled_object\"\xad\x01\n$QueryCompilationResultActionsRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)dataform.googleapis.com/CompilationResult\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9c\x01\n%QueryCompilationResultActionsResponse\x12Z\n\x1a\x63ompilation_result_actions\x18\x01 \x03(\x0b\x32\x36.google.cloud.dataform.v1beta1.CompilationResultAction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xee\x06\n\x12WorkflowInvocation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12M\n\x12\x63ompilation_result\x18\x02 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)dataform.googleapis.com/CompilationResult\x12\x62\n\x11invocation_config\x18\x03 \x01(\x0b\x32\x42.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigB\x03\xe0\x41\x05\x12K\n\x05state\x18\x04 \x01(\x0e\x32\x37.google.cloud.dataform.v1beta1.WorkflowInvocation.StateB\x03\xe0\x41\x03\x12\x35\n\x11invocation_timing\x18\x05 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x03\x1a\x87\x02\n\x10InvocationConfig\x12\x44\n\x10included_targets\x18\x01 \x03(\x0b\x32%.google.cloud.dataform.v1beta1.TargetB\x03\xe0\x41\x05\x12\x1a\n\rincluded_tags\x18\x02 \x03(\tB\x03\xe0\x41\x05\x12-\n transitive_dependencies_included\x18\x03 \x01(\x08\x42\x03\xe0\x41\x05\x12+\n\x1etransitive_dependents_included\x18\x04 \x01(\x08\x42\x03\xe0\x41\x05\x12\x35\n(fully_refresh_incremental_tables_enabled\x18\x05 \x01(\x08\x42\x03\xe0\x41\x05\"d\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELING\x10\x05:\x9d\x01\xea\x41\x99\x01\n*dataform.googleapis.com/WorkflowInvocation\x12kprojects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}\"\x8d\x01\n\x1eListWorkflowInvocationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa0\x01\n\x1fListWorkflowInvocationsResponse\x12O\n\x14workflow_invocations\x18\x01 \x03(\x0b\x32\x31.google.cloud.dataform.v1beta1.WorkflowInvocation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"`\n\x1cGetWorkflowInvocationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dataform.googleapis.com/WorkflowInvocation\"\xb2\x01\n\x1f\x43reateWorkflowInvocationRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dataform.googleapis.com/Repository\x12S\n\x13workflow_invocation\x18\x02 \x01(\x0b\x32\x31.google.cloud.dataform.v1beta1.WorkflowInvocationB\x03\xe0\x41\x02\"c\n\x1f\x44\x65leteWorkflowInvocationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dataform.googleapis.com/WorkflowInvocation\"c\n\x1f\x43\x61ncelWorkflowInvocationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dataform.googleapis.com/WorkflowInvocation\"\xbc\x04\n\x18WorkflowInvocationAction\x12:\n\x06target\x18\x01 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.TargetB\x03\xe0\x41\x03\x12\x44\n\x10\x63\x61nonical_target\x18\x02 \x01(\x0b\x32%.google.cloud.dataform.v1beta1.TargetB\x03\xe0\x41\x03\x12Q\n\x05state\x18\x04 \x01(\x0e\x32=.google.cloud.dataform.v1beta1.WorkflowInvocationAction.StateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x11invocation_timing\x18\x05 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x03\x12\x64\n\x0f\x62igquery_action\x18\x06 \x01(\x0b\x32\x46.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionB\x03\xe0\x41\x03\x1a)\n\x0e\x42igQueryAction\x12\x17\n\nsql_script\x18\x01 \x01(\tB\x03\xe0\x41\x03\"f\n\x05State\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0b\n\x07SKIPPED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"\x9a\x01\n%QueryWorkflowInvocationActionsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dataform.googleapis.com/WorkflowInvocation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n&QueryWorkflowInvocationActionsResponse\x12\\\n\x1bworkflow_invocation_actions\x18\x01 \x03(\x0b\x32\x37.google.cloud.dataform.v1beta1.WorkflowInvocationAction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcb>\n\x08\x44\x61taform\x12\xcb\x01\n\x10ListRepositories\x12\x36.google.cloud.dataform.v1beta1.ListRepositoriesRequest\x1a\x37.google.cloud.dataform.v1beta1.ListRepositoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{parent=projects/*/locations/*}/repositories\xda\x41\x06parent\x12\xb5\x01\n\rGetRepository\x12\x33.google.cloud.dataform.v1beta1.GetRepositoryRequest\x1a).google.cloud.dataform.v1beta1.Repository\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\x12\xe2\x01\n\x10\x43reateRepository\x12\x36.google.cloud.dataform.v1beta1.CreateRepositoryRequest\x1a).google.cloud.dataform.v1beta1.Repository\"k\x82\xd3\xe4\x93\x02\x43\"5/v1beta1/{parent=projects/*/locations/*}/repositories:\nrepository\xda\x41\x1fparent,repository,repository_id\x12\xe4\x01\n\x10UpdateRepository\x12\x36.google.cloud.dataform.v1beta1.UpdateRepositoryRequest\x1a).google.cloud.dataform.v1beta1.Repository\"m\x82\xd3\xe4\x93\x02N2@/v1beta1/{repository.name=projects/*/locations/*/repositories/*}:\nrepository\xda\x41\x16repository,update_mask\x12\xa8\x01\n\x10\x44\x65leteRepository\x12\x36.google.cloud.dataform.v1beta1.DeleteRepositoryRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\x12\xdf\x01\n\x13\x46\x65tchRemoteBranches\x12\x39.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest\x1a:.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchRemoteBranches\x12\xd2\x01\n\x0eListWorkspaces\x12\x34.google.cloud.dataform.v1beta1.ListWorkspacesRequest\x1a\x35.google.cloud.dataform.v1beta1.ListWorkspacesResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces\xda\x41\x06parent\x12\xbf\x01\n\x0cGetWorkspace\x12\x32.google.cloud.dataform.v1beta1.GetWorkspaceRequest\x1a(.google.cloud.dataform.v1beta1.Workspace\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}\xda\x41\x04name\x12\xe9\x01\n\x0f\x43reateWorkspace\x12\x35.google.cloud.dataform.v1beta1.CreateWorkspaceRequest\x1a(.google.cloud.dataform.v1beta1.Workspace\"u\x82\xd3\xe4\x93\x02O\"B/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces:\tworkspace\xda\x41\x1dparent,workspace,workspace_id\x12\xb3\x01\n\x0f\x44\x65leteWorkspace\x12\x35.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest\x1a\x16.google.protobuf.Empty\"Q\x82\xd3\xe4\x93\x02\x44*B/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}\xda\x41\x04name\x12\xf0\x01\n\x12InstallNpmPackages\x12\x38.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest\x1a\x39.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse\"e\x82\xd3\xe4\x93\x02_\"Z/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:installNpmPackages:\x01*\x12\xb2\x01\n\x0ePullGitCommits\x12\x34.google.cloud.dataform.v1beta1.PullGitCommitsRequest\x1a\x16.google.protobuf.Empty\"R\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:pull:\x01*\x12\xb2\x01\n\x0ePushGitCommits\x12\x34.google.cloud.dataform.v1beta1.PushGitCommitsRequest\x1a\x16.google.protobuf.Empty\"R\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:push:\x01*\x12\xf0\x01\n\x14\x46\x65tchFileGitStatuses\x12:.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest\x1a;.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses\x12\xec\x01\n\x13\x46\x65tchGitAheadBehind\x12\x39.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest\x1a:.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse\"^\x82\xd3\xe4\x93\x02X\x12V/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind\x12\xc4\x01\n\x16\x43ommitWorkspaceChanges\x12<.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest\x1a\x16.google.protobuf.Empty\"T\x82\xd3\xe4\x93\x02N\"I/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit:\x01*\x12\xc1\x01\n\x15ResetWorkspaceChanges\x12;.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest\x1a\x16.google.protobuf.Empty\"S\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:reset:\x01*\x12\xd9\x01\n\rFetchFileDiff\x12\x33.google.cloud.dataform.v1beta1.FetchFileDiffRequest\x1a\x34.google.cloud.dataform.v1beta1.FetchFileDiffResponse\"]\x82\xd3\xe4\x93\x02W\x12U/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff\x12\xfd\x01\n\x16QueryDirectoryContents\x12<.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest\x1a=.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse\"f\x82\xd3\xe4\x93\x02`\x12^/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:queryDirectoryContents\x12\xdc\x01\n\rMakeDirectory\x12\x33.google.cloud.dataform.v1beta1.MakeDirectoryRequest\x1a\x34.google.cloud.dataform.v1beta1.MakeDirectoryResponse\"`\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:makeDirectory:\x01*\x12\xc4\x01\n\x0fRemoveDirectory\x12\x35.google.cloud.dataform.v1beta1.RemoveDirectoryRequest\x1a\x16.google.protobuf.Empty\"b\x82\xd3\xe4\x93\x02\\\"W/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeDirectory:\x01*\x12\xdc\x01\n\rMoveDirectory\x12\x33.google.cloud.dataform.v1beta1.MoveDirectoryRequest\x1a\x34.google.cloud.dataform.v1beta1.MoveDirectoryResponse\"`\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveDirectory:\x01*\x12\xc5\x01\n\x08ReadFile\x12..google.cloud.dataform.v1beta1.ReadFileRequest\x1a/.google.cloud.dataform.v1beta1.ReadFileResponse\"X\x82\xd3\xe4\x93\x02R\x12P/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:readFile\x12\xb5\x01\n\nRemoveFile\x12\x30.google.cloud.dataform.v1beta1.RemoveFileRequest\x1a\x16.google.protobuf.Empty\"]\x82\xd3\xe4\x93\x02W\"R/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeFile:\x01*\x12\xc8\x01\n\x08MoveFile\x12..google.cloud.dataform.v1beta1.MoveFileRequest\x1a/.google.cloud.dataform.v1beta1.MoveFileResponse\"[\x82\xd3\xe4\x93\x02U\"P/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveFile:\x01*\x12\xcc\x01\n\tWriteFile\x12/.google.cloud.dataform.v1beta1.WriteFileRequest\x1a\x30.google.cloud.dataform.v1beta1.WriteFileResponse\"\\\x82\xd3\xe4\x93\x02V\"Q/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:writeFile:\x01*\x12\xf2\x01\n\x16ListCompilationResults\x12<.google.cloud.dataform.v1beta1.ListCompilationResultsRequest\x1a=.google.cloud.dataform.v1beta1.ListCompilationResultsResponse\"[\x82\xd3\xe4\x93\x02L\x12J/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults\xda\x41\x06parent\x12\xdf\x01\n\x14GetCompilationResult\x12:.google.cloud.dataform.v1beta1.GetCompilationResultRequest\x1a\x30.google.cloud.dataform.v1beta1.CompilationResult\"Y\x82\xd3\xe4\x93\x02L\x12J/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}\xda\x41\x04name\x12\x8f\x02\n\x17\x43reateCompilationResult\x12=.google.cloud.dataform.v1beta1.CreateCompilationResultRequest\x1a\x30.google.cloud.dataform.v1beta1.CompilationResult\"\x82\x01\x82\xd3\xe4\x93\x02`\"J/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults:\x12\x63ompilation_result\xda\x41\x19parent,compilation_result\x12\x84\x02\n\x1dQueryCompilationResultActions\x12\x43.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest\x1a\x44.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse\"X\x82\xd3\xe4\x93\x02R\x12P/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}:query\x12\xf6\x01\n\x17ListWorkflowInvocations\x12=.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest\x1a>.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse\"\\\x82\xd3\xe4\x93\x02M\x12K/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations\xda\x41\x06parent\x12\xe3\x01\n\x15GetWorkflowInvocation\x12;.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest\x1a\x31.google.cloud.dataform.v1beta1.WorkflowInvocation\"Z\x82\xd3\xe4\x93\x02M\x12K/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}\xda\x41\x04name\x12\x95\x02\n\x18\x43reateWorkflowInvocation\x12>.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest\x1a\x31.google.cloud.dataform.v1beta1.WorkflowInvocation\"\x85\x01\x82\xd3\xe4\x93\x02\x62\"K/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations:\x13workflow_invocation\xda\x41\x1aparent,workflow_invocation\x12\xce\x01\n\x18\x44\x65leteWorkflowInvocation\x12>.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest\x1a\x16.google.protobuf.Empty\"Z\x82\xd3\xe4\x93\x02M*K/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}\xda\x41\x04name\x12\xd1\x01\n\x18\x43\x61ncelWorkflowInvocation\x12>.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest\x1a\x16.google.protobuf.Empty\"]\x82\xd3\xe4\x93\x02W\"R/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:cancel:\x01*\x12\x88\x02\n\x1eQueryWorkflowInvocationActions\x12\x44.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest\x1a\x45.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query\x1aK\xca\x41\x17\x64\x61taform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x02\n!com.google.cloud.dataform.v1beta1B\rDataformProtoP\x01Z=cloud.google.com/go/dataform/apiv1beta1/dataformpb;dataformpb\xaa\x02\x1dGoogle.Cloud.Dataform.V1Beta1\xca\x02\x1dGoogle\\Cloud\\Dataform\\V1beta1\xea\x02 Google::Cloud::Dataform::V1beta1\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}b\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
32
|
+
["google.type.Interval", "google/type/interval.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
413
38
|
end
|
414
39
|
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
415
42
|
end
|
416
43
|
|
417
44
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataform-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|