google-apis-cloudasset_v1p1beta1 0.31.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: 7132264aa7d7875f8edfb0d564c7488f9c06c250c52f9aa8bd75fe5e4a23bdd9
4
- data.tar.gz: e1d9c743d67c8fea29499ad8e95219d10ed2e29a80aa8f57a11afb852d48dade
3
+ metadata.gz: dec8231e336a4a8f5654e4a5e7479fa27f0ad96fd910ab24c66b7e2c97dcbb44
4
+ data.tar.gz: e7a6c7d180471f76c0bab087df96465260ac2b6263684a35b94915b26e5cc72a
5
5
  SHA512:
6
- metadata.gz: de0b32175f1b38a1b88b9386d7ee01b9bc33fe342668a1e34a72706479bcb68dfe58315d36da41833adf1b82b3437ec5ba952006ebff468deb828fe1e651a732
7
- data.tar.gz: 43f4c4c474094967d1443b77c26f418d425c30f62fb6e3b7443a6c5bfdde488363cd5f08121a7dc40c0a0d9f38f1ee64c91877b40d99b5a5af03deb953378aa8
6
+ metadata.gz: bbb2914da4b7567ad81c44d95a15b9adebe68a221664370b9a97b1753c45d539154726e2515f3672dccd6236b2069bac5b70b9f439ab63e708ed15df880d5a54
7
+ data.tar.gz: 21c80a9fa7c12cd4f99118bedc04f5b0c9b243f623f43e42426d1569a5edb2aed276fd9018360856c0b36b6ebe9a1ba9ad7ec9d403a784c97da47ecfd56b4deb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.31.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230902
@@ -1108,6 +1108,12 @@ module Google
1108
1108
  # @return [Array<String>]
1109
1109
  attr_accessor :required_access_levels
1110
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
+
1111
1117
  def initialize(**args)
1112
1118
  update!(**args)
1113
1119
  end
@@ -1120,6 +1126,7 @@ module Google
1120
1126
  @negate = args[:negate] if args.key?(:negate)
1121
1127
  @regions = args[:regions] if args.key?(:regions)
1122
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)
1123
1130
  end
1124
1131
  end
1125
1132
 
@@ -1240,6 +1247,19 @@ module Google
1240
1247
  # @return [String]
1241
1248
  attr_accessor :identity_type
1242
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
+
1243
1263
  def initialize(**args)
1244
1264
  update!(**args)
1245
1265
  end
@@ -1248,6 +1268,8 @@ module Google
1248
1268
  def update!(**args)
1249
1269
  @identities = args[:identities] if args.key?(:identities)
1250
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)
1251
1273
  end
1252
1274
  end
1253
1275
 
@@ -1297,6 +1319,33 @@ module Google
1297
1319
  end
1298
1320
  end
1299
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
+
1300
1349
  # Defines the conditions under which an EgressPolicy matches a request.
1301
1350
  # Conditions are based on information about the ApiOperation intended to be
1302
1351
  # performed on the `resources` specified. Note that if the destination of the
@@ -1735,6 +1784,59 @@ module Google
1735
1784
  end
1736
1785
  end
1737
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
+
1738
1840
  # The result for an IAM policy search.
1739
1841
  class IamPolicySearchResult
1740
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.31.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 = "20230902"
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.31.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-09-10 00:00:00.000000000 Z
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.31.0
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: []