google-cloud-dataform-v1beta1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -99
- data/README.md +1 -1
- data/lib/google/cloud/dataform/v1beta1/bindings_override.rb +81 -0
- data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +2238 -713
- data/lib/google/cloud/dataform/v1beta1/dataform/paths.rb +42 -0
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +2106 -684
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +967 -65
- data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +41 -4
- data/lib/google/cloud/dataform/v1beta1/dataform_services_pb.rb +34 -0
- data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/dataform/v1beta1/dataform.rb +802 -177
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +12 -10
@@ -62,6 +62,27 @@ module Google
|
|
62
62
|
"projects/#{project}/locations/#{location}"
|
63
63
|
end
|
64
64
|
|
65
|
+
##
|
66
|
+
# Create a fully-qualified ReleaseConfig resource string.
|
67
|
+
#
|
68
|
+
# The resource will be in the following format:
|
69
|
+
#
|
70
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/releaseConfigs/{release_config}`
|
71
|
+
#
|
72
|
+
# @param project [String]
|
73
|
+
# @param location [String]
|
74
|
+
# @param repository [String]
|
75
|
+
# @param release_config [String]
|
76
|
+
#
|
77
|
+
# @return [::String]
|
78
|
+
def release_config_path project:, location:, repository:, release_config:
|
79
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
80
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
81
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
82
|
+
|
83
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/releaseConfigs/#{release_config}"
|
84
|
+
end
|
85
|
+
|
65
86
|
##
|
66
87
|
# Create a fully-qualified Repository resource string.
|
67
88
|
#
|
@@ -100,6 +121,27 @@ module Google
|
|
100
121
|
"projects/#{project}/secrets/#{secret}/versions/#{version}"
|
101
122
|
end
|
102
123
|
|
124
|
+
##
|
125
|
+
# Create a fully-qualified WorkflowConfig resource string.
|
126
|
+
#
|
127
|
+
# The resource will be in the following format:
|
128
|
+
#
|
129
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/workflowConfigs/{workflow_config}`
|
130
|
+
#
|
131
|
+
# @param project [String]
|
132
|
+
# @param location [String]
|
133
|
+
# @param repository [String]
|
134
|
+
# @param workflow_config [String]
|
135
|
+
#
|
136
|
+
# @return [::String]
|
137
|
+
def workflow_config_path project:, location:, repository:, workflow_config:
|
138
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
139
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
140
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
141
|
+
|
142
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/workflowConfigs/#{workflow_config}"
|
143
|
+
end
|
144
|
+
|
103
145
|
##
|
104
146
|
# Create a fully-qualified WorkflowInvocation resource string.
|
105
147
|
#
|