google-apis-cloudasset_v1p1beta1 0.2.0 → 0.7.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/CHANGELOG.md +22 -0
- data/lib/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/lib/google/apis/cloudasset_v1p1beta1/classes.rb +60 -36
- data/lib/google/apis/cloudasset_v1p1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudasset_v1p1beta1/representations.rb +12 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed458c7235f290e5869fd593018889ab57189a4ff455363cd3e46d837b1fab11
|
4
|
+
data.tar.gz: 0e2bf068eb0e6e4613dcf178dfdfa8f21117565ddb4b519e1664f54d8d0984f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a988b98704b2a66ac4d1920453f315eda1576fe0fcae5b4cbae38415709951eabf5feca64e9775a195163efa8761331139dcb77b02c28de217ea8a33a763bf6
|
7
|
+
data.tar.gz: 73e1db150ae3788212b3ec1de86ecfa7332e7d1898c20f7f8e68ae3b6fa8163741c803dcc1dd44419155a7f6c240904f07c22b7af33cb89b1ec9ad022265da84
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1p1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210611
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.6.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.5.0 (2021-04-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210416
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-31)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210326
|
19
|
+
|
20
|
+
### v0.3.0 (2021-03-09)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210305
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.2.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210226
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1p1beta1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -22,6 +22,19 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1p1beta1
|
24
24
|
|
25
|
+
# A response message for AssetService.AnalyzeIamPolicyLongrunning.
|
26
|
+
class AnalyzeIamPolicyLongrunningResponse
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
25
38
|
# Specifies the audit configuration for a service. The configuration determines
|
26
39
|
# which permission types are logged, and what identities, if any, are exempted
|
27
40
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -169,7 +182,7 @@ module Google
|
|
169
182
|
include Google::Apis::Core::Hashable
|
170
183
|
|
171
184
|
# The map from roles to their included permission matching the permission query (
|
172
|
-
# e.g. containing `policy.role.permissions:`).
|
185
|
+
# e.g. containing `policy.role.permissions:`). Example role string: "roles/
|
173
186
|
# compute.instanceAdmin". The roles can also be found in the returned `policy`
|
174
187
|
# bindings. Note that the map is populated only if requesting with a permission
|
175
188
|
# query.
|
@@ -1166,9 +1179,9 @@ module Google
|
|
1166
1179
|
|
1167
1180
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1168
1181
|
# Conditions based on information about the source of the request. Note that if
|
1169
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1170
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1171
|
-
# this request to succeed.
|
1182
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1183
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1184
|
+
# for this request to succeed.
|
1172
1185
|
class GoogleIdentityAccesscontextmanagerV1EgressFrom
|
1173
1186
|
include Google::Apis::Core::Hashable
|
1174
1187
|
|
@@ -1214,9 +1227,9 @@ module Google
|
|
1214
1227
|
|
1215
1228
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1216
1229
|
# Conditions based on information about the source of the request. Note that if
|
1217
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1218
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1219
|
-
# this request to succeed.
|
1230
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1231
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1232
|
+
# for this request to succeed.
|
1220
1233
|
# Corresponds to the JSON property `egressFrom`
|
1221
1234
|
# @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressFrom]
|
1222
1235
|
attr_accessor :egress_from
|
@@ -1224,8 +1237,10 @@ module Google
|
|
1224
1237
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1225
1238
|
# Conditions are based on information about the ApiOperation intended to be
|
1226
1239
|
# performed on the `resources` specified. Note that if the destination of the
|
1227
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1228
|
-
# have an IngressPolicy which allows access in order for this request to
|
1240
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1241
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1242
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1243
|
+
# to be allowed egress out of the perimeter.
|
1229
1244
|
# Corresponds to the JSON property `egressTo`
|
1230
1245
|
# @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressTo]
|
1231
1246
|
attr_accessor :egress_to
|
@@ -1244,21 +1259,25 @@ module Google
|
|
1244
1259
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1245
1260
|
# Conditions are based on information about the ApiOperation intended to be
|
1246
1261
|
# performed on the `resources` specified. Note that if the destination of the
|
1247
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1248
|
-
# have an IngressPolicy which allows access in order for this request to
|
1262
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1263
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1264
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1265
|
+
# to be allowed egress out of the perimeter.
|
1249
1266
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
1250
1267
|
include Google::Apis::Core::Hashable
|
1251
1268
|
|
1252
|
-
# A list of ApiOperations
|
1253
|
-
# it
|
1269
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1270
|
+
# the corresponding EgressFrom. A request matches if it uses an operation/
|
1271
|
+
# service in this list.
|
1254
1272
|
# Corresponds to the JSON property `operations`
|
1255
1273
|
# @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1256
1274
|
attr_accessor :operations
|
1257
1275
|
|
1258
|
-
# A list of resources, currently only projects in the form `projects/`, that
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
#
|
1276
|
+
# A list of resources, currently only projects in the form `projects/`, that are
|
1277
|
+
# allowed to be accessed by sources defined in the corresponding EgressFrom. A
|
1278
|
+
# request matches if it contains a resource in this list. If `*` is specified
|
1279
|
+
# for `resources`, then this EgressTo rule will authorize access to all
|
1280
|
+
# resources outside the perimeter.
|
1262
1281
|
# Corresponds to the JSON property `resources`
|
1263
1282
|
# @return [Array<String>]
|
1264
1283
|
attr_accessor :resources
|
@@ -1275,7 +1294,9 @@ module Google
|
|
1275
1294
|
end
|
1276
1295
|
|
1277
1296
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1278
|
-
# Conditions are based on information about the source of the request.
|
1297
|
+
# Conditions are based on information about the source of the request. The
|
1298
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1299
|
+
# in order to match.
|
1279
1300
|
class GoogleIdentityAccesscontextmanagerV1IngressFrom
|
1280
1301
|
include Google::Apis::Core::Hashable
|
1281
1302
|
|
@@ -1324,14 +1345,17 @@ module Google
|
|
1324
1345
|
include Google::Apis::Core::Hashable
|
1325
1346
|
|
1326
1347
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1327
|
-
# Conditions are based on information about the source of the request.
|
1348
|
+
# Conditions are based on information about the source of the request. The
|
1349
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1350
|
+
# in order to match.
|
1328
1351
|
# Corresponds to the JSON property `ingressFrom`
|
1329
1352
|
# @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1IngressFrom]
|
1330
1353
|
attr_accessor :ingress_from
|
1331
1354
|
|
1332
1355
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1333
1356
|
# Conditions are based on information about the ApiOperation intended to be
|
1334
|
-
# performed on the
|
1357
|
+
# performed on the target resource of the request. The request must satisfy what
|
1358
|
+
# is defined in `operations` AND `resources` in order to match.
|
1335
1359
|
# Corresponds to the JSON property `ingressTo`
|
1336
1360
|
# @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1IngressTo]
|
1337
1361
|
attr_accessor :ingress_to
|
@@ -1357,7 +1381,8 @@ module Google
|
|
1357
1381
|
# cause an error. If no AccessLevel names are listed, resources within the
|
1358
1382
|
# perimeter can only be accessed via Google Cloud calls with request origins
|
1359
1383
|
# within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`
|
1360
|
-
# . If `*` is specified
|
1384
|
+
# . If a single `*` is specified for `access_level`, then all IngressSources
|
1385
|
+
# will be allowed.
|
1361
1386
|
# Corresponds to the JSON property `accessLevel`
|
1362
1387
|
# @return [String]
|
1363
1388
|
attr_accessor :access_level
|
@@ -1385,22 +1410,21 @@ module Google
|
|
1385
1410
|
|
1386
1411
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1387
1412
|
# Conditions are based on information about the ApiOperation intended to be
|
1388
|
-
# performed on the
|
1413
|
+
# performed on the target resource of the request. The request must satisfy what
|
1414
|
+
# is defined in `operations` AND `resources` in order to match.
|
1389
1415
|
class GoogleIdentityAccesscontextmanagerV1IngressTo
|
1390
1416
|
include Google::Apis::Core::Hashable
|
1391
1417
|
|
1392
|
-
# A list of ApiOperations the sources specified in
|
1393
|
-
#
|
1418
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1419
|
+
# corresponding IngressFrom in this ServicePerimeter.
|
1394
1420
|
# Corresponds to the JSON property `operations`
|
1395
1421
|
# @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1396
1422
|
attr_accessor :operations
|
1397
1423
|
|
1398
1424
|
# A list of resources, currently only projects in the form `projects/`,
|
1399
1425
|
# protected by this ServicePerimeter that are allowed to be accessed by sources
|
1400
|
-
# defined in the corresponding IngressFrom.
|
1401
|
-
#
|
1402
|
-
# rule will authorize access to all resources inside the perimeter, provided
|
1403
|
-
# that the request also matches the `operations` field.
|
1426
|
+
# defined in the corresponding IngressFrom. If a single `*` is specified, then
|
1427
|
+
# access to all resources inside the perimeter are allowed.
|
1404
1428
|
# Corresponds to the JSON property `resources`
|
1405
1429
|
# @return [Array<String>]
|
1406
1430
|
attr_accessor :resources
|
@@ -1654,7 +1678,7 @@ module Google
|
|
1654
1678
|
end
|
1655
1679
|
end
|
1656
1680
|
|
1657
|
-
# The result for
|
1681
|
+
# The result for an IAM policy search.
|
1658
1682
|
class IamPolicySearchResult
|
1659
1683
|
include Google::Apis::Core::Hashable
|
1660
1684
|
|
@@ -1694,11 +1718,11 @@ module Google
|
|
1694
1718
|
# @return [Google::Apis::CloudassetV1p1beta1::Policy]
|
1695
1719
|
attr_accessor :policy
|
1696
1720
|
|
1697
|
-
# The project that the associated
|
1698
|
-
# projects/`project_number``. If an IAM policy is set on a resource
|
1699
|
-
# instance
|
1700
|
-
# that contains the resource. If an IAM policy is set
|
1701
|
-
# the project field will be empty.
|
1721
|
+
# The project that the associated Google Cloud resource belongs to, in the form
|
1722
|
+
# of `projects/`project_number``. If an IAM policy is set on a resource -- such
|
1723
|
+
# as a Compute Engine instance or a Cloud Storage bucket -- the project field
|
1724
|
+
# will indicate the project that contains the resource. If an IAM policy is set
|
1725
|
+
# on a folder or orgnization, the project field will be empty.
|
1702
1726
|
# Corresponds to the JSON property `project`
|
1703
1727
|
# @return [String]
|
1704
1728
|
attr_accessor :project
|
@@ -1722,11 +1746,11 @@ module Google
|
|
1722
1746
|
end
|
1723
1747
|
end
|
1724
1748
|
|
1725
|
-
# IAM permissions
|
1749
|
+
# IAM permissions.
|
1726
1750
|
class Permissions
|
1727
1751
|
include Google::Apis::Core::Hashable
|
1728
1752
|
|
1729
|
-
# A list of permissions.
|
1753
|
+
# A list of permissions. Example permission string: "compute.disk.get".
|
1730
1754
|
# Corresponds to the JSON property `permissions`
|
1731
1755
|
# @return [Array<String>]
|
1732
1756
|
attr_accessor :permissions
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1p1beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1p1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210611"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1p1beta1
|
24
24
|
|
25
|
+
class AnalyzeIamPolicyLongrunningResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -256,6 +262,12 @@ module Google
|
|
256
262
|
include Google::Apis::Core::JsonObjectSupport
|
257
263
|
end
|
258
264
|
|
265
|
+
class AnalyzeIamPolicyLongrunningResponse
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
259
271
|
class AuditConfig
|
260
272
|
# @private
|
261
273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2021-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -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.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Asset API V1p1beta1
|