google-apis-cloudasset_v1beta1 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: 9d93379330933233da83ee14daff6e81fbfbd586e7422cd238cdf82785b6faac
4
- data.tar.gz: a0dba5f56e37c5252f0fe2571470c5e9418973925ee73fcf32c255ef7476b1f2
3
+ metadata.gz: b6f73c65828cf3026d731eb9a159e1e80e08962f35be200391cd947cc0eab951
4
+ data.tar.gz: a9daf27e8903e93aafad0b4b1f935ff8016ccfc616a74f7bec5c95d724cb082f
5
5
  SHA512:
6
- metadata.gz: 55cf0aa8fe0c4580e76c4f10262b4eaf9ad5f45b92a5f767311d76ebe8e18ca4173180f172b38d10afc4efcf71018de196767bcfac9761b7b442839f7d828a7b
7
- data.tar.gz: 196a6a01c950684630fca6891d108098d79e12f782c949643d52802bea8d96fbcff3f0fb008d4594ea83bfc533f6238b0c7de1a877cb1ba6362291f8e0182ef5
6
+ metadata.gz: 6ceaccb66c48e8837d51697c60446d060c74029038fdae972adc58f65f0e611e21e2b78f32ecab77cd5073837ca1064c05351fe05fcb9fd14942d0937a1c0345
7
+ data.tar.gz: 0bb62bae91df9fa3b41292a55b8aafffb1c8dfe652cebde711652c965d2dfed774e80b78805f2eb277f03257034bfa166810ea0fa1dbf2e62a37c84912fbff25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
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
@@ -1146,17 +1146,16 @@ module Google
1146
1146
  # @return [String]
1147
1147
  attr_accessor :parent
1148
1148
 
1149
- # The scopes of a policy define which resources an ACM policy can restrict, and
1150
- # where ACM resources can be referenced. For example, a policy with scopes=["
1151
- # folders/123"] has the following behavior: - vpcsc perimeters can only restrict
1152
- # projects within folders/123 - access levels can only be referenced by
1153
- # resources within folders/123. If empty, there are no limitations on which
1154
- # resources can be restricted by an ACM policy, and there are no limitations on
1155
- # where ACM resources can be referenced. Only one policy can include a given
1156
- # scope (attempting to create a second policy which includes "folders/123" will
1157
- # result in an error). Currently, scopes cannot be modified after a policy is
1158
- # created. Currently, policies can only have a single scope. Format: list of `
1159
- # folders/`folder_number`` or `projects/`project_number``
1149
+ # The scopes of the AccessPolicy. Scopes define which resources a policy can
1150
+ # restrict and where its resources can be referenced. For example, policy A with
1151
+ # `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can
1152
+ # only restrict projects within `folders/123`. - ServicePerimeter within policy
1153
+ # A can only reference access levels defined within policy A. - Only one policy
1154
+ # can include a given scope; thus, attempting to create a second policy which
1155
+ # includes `folders/123` will result in an error. If no scopes are provided,
1156
+ # then any resource within the organization can be restricted. Scopes cannot be
1157
+ # modified after a policy is created. Policies can only have a single scope.
1158
+ # Format: list of `folders/`folder_number`` or `projects/`project_number``
1160
1159
  # Corresponds to the JSON property `scopes`
1161
1160
  # @return [Array<String>]
1162
1161
  attr_accessor :scopes
@@ -1299,6 +1298,12 @@ module Google
1299
1298
  # @return [Array<String>]
1300
1299
  attr_accessor :required_access_levels
1301
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
+
1302
1307
  def initialize(**args)
1303
1308
  update!(**args)
1304
1309
  end
@@ -1311,6 +1316,7 @@ module Google
1311
1316
  @negate = args[:negate] if args.key?(:negate)
1312
1317
  @regions = args[:regions] if args.key?(:regions)
1313
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)
1314
1320
  end
1315
1321
  end
1316
1322
 
@@ -1431,6 +1437,19 @@ module Google
1431
1437
  # @return [String]
1432
1438
  attr_accessor :identity_type
1433
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
+
1434
1453
  def initialize(**args)
1435
1454
  update!(**args)
1436
1455
  end
@@ -1439,6 +1458,8 @@ module Google
1439
1458
  def update!(**args)
1440
1459
  @identities = args[:identities] if args.key?(:identities)
1441
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)
1442
1463
  end
1443
1464
  end
1444
1465
 
@@ -1488,6 +1509,33 @@ module Google
1488
1509
  end
1489
1510
  end
1490
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
+
1491
1539
  # Defines the conditions under which an EgressPolicy matches a request.
1492
1540
  # Conditions are based on information about the ApiOperation intended to be
1493
1541
  # performed on the `resources` specified. Note that if the destination of the
@@ -1926,6 +1974,59 @@ module Google
1926
1974
  end
1927
1975
  end
1928
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
+
1929
2030
  # This resource represents a long-running operation that is the result of a
1930
2031
  # network API call.
1931
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.30.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 = "20230805"
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.30.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-08-13 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.30.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: []
@@ -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.2
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 V1beta1