google-apis-cloudasset_v1beta1 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: 914206c311912b4d76c01746790c49836af6d05dff4575d4eb4b394f0142c316
4
- data.tar.gz: b61e57e7075058d09c2b918bf4249b7927ccc756dccc89772434d3c54323c6b3
3
+ metadata.gz: b6f73c65828cf3026d731eb9a159e1e80e08962f35be200391cd947cc0eab951
4
+ data.tar.gz: a9daf27e8903e93aafad0b4b1f935ff8016ccfc616a74f7bec5c95d724cb082f
5
5
  SHA512:
6
- metadata.gz: 1c8145d4ce835787d65c5613b4ff2b0ae1ff3fcb7a0eaabe229fc0b98283551e1a44396c38f70d0c8f28c024f613e4c1d3d84faffdcb675737696f2fe76d694b
7
- data.tar.gz: '0865b230dbf89f8fb68b43dffe1dbd852a7a55cefb3071fc93cb530b8ceaa680e32c364ce4d90125cec5d24f0ab1d3a034d12e8364dfc5b8185b05814a29099a'
6
+ metadata.gz: 6ceaccb66c48e8837d51697c60446d060c74029038fdae972adc58f65f0e611e21e2b78f32ecab77cd5073837ca1064c05351fe05fcb9fd14942d0937a1c0345
7
+ data.tar.gz: 0bb62bae91df9fa3b41292a55b8aafffb1c8dfe652cebde711652c965d2dfed774e80b78805f2eb277f03257034bfa166810ea0fa1dbf2e62a37c84912fbff25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1beta1
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
@@ -1298,6 +1298,12 @@ module Google
1298
1298
  # @return [Array<String>]
1299
1299
  attr_accessor :required_access_levels
1300
1300
 
1301
+ # The request must originate from one of the provided VPC networks in Google
1302
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1303
+ # Corresponds to the JSON property `vpcNetworkSources`
1304
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1305
+ attr_accessor :vpc_network_sources
1306
+
1301
1307
  def initialize(**args)
1302
1308
  update!(**args)
1303
1309
  end
@@ -1310,6 +1316,7 @@ module Google
1310
1316
  @negate = args[:negate] if args.key?(:negate)
1311
1317
  @regions = args[:regions] if args.key?(:regions)
1312
1318
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1319
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1313
1320
  end
1314
1321
  end
1315
1322
 
@@ -1430,6 +1437,19 @@ module Google
1430
1437
  # @return [String]
1431
1438
  attr_accessor :identity_type
1432
1439
 
1440
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1441
+ # sources` fields is non-empty, then this field must be set to `
1442
+ # SOURCE_RESTRICTION_ENABLED`.
1443
+ # Corresponds to the JSON property `sourceRestriction`
1444
+ # @return [String]
1445
+ attr_accessor :source_restriction
1446
+
1447
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1448
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1449
+ # Corresponds to the JSON property `sources`
1450
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1451
+ attr_accessor :sources
1452
+
1433
1453
  def initialize(**args)
1434
1454
  update!(**args)
1435
1455
  end
@@ -1438,6 +1458,8 @@ module Google
1438
1458
  def update!(**args)
1439
1459
  @identities = args[:identities] if args.key?(:identities)
1440
1460
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1461
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1462
+ @sources = args[:sources] if args.key?(:sources)
1441
1463
  end
1442
1464
  end
1443
1465
 
@@ -1487,6 +1509,33 @@ module Google
1487
1509
  end
1488
1510
  end
1489
1511
 
1512
+ # The source that EgressPolicy authorizes access from inside the
1513
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1514
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1515
+ include Google::Apis::Core::Hashable
1516
+
1517
+ # An AccessLevel resource name that allows protected resources inside the
1518
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1519
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1520
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1521
+ # name is not specified, only resources within the perimeter can be accessed
1522
+ # through Google Cloud calls with request origins within the perimeter. Example:
1523
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1524
+ # for `access_level`, then all EgressSources will be allowed.
1525
+ # Corresponds to the JSON property `accessLevel`
1526
+ # @return [String]
1527
+ attr_accessor :access_level
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @access_level = args[:access_level] if args.key?(:access_level)
1536
+ end
1537
+ end
1538
+
1490
1539
  # Defines the conditions under which an EgressPolicy matches a request.
