google-apis-cloudasset_v1p1beta1 0.30.0 → 0.32.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: dec8231e336a4a8f5654e4a5e7479fa27f0ad96fd910ab24c66b7e2c97dcbb44
|
4
|
+
data.tar.gz: e7a6c7d180471f76c0bab087df96465260ac2b6263684a35b94915b26e5cc72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbb2914da4b7567ad81c44d95a15b9adebe68a221664370b9a97b1753c45d539154726e2515f3672dccd6236b2069bac5b70b9f439ab63e708ed15df880d5a54
|
7
|
+
data.tar.gz: 21c80a9fa7c12cd4f99118bedc04f5b0c9b243f623f43e42426d1569a5edb2aed276fd9018360856c0b36b6ebe9a1ba9ad7ec9d403a784c97da47ecfd56b4deb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1p1beta1
|
2
2
|
|
3
|
+
### v0.32.0 (2023-09-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230908
|
6
|
+
|
7
|
+
### v0.31.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230902
|
10
|
+
|
3
11
|
### v0.30.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230805
|
@@ -956,17 +956,16 @@ module Google
|
|
956
956
|
# @return [String]
|
957
957
|
attr_accessor :parent
|
958
958
|
|
959
|
-
# The scopes of
|
960
|
-
# where
|
961
|
-
# folders/123"] has the following behavior: -
|
962
|
-
# projects within folders/123 -
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
# folders/`folder_number`` or `projects/`project_number``
|
959
|
+
# The scopes of the AccessPolicy. Scopes define which resources a policy can
|
960
|
+
# restrict and where its resources can be referenced. For example, policy A with
|
961
|
+
# `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can
|
962
|
+
# only restrict projects within `folders/123`. - ServicePerimeter within policy
|
963
|
+
# A can only reference access levels defined within policy A. - Only one policy
|
964
|
+
# can include a given scope; thus, attempting to create a second policy which
|
965
|
+
# includes `folders/123` will result in an error. If no scopes are provided,
|
966
|
+
# then any resource within the organization can be restricted. Scopes cannot be
|
967
|
+
# modified after a policy is created. Policies can only have a single scope.
|
968
|
+
# Format: list of `folders/`folder_number`` or `projects/`project_number``
|
970
969
|
# Corresponds to the JSON property `scopes`
|
971
970
|
# @return [Array<String>]
|
972
971
|
attr_accessor :scopes
|
@@ -1109,6 +1108,12 @@ module Google
|
|
1109
1108
|
# @return [Array<String>]
|
1110
1109
|
attr_accessor :required_access_levels
|
1111
1110
|
|
1111
|
+
# The request must originate from one of the provided VPC networks in Google
|
1112
|
+
# Cloud. Cannot specify this field together with `ip_subnetworks`.
|
1113
|
+
# Corresponds to the JSON property `vpcNetworkSources`
|
1114
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
|
1115
|
+
attr_accessor :vpc_network_sources
|
1116
|
+
|
1112
1117
|
def initialize(**args)
|
1113
1118
|
update!(**args)
|
1114
1119
|
end
|
@@ -1121,6 +1126,7 @@ module Google
|
|
1121
1126
|
@negate = args[:negate] if args.key?(:negate)
|
1122
1127
|
@regions = args[:regions] if args.key?(:regions)
|
1123
1128
|
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
|
1129
|
+
@vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
|
1124
1130
|
end
|
1125
1131
|
end
|
1126
1132
|
|
@@ -1241,6 +1247,19 @@ module Google
|
|
1241
1247
|
# @return [String]
|
1242
1248
|
attr_accessor :identity_type
|
1243
1249
|
|
1250
|
+
# Whether to enforce traffic restrictions based on `sources` field. If the `
|
1251
|
+
# sources` fields is non-empty, then this field must be set to `
|
1252
|
+
# SOURCE_RESTRICTION_ENABLED`.
|
1253
|
+
# Corresponds to the JSON property `sourceRestriction`
|
1254
|
+
# @return [String]
|
1255
|
+
attr_accessor :source_restriction
|
1256
|
+
|
1257
|
+
# Sources that this EgressPolicy authorizes access from. If this field is not
|
1258
|
+
# empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
|
1259
|
+
# Corresponds to the JSON property `sources`
|
1260
|
+
# @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
|
1261
|
+
attr_accessor :sources
|
1262
|
+
|
1244
1263
|
def initialize(**args)
|
1245
1264
|
update!(**args)
|
1246
1265
|
end
|
@@ -1249,6 +1268,8 @@ module Google
|
|
1249
1268
|
def update!(**args)
|
1250
1269
|
@identities = args[:identities] if args.key?(:identities)
|
1251
1270
|
@identity_type = args[:identity_type] if args.key?(:identity_type)
|
1271
|
+
@source_restriction = args[:source_restriction] if args.key?(:source_restriction)
|
1272
|
+
@sources = args[:sources] if args.key?(:sources)
|
1252
1273
|
end
|
1253
1274
|
end
|
1254
1275
|
|
@@ -1298,6 +1319,33 @@ module Google
|
|
1298
1319
|
end
|
1299
1320
|
end
|
1300
1321
|
|
1322
|
+
# The source that EgressPolicy authorizes access from inside the
|
1323
|
+
# ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
|
1324
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
1325
|
+
include Google::Apis::Core::Hashable
|
1326
|
+
|
1327
|
+
# An AccessLevel resource name that allows protected resources inside the
|
1328
|
+
# ServicePerimeters to access outside the ServicePerimeter boundaries.
|
1329
|
+
# AccessLevels listed must be in the same policy as this ServicePerimeter.
|
1330
|
+
# Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
|
1331
|
+
# name is not specified, only resources within the perimeter can be accessed
|
1332
|
+
# through Google Cloud calls with request origins within the perimeter. Example:
|
1333
|
+
# `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
|
1334
|
+
# for `access_level`, then all EgressSources will be allowed.
|
1335
|
+
# Corresponds to the JSON property `accessLevel`
|
1336
|
+
# @return [String]
|
1337
|
+
attr_accessor :access_level
|
1338
|
+
|
1339
|
+
def initialize(**args)
|
1340
|
+
update!(**args)
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# Update properties of this object
|
1344
|
+
def update!(**args)
|
1345
|
+
@access_level = args[:access_level] if args.key?(:access_level)
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1301
1349
|
# Defines the conditions under which an EgressPolicy matches a request.
|
1302
1350
|
# Conditions are based on information about the ApiOperation intended to be
|
1303
1351
|
# performed on the `resources` specified. Note that if the destination of the
|
@@ -1736,6 +1784,59 @@ module Google
|
|
1736
1784
|
end
|
1737
1785
|
end
|
1738
1786
|
|
1787
|
+
# The originating network source in Google Cloud.
|
1788
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
1789
|
+
include Google::Apis::Core::Hashable
|
1790
|
+
|
1791
|
+
# Sub-segment ranges inside of a VPC Network.
|
1792
|
+
# Corresponds to the JSON property `vpcSubnetwork`
|
1793
|
+
# @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
|
1794
|
+
attr_accessor :vpc_subnetwork
|
1795
|
+
|
1796
|
+
def initialize(**args)
|
1797
|
+
update!(**args)
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
# Update properties of this object
|
1801
|
+
def update!(**args)
|
1802
|
+
@vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
# Sub-segment ranges inside of a VPC Network.
|
1807
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
1808
|
+
include Google::Apis::Core::Hashable
|
1809
|
+
|
1810
|
+
# Required. Network name. If the network is not part of the organization, the `
|
1811
|
+
# compute.network.get` permission must be granted to the caller. Format: `//
|
1812
|
+
# compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
|
1813
|
+
# Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
|
1814
|
+
# 1`
|
1815
|
+
# Corresponds to the JSON property `network`
|
1816
|
+
# @return [String]
|
1817
|
+
attr_accessor :network
|
1818
|
+
|
1819
|
+
# CIDR block IP subnetwork specification. The IP address must be an IPv4 address
|
1820
|
+
# and can be a public or private IP address. Note that for a CIDR IP address
|
1821
|
+
# block, the specified IP address portion must be properly truncated (i.e. all
|
1822
|
+
# the host bits must be zero) or the input is considered malformed. For example,
|
1823
|
+
# "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
|
1824
|
+
# addresses are allowed.
|
1825
|
+
# Corresponds to the JSON property `vpcIpSubnetworks`
|
1826
|
+
# @return [Array<String>]
|
1827
|
+
attr_accessor :vpc_ip_subnetworks
|
1828
|
+
|
1829
|
+
def initialize(**args)
|
1830
|
+
update!(**args)
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# Update properties of this object
|
1834
|
+
def update!(**args)
|
1835
|
+
@network = args[:network] if args.key?(:network)
|
1836
|
+
@vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1739
1840
|
# The result for an IAM policy search.
|
1740
1841
|
class IamPolicySearchResult
|
1741
1842
|
include Google::Apis::Core::Hashable
|
@@ -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.32.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 IamPolicySearchResult
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
255
|
|
@@ -484,6 +502,8 @@ module Google
|
|
484
502
|
property :negate, as: 'negate'
|
485
503
|
collection :regions, as: 'regions'
|
486
504
|
collection :required_access_levels, as: 'requiredAccessLevels'
|
505
|
+
collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
|
506
|
+
|
487
507
|
end
|
488
508
|
end
|
489
509
|
|
@@ -513,6 +533,9 @@ module Google
|
|
513
533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
514
534
|
collection :identities, as: 'identities'
|
515
535
|
property :identity_type, as: 'identityType'
|
536
|
+
property :source_restriction, as: 'sourceRestriction'
|
537
|
+
collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
|
538
|
+
|
516
539
|
end
|
517
540
|
end
|
518
541
|
|
@@ -526,6 +549,13 @@ module Google
|
|
526
549
|
end
|
527
550
|
end
|
528
551
|
|
552
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :access_level, as: 'accessLevel'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
529
559
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
530
560
|
# @private
|
531
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -628,6 +658,22 @@ module Google
|
|
628
658
|
end
|
629
659
|
end
|
630
660
|
|
661
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
|
665
|
+
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
670
|
+
# @private
|
671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
672
|
+
property :network, as: 'network'
|
673
|
+
collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
631
677
|
class IamPolicySearchResult
|
632
678
|
# @private
|
633
679
|
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.32.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-
|
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_v1p1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.32.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Asset API V1p1beta1
|