google-apis-cloudasset_v1p7beta1 0.31.0 → 0.32.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6577aee8b7c2ba6de9564530b463ff7b62337728d40515dc2c28f39fde391c8
4
- data.tar.gz: '08afc78cfecea0511b497e6a9f1a98d61b5362f0987ee6444a2c1284d7c73e07'
3
+ metadata.gz: ae3bdd88f7f3b8b634207dfe4a43992b11a13b2ee96f03f1c0a5f271afa529d3
4
+ data.tar.gz: 829036e9b1a9864e4745303f93ad5458bc779e0c12cec59054a511964b6509fb
5
5
  SHA512:
6
- metadata.gz: 85d102f4c77cf835525d0d4ef7cb4a36f2d9b08ea792b3f86a9fadf24822e857feab886d1b28298a964a2571f3682503372d28d3dab1087afdf438c57f5f227d
7
- data.tar.gz: 15312f64dbf267bf1497d5d9e57f60f92e6fcf3cdbc32e6652241f1381ca85b655b6f256a6e54d6fc111a291629cd49b2d4f29c35a793a61325bb473cc207b46
6
+ metadata.gz: 31c73083e0ab076d7a2554694f1ab18fc73fc236055396273287ce297fa7ef97b66fb386e1d43e7ae5de70a3dd23a1570dbf3ac617df9b146dbc29af21a7402a
7
+ data.tar.gz: c21448156e5d54b8e0814ce6dd46d6b1496d811261781fac0168187b55ffa9fa7794ee6d54311851edf47796d5fce0809572ac61d9f93778d0276f26f472022d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1p7beta1
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
@@ -1301,6 +1301,12 @@ module Google
1301
1301
  # @return [Array<String>]
1302
1302
  attr_accessor :required_access_levels
1303
1303
 
1304
+ # The request must originate from one of the provided VPC networks in Google
1305
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1306
+ # Corresponds to the JSON property `vpcNetworkSources`
1307
+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1308
+ attr_accessor :vpc_network_sources
1309
+
1304
1310
  def initialize(**args)
1305
1311
  update!(**args)
1306
1312
  end
@@ -1313,6 +1319,7 @@ module Google
1313
1319
  @negate = args[:negate] if args.key?(:negate)
1314
1320
  @regions = args[:regions] if args.key?(:regions)
1315
1321
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1322
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1316
1323
  end
1317
1324
  end
1318
1325
 
@@ -1433,6 +1440,19 @@ module Google
1433
1440
  # @return [String]
1434
1441
  attr_accessor :identity_type
1435
1442
 
1443
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1444
+ # sources` fields is non-empty, then this field must be set to `
1445
+ # SOURCE_RESTRICTION_ENABLED`.
1446
+ # Corresponds to the JSON property `sourceRestriction`
1447
+ # @return [String]
1448
+ attr_accessor :source_restriction
1449
+
1450
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1451
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1452
+ # Corresponds to the JSON property `sources`
1453
+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1454
+ attr_accessor :sources
1455
+
1436
1456
  def initialize(**args)
1437
1457
  update!(**args)
1438
1458
  end
@@ -1441,6 +1461,8 @@ module Google
1441
1461
  def update!(**args)
1442
1462
  @identities = args[:identities] if args.key?(:identities)
1443
1463
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1464
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1465
+ @sources = args[:sources] if args.key?(:sources)
1444
1466
  end
1445
1467
  end
1446
1468
 
@@ -1490,6 +1512,33 @@ module Google
1490
1512
  end
1491
1513
  end
1492
1514
 
1515
+ # The source that EgressPolicy authorizes access from inside the
1516
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1517
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1518
+ include Google::Apis::Core::Hashable
1519
+
1520
+ # An AccessLevel resource name that allows protected resources inside the
1521
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1522
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1523
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1524
+ # name is not specified, only resources within the perimeter can be accessed
1525
+ # through Google Cloud calls with request origins within the perimeter. Example:
1526
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1527
+ # for `access_level`, then all EgressSources will be allowed.
1528
+ # Corresponds to the JSON property `accessLevel`
1529
+ # @return [String]
1530
+ attr_accessor :access_level
1531
+
1532
+ def initialize(**args)
1533
+ update!(**args)
1534
+ end
1535
+
1536
+ # Update properties of this object
1537
+ def update!(**args)
1538
+ @access_level = args[:access_level] if args.key?(:access_level)
1539
+ end
1540
+ end
1541
+
1493
1542
  # Defines the conditions under which an EgressPolicy matches a request.
