google-cloud-dataform-v1beta1 0.10.0 → 0.11.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/lib/google/cloud/dataform/v1beta1/bindings_override.rb +0 -24
 - data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +392 -53
 - data/lib/google/cloud/dataform/v1beta1/dataform/credentials.rb +1 -0
 - data/lib/google/cloud/dataform/v1beta1/dataform/paths.rb +61 -0
 - data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +371 -53
 - data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +208 -24
 - data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +22 -2
 - data/lib/google/cloud/dataform/v1beta1/dataform_services_pb.rb +38 -8
 - data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
 - data/proto_docs/google/api/client.rb +6 -0
 - data/proto_docs/google/cloud/dataform/v1beta1/dataform.rb +421 -89
 - metadata +3 -3
 
| 
         @@ -282,10 +282,10 @@ module Google 
     | 
|
| 
       282 
282 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       283 
283 
     | 
    
         
             
                          #
         
     | 
| 
       284 
284 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       285 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 285 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CommitRepositoryChangesResponse]
         
     | 
| 
       286 
286 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       287 
287 
     | 
    
         
             
                          #
         
     | 
| 
       288 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 288 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::CommitRepositoryChangesResponse]
         
     | 
| 
       289 
289 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       290 
290 
     | 
    
         
             
                          def commit_repository_changes request_pb, options = nil
         
     | 
| 
       291 
291 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -306,7 +306,7 @@ module Google 
     | 
|
| 
       306 
306 
     | 
    
         
             
                              options: options
         
     | 
| 
       307 
307 
     | 
    
         
             
                            )
         
     | 
| 
       308 
308 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       309 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 309 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::CommitRepositoryChangesResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       310 
310 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       311 
311 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       312 
312 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -722,10 +722,10 @@ module Google 
     | 
|
| 
       722 
722 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       723 
723 
     | 
    
         
             
                          #
         
     | 
| 
       724 
724 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       725 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 725 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::PullGitCommitsResponse]
         
     | 
| 
       726 
726 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       727 
727 
     | 
    
         
             
                          #
         
     | 
| 
       728 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 728 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::PullGitCommitsResponse]
         
     | 
| 
       729 
729 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       730 
730 
     | 
    
         
             
                          def pull_git_commits request_pb, options = nil
         
     | 
| 
       731 
731 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -746,7 +746,7 @@ module Google 
     | 
|
| 
       746 
746 
     | 
    
         
             
                              options: options
         
     | 
| 
       747 
747 
     | 
    
         
             
                            )
         
     | 
| 
       748 
748 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       749 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 749 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::PullGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       750 
750 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       751 
751 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       752 
752 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -762,10 +762,10 @@ module Google 
     | 
|
| 
       762 
762 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       763 
763 
     | 
    
         
             
                          #
         
     | 
| 
       764 
764 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       765 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 765 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::PushGitCommitsResponse]
         
     | 
| 
       766 
766 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       767 
767 
     | 
    
         
             
                          #
         
     | 
| 
       768 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 768 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::PushGitCommitsResponse]
         
     | 
| 
       769 
769 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       770 
770 
     | 
    
         
             
                          def push_git_commits request_pb, options = nil
         
     | 
| 
       771 
771 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -786,7 +786,7 @@ module Google 
     | 
|
| 
       786 
786 
     | 
    
         
             
                              options: options
         
     | 
| 
       787 
787 
     | 
    
         
             
                            )
         
     | 
| 
       788 
788 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       789 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 789 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::PushGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       790 
790 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       791 
791 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       792 
792 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -882,10 +882,10 @@ module Google 
     | 
|
| 
       882 
882 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       883 
883 
     | 
    
         
             
                          #
         
     | 
| 
       884 
884 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       885 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 885 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CommitWorkspaceChangesResponse]
         
     | 
| 
       886 
886 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       887 
887 
     | 
    
         
             
                          #
         
     | 
