google-apis-cloudasset_v1beta1 0.31.0 → 0.33.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: 914206c311912b4d76c01746790c49836af6d05dff4575d4eb4b394f0142c316
4
- data.tar.gz: b61e57e7075058d09c2b918bf4249b7927ccc756dccc89772434d3c54323c6b3
3
+ metadata.gz: 74095ce407aa483f9096d0189cabb982c1871780c9d4cfb6a0a4bbe7cd249abb
4
+ data.tar.gz: 027c3ce8edfe5d325e367a1c736b9078a680b6f2bc5aa0960dfde880994184c7
5
5
  SHA512:
6
- metadata.gz: 1c8145d4ce835787d65c5613b4ff2b0ae1ff3fcb7a0eaabe229fc0b98283551e1a44396c38f70d0c8f28c024f613e4c1d3d84faffdcb675737696f2fe76d694b
7
- data.tar.gz: '0865b230dbf89f8fb68b43dffe1dbd852a7a55cefb3071fc93cb530b8ceaa680e32c364ce4d90125cec5d24f0ab1d3a034d12e8364dfc5b8185b05814a29099a'
6
+ metadata.gz: b1dc83d8253c576d1607d3157ff65ed6c1732ac182c2de40e9b979851dfcb8163198c24469ca9d03d78921c30d61df0cecb5d84e38ca4a9a6fe5f76913fcb8a8
7
+ data.tar.gz: ae53c1c8ffce51eb3c961bd7e3de5ab4609e2613f3aadee28f159303b934c22b272e000679974e1180e6f1e97303455d6cffc61ef2e86b239f6f5ff6fbc7186c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudasset_v1beta1
2
2
 
3
+ ### v0.33.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231214
6
+
7
+ ### v0.32.0 (2023-09-17)
8
+
9
+ * Regenerated from discovery document revision 20230908
10
+
3
11
  ### v0.31.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230902
@@ -299,21 +299,43 @@ module Google
299
299
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
300
300
  # email address that represents a Google group. For example, `admins@example.com`
301
301
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
302
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
303
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
304
- # representing a user that has been recently deleted. For example, `alice@
305
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
306
- # reverts to `user:`emailid`` and the recovered user retains the role in the
307
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
308
- # (plus unique identifier) representing a service account that has been recently
309
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
302
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
303
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
304
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
305
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
306
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
307
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
308
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
309
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
310
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
311
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
312
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
313
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
314
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
315
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
316
+ # googleapis.com/projects/`project_number`/locations/global/
317
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
318
+ # All identities in a workload identity pool with a certain attribute. * `
319
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
320
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
321
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
322
+ # identifier) representing a user that has been recently deleted. For example, `
323
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
324
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
325
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
326
+ # address (plus unique identifier) representing a service account that has been
327
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
310
328
  # 123456789012345678901`. If the service account is undeleted, this value
311
329
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
312
330
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
313
331
  # An email address (plus unique identifier) representing a Google group that has
314
332
  # been recently deleted. For example, `admins@example.com?uid=
315
333
  # 123456789012345678901`. If the group is recovered, this value reverts to `
316
- # group:`emailid`` and the recovered group retains the role in the binding.
334
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
335
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
336
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
337
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
338
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
317
339
  # Corresponds to the JSON property `members`
318
340
  # @return [Array<String>]
319
341
  attr_accessor :members
@@ -1298,6 +1320,12 @@ module Google
1298
1320
  # @return [Array<String>]
1299
1321
  attr_accessor :required_access_levels
1300
1322
 
1323
+ # The request must originate from one of the provided VPC networks in Google
1324
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1325
+ # Corresponds to the JSON property `vpcNetworkSources`
1326
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1327
+ attr_accessor :vpc_network_sources
1328
+
1301
1329
  def initialize(**args)
1302
1330
  update!(**args)
1303
1331
  end
@@ -1310,6 +1338,7 @@ module Google
1310
1338
  @negate = args[:negate] if args.key?(:negate)
1311
1339
  @regions = args[:regions] if args.key?(:regions)
1312
1340
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1341
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1313
1342
  end
1314
1343
  end
1315
1344
 
@@ -1430,6 +1459,19 @@ module Google
1430
1459
  # @return [String]
