google-cloud-bigquery-data_policies 2.0.1 → 2.0.2

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: 5792a3d31834549e3186c9eba402db4c802a8501defea93b23691d3098efb1d9
4
- data.tar.gz: 07d83341d0e63788597303ed0d7957617c6114554475efe2c892d7c115a4b8ad
3
+ metadata.gz: cb13cce471cddd91e93a40065eac2f4fe8dc6d9e1f91b7a2d76eac575b93268a
4
+ data.tar.gz: 44687252b8e92ae358de396d8928a5c20745af0ae7f711d5957d473315dbfb4b
5
5
  SHA512:
6
- metadata.gz: ff5cecbc9330a64c567f119f7700d645a2ca4dd7659dcb9967cb6df25f9604289398183f0fbdc2156ec32722e386b70eb6537209324086c49db7677eca73c22f
7
- data.tar.gz: 15b414a06378b99d1a9e023705cb121c7bf1462f287970b2a071c5687f8d8e22e760b71838f3f9666a5945522ab22fb25da0adb3872ac9cf75c20bd3debe2941
6
+ metadata.gz: 889aa51782ecf8c660ad7854e0cc1c2b0ff27e693e714367e73434694b379ddfffdb3980d2e736e4173479f44b65a20b9ce74e4928fb552ad7ee73b67376407a
7
+ data.tar.gz: ba7c4162df86d99d6cb1f999bc077fd56fc0535219771412172c5a747d1c81aab9514615796290d50509f8ddc61c0176b750957f8e488133939d39868186b786
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/bigquerydatapolicy.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/bigquery/data_policies"
39
+
40
+ client = Google::Cloud::Bigquery::DataPolicies.data_policy_service
41
+ request = ::Google::Cloud::Bigquery::DataPolicies::V1::CreateDataPolicyRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_data_policy request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigquery
23
23
  module DataPolicies
24
- VERSION = "2.0.1"
24
+ VERSION = "2.0.2"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_policies
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.6.8
72
+ rubygems_version: 3.6.9
73
73
  specification_version: 4
74
74
  summary: API Client library for the BigQuery Data Policy Service V1beta1 API
75
75
  test_files: []