google-cloud-bigquery-analytics_hub 0.1.0 → 1.0.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afe248037bdeb34c57ecd0be39478b3cdd31fb2efabc3930234cf05b52c65653
|
|
4
|
+
data.tar.gz: b6c67554e5b7f7059a8971960a74a3fd6853d8e305a3feb8bb8d9ac8338eb407
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33e8f42149d6cd9768d0d99100c708ac286dc9c9f11389701f1496692aae2b7aba18257df98214c5f2a2934e649235d44bd3cf30074d8a7e7d9dbd6c80d1d4ab
|
|
7
|
+
data.tar.gz: 48ad5258658c787b89f09a093c3cd043d5ed01a374b628a1dc6747c24f8e22c7212d54c8edf95d4929c2e644f093994bc3bc2e38ac228623ef56e2de2de1d955
|
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ for this library, google-cloud-bigquery-analytics_hub, to see the convenience me
|
|
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
|
18
18
|
client gems:
|
|
19
|
-
[google-cloud-bigquery-analytics_hub-v1](https://
|
|
19
|
+
[google-cloud-bigquery-analytics_hub-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest).
|
|
20
20
|
|
|
21
21
|
See also the [Product Documentation](https://cloud.google.com/bigquery)
|
|
22
22
|
for more usage information.
|
|
@@ -37,8 +37,8 @@ In order to use this library, you first need to go through the following steps:
|
|
|
37
37
|
## Enabling Logging
|
|
38
38
|
|
|
39
39
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
40
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
|
41
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
|
40
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
|
41
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
|
42
42
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
43
43
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
44
44
|
|
|
@@ -49,9 +49,9 @@ module Google
|
|
|
49
49
|
# Create a new client object for AnalyticsHubService.
|
|
50
50
|
#
|
|
51
51
|
# By default, this returns an instance of
|
|
52
|
-
# [Google::Cloud::Bigquery::AnalyticsHub::V1::AnalyticsHubService::Client](https://
|
|
53
|
-
# for version V1 of the API.
|
|
54
|
-
# However, you can specify
|
|
52
|
+
# [Google::Cloud::Bigquery::AnalyticsHub::V1::AnalyticsHubService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-AnalyticsHubService-Client)
|
|
53
|
+
# for a gRPC client for version V1 of the API.
|
|
54
|
+
# However, you can specify a different API version by passing it in the
|
|
55
55
|
# `version` parameter. If the AnalyticsHubService service is
|
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
|
57
57
|
# appropriate versioned client will be returned.
|
|
@@ -67,7 +67,7 @@ module Google
|
|
|
67
67
|
#
|
|
68
68
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
69
69
|
# Defaults to `:v1`.
|
|
70
|
-
# @return [
|
|
70
|
+
# @return [::Object] A client object for the specified version.
|
|
71
71
|
#
|
|
72
72
|
def self.analytics_hub_service version: :v1, &block
|
|
73
73
|
require "google/cloud/bigquery/analytics_hub/#{version.to_s.downcase}"
|
|
@@ -76,8 +76,8 @@ module Google
|
|
|
76
76
|
.constants
|
|
77
77
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
78
78
|
.first
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
service_module = Google::Cloud::Bigquery::AnalyticsHub.const_get(package_name).const_get(:AnalyticsHubService)
|
|
80
|
+
service_module.const_get(:Client).new(&block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
##
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
# * `timeout` (*type:* `Numeric`) -
|
|
98
98
|
# Default timeout in seconds.
|
|
99
99
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
|
100
|
-
# Additional
|
|
100
|
+
# Additional headers to be sent with the call.
|
|
101
101
|
# * `retry_policy` (*type:* `Hash`) -
|
|
102
102
|
# The retry policy. The value is a hash with the following keys:
|
|
103
103
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigquery-analytics_hub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-bigquery-analytics_hub-v1
|
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
191
191
|
- !ruby/object:Gem::Version
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
|
-
rubygems_version: 3.
|
|
194
|
+
rubygems_version: 3.4.2
|
|
195
195
|
signing_key:
|
|
196
196
|
specification_version: 4
|
|
197
197
|
summary: API Client library for the Analytics Hub V1 API
|