1431
1460
  attr_accessor :identity_type
1432
1461
 
1462
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1463
+ # sources` fields is non-empty, then this field must be set to `
1464
+ # SOURCE_RESTRICTION_ENABLED`.
1465
+ # Corresponds to the JSON property `sourceRestriction`
1466
+ # @return [String]
1467
+ attr_accessor :source_restriction
1468
+
1469
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1470
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1471
+ # Corresponds to the JSON property `sources`
1472
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1473
+ attr_accessor :sources
1474
+
1433
1475
  def initialize(**args)
1434
1476
  update!(**args)
1435
1477
  end
@@ -1438,6 +1480,8 @@ module Google
1438
1480
  def update!(**args)
1439
1481
  @identities = args[:identities] if args.key?(:identities)
1440
1482
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1483
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1484
+ @sources = args[:sources] if args.key?(:sources)
1441
1485
  end
1442
1486
  end
1443
1487
 
@@ -1487,6 +1531,33 @@ module Google
1487
1531
  end
1488
1532
  end
1489
1533
 
1534
+ # The source that EgressPolicy authorizes access from inside the
1535
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1536
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # An AccessLevel resource name that allows protected resources inside the
1540
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1541
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1542
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1543
+ # name is not specified, only resources within the perimeter can be accessed
1544
+ # through Google Cloud calls with request origins within the perimeter. Example:
1545
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1546
+ # for `access_level`, then all EgressSources will be allowed.
1547
+ # Corresponds to the JSON property `accessLevel`
1548
+ # @return [String]
1549
+ attr_accessor :access_level
1550
+
1551
+ def initialize(**args)
1552
+ update!(**args)
1553
+ end
1554
+
1555
+ # Update properties of this object
1556
+ def update!(**args)
1557
+ @access_level = args[:access_level] if args.key?(:access_level)
1558
+ end
1559
+ end
1560
+
1490
1561
  # Defines the conditions under which an EgressPolicy matches a request.
1491
1562
  # Conditions are based on information about the ApiOperation intended to be
1492
1563
  # performed on the `resources` specified. Note that if the destination of the
@@ -1925,6 +1996,59 @@ module Google
1925
1996
  end
1926
1997
  end
1927
1998
 
1999
+ # The originating network source in Google Cloud.
2000
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
2001
+ include Google::Apis::Core::Hashable
2002
+
2003
+ # Sub-segment ranges inside of a VPC Network.
2004
+ # Corresponds to the JSON property `vpcSubnetwork`
2005
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
2006
+ attr_accessor :vpc_subnetwork
2007
+
2008
+ def initialize(**args)
2009
+ update!(**args)
2010
+ end
2011
+
2012
+ # Update properties of this object
2013
+ def update!(**args)
2014
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
2015
+ end
2016
+ end
2017
+
2018
+ # Sub-segment ranges inside of a VPC Network.
2019
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
2020
+ include Google::Apis::Core::Hashable
2021
+
2022
+ # Required. Network name. If the network is not part of the organization, the `
2023
+ # compute.network.get` permission must be granted to the caller. Format: `//
2024
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
2025
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
2026
+ # 1`
2027
+ # Corresponds to the JSON property `network`
2028
+ # @return [String]
2029
+ attr_accessor :network
2030
+
2031
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
2032
+ # and can be a public or private IP address. Note that for a CIDR IP address
2033
+ # block, the specified IP address portion must be properly truncated (i.e. all
2034
+ # the host bits must be zero) or the input is considered malformed. For example,
2035
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
2036
+ # addresses are allowed.
2037
+ # Corresponds to the JSON property `vpcIpSubnetworks`
2038
+ # @return [Array<String>]
2039
+ attr_accessor :vpc_ip_subnetworks
2040
+
2041
+ def initialize(**args)
2042
+ update!(**args)
2043
+ end
2044
+
2045
+ # Update properties of this object
2046
+ def update!(**args)
2047
+ @network = args[:network] if args.key?(:network)
2048
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
2049
+ end
2050
+ end
2051
+
1928
2052
  # This resource represents a long-running operation that is the result of a
1929
2053
  # network API call.
1930
2054
  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.33.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 = "20231214"
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.33.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-12-24 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.33.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: []