| 
       888 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 888 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::CommitWorkspaceChangesResponse]
         
     | 
| 
       889 
889 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       890 
890 
     | 
    
         
             
                          def commit_workspace_changes request_pb, options = nil
         
     | 
| 
       891 
891 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -906,7 +906,7 @@ module Google 
     | 
|
| 
       906 
906 
     | 
    
         
             
                              options: options
         
     | 
| 
       907 
907 
     | 
    
         
             
                            )
         
     | 
| 
       908 
908 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       909 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 909 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::CommitWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       910 
910 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       911 
911 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       912 
912 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -922,10 +922,10 @@ module Google 
     | 
|
| 
       922 
922 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       923 
923 
     | 
    
         
             
                          #
         
     | 
| 
       924 
924 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       925 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 925 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ResetWorkspaceChangesResponse]
         
     | 
| 
       926 
926 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       927 
927 
     | 
    
         
             
                          #
         
     | 
| 
       928 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 928 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::ResetWorkspaceChangesResponse]
         
     | 
| 
       929 
929 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       930 
930 
     | 
    
         
             
                          def reset_workspace_changes request_pb, options = nil
         
     | 
| 
       931 
931 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -946,7 +946,7 @@ module Google 
     | 
|
| 
       946 
946 
     | 
    
         
             
                              options: options
         
     | 
| 
       947 
947 
     | 
    
         
             
                            )
         
     | 
| 
       948 
948 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       949 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 949 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::ResetWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       950 
950 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       951 
951 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       952 
952 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -1033,6 +1033,46 @@ module Google 
     | 
|
| 
       1033 
1033 
     | 
    
         
             
                            end
         
     | 
| 
       1034 
1034 
     | 
    
         
             
                          end
         
     | 
| 
       1035 
1035 
     | 
    
         | 
| 
      
 1036 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 1037 
     | 
    
         
            +
                          # Baseline implementation for the search_files REST call
         
     | 
| 
      
 1038 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1039 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::SearchFilesRequest]
         
     | 
| 
      
 1040 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 1041 
     | 
    
         
            +
                          # @param options [::Gapic::CallOptions]
         
     | 
| 
      
 1042 
     | 
    
         
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 1043 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1044 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 1045 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::SearchFilesResponse]
         
     | 
| 
      
 1046 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 1047 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1048 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::SearchFilesResponse]
         
     | 
| 
      
 1049 
     | 
    
         
            +
                          #   A result object deserialized from the server's reply
         
     | 
| 
      
 1050 
     | 
    
         
            +
                          def search_files request_pb, options = nil
         
     | 
| 
      
 1051 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
      
 1052 
     | 
    
         
            +
             
     | 
| 
      
 1053 
     | 
    
         
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_search_files_request request_pb
         
     | 
| 
      
 1054 
     | 
    
         
            +
                            query_string_params = if query_string_params.any?
         
     | 
| 
      
 1055 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
      
 1056 
     | 
    
         
            +
                                                  else
         
     | 
| 
      
 1057 
     | 
    
         
            +
                                                    {}
         
     | 
| 
      
 1058 
     | 
    
         
            +
                                                  end
         
     | 
| 
      
 1059 
     | 
    
         
            +
             
     | 
| 
      
 1060 
     | 
    
         
            +
                            response = @client_stub.make_http_request(
         
     | 
| 
      
 1061 
     | 
    
         
            +
                              verb,
         
     | 
| 
      
 1062 
     | 
    
         
            +
                              uri: uri,
         
     | 
| 
      
 1063 
     | 
    
         
            +
                              body: body || "",
         
     | 
| 
      
 1064 
     | 
    
         
            +
                              params: query_string_params,
         
     | 
| 
      
 1065 
     | 
    
         
            +
                              method_name: "search_files",
         
     | 
| 
      
 1066 
     | 
    
         
            +
                              options: options
         
     | 
| 
      
 1067 
     | 
    
         
            +
                            )
         
     | 
