google-apis-cloudasset_v1p7beta1 0.3.0 → 0.8.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 +21 -0
- data/lib/google/apis/cloudasset_v1p7beta1.rb +1 -1
- data/lib/google/apis/cloudasset_v1p7beta1/classes.rb +51 -27
- data/lib/google/apis/cloudasset_v1p7beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudasset_v1p7beta1/representations.rb +12 -0
- data/lib/google/apis/cloudasset_v1p7beta1/service.rb +31 -0
- 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: c851991ec412a37155a02b943c58e02302d3930766a7bfa3b56b44b2fd3d4aaf
|
4
|
+
data.tar.gz: a5b7cc68f43f6400302f59f61520a207594feb5330e8c0ae4342d4b631d8d78b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4ddc1689b75cd01dea6f8701e705c8b3be913c6ddb13bc9eb5b7ca9bddad9f81e9d3eb17eec43c011345761bf8c74ec4da10c42f9795b48e55a27ca4b18eb4
|
7
|
+
data.tar.gz: 3192b26fd60ea0ad5a4c9dc626c165f5212d0b7f8eb1d5fa00970215bb0d33652daed31be6a0a36229ab73663f55241deb1278d55bb03847c443c40bdebe8b50
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1p7beta1
|
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-19)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.6.0 (2021-04-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210416
|
14
|
+
|
15
|
+
### v0.5.0 (2021-03-31)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210326
|
18
|
+
|
19
|
+
### v0.4.0 (2021-03-09)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210305
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.3.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210226
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1p7beta1'
|
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 CloudassetV1p7beta1
|
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
|
@@ -1359,9 +1372,9 @@ module Google
|
|
1359
1372
|
|
1360
1373
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1361
1374
|
# Conditions based on information about the source of the request. Note that if
|
1362
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1363
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1364
|
-
# this request to succeed.
|
1375
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1376
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1377
|
+
# for this request to succeed.
|
1365
1378
|
class GoogleIdentityAccesscontextmanagerV1EgressFrom
|
1366
1379
|
include Google::Apis::Core::Hashable
|
1367
1380
|
|
@@ -1407,9 +1420,9 @@ module Google
|
|
1407
1420
|
|
1408
1421
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1409
1422
|
# Conditions based on information about the source of the request. Note that if
|
1410
|
-
# the destination of the request is protected by a ServicePerimeter, then
|
1411
|
-
# ServicePerimeter must have an IngressPolicy which allows access in order
|
1412
|
-
# this request to succeed.
|
1423
|
+
# the destination of the request is also protected by a ServicePerimeter, then
|
1424
|
+
# that ServicePerimeter must have an IngressPolicy which allows access in order
|
1425
|
+
# for this request to succeed.
|
1413
1426
|
# Corresponds to the JSON property `egressFrom`
|
1414
1427
|
# @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressFrom]
|
1415
1428
|
attr_accessor :egress_from
|
@@ -1417,8 +1430,10 @@ module Google
|
|
1417
1430
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1418
1431
|
# Conditions are based on information about the ApiOperation intended to be
|
1419
1432
|
# performed on the `resources` specified. Note that if the destination of the
|
1420
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1421
|
-
# have an IngressPolicy which allows access in order for this request to
|
1433
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1434
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1435
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1436
|
+
# to be allowed egress out of the perimeter.
|
1422
1437
|
# Corresponds to the JSON property `egressTo`
|
1423
1438
|
# @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressTo]
|
1424
1439
|
attr_accessor :egress_to
|
@@ -1437,21 +1452,25 @@ module Google
|
|
1437
1452
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1438
1453
|
# Conditions are based on information about the ApiOperation intended to be
|
1439
1454
|
# performed on the `resources` specified. Note that if the destination of the
|
1440
|
-
# request is protected by a ServicePerimeter, then that ServicePerimeter
|
1441
|
-
# have an IngressPolicy which allows access in order for this request to
|
1455
|
+
# request is also protected by a ServicePerimeter, then that ServicePerimeter
|
1456
|
+
# must have an IngressPolicy which allows access in order for this request to
|
1457
|
+
# succeed. The request must match `operations` AND `resources` fields in order
|
1458
|
+
# to be allowed egress out of the perimeter.
|
1442
1459
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
1443
1460
|
include Google::Apis::Core::Hashable
|
1444
1461
|
|
1445
|
-
# A list of ApiOperations
|
1446
|
-
# it
|
1462
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1463
|
+
# the corresponding EgressFrom. A request matches if it uses an operation/
|
1464
|
+
# service in this list.
|
1447
1465
|
# Corresponds to the JSON property `operations`
|
1448
1466
|
# @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1449
1467
|
attr_accessor :operations
|
1450
1468
|
|
1451
|
-
# A list of resources, currently only projects in the form `projects/`, that
|
1452
|
-
#
|
1453
|
-
#
|
1454
|
-
#
|
1469
|
+
# A list of resources, currently only projects in the form `projects/`, that are
|
1470
|
+
# allowed to be accessed by sources defined in the corresponding EgressFrom. A
|
1471
|
+
# request matches if it contains a resource in this list. If `*` is specified
|
1472
|
+
# for `resources`, then this EgressTo rule will authorize access to all
|
1473
|
+
# resources outside the perimeter.
|
1455
1474
|
# Corresponds to the JSON property `resources`
|
1456
1475
|
# @return [Array<String>]
|
1457
1476
|
attr_accessor :resources
|
@@ -1468,7 +1487,9 @@ module Google
|
|
1468
1487
|
end
|
1469
1488
|
|
1470
1489
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1471
|
-
# Conditions are based on information about the source of the request.
|
1490
|
+
# Conditions are based on information about the source of the request. The
|
1491
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1492
|
+
# in order to match.
|
1472
1493
|
class GoogleIdentityAccesscontextmanagerV1IngressFrom
|
1473
1494
|
include Google::Apis::Core::Hashable
|
1474
1495
|
|
@@ -1517,14 +1538,17 @@ module Google
|
|
1517
1538
|
include Google::Apis::Core::Hashable
|
1518
1539
|
|
1519
1540
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1520
|
-
# Conditions are based on information about the source of the request.
|
1541
|
+
# Conditions are based on information about the source of the request. The
|
1542
|
+
# request must satisfy what is defined in `sources` AND identity related fields
|
1543
|
+
# in order to match.
|
1521
1544
|
# Corresponds to the JSON property `ingressFrom`
|
1522
1545
|
# @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1IngressFrom]
|
1523
1546
|
attr_accessor :ingress_from
|
1524
1547
|
|
1525
1548
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1526
1549
|
# Conditions are based on information about the ApiOperation intended to be
|
1527
|
-
# performed on the
|
1550
|
+
# performed on the target resource of the request. The request must satisfy what
|
1551
|
+
# is defined in `operations` AND `resources` in order to match.
|
1528
1552
|
# Corresponds to the JSON property `ingressTo`
|
1529
1553
|
# @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1IngressTo]
|
1530
1554
|
attr_accessor :ingress_to
|
@@ -1550,7 +1574,8 @@ module Google
|
|
1550
1574
|
# cause an error. If no AccessLevel names are listed, resources within the
|
1551
1575
|
# perimeter can only be accessed via Google Cloud calls with request origins
|
1552
1576
|
# within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`
|
1553
|
-
# . If `*` is specified
|
1577
|
+
# . If a single `*` is specified for `access_level`, then all IngressSources
|
1578
|
+
# will be allowed.
|
1554
1579
|
# Corresponds to the JSON property `accessLevel`
|
1555
1580
|
# @return [String]
|
1556
1581
|
attr_accessor :access_level
|
@@ -1578,22 +1603,21 @@ module Google
|
|
1578
1603
|
|
1579
1604
|
# Defines the conditions under which an IngressPolicy matches a request.
|
1580
1605
|
# Conditions are based on information about the ApiOperation intended to be
|
1581
|
-
# performed on the
|
1606
|
+
# performed on the target resource of the request. The request must satisfy what
|
1607
|
+
# is defined in `operations` AND `resources` in order to match.
|
1582
1608
|
class GoogleIdentityAccesscontextmanagerV1IngressTo
|
1583
1609
|
include Google::Apis::Core::Hashable
|
1584
1610
|
|
1585
|
-
# A list of ApiOperations the sources specified in
|
1586
|
-
#
|
1611
|
+
# A list of ApiOperations allowed to be performed by the sources specified in
|
1612
|
+
# corresponding IngressFrom in this ServicePerimeter.
|
1587
1613
|
# Corresponds to the JSON property `operations`
|
1588
1614
|
# @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation>]
|
1589
1615
|
attr_accessor :operations
|
1590
1616
|
|
1591
1617
|
# A list of resources, currently only projects in the form `projects/`,
|
1592
1618
|
# protected by this ServicePerimeter that are allowed to be accessed by sources
|
1593
|
-
# defined in the corresponding IngressFrom.
|
1594
|
-
#
|
1595
|
-
# rule will authorize access to all resources inside the perimeter, provided
|
1596
|
-
# that the request also matches the `operations` field.
|
1619
|
+
# defined in the corresponding IngressFrom. If a single `*` is specified, then
|
1620
|
+
# access to all resources inside the perimeter are allowed.
|
1597
1621
|
# Corresponds to the JSON property `resources`
|
1598
1622
|
# @return [Array<String>]
|
1599
1623
|
attr_accessor :resources
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1p7beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1p7beta1 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 = "20210416"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1p7beta1
|
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
|
|
@@ -262,6 +268,12 @@ module Google
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
263
269
|
end
|
264
270
|
|
271
|
+
class AnalyzeIamPolicyLongrunningResponse
|
272
|
+
# @private
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
265
277
|
class AuditConfig
|
266
278
|
# @private
|
267
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,37 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
53
|
+
# to poll the operation result at intervals as recommended by the API service.
|
54
|
+
# @param [String] name
|
55
|
+
# The name of the operation resource.
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::CloudassetV1p7beta1::Operation] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::CloudassetV1p7beta1::Operation]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:get, 'v1p7beta1/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::CloudassetV1p7beta1::Operation::Representation
|
76
|
+
command.response_class = Google::Apis::CloudassetV1p7beta1::Operation
|
77
|
+
command.params['name'] = name unless name.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
execute_or_queue_command(command, &block)
|
81
|
+
end
|
82
|
+
|
52
83
|
# Exports assets with time and resource types to a given Cloud Storage location/
|
53
84
|
# BigQuery table. For Cloud Storage location destinations, the output format is
|
54
85
|
# newline-delimited JSON. Each line represents a google.cloud.asset.v1p7beta1.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1p7beta1
|
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 V1p7beta1. 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_v1p7beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p7beta1
|
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 V1p7beta1
|