google-cloud-org_policy-v2 0.4.0 → 0.5.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/README.md +1 -1
- data/lib/google/cloud/org_policy/v2/org_policy/client.rb +8 -12
- data/lib/google/cloud/org_policy/v2/org_policy/rest/client.rb +877 -0
- data/lib/google/cloud/org_policy/v2/org_policy/rest/service_stub.rb +565 -0
- data/lib/google/cloud/org_policy/v2/org_policy/rest.rb +71 -0
- data/lib/google/cloud/org_policy/v2/org_policy.rb +6 -0
- data/lib/google/cloud/org_policy/v2/rest.rb +37 -0
- data/lib/google/cloud/org_policy/v2/version.rb +1 -1
- data/lib/google/cloud/org_policy/v2.rb +5 -0
- metadata +12 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff493f46652eeff5e6b0944ebf297a667142a4d4f2d4407666dbaafc56497953
|
4
|
+
data.tar.gz: 012d4efc72c58b499db22ae76e666713e9891e414b8d889d63d4e8323ae37d74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e836b558570788c9c04293311a72012cb74cf8397120fd0106bf2648d0e7dff7709238696a04843e711e6556566866295304ace582ea55710b05a9a3c6f7eb13
|
7
|
+
data.tar.gz: 21ebb47bedc67d7a4d0e1e13a7dd01078ec0347348c6fed1552200fcfc6e86c534b8737c2f5f26c41c9e10df46a44c48bd65340798b0ed69c557ebcd8743871d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Organization Policy V2 API
|
2
2
|
|
3
|
-
API
|
3
|
+
The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.
|
4
4
|
|
5
5
|
The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy.
|
6
6
|
|
@@ -251,13 +251,11 @@ module Google
|
|
251
251
|
# # Call the list_constraints method.
|
252
252
|
# result = client.list_constraints request
|
253
253
|
#
|
254
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
255
|
-
# #
|
256
|
-
#
|
257
|
-
# # methods are also available for managing paging directly.
|
258
|
-
# result.each do |response|
|
254
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
255
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
256
|
+
# result.each do |item|
|
259
257
|
# # Each element is of type ::Google::Cloud::OrgPolicy::V2::Constraint.
|
260
|
-
# p
|
258
|
+
# p item
|
261
259
|
# end
|
262
260
|
#
|
263
261
|
def list_constraints request, options = nil
|
@@ -356,13 +354,11 @@ module Google
|
|
356
354
|
# # Call the list_policies method.
|
357
355
|
# result = client.list_policies request
|
358
356
|
#
|
359
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
360
|
-
# #
|
361
|
-
#
|
362
|
-
# # methods are also available for managing paging directly.
|
363
|
-
# result.each do |response|
|
357
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
358
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
359
|
+
# result.each do |item|
|
364
360
|
# # Each element is of type ::Google::Cloud::OrgPolicy::V2::Policy.
|
365
|
-
# p
|
361
|
+
# p item
|
366
362
|
# end
|
367
363
|
#
|
368
364
|
def list_policies request, options = nil
|