| 
      
 1068 
     | 
    
         
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
      
 1069 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::SearchFilesResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
      
 1070 
     | 
    
         
            +
                            catch :response do
         
     | 
| 
      
 1071 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 1072 
     | 
    
         
            +
                              result
         
     | 
| 
      
 1073 
     | 
    
         
            +
                            end
         
     | 
| 
      
 1074 
     | 
    
         
            +
                          end
         
     | 
| 
      
 1075 
     | 
    
         
            +
             
     | 
| 
       1036 
1076 
     | 
    
         
             
                          ##
         
     | 
| 
       1037 
1077 
     | 
    
         
             
                          # Baseline implementation for the make_directory REST call
         
     | 
| 
       1038 
1078 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -1082,10 +1122,10 @@ module Google 
     | 
|
| 
       1082 
1122 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       1083 
1123 
     | 
    
         
             
                          #
         
     | 
| 
       1084 
1124 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       1085 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 1125 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::RemoveDirectoryResponse]
         
     | 
| 
       1086 
1126 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       1087 
1127 
     | 
    
         
             
                          #
         
     | 
| 
       1088 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 1128 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::RemoveDirectoryResponse]
         
     | 
| 
       1089 
1129 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       1090 
1130 
     | 
    
         
             
                          def remove_directory request_pb, options = nil
         
     | 
| 
       1091 
1131 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -1106,7 +1146,7 @@ module Google 
     | 
|
| 
       1106 
1146 
     | 
    
         
             
                              options: options
         
     | 
| 
       1107 
1147 
     | 
    
         
             
                            )
         
     | 
| 
       1108 
1148 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       1109 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 1149 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::RemoveDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       1110 
1150 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       1111 
1151 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       1112 
1152 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -1202,10 +1242,10 @@ module Google 
     | 
|
| 
       1202 
1242 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       1203 
1243 
     | 
    
         
             
                          #
         
     | 
| 
       1204 
1244 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       1205 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 1245 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::RemoveFileResponse]
         
     | 
| 
       1206 
1246 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       1207 
1247 
     | 
    
         
             
                          #
         
     | 
| 
       1208 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 1248 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::RemoveFileResponse]
         
     | 
| 
       1209 
1249 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       1210 
1250 
     | 
    
         
             
                          def remove_file request_pb, options = nil
         
     | 
| 
       1211 
1251 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -1226,7 +1266,7 @@ module Google 
     | 
|
| 
       1226 
1266 
     | 
    
         
             
                              options: options
         
     | 
| 
       1227 
1267 
     | 
    
         
             
                            )
         
     | 
| 
       1228 
1268 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       1229 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 1269 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::RemoveFileResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       1230 
1270 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       1231 
1271 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       1232 
1272 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -2042,10 +2082,10 @@ module Google 
     | 
|
| 
       2042 
2082 
     | 
    
         
             
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       2043 
2083 
     | 
    
         
             
                          #
         
     | 
| 
       2044 
2084 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       2045 
     | 
    
         
            -
                          # @yieldparam result [::Google:: 
     | 
| 
      
 2085 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CancelWorkflowInvocationResponse]
         
     | 
| 
       2046 
2086 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
       2047 
2087 
     | 
    
         
             
                          #
         
     | 
| 
       2048 
     | 
    
         
            -
                          # @return [::Google:: 
     | 
| 
      
 2088 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::CancelWorkflowInvocationResponse]
         
     | 
| 
       2049 
2089 
     | 
    
         
             
                          #   A result object deserialized from the server's reply
         
     | 
| 
       2050 
2090 
     | 
    
         
             
                          def cancel_workflow_invocation request_pb, options = nil
         
     | 
| 
       2051 
2091 
     | 
    
         
             
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
         @@ -2066,7 +2106,7 @@ module Google 
     | 
|
| 
       2066 
2106 
     | 
    
         
             
                              options: options
         
     | 