1491
1540
  # Conditions are based on information about the ApiOperation intended to be
1492
1541
  # performed on the `resources` specified. Note that if the destination of the
@@ -1925,6 +1974,59 @@ module Google
1925
1974
  end
1926
1975
  end
1927
1976
 
1977
+ # The originating network source in Google Cloud.
1978
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1979
+ include Google::Apis::Core::Hashable
1980
+
1981
+ # Sub-segment ranges inside of a VPC Network.
1982
+ # Corresponds to the JSON property `vpcSubnetwork`
1983
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
1984
+ attr_accessor :vpc_subnetwork
1985
+
1986
+ def initialize(**args)
1987
+ update!(**args)
1988
+ end
1989
+
1990
+ # Update properties of this object
1991
+ def update!(**args)
1992
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
1993
+ end
1994
+ end
1995
+
1996
+ # Sub-segment ranges inside of a VPC Network.
1997
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
1998
+ include Google::Apis::Core::Hashable
1999
+
2000
+ # Required. Network name. If the network is not part of the organization, the `
2001
+ # compute.network.get` permission must be granted to the caller. Format: `//
2002
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
2003
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
2004
+ # 1`
2005
+ # Corresponds to the JSON property `network`
2006
+ # @return [String]
2007
+ attr_accessor :network
2008
+
2009
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
2010
+ # and can be a public or private IP address. Note that for a CIDR IP address
2011
+ # block, the specified IP address portion must be properly truncated (i.e. all
2012
+ # the host bits must be zero) or the input is considered malformed. For example,
2013
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
2014
+ # addresses are allowed.
2015
+ # Corresponds to the JSON property `vpcIpSubnetworks`
2016
+ # @return [Array<String>]
2017
+ attr_accessor :vpc_ip_subnetworks
2018
+
2019
+ def initialize(**args)
2020
+ update!(**args)
2021
+ end
2022
+
2023
+ # Update properties of this object
2024
+ def update!(**args)
2025
+ @network = args[:network] if args.key?(:network)
2026
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
2027
+ end
2028
+ end
2029
+
1928
2030
  # This resource represents a long-running operation that is the result of a
1929
2031
  # network API call.
1930
2032
  class Operation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1beta1
18
18
  # Version of the google-apis-cloudasset_v1beta1 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
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class GoogleIdentityAccesscontextmanagerV1EgressTo
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -250,6 +256,18 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
253
271
  class Operation
254
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
273
 
@@ -547,6 +565,8 @@ module Google
547
565
  property :negate, as: 'negate'
548
566
  collection :regions, as: 'regions'
549
567
  collection :required_access_levels, as: 'requiredAccessLevels'
568
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
569
+
550
570
  end
551
571
  end
552
572
 
@@ -576,6 +596,9 @@ module Google
576
596
  class Representation < Google::Apis::Core::JsonRepresentation
577
597
  collection :identities, as: 'identities'
578
598
  property :identity_type, as: 'identityType'
599
+ property :source_restriction, as: 'sourceRestriction'
600
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
601
+
579
602
  end
580
603
  end
581
604
 
@@ -589,6 +612,13 @@ module Google
589
612
  end
590
613
  end
591
614
 
615
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :access_level, as: 'accessLevel'
619
+ end
620
+ end
621
+
592
622
  class GoogleIdentityAccesscontextmanagerV1EgressTo
593
623
  # @private
594
624
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,6 +721,22 @@ module Google
691
721
  end
692
722
  end
693
723
 
724
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
728
+
729
+ end
730
+ end
731
+
732
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :network, as: 'network'
736
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
737
+ end
738
+ end
739
+
694
740
  class Operation
695
741
  # @private
696
742
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1beta1
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []