google-apis-cloudasset_v1p5beta1 0.30.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e8d28520e300578ba29cecf951a17d942b7ff0760c4dd8244788615e0fdd9e9
|
4
|
+
data.tar.gz: 7d4be98516aac4d2e594a8542168d128ed6495ff5355d5dd4eecad26dce86c7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dedff5a213dd824ee1b56c7c3c5d98a3cb3ce25f4eb75359e0a4403f39d29f6f1d40b84f5d8d35d4172baf93ce42d69da17927f5606c3de8d6855ec8821d8e4
|
7
|
+
data.tar.gz: 58a1be1f012fac95f9e93601fd3d44cbe1c4f5c8dea3e34334325ca9147dbe75564c7fff9a7da91732ceb426e7d3dc5ff9bf475627551f3555ff24ee0dd8a48a
|
data/CHANGELOG.md
CHANGED
@@ -1211,6 +1211,12 @@ module Google
|
|
1211
1211
|
# @return [Array<String>]
|
1212
1212
|
attr_accessor :required_access_levels
|
1213
1213
|
|
1214
|
+
# The request must originate from one of the provided VPC networks in Google
|
1215
|
+
# Cloud. Cannot specify this field together with `ip_subnetworks`.
|
1216
|
+
# Corresponds to the JSON property `vpcNetworkSources`
|
1217
|
+
# @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
|
1218
|
+
attr_accessor :vpc_network_sources
|
1219
|
+
|
1214
1220
|
def initialize(**args)
|
1215
1221
|
update!(**args)
|
1216
1222
|
end
|
@@ -1223,6 +1229,7 @@ module Google
|
|
1223
1229
|
@negate = args[:negate] if args.key?(:negate)
|
1224
1230
|
@regions = args[:regions] if args.key?(:regions)
|
1225
1231
|
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
|
1232
|
+
@vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
|
1226
1233
|
end
|
1227
1234
|
end
|
1228
1235
|
|
@@ -1343,6 +1350,19 @@ module Google
|
|
1343
1350
|
# @return [String]
|
1344
1351
|
attr_accessor :identity_type
|
1345
1352
|
|
1353
|
+
# Whether to enforce traffic restrictions based on `sources` field. If the `
|
1354
|
+
# sources` fields is non-empty, then this field must be set to `
|
1355
|
+
# SOURCE_RESTRICTION_ENABLED`.
|
1356
|
+
# Corresponds to the JSON property `sourceRestriction`
|
1357
|
+
# @return [String]
|
1358
|
+
attr_accessor :source_restriction
|
1359
|
+
|
1360
|
+
# Sources that this EgressPolicy authorizes access from. If this field is not
|
1361
|
+
# empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
|
1362
|
+
# Corresponds to the JSON property `sources`
|
1363
|
+
# @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
|
1364
|
+
attr_accessor :sources
|
1365
|
+
|
1346
1366
|
def initialize(**args)
|
1347
1367
|
update!(**args)
|
1348
1368
|
end
|
@@ -1351,6 +1371,8 @@ module Google
|
|
1351
1371
|
def update!(**args)
|
1352
1372
|
@identities = args[:identities] if args.key?(:identities)
|
1353
1373
|
@identity_type = args[:identity_type] if args.key?(:identity_type)
|
1374
|
+
@source_restriction = args[:source_restriction] if args.key?(:source_restriction)
|
1375
|
+
@sources = args[:sources] if args.key?(:sources)
|
1354
1376
|
end
|
1355
1377
|
end
|
1356
1378
|
|
@@ -1400,6 +1422,33 @@ module Google
|
|
1400
1422
|
end
|
1401
1423
|
end
|
1402
1424
|
|
1425
|
+
# The source that EgressPolicy authorizes access from inside the
|
1426
|
+
# ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
|
1427
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
1428
|
+
include Google::Apis::Core::Hashable
|
1429
|
+
|
1430
|
+
# An AccessLevel resource name that allows protected resources inside the
|
1431
|
+
# ServicePerimeters to access outside the ServicePerimeter boundaries.
|
1432
|
+
# AccessLevels listed must be in the same policy as this ServicePerimeter.
|
1433
|
+
# Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
|
1434
|
+
# name is not specified, only resources within the perimeter can be accessed
|
1435
|
+
# through Google Cloud calls with request origins within the perimeter. Example:
|
1436
|
+
# `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
|
1437
|
+
# for `access_level`, then all EgressSources will be allowed.
|
1438
|
+
# Corresponds to the JSON property `accessLevel`
|
1439
|
+
# @return [String]
|
1440
|
+
attr_accessor :access_level
|
1441
|
+
|
1442
|
+
def initialize(**args)
|
1443
|
+
update!(**args)
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# Update properties of this object
|
1447
|
+
def update!(**args)
|
1448
|
+
@access_level = args[:access_level] if args.key?(:access_level)
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1403
1452
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1404
1453
|
# Conditions are based on information about the ApiOperation intended to be
|
1405
1454
|
# performed on the `resources` specified. Note that if the destination of the
|
@@ -1838,6 +1887,59 @@ module Google
|
|
1838
1887
|
end
|
1839
1888
|
end
|
1840
1889
|
|
1890
|
+
# The originating network source in Google Cloud.
|
1891
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
1892
|
+
include Google::Apis::Core::Hashable
|
1893
|
+
|
1894
|
+
# Sub-segment ranges inside of a VPC Network.
|
1895
|
+
# Corresponds to the JSON property `vpcSubnetwork`
|
1896
|
+
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
|
1897
|
+
attr_accessor :vpc_subnetwork
|
1898
|
+
|
1899
|
+
def initialize(**args)
|
1900
|
+
update!(**args)
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# Update properties of this object
|
1904
|
+
def update!(**args)
|
1905
|
+
@vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
|
1906
|
+
end
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
# Sub-segment ranges inside of a VPC Network.
|
1910
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
1911
|
+
include Google::Apis::Core::Hashable
|
1912
|
+
|
1913
|
+
# Required. Network name. If the network is not part of the organization, the `
|
1914
|
+
# compute.network.get` permission must be granted to the caller. Format: `//
|
1915
|
+
# compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
|
1916
|
+
# Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
|
1917
|
+
# 1`
|
1918
|
+
# Corresponds to the JSON property `network`
|
1919
|
+
# @return [String]
|
1920
|
+
attr_accessor :network
|
1921
|
+
|
1922
|
+
# CIDR block IP subnetwork specification. The IP address must be an IPv4 address
|
1923
|
+
# and can be a public or private IP address. Note that for a CIDR IP address
|
1924
|
+
# block, the specified IP address portion must be properly truncated (i.e. all
|
1925
|
+
# the host bits must be zero) or the input is considered malformed. For example,
|
1926
|
+
# "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
|
1927
|
+
# addresses are allowed.
|
1928
|
+
# Corresponds to the JSON property `vpcIpSubnetworks`
|
1929
|
+
# @return [Array<String>]
|
1930
|
+
attr_accessor :vpc_ip_subnetworks
|
1931
|
+
|
1932
|
+
def initialize(**args)
|
1933
|
+
update!(**args)
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
# Update properties of this object
|
1937
|
+
def update!(**args)
|
1938
|
+
@network = args[:network] if args.key?(:network)
|
1939
|
+
@vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
|
1940
|
+
end
|
1941
|
+
end
|
1942
|
+
|
1841
1943
|
# ListAssets response.
|
1842
1944
|
class ListAssetsResponse
|
1843
1945
|
include Google::Apis::Core::Hashable
|
@@ -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.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230908"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -232,6 +238,18 @@ module Google
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
241
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
235
253
|
class ListAssetsResponse
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
255
|
|
@@ -479,6 +497,8 @@ module Google
|
|
479
497
|
property :negate, as: 'negate'
|
480
498
|
collection :regions, as: 'regions'
|
481
499
|
collection :required_access_levels, as: 'requiredAccessLevels'
|
500
|
+
collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
|
501
|
+
|
482
502
|
end
|
483
503
|
end
|
484
504
|
|
@@ -508,6 +528,9 @@ module Google
|
|
508
528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
509
529
|
collection :identities, as: 'identities'
|
510
530
|
property :identity_type, as: 'identityType'
|
531
|
+
property :source_restriction, as: 'sourceRestriction'
|
532
|
+
collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
|
533
|
+
|
511
534
|
end
|
512
535
|
end
|
513
536
|
|
@@ -521,6 +544,13 @@ module Google
|
|
521
544
|
end
|
522
545
|
end
|
523
546
|
|
547
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
548
|
+
# @private
|
549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
+
property :access_level, as: 'accessLevel'
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
524
554
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
525
555
|
# @private
|
526
556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -623,6 +653,22 @@ module Google
|
|
623
653
|
end
|
624
654
|
end
|
625
655
|
|
656
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
657
|
+
# @private
|
658
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
659
|
+
property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
|
660
|
+
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
665
|
+
# @private
|
666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
667
|
+
property :network, as: 'network'
|
668
|
+
collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
626
672
|
class ListAssetsResponse
|
627
673
|
# @private
|
628
674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.31.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: 2023-09-
|
11
|
+
date: 2023-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p5beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p5beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|