google-cloud-bigquery-analytics_hub-v1 0.13.1 → 0.14.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/bigquery/analytics_hub/v1/analytics_hub_service/client.rb +677 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/paths.rb +21 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/client.rb +628 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/service_stub.rb +431 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_pb.rb +18 -3
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_services_pb.rb +14 -0
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb +254 -1
- data/proto_docs/google/iam/v1/policy.rb +1 -1
- metadata +3 -3
@@ -113,6 +113,27 @@ module Google
|
|
113
113
|
"services/#{service}"
|
114
114
|
end
|
115
115
|
|
116
|
+
##
|
117
|
+
# Create a fully-qualified QueryTemplate resource string.
|
118
|
+
#
|
119
|
+
# The resource will be in the following format:
|
120
|
+
#
|
121
|
+
# `projects/{project}/locations/{location}/dataExchanges/{data_exchange}/queryTemplates/{query_template}`
|
122
|
+
#
|
123
|
+
# @param project [String]
|
124
|
+
# @param location [String]
|
125
|
+
# @param data_exchange [String]
|
126
|
+
# @param query_template [String]
|
127
|
+
#
|
128
|
+
# @return [::String]
|
129
|
+
def query_template_path project:, location:, data_exchange:, query_template:
|
130
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
131
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
132
|
+
raise ::ArgumentError, "data_exchange cannot contain /" if data_exchange.to_s.include? "/"
|
133
|
+
|
134
|
+
"projects/#{project}/locations/#{location}/dataExchanges/#{data_exchange}/queryTemplates/#{query_template}"
|
135
|
+
end
|
136
|
+
|
116
137
|
##
|
117
138
|
# Create a fully-qualified Routine resource string.
|
118
139
|
#
|