1494
1543
  # Conditions are based on information about the ApiOperation intended to be
1495
1544
  # performed on the `resources` specified. Note that if the destination of the
@@ -1928,6 +1977,59 @@ module Google
1928
1977
  end
1929
1978
  end
1930
1979
 
1980
+ # The originating network source in Google Cloud.
1981
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1982
+ include Google::Apis::Core::Hashable
1983
+
1984
+ # Sub-segment ranges inside of a VPC Network.
1985
+ # Corresponds to the JSON property `vpcSubnetwork`
1986
+ # @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
1987
+ attr_accessor :vpc_subnetwork
1988
+
1989
+ def initialize(**args)
1990
+ update!(**args)
1991
+ end
1992
+
1993
+ # Update properties of this object
1994
+ def update!(**args)
1995
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
1996
+ end
1997
+ end
1998
+
1999
+ # Sub-segment ranges inside of a VPC Network.
2000
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
2001
+ include Google::Apis::Core::Hashable
2002
+
2003
+ # Required. Network name. If the network is not part of the organization, the `
2004
+ # compute.network.get` permission must be granted to the caller. Format: `//
2005
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
2006
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
2007
+ # 1`
2008
+ # Corresponds to the JSON property `network`
2009
+ # @return [String]
2010
+ attr_accessor :network
2011
+
2012
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
2013
+ # and can be a public or private IP address. Note that for a CIDR IP address
2014
+ # block, the specified IP address portion must be properly truncated (i.e. all
2015
+ # the host bits must be zero) or the input is considered malformed. For example,
2016
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
2017
+ # addresses are allowed.
2018
+ # Corresponds to the JSON property `vpcIpSubnetworks`
2019
+ # @return [Array<String>]
2020
+ attr_accessor :vpc_ip_subnetworks
2021
+
2022
+ def initialize(**args)
2023
+ update!(**args)
2024
+ end
2025
+
2026
+ # Update properties of this object
2027
+ def update!(**args)
2028
+ @network = args[:network] if args.key?(:network)
2029
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
2030
+ end
2031
+ end
2032
+
1931
2033
  # This resource represents a long-running operation that is the result of a
1932
2034
  # network API call.
1933
2035
  class Operation
@@ -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.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
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class GoogleIdentityAccesscontextmanagerV1EgressTo
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -256,6 +262,18 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
259
277
  class Operation
260
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
279
 
@@ -531,6 +549,8 @@ module Google
531
549
  property :negate, as: 'negate'
532
550
  collection :regions, as: 'regions'
533
551
  collection :required_access_levels, as: 'requiredAccessLevels'
552
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
553
+
534
554
  end
535
555
  end
536
556
 
@@ -560,6 +580,9 @@ module Google
560
580
  class Representation < Google::Apis::Core::JsonRepresentation
561
581
  collection :identities, as: 'identities'
562
582
  property :identity_type, as: 'identityType'
583
+ property :source_restriction, as: 'sourceRestriction'
584
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
585
+
563
586
  end
564
587
  end
565
588
 
@@ -573,6 +596,13 @@ module Google
573
596
  end
574
597
  end
575
598
 
599
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :access_level, as: 'accessLevel'
603
+ end
604
+ end
605
+
576
606
  class GoogleIdentityAccesscontextmanagerV1EgressTo
577
607
  # @private
578
608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +705,22 @@ module Google
675
705
  end
676
706
  end
677
707
 
708
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
712
+
713
+ end
714
+ end
715
+
716
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :network, as: 'network'
720
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
721
+ end
722
+ end
723
+
678
724
  class Operation
679
725
  # @private
680
726
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1p7beta1
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_v1p7beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1
63
63
  post_install_message:
64
64
  rdoc_options: []