google-cloud-policy_simulator 1.3.0 → 1.3.1

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: '048c7412a9c19eb2c378af1a453c47817fcfdcad7200becd7fbfcbd336f60728'
4
- data.tar.gz: cf5f5f73fa1ea1a6005ac8c22f3bd096c5d0ab6050da03651ea9f16f2b1380c9
3
+ metadata.gz: 86b83074409ba9fbf3bd246d6a58161e703920fbd5398ba7651662062de2d975
4
+ data.tar.gz: bc91bf532986c417551ba14738e0410867f4032491728ce05729ee43e650860b
5
5
  SHA512:
6
- metadata.gz: 518f563a3ca4f19c2fa2815b807b81d02807f4a37a4c672761e57b8351ee6805c609bb7491aa968df458d716f67125bdc899931b585226b7dff3ec80580529ea
7
- data.tar.gz: 2b8b280707f5caad3f686a57577f52e29b6dd716423a048574857837d407e79ba87e524a4664164873fd45cb6ffade54c060915f7ea8061fff9bffe23e1ac4a0
6
+ metadata.gz: 1be52a506bc96e6a5e9a2d4a4a8f733f3f6431712919155b6b5de5003dc646ed08b9a7735981870cf6ba1b56f05062d94ee1916973ed38e4a06e9e14fbe88465
7
+ data.tar.gz: 866e3b13fdd7c5fb8bd553b22d81da6aea7a5ee0e65bb6c448b38c03ad87cd9cf39e82008afb8731042c74a25315fa5d789a491e67183c8b029e9f815dc9d320
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/policysimulator.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/policy_simulator"
39
+
40
+ client = Google::Cloud::PolicySimulator.org_policy_violations_preview_service
41
+ request = ::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsRequest.new # (request fields as keyword arguments...)
42
+ response = client.list_org_policy_violations_previews request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module PolicySimulator
23
- VERSION = "1.3.0"
23
+ VERSION = "1.3.1"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-policy_simulator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC