google-apis-cloudasset_v1p5beta1 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/lib/google/apis/cloudasset_v1p5beta1/classes.rb +51 -27
- data/lib/google/apis/cloudasset_v1p5beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudasset_v1p5beta1/representations.rb +12 -0
- data/lib/google/apis/cloudasset_v1p5beta1/service.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aad54ab2df905d24a19433f320e6b9b9854bb47e372f6e4abab1005c5aa822c1
|
4
|
+
data.tar.gz: 100b01e0c703aeb7950dc37f87648b945bccbac0842dcc827215a7f2bbe59abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ffd2a49ed82b14785fdbb34c5723fddf8856e8864c1b0d6dc781f886f3bbc103fbe729d6641401595a1ff56222e87c1d7b50ce38dfdcc13290ec1c342440a64
|
7
|
+
data.tar.gz: 7291aba7f8927d6690f9d59c2fa80db7829322e77fe0d872b3915e6a9eedeff106a552089b91dcd8ef4c6dacaa36761013f3c0533aa79927d7d3a19a68f1d909
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1p5beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.3.0
|
6
|
+
|
7
|
+
### v0.7.0 (2021-05-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210518
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.6.0 (2021-04-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210416
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-31)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210326
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-09)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210305
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.3.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 = 'V1p5beta1'
|
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 CloudassetV1p5beta1
|
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
|
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
26
39
|
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
27
40
|
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
@@ -1268,9 +1281,9 @@ module Google
|
|
1268
1281
|
|
1269
1282
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1270
1283
|
# Conditions based on information about the source of the request. Note that if
|
1271
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1272
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1273
|
-
# this request to succeed.
|
1284
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1285
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1286
|
+
# for this request to succeed.
|
1274
1287
|
class GoogleIdentityAccesscontextmanagerV1EgressFrom
|
1275
1288
|
include Google::Apis::Core::Hashable
|
1276
1289
|
|
@@ -1316,9 +1329,9 @@ module Google
|
|
1316
1329
|
|
1317
1330
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1318
1331
|
# Conditions based on information about the source of the request. Note that if
|
1319
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1320
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1321
|
-
# this request to succeed.
|
1332
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1333
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1334
|
+
# for this request to succeed.
|
1322
1335
|
# Corresponds to the JSON property `egressFrom`
|
1323
1336
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressFrom]
|
1324
1337
|
attr_accessor :egress_from
|
@@ -1326,8 +1339,10 @@ module Google
|
|
1326
1339
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1327
1340
|
# Conditions are based on information about the ApiOperation intended to be
|
1328
1341
|
# performed on the `resources` specified. Note that if the destination of the
|
1329
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1330
|
-
# have an IngressPolicy which allows access in order for this request to
|
1342
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1343
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1344
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1345
|
+
# to be allowed egress out of the perimeter.
|
1331
1346
|
# Corresponds to the JSON property `egressTo`
|
1332
1347
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressTo]
|
1333
1348
|
attr_accessor :egress_to
|
@@ -1346,21 +1361,25 @@ module Google
|
|
1346
1361
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1347
1362
|
# Conditions are based on information about the ApiOperation intended to be
|
1348
1363
|
# performed on the `resources` specified. Note that if the destination of the
|
1349
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1350
|
-
# have an IngressPolicy which allows access in order for this request to
|
1364
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1365
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1366
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1367
|
+
# to be allowed egress out of the perimeter.
|
1351
1368
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
1352
1369
|
include Google::Apis::Core::Hashable
|
1353
1370
|
|
1354
|
-
# A list of ApiOperations
|
1355
|
-
# it
|
1371
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1372
|
+
# the corresponding EgressFrom. A request matches if it uses an operation/
|
1373
|
+
# service in this list.
|
1356
1374
|
# Corresponds to the JSON property `operations`
|
1357
1375
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1358
1376
|
attr_accessor :operations
|
1359
1377
|
|
1360
|
-
# A list of resources, currently only projects in the form `projects/`, that
|
1361
|
-
#
|
1362
|
-
#
|
1363
|
-
#
|
1378
|
+
# A list of resources, currently only projects in the form `projects/`, that are
|
1379
|
+
# allowed to be accessed by sources defined in the corresponding EgressFrom. A
|
1380
|
+
# request matches if it contains a resource in this list. If `*` is specified
|
1381
|
+
# for `resources`, then this EgressTo rule will authorize access to all
|
1382
|
+
# resources outside the perimeter.
|
1364
1383
|
# Corresponds to the JSON property `resources`
|
1365
1384
|
# @return [Array<String>]
|
1366
1385
|
attr_accessor :resources
|
@@ -1377,7 +1396,9 @@ module Google
|
|
1377
1396
|
end
|
1378
1397
|
|
1379
1398
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1380
|
-
# Conditions are based on information about the source of the request.
|
1399
|
+
# Conditions are based on information about the source of the request. The
|
1400
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1401
|
+
# in order to match.
|
1381
1402
|
class GoogleIdentityAccesscontextmanagerV1IngressFrom
|
1382
1403
|
include Google::Apis::Core::Hashable
|
1383
1404
|
|
@@ -1426,14 +1447,17 @@ module Google
|
|
1426
1447
|
include Google::Apis::Core::Hashable
|
1427
1448
|
|
1428
1449
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1429
|
-
# Conditions are based on information about the source of the request.
|
1450
|
+
# Conditions are based on information about the source of the request. The
|
1451
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1452
|
+
# in order to match.
|
1430
1453
|
# Corresponds to the JSON property `ingressFrom`
|
1431
1454
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1IngressFrom]
|
1432
1455
|
attr_accessor :ingress_from
|
1433
1456
|
|
1434
1457
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1435
1458
|
# Conditions are based on information about the ApiOperation intended to be
|
1436
|
-
# performed on the
|
1459
|
+
# performed on the target resource of the request. The request must satisfy what
|
1460
|
+
# is defined in `operations` AND `resources` in order to match.
|
1437
1461
|
# Corresponds to the JSON property `ingressTo`
|
1438
1462
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1IngressTo]
|
1439
1463
|
attr_accessor :ingress_to
|
@@ -1459,7 +1483,8 @@ module Google
|
|
1459
1483
|
# cause an error. If no AccessLevel names are listed, resources within the
|
1460
1484
|
# perimeter can only be accessed via Google Cloud calls with request origins
|
1461
1485
|
# within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`
|
1462
|
-
# . If `*` is specified
|
1486
|
+
# . If a single `*` is specified for `access_level`, then all IngressSources
|
1487
|
+
# will be allowed.
|
1463
1488
|
# Corresponds to the JSON property `accessLevel`
|
1464
1489
|
# @return [String]
|
1465
1490
|
attr_accessor :access_level
|
@@ -1487,22 +1512,21 @@ module Google
|
|
1487
1512
|
|
1488
1513
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1489
1514
|
# Conditions are based on information about the ApiOperation intended to be
|
1490
|
-
# performed on the
|
1515
|
+
# performed on the target resource of the request. The request must satisfy what
|
1516
|
+
# is defined in `operations` AND `resources` in order to match.
|
1491
1517
|
class GoogleIdentityAccesscontextmanagerV1IngressTo
|
1492
1518
|
include Google::Apis::Core::Hashable
|
1493
1519
|
|
1494
|
-
# A list of ApiOperations the sources specified in
|
1495
|
-
#
|
1520
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1521
|
+
# corresponding IngressFrom in this ServicePerimeter.
|
1496
1522
|
# Corresponds to the JSON property `operations`
|
1497
1523
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1498
1524
|
attr_accessor :operations
|
1499
1525
|
|
1500
1526
|
# A list of resources, currently only projects in the form `projects/`,
|
1501
1527
|
# protected by this ServicePerimeter that are allowed to be accessed by sources
|
1502
|
-
# defined in the corresponding IngressFrom.
|
1503
|
-
#
|
1504
|
-
# rule will authorize access to all resources inside the perimeter, provided
|
1505
|
-
# that the request also matches the `operations` field.
|
1528
|
+
# defined in the corresponding IngressFrom. If a single `*` is specified, then
|
1529
|
+
# access to all resources inside the perimeter are allowed.
|
1506
1530
|
# Corresponds to the JSON property `resources`
|
1507
1531
|
# @return [Array<String>]
|
1508
1532
|
attr_accessor :resources
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1p5beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1p5beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.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 = "20210518"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1p5beta1
|
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 Asset
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -238,6 +244,12 @@ module Google
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
247
|
+
class AnalyzeIamPolicyLongrunningResponse
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
241
253
|
class Asset
|
242
254
|
# @private
|
243
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# @param [String] parent
|
55
55
|
# Required. Name of the organization or project the assets belong to. Format: "
|
56
56
|
# organizations/[organization-number]" (such as "organizations/123"), "projects/[
|
57
|
-
# project-
|
57
|
+
# project-id]" (such as "projects/my-project-id"), or "projects/[project-number]"
|
58
58
|
# (such as "projects/12345").
|
59
59
|
# @param [Array<String>, String] asset_types
|
60
60
|
# A list of asset types to take a snapshot for. For example: "compute.googleapis.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1p5beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Asset API V1p5beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p5beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p5beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Asset API V1p5beta1
|