| 
       2067 
2107 
     | 
    
         
             
                            )
         
     | 
| 
       2068 
2108 
     | 
    
         
             
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
       2069 
     | 
    
         
            -
                            result = ::Google:: 
     | 
| 
      
 2109 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::CancelWorkflowInvocationResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
       2070 
2110 
     | 
    
         
             
                            catch :response do
         
     | 
| 
       2071 
2111 
     | 
    
         
             
                              yield result, operation if block_given?
         
     | 
| 
       2072 
2112 
     | 
    
         
             
                              result
         
     | 
| 
         @@ -2113,6 +2153,86 @@ module Google 
     | 
|
| 
       2113 
2153 
     | 
    
         
             
                            end
         
     | 
| 
       2114 
2154 
     | 
    
         
             
                          end
         
     | 
| 
       2115 
2155 
     | 
    
         | 
| 
      
 2156 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 2157 
     | 
    
         
            +
                          # Baseline implementation for the get_config REST call
         
     | 
| 
      
 2158 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2159 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetConfigRequest]
         
     | 
| 
      
 2160 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 2161 
     | 
    
         
            +
                          # @param options [::Gapic::CallOptions]
         
     | 
| 
      
 2162 
     | 
    
         
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 2163 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2164 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 2165 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::Config]
         
     | 
| 
      
 2166 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 2167 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2168 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::Config]
         
     | 
| 
      
 2169 
     | 
    
         
            +
                          #   A result object deserialized from the server's reply
         
     | 
| 
      
 2170 
     | 
    
         
            +
                          def get_config request_pb, options = nil
         
     | 
| 
      
 2171 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
      
 2172 
     | 
    
         
            +
             
     | 
| 
      
 2173 
     | 
    
         
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_get_config_request request_pb
         
     | 
| 
      
 2174 
     | 
    
         
            +
                            query_string_params = if query_string_params.any?
         
     | 
| 
      
 2175 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
      
 2176 
     | 
    
         
            +
                                                  else
         
     | 
| 
      
 2177 
     | 
    
         
            +
                                                    {}
         
     | 
| 
      
 2178 
     | 
    
         
            +
                                                  end
         
     | 
| 
      
 2179 
     | 
    
         
            +
             
     | 
| 
      
 2180 
     | 
    
         
            +
                            response = @client_stub.make_http_request(
         
     | 
| 
      
 2181 
     | 
    
         
            +
                              verb,
         
     | 
| 
      
 2182 
     | 
    
         
            +
                              uri: uri,
         
     | 
| 
      
 2183 
     | 
    
         
            +
                              body: body || "",
         
     | 
| 
      
 2184 
     | 
    
         
            +
                              params: query_string_params,
         
     | 
| 
      
 2185 
     | 
    
         
            +
                              method_name: "get_config",
         
     | 
| 
      
 2186 
     | 
    
         
            +
                              options: options
         
     | 
| 
      
 2187 
     | 
    
         
            +
                            )
         
     | 
| 
      
 2188 
     | 
    
         
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
      
 2189 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::Config.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
      
 2190 
     | 
    
         
            +
                            catch :response do
         
     | 
| 
      
 2191 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 2192 
     | 
    
         
            +
                              result
         
     | 
| 
      
 2193 
     | 
    
         
            +
                            end
         
     | 
| 
      
 2194 
     | 
    
         
            +
                          end
         
     | 
| 
      
 2195 
     | 
    
         
            +
             
     | 
| 
      
 2196 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 2197 
     | 
    
         
            +
                          # Baseline implementation for the update_config REST call
         
     | 
| 
      
 2198 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2199 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateConfigRequest]
         
     | 
| 
      
 2200 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 2201 
     | 
    
         
            +
                          # @param options [::Gapic::CallOptions]
         
     | 
| 
      
 2202 
     | 
    
         
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 2203 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2204 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 2205 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dataform::V1beta1::Config]
         
     | 
| 
      
 2206 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 2207 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2208 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dataform::V1beta1::Config]
         
     | 
| 
      
 2209 
     | 
    
         
            +
                          #   A result object deserialized from the server's reply
         
     | 
| 
      
 2210 
     | 
    
         
            +
                          def update_config request_pb, options = nil
         
     | 
| 
      
 2211 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
      
 2212 
     | 
    
         
            +
             
     | 
| 
      
 2213 
     | 
    
         
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_update_config_request request_pb
         
     | 
| 
      
 2214 
     | 
    
         
            +
                            query_string_params = if query_string_params.any?
         
     | 
| 
      
 2215 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
      
 2216 
     | 
    
         
            +
                                                  else
         
     | 
| 
      
 2217 
     | 
    
         
            +
                                                    {}
         
     | 
| 
      
 2218 
     | 
    
         
            +
                                                  end
         
     | 
| 
      
 2219 
     | 
    
         
            +
             
     | 
| 
      
 2220 
     | 
    
         
            +
                            response = @client_stub.make_http_request(
         
     | 
| 
      
 2221 
     | 
    
         
            +
                              verb,
         
     | 
| 
      
 2222 
     | 
    
         
            +
                              uri: uri,
         
     | 
| 
      
 2223 
     | 
    
         
            +
                              body: body || "",
         
     | 
| 
      
 2224 
     | 
    
         
            +
                              params: query_string_params,
         
     | 
| 
      
 2225 
     | 
    
         
            +
                              method_name: "update_config",
         
     | 
| 
      
 2226 
     | 
    
         
            +
                              options: options
         
     | 
| 
      
 2227 
     | 
    
         
            +
                            )
         
     | 
| 
      
 2228 
     | 
    
         
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
      
 2229 
     | 
    
         
            +
                            result = ::Google::Cloud::Dataform::V1beta1::Config.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
      
 2230 
     | 
    
         
            +
                            catch :response do
         
     | 
| 
      
 2231 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 2232 
     | 
    
         
            +
                              result
         
     | 
| 
      
 2233 
     | 
    
         
            +
                            end
         
     | 
| 
      
 2234 
     | 
    
         
            +
                          end
         
     | 
| 
      
 2235 
     | 
    
         
            +
             
     | 
| 
       2116 
2236 
     | 
    
         
             
                          ##
         
     | 
| 
       2117 
2237 
     | 
    
         
             
                          # @private
         
     | 
| 
       2118 
2238 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -2626,6 +2746,27 @@ module Google 
     | 
|
| 
       2626 
2746 
     | 
    
         
             
                            transcoder.transcode request_pb
         
     | 
| 
       2627 
2747 
     | 
    
         
             
                          end
         
     | 
| 
       2628 
2748 
     | 
    
         | 
| 
      
 2749 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 2750 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 2751 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2752 
     | 
    
         
            +
                          # GRPC transcoding helper method for the search_files REST call
         
     | 
| 
      
 2753 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2754 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::SearchFilesRequest]
         
     | 
| 
      
 2755 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 2756 
     | 
    
         
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         
     | 
| 
      
 2757 
     | 
    
         
            +
                          #   Uri, Body, Query string parameters
         
     | 
| 
      
 2758 
     | 
    
         
            +
                          def self.transcode_search_files_request request_pb
         
     | 
| 
      
 2759 
     | 
    
         
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         
     | 
| 
      
 2760 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 2761 
     | 
    
         
            +
                                                                      uri_method: :get,
         
     | 
| 
      
 2762 
     | 
    
         
            +
                                                                      uri_template: "/v1beta1/{workspace}:searchFiles",
         
     | 
