google-cloud-dataform-v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +154 -0
  6. data/lib/google/cloud/dataform/v1/bindings_override.rb +159 -0
  7. data/lib/google/cloud/dataform/v1/dataform/client.rb +5766 -0
  8. data/lib/google/cloud/dataform/v1/dataform/credentials.rb +48 -0
  9. data/lib/google/cloud/dataform/v1/dataform/paths.rb +273 -0
  10. data/lib/google/cloud/dataform/v1/dataform/rest/client.rb +5371 -0
  11. data/lib/google/cloud/dataform/v1/dataform/rest/service_stub.rb +3398 -0
  12. data/lib/google/cloud/dataform/v1/dataform/rest.rb +54 -0
  13. data/lib/google/cloud/dataform/v1/dataform.rb +56 -0
  14. data/lib/google/cloud/dataform/v1/dataform_pb.rb +200 -0
  15. data/lib/google/cloud/dataform/v1/dataform_services_pb.rb +180 -0
  16. data/lib/google/cloud/dataform/v1/rest.rb +38 -0
  17. data/lib/google/cloud/dataform/v1/version.rb +28 -0
  18. data/lib/google/cloud/dataform/v1.rb +45 -0
  19. data/lib/google-cloud-dataform-v1.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +473 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/launch_stage.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +227 -0
  25. data/proto_docs/google/cloud/dataform/v1/dataform.rb +2552 -0
  26. data/proto_docs/google/protobuf/any.rb +145 -0
  27. data/proto_docs/google/protobuf/duration.rb +98 -0
  28. data/proto_docs/google/protobuf/empty.rb +34 -0
  29. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  30. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  31. data/proto_docs/google/rpc/status.rb +48 -0
  32. data/proto_docs/google/type/expr.rb +75 -0
  33. data/proto_docs/google/type/interval.rb +45 -0
  34. metadata +131 -0
