google-cloud-bigquery-analytics_hub-v1 0.2.1 → 0.4.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 +741 -8
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/operations.rb +781 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/paths.rb +19 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/client.rb +2336 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/operations.rb +872 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/service_stub.rb +1390 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest.rb +60 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service.rb +7 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/rest.rb +39 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/analytics_hub/v1.rb +5 -0
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_pb.rb +24 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_services_pb.rb +17 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb +346 -32
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +15 -5
@@ -99,6 +99,25 @@ module Google
|
|
99
99
|
"projects/#{project}/locations/#{location}"
|
100
100
|
end
|
101
101
|
|
102
|
+
##
|
103
|
+
# Create a fully-qualified Subscription resource string.
|
104
|
+
#
|
105
|
+
# The resource will be in the following format:
|
106
|
+
#
|
107
|
+
# `projects/{project}/locations/{location}/subscriptions/{subscription}`
|
108
|
+
#
|
109
|
+
# @param project [String]
|
110
|
+
# @param location [String]
|
111
|
+
# @param subscription [String]
|
112
|
+
#
|
113
|
+
# @return [::String]
|
114
|
+
def subscription_path project:, location:, subscription:
|
115
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
116
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
117
|
+
|
118
|
+
"projects/#{project}/locations/#{location}/subscriptions/#{subscription}"
|
119
|
+
end
|
120
|
+
|
102
121
|
extend self
|
103
122
|
end
|
104
123
|
end
|