| 
      
 2763 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 2764 
     | 
    
         
            +
                                                                        ["workspace", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
         
     | 
| 
      
 2765 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 2766 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 2767 
     | 
    
         
            +
                            transcoder.transcode request_pb
         
     | 
| 
      
 2768 
     | 
    
         
            +
                          end
         
     | 
| 
      
 2769 
     | 
    
         
            +
             
     | 
| 
       2629 
2770 
     | 
    
         
             
                          ##
         
     | 
| 
       2630 
2771 
     | 
    
         
             
                          # @private
         
     | 
| 
       2631 
2772 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -3205,6 +3346,49 @@ module Google 
     | 
|
| 
       3205 
3346 
     | 
    
         
             
                                                                    )
         
     | 
| 
       3206 
3347 
     | 
    
         
             
                            transcoder.transcode request_pb
         
     | 
| 
       3207 
3348 
     | 
    
         
             
                          end
         
     | 
| 
      
 3349 
     | 
    
         
            +
             
     | 
| 
      
 3350 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 3351 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 3352 
     | 
    
         
            +
                          #
         
     | 
| 
      
 3353 
     | 
    
         
            +
                          # GRPC transcoding helper method for the get_config REST call
         
     | 
| 
      
 3354 
     | 
    
         
            +
                          #
         
     | 
| 
      
 3355 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetConfigRequest]
         
     | 
| 
      
 3356 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 3357 
     | 
    
         
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         
     | 
| 
      
 3358 
     | 
    
         
            +
                          #   Uri, Body, Query string parameters
         
     | 
| 
      
 3359 
     | 
    
         
            +
                          def self.transcode_get_config_request request_pb
         
     | 
| 
      
 3360 
     | 
    
         
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         
     | 
| 
      
 3361 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 3362 
     | 
    
         
            +
                                                                      uri_method: :get,
         
     | 
| 
      
 3363 
     | 
    
         
            +
                                                                      uri_template: "/v1beta1/{name}",
         
     | 
| 
      
 3364 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 3365 
     | 
    
         
            +
                                                                        ["name", %r{^projects/[^/]+/locations/[^/]+/config/?$}, false]
         
     | 
| 
      
 3366 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 3367 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 3368 
     | 
    
         
            +
                            transcoder.transcode request_pb
         
     | 
| 
      
 3369 
     | 
    
         
            +
                          end
         
     | 
| 
      
 3370 
     | 
    
         
            +
             
     | 
| 
      
 3371 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 3372 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 3373 
     | 
    
         
            +
                          #
         
     | 
| 
      
 3374 
     | 
    
         
            +
                          # GRPC transcoding helper method for the update_config REST call
         
     | 
| 
      
 3375 
     | 
    
         
            +
                          #
         
     | 
| 
      
 3376 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateConfigRequest]
         
     | 
| 
      
 3377 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 3378 
     | 
    
         
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         
     | 
| 
      
 3379 
     | 
    
         
            +
                          #   Uri, Body, Query string parameters
         
     | 
| 
      
 3380 
     | 
    
         
            +
                          def self.transcode_update_config_request request_pb
         
     | 
| 
      
 3381 
     | 
    
         
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         
     | 
| 
      
 3382 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 3383 
     | 
    
         
            +
                                                                      uri_method: :patch,
         
     | 
| 
      
 3384 
     | 
    
         
            +
                                                                      uri_template: "/v1beta1/{config.name}",
         
     | 
| 
      
 3385 
     | 
    
         
            +
                                                                      body: "config",
         
     | 
| 
      
 3386 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 3387 
     | 
    
         
            +
                                                                        ["config.name", %r{^projects/[^/]+/locations/[^/]+/config/?$}, false]
         
     | 
| 
      
 3388 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 3389 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 3390 
     | 
    
         
            +
                            transcoder.transcode request_pb
         
     | 
| 
      
 3391 
     | 
    
         
            +
                          end
         
     | 
| 
       3208 
3392 
     | 
    
         
             
                        end
         
     | 
| 
       3209 
3393 
     | 
    
         
             
                      end
         
     | 
| 
       3210 
3394 
     | 
    
         
             
                    end
         
     |