google-cloud-policy_simulator 1.3.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '048c7412a9c19eb2c378af1a453c47817fcfdcad7200becd7fbfcbd336f60728'
4
- data.tar.gz: cf5f5f73fa1ea1a6005ac8c22f3bd096c5d0ab6050da03651ea9f16f2b1380c9
3
+ metadata.gz: 9a38637190c026e778155295fab7a4d2f4b9e37cb0b29a8781114abe5094d0df
4
+ data.tar.gz: 83c19d799a85ec1443979422d6f734c8a53a0f1db49ba14743334cce62bff996
5
5
  SHA512:
6
- metadata.gz: 518f563a3ca4f19c2fa2815b807b81d02807f4a37a4c672761e57b8351ee6805c609bb7491aa968df458d716f67125bdc899931b585226b7dff3ec80580529ea
7
- data.tar.gz: 2b8b280707f5caad3f686a57577f52e29b6dd716423a048574857837d407e79ba87e524a4664164873fd45cb6ffade54c060915f7ea8061fff9bffe23e1ac4a0
6
+ metadata.gz: 6620e2e0139f7a24e96d991e39c5f26a1bdf89148029a8ac36eb23ad99a0a3773f726350791c49b4240cfa61ace2a3fbd7c78bb526ffbcb9f4c11bcfc351b2c6
7
+ data.tar.gz: 7eca98de33884d50575c36925a22565b19fc31c2b588d5c0ef680ea945f2c55daa1ab1c42c206929788d1899e383756aeac9b946fe3a46d887412cddcf997adc
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.4.0"
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.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '3.0'
76
+ version: '3.2'
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="