@@ -0,0 +1,180 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/dataform/v1/dataform.proto for package 'Google.Cloud.Dataform.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/dataform/v1/dataform_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dataform
25
+ module V1
26
+ module Dataform
27
+ # Dataform is a service to develop, create, document, test, and update curated
28
+ # tables in BigQuery.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.dataform.v1.Dataform'
36
+
37
+ # Lists Repositories in a given project and location.
38
+ #
39
+ # **Note:** *This method can return repositories not shown in the [Dataform
40
+ # UI](https://console.cloud.google.com/bigquery/dataform)*.
41
+ rpc :ListRepositories, ::Google::Cloud::Dataform::V1::ListRepositoriesRequest, ::Google::Cloud::Dataform::V1::ListRepositoriesResponse
42
+ # Fetches a single Repository.
43
+ rpc :GetRepository, ::Google::Cloud::Dataform::V1::GetRepositoryRequest, ::Google::Cloud::Dataform::V1::Repository
44
+ # Creates a new Repository in a given project and location.
45
+ rpc :CreateRepository, ::Google::Cloud::Dataform::V1::CreateRepositoryRequest, ::Google::Cloud::Dataform::V1::Repository
46
+ # Updates a single Repository.
47
+ #
48
+ # **Note:** *This method does not fully implement
49
+ # [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
50
+ # as a bad request, and when the `field_mask` is omitted, the request is
51
+ # treated as a full update on all modifiable fields.*
52
+ rpc :UpdateRepository, ::Google::Cloud::Dataform::V1::UpdateRepositoryRequest, ::Google::Cloud::Dataform::V1::Repository
53
+ # Deletes a single Repository.
54
+ rpc :DeleteRepository, ::Google::Cloud::Dataform::V1::DeleteRepositoryRequest, ::Google::Protobuf::Empty
55
+ # Applies a Git commit to a Repository. The Repository must not have a value
56
+ # for `git_remote_settings.url`.
57
+ rpc :CommitRepositoryChanges, ::Google::Cloud::Dataform::V1::CommitRepositoryChangesRequest, ::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse
58
+ # Returns the contents of a file (inside a Repository). The Repository
59
+ # must not have a value for `git_remote_settings.url`.
60
+ rpc :ReadRepositoryFile, ::Google::Cloud::Dataform::V1::ReadRepositoryFileRequest, ::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse
61
+ # Returns the contents of a given Repository directory. The Repository must
62
+ # not have a value for `git_remote_settings.url`.
63
+ rpc :QueryRepositoryDirectoryContents, ::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsRequest, ::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse
64
+ # Fetches a Repository's history of commits. The Repository must not have a
65
+ # value for `git_remote_settings.url`.
66
+ rpc :FetchRepositoryHistory, ::Google::Cloud::Dataform::V1::FetchRepositoryHistoryRequest, ::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse
67
+ # Computes a Repository's Git access token status.
68
+ rpc :ComputeRepositoryAccessTokenStatus, ::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusRequest, ::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse
69
+ # Fetches a Repository's remote branches.
70
+ rpc :FetchRemoteBranches, ::Google::Cloud::Dataform::V1::FetchRemoteBranchesRequest, ::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse
71
+ # Lists Workspaces in a given Repository.
72
+ rpc :ListWorkspaces, ::Google::Cloud::Dataform::V1::ListWorkspacesRequest, ::Google::Cloud::Dataform::V1::ListWorkspacesResponse
73
+ # Fetches a single Workspace.
74
+ rpc :GetWorkspace, ::Google::Cloud::Dataform::V1::GetWorkspaceRequest, ::Google::Cloud::Dataform::V1::Workspace
75
+ # Creates a new Workspace in a given Repository.
76
+ rpc :CreateWorkspace, ::Google::Cloud::Dataform::V1::CreateWorkspaceRequest, ::Google::Cloud::Dataform::V1::Workspace
77
+ # Deletes a single Workspace.
78
+ rpc :DeleteWorkspace, ::Google::Cloud::Dataform::V1::DeleteWorkspaceRequest, ::Google::Protobuf::Empty
79
+ # Installs dependency NPM packages (inside a Workspace).
80
+ rpc :InstallNpmPackages, ::Google::Cloud::Dataform::V1::InstallNpmPackagesRequest, ::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse
81
+ # Pulls Git commits from the Repository's remote into a Workspace.
82
+ rpc :PullGitCommits, ::Google::Cloud::Dataform::V1::PullGitCommitsRequest, ::Google::Cloud::Dataform::V1::PullGitCommitsResponse
83
+ # Pushes Git commits from a Workspace to the Repository's remote.
84
+ rpc :PushGitCommits, ::Google::Cloud::Dataform::V1::PushGitCommitsRequest, ::Google::Cloud::Dataform::V1::PushGitCommitsResponse
85
+ # Fetches Git statuses for the files in a Workspace.
86
+ rpc :FetchFileGitStatuses, ::Google::Cloud::Dataform::V1::FetchFileGitStatusesRequest, ::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse
87
+ # Fetches Git ahead/behind against a remote branch.
88
+ rpc :FetchGitAheadBehind, ::Google::Cloud::Dataform::V1::FetchGitAheadBehindRequest, ::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse
89
+ # Applies a Git commit for uncommitted files in a Workspace.
90
+ rpc :CommitWorkspaceChanges, ::Google::Cloud::Dataform::V1::CommitWorkspaceChangesRequest, ::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse
91
+ # Performs a Git reset for uncommitted files in a Workspace.
92
+ rpc :ResetWorkspaceChanges, ::Google::Cloud::Dataform::V1::ResetWorkspaceChangesRequest, ::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse
93
+ # Fetches Git diff for an uncommitted file in a Workspace.
94
+ rpc :FetchFileDiff, ::Google::Cloud::Dataform::V1::FetchFileDiffRequest, ::Google::Cloud::Dataform::V1::FetchFileDiffResponse
95
+ # Returns the contents of a given Workspace directory.
96
+ rpc :QueryDirectoryContents, ::Google::Cloud::Dataform::V1::QueryDirectoryContentsRequest, ::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse
97
+ # Finds the contents of a given Workspace directory by filter.
98
+ rpc :SearchFiles, ::Google::Cloud::Dataform::V1::SearchFilesRequest, ::Google::Cloud::Dataform::V1::SearchFilesResponse
99
+ # Creates a directory inside a Workspace.
100
+ rpc :MakeDirectory, ::Google::Cloud::Dataform::V1::MakeDirectoryRequest, ::Google::Cloud::Dataform::V1::MakeDirectoryResponse
101
+ # Deletes a directory (inside a Workspace) and all of its contents.
102
+ rpc :RemoveDirectory, ::Google::Cloud::Dataform::V1::RemoveDirectoryRequest, ::Google::Cloud::Dataform::V1::RemoveDirectoryResponse
103
+ # Moves a directory (inside a Workspace), and all of its contents, to a new
104
+ # location.
105
+ rpc :MoveDirectory, ::Google::Cloud::Dataform::V1::MoveDirectoryRequest, ::Google::Cloud::Dataform::V1::MoveDirectoryResponse
106
+ # Returns the contents of a file (inside a Workspace).
107
+ rpc :ReadFile, ::Google::Cloud::Dataform::V1::ReadFileRequest, ::Google::Cloud::Dataform::V1::ReadFileResponse
108
+ # Deletes a file (inside a Workspace).
109
+ rpc :RemoveFile, ::Google::Cloud::Dataform::V1::RemoveFileRequest, ::Google::Cloud::Dataform::V1::RemoveFileResponse
110
+ # Moves a file (inside a Workspace) to a new location.
111
+ rpc :MoveFile, ::Google::Cloud::Dataform::V1::MoveFileRequest, ::Google::Cloud::Dataform::V1::MoveFileResponse
112
+ # Writes to a file (inside a Workspace).
113
+ rpc :WriteFile, ::Google::Cloud::Dataform::V1::WriteFileRequest, ::Google::Cloud::Dataform::V1::WriteFileResponse
114
+ # Lists ReleaseConfigs in a given Repository.
115
+ rpc :ListReleaseConfigs, ::Google::Cloud::Dataform::V1::ListReleaseConfigsRequest, ::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse
116
+ # Fetches a single ReleaseConfig.
117
+ rpc :GetReleaseConfig, ::Google::Cloud::Dataform::V1::GetReleaseConfigRequest, ::Google::Cloud::Dataform::V1::ReleaseConfig
118
+ # Creates a new ReleaseConfig in a given Repository.
119
+ rpc :CreateReleaseConfig, ::Google::Cloud::Dataform::V1::CreateReleaseConfigRequest, ::Google::Cloud::Dataform::V1::ReleaseConfig
120
+ # Updates a single ReleaseConfig.
121
+ #
122
+ # **Note:** *This method does not fully implement
123
+ # [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
124
+ # as a bad request, and when the `field_mask` is omitted, the request is
125
+ # treated as a full update on all modifiable fields.*
126
+ rpc :UpdateReleaseConfig, ::Google::Cloud::Dataform::V1::UpdateReleaseConfigRequest, ::Google::Cloud::Dataform::V1::ReleaseConfig
127
+ # Deletes a single ReleaseConfig.
128
+ rpc :DeleteReleaseConfig, ::Google::Cloud::Dataform::V1::DeleteReleaseConfigRequest, ::Google::Protobuf::Empty
129
+ # Lists CompilationResults in a given Repository.
130
+ rpc :ListCompilationResults, ::Google::Cloud::Dataform::V1::ListCompilationResultsRequest, ::Google::Cloud::Dataform::V1::ListCompilationResultsResponse
131
+ # Fetches a single CompilationResult.
132
+ rpc :GetCompilationResult, ::Google::Cloud::Dataform::V1::GetCompilationResultRequest, ::Google::Cloud::Dataform::V1::CompilationResult
133
+ # Creates a new CompilationResult in a given project and location.
134
+ rpc :CreateCompilationResult, ::Google::Cloud::Dataform::V1::CreateCompilationResultRequest, ::Google::Cloud::Dataform::V1::CompilationResult
135
+ # Returns CompilationResultActions in a given CompilationResult.
136
+ rpc :QueryCompilationResultActions, ::Google::Cloud::Dataform::V1::QueryCompilationResultActionsRequest, ::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse
137
+ # Lists WorkflowConfigs in a given Repository.
138
+ rpc :ListWorkflowConfigs, ::Google::Cloud::Dataform::V1::ListWorkflowConfigsRequest, ::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse
139
+ # Fetches a single WorkflowConfig.
140
+ rpc :GetWorkflowConfig, ::Google::Cloud::Dataform::V1::GetWorkflowConfigRequest, ::Google::Cloud::Dataform::V1::WorkflowConfig
141
+ # Creates a new WorkflowConfig in a given Repository.
142
+ rpc :CreateWorkflowConfig, ::Google::Cloud::Dataform::V1::CreateWorkflowConfigRequest, ::Google::Cloud::Dataform::V1::WorkflowConfig
143
+ # Updates a single WorkflowConfig.
144
+ #
145
+ # **Note:** *This method does not fully implement
146
+ # [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
147
+ # as a bad request, and when the `field_mask` is omitted, the request is
148
+ # treated as a full update on all modifiable fields.*
149
+ rpc :UpdateWorkflowConfig, ::Google::Cloud::Dataform::V1::UpdateWorkflowConfigRequest, ::Google::Cloud::Dataform::V1::WorkflowConfig
150
+ # Deletes a single WorkflowConfig.
151
+ rpc :DeleteWorkflowConfig, ::Google::Cloud::Dataform::V1::DeleteWorkflowConfigRequest, ::Google::Protobuf::Empty
152
+ # Lists WorkflowInvocations in a given Repository.
153
+ rpc :ListWorkflowInvocations, ::Google::Cloud::Dataform::V1::ListWorkflowInvocationsRequest, ::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse
154
+ # Fetches a single WorkflowInvocation.
155
+ rpc :GetWorkflowInvocation, ::Google::Cloud::Dataform::V1::GetWorkflowInvocationRequest, ::Google::Cloud::Dataform::V1::WorkflowInvocation
156
+ # Creates a new WorkflowInvocation in a given Repository.
157
+ rpc :CreateWorkflowInvocation, ::Google::Cloud::Dataform::V1::CreateWorkflowInvocationRequest, ::Google::Cloud::Dataform::V1::WorkflowInvocation
158
+ # Deletes a single WorkflowInvocation.
159
+ rpc :DeleteWorkflowInvocation, ::Google::Cloud::Dataform::V1::DeleteWorkflowInvocationRequest, ::Google::Protobuf::Empty
160
+ # Requests cancellation of a running WorkflowInvocation.
161
+ rpc :CancelWorkflowInvocation, ::Google::Cloud::Dataform::V1::CancelWorkflowInvocationRequest, ::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse
162
+ # Returns WorkflowInvocationActions in a given WorkflowInvocation.
163
+ rpc :QueryWorkflowInvocationActions, ::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsRequest, ::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse
164
+ # Get default config for a given project and location.
165
+ rpc :GetConfig, ::Google::Cloud::Dataform::V1::GetConfigRequest, ::Google::Cloud::Dataform::V1::Config
166
+ # Update default config for a given project and location.
167
+ #
168
+ # **Note:** *This method does not fully implement
169
+ # [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
170
+ # as a bad request, and when the `field_mask` is omitted, the request is
171
+ # treated as a full update on all modifiable fields.*
172
+ rpc :UpdateConfig, ::Google::Cloud::Dataform::V1::UpdateConfigRequest, ::Google::Cloud::Dataform::V1::Config
173
+ end
174
+
175
+ Stub = Service.rpc_stub_class
176
+ end
177
+ end
178
+ end
179
+ end
180
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/dataform/v1/dataform/rest"
20
+ require "google/cloud/dataform/v1/bindings_override"
21
+ require "google/cloud/dataform/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module Dataform
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/dataform/v1/rest"
32
+ # client = ::Google::Cloud::Dataform::V1::Dataform::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dataform
23
+ module V1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/dataform/v1/dataform"
20
+ require "google/cloud/dataform/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dataform
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/dataform/v1"
31
+ # client = ::Google::Cloud::Dataform::V1::Dataform::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/dataform/v1"
36
+ # client = ::Google::Cloud::Dataform::V1::Dataform::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/dataform/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/dataform/v1"
@@ -0,0 +1,4 @@
1
+ # Dataform V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.