google-apis-cloudasset_v1p5beta1 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: af5418dda9c07809cad4719e248d43bc4015d83377a74b2a8c35a6b256931432
4
- data.tar.gz: 20d14ba6f9084892570bc6c52aca8c1ea80da8b8977e5e0b3560f0b4d5905262
3
+ metadata.gz: 48d760d1d053956bc4913e910fa0f2e0a9a6b8d48106d5da1a2ddd402a96a8eb
4
+ data.tar.gz: 61359af4dab25d24e13ce0a7e01454a7a333aacacbe05567934da3abf7975269
5
5
  SHA512:
6
- metadata.gz: 1c8712e64cb2e7feb5ad924a648de731f52a6eb87f964ba54d9203b8acc8b9acd14ef8a971e068baad25b5910e4285cd1851e4e52d76a34be2f51fdb359a2221
7
- data.tar.gz: e681b8d3fa3415e7ab3a7616d43bc7814f1377d2d475afe688806338c88d9d4e688068ae5da6c27cf59aa5367316e782f88e6163288c96e2a3c560c75a08d00e
6
+ metadata.gz: a0aa605f379cff026135eda5552587c87f7fd5f64fafeeb3f2e2d9cbc9519634604d5317ee84d025e52e47f532dbd5251957892cc622e3188539f9703a6bf9dc
7
+ data.tar.gz: 00652f43109788dd9b9b4cff09db768a20dcee9d9c60ba19219787268d0fdef27e8b43f490b8a4307ce48094f9794c6cf9abf6bb72e18b9e5677f8aebdf44d56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudasset_v1p5beta1
2
2
 
3
+ ### v0.32.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231214
6
+
7
+ ### v0.31.0 (2023-09-17)
8
+
9
+ * Regenerated from discovery document revision 20230908
10
+
3
11
  ### v0.30.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230902
@@ -291,21 +291,43 @@ module Google
291
291
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
292
292
  # email address that represents a Google group. For example, `admins@example.com`
293
293
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
294
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
295
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
296
- # representing a user that has been recently deleted. For example, `alice@
297
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
298
- # reverts to `user:`emailid`` and the recovered user retains the role in the
299
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
300
- # (plus unique identifier) representing a service account that has been recently
301
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
294
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
295
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
296
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
297
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
298
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
299
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
300
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
301
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
302
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
303
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
304
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
305
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
306
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
307
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
308
+ # googleapis.com/projects/`project_number`/locations/global/
309
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
310
+ # All identities in a workload identity pool with a certain attribute. * `
311
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
312
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
313
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
314
+ # identifier) representing a user that has been recently deleted. For example, `
315
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
316
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
317
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
318
+ # address (plus unique identifier) representing a service account that has been
319
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
302
320
  # 123456789012345678901`. If the service account is undeleted, this value
303
321
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
304
322
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
305
323
  # An email address (plus unique identifier) representing a Google group that has
306
324
  # been recently deleted. For example, `admins@example.com?uid=
307
325
  # 123456789012345678901`. If the group is recovered, this value reverts to `
308
- # group:`emailid`` and the recovered group retains the role in the binding.
326
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
327
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
328
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
329
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
330
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
309
331
  # Corresponds to the JSON property `members`
310
332
  # @return [Array<String>]
311
333
  attr_accessor :members
@@ -1211,6 +1233,12 @@ module Google
1211
1233
  # @return [Array<String>]
1212
1234
  attr_accessor :required_access_levels
1213
1235
 
1236
+ # The request must originate from one of the provided VPC networks in Google
1237
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1238
+ # Corresponds to the JSON property `vpcNetworkSources`
1239
+ # @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1240
+ attr_accessor :vpc_network_sources
1241
+
1214
1242
  def initialize(**args)
1215
1243
  update!(**args)
1216
1244
  end
@@ -1223,6 +1251,7 @@ module Google
1223
1251
  @negate = args[:negate] if args.key?(:negate)
1224
1252
  @regions = args[:regions] if args.key?(:regions)
1225
1253
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1254
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1226
1255
  end
1227
1256
  end
1228
1257
 
@@ -1343,6 +1372,19 @@ module Google
1343
1372
  # @return [String]
1344
1373
  attr_accessor :identity_type
1345
1374
 
1375
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1376
+ # sources` fields is non-empty, then this field must be set to `
1377
+ # SOURCE_RESTRICTION_ENABLED`.
1378
+ # Corresponds to the JSON property `sourceRestriction`
1379
+ # @return [String]
1380
+ attr_accessor :source_restriction
1381
+
1382
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1383
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1384
+ # Corresponds to the JSON property `sources`
1385
+ # @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1386
+ attr_accessor :sources
1387
+
1346
1388
  def initialize(**args)
1347
1389
  update!(**args)
1348
1390
  end
@@ -1351,6 +1393,8 @@ module Google
1351
1393
  def update!(**args)
1352
1394
  @identities = args[:identities] if args.key?(:identities)
1353
1395
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1396
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1397
+ @sources = args[:sources] if args.key?(:sources)
1354
1398
  end
1355
1399
  end
1356
1400
 
@@ -1400,6 +1444,33 @@ module Google
1400
1444
  end
1401
1445
  end
1402
1446
 
1447
+ # The source that EgressPolicy authorizes access from inside the
1448
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1449
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1450
+ include Google::Apis::Core::Hashable
1451
+
1452
+ # An AccessLevel resource name that allows protected resources inside the
1453
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1454
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1455
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1456
+ # name is not specified, only resources within the perimeter can be accessed
1457
+ # through Google Cloud calls with request origins within the perimeter. Example:
1458
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1459
+ # for `access_level`, then all EgressSources will be allowed.
1460
+ # Corresponds to the JSON property `accessLevel`
1461
+ # @return [String]
1462
+ attr_accessor :access_level
1463
+
1464
+ def initialize(**args)
1465
+ update!(**args)
1466
+ end
1467
+
1468
+ # Update properties of this object
1469
+ def update!(**args)
1470
+ @access_level = args[:access_level] if args.key?(:access_level)
1471
+ end
1472
+ end
1473
+
1403
1474
  # Defines the conditions under which an EgressPolicy matches a request.
1404
1475
  # Conditions are based on information about the ApiOperation intended to be
1405
1476
  # performed on the `resources` specified. Note that if the destination of the
@@ -1838,6 +1909,59 @@ module Google
1838
1909
  end
1839
1910
  end
1840
1911
 
1912
+ # The originating network source in Google Cloud.
1913
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1914
+ include Google::Apis::Core::Hashable
1915
+
1916
+ # Sub-segment ranges inside of a VPC Network.
1917
+ # Corresponds to the JSON property `vpcSubnetwork`
1918
+ # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
1919
+ attr_accessor :vpc_subnetwork
1920
+
1921
+ def initialize(**args)
1922
+ update!(**args)
1923
+ end
1924
+
1925
+ # Update properties of this object
1926
+ def update!(**args)
1927
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
1928
+ end
1929
+ end
1930
+
1931
+ # Sub-segment ranges inside of a VPC Network.
1932
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
1933
+ include Google::Apis::Core::Hashable
1934
+
1935
+ # Required. Network name. If the network is not part of the organization, the `
1936
+ # compute.network.get` permission must be granted to the caller. Format: `//
1937
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
1938
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
1939
+ # 1`
1940
+ # Corresponds to the JSON property `network`
1941
+ # @return [String]
1942
+ attr_accessor :network
1943
+
1944
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
1945
+ # and can be a public or private IP address. Note that for a CIDR IP address
1946
+ # block, the specified IP address portion must be properly truncated (i.e. all
1947
+ # the host bits must be zero) or the input is considered malformed. For example,
1948
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
1949
+ # addresses are allowed.
1950
+ # Corresponds to the JSON property `vpcIpSubnetworks`
1951
+ # @return [Array<String>]
1952
+ attr_accessor :vpc_ip_subnetworks
1953
+
1954
+ def initialize(**args)
1955
+ update!(**args)
1956
+ end
1957
+
1958
+ # Update properties of this object
1959
+ def update!(**args)
1960
+ @network = args[:network] if args.key?(:network)
1961
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
1962
+ end
1963
+ end
1964
+
1841
1965
  # ListAssets response.
1842
1966
  class ListAssetsResponse
1843
1967
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p5beta1
18
18
  # Version of the google-apis-cloudasset_v1p5beta1 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 = "20230902"
25
+ REVISION = "20231214"
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 ListAssetsResponse
236
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
255
 
@@ -479,6 +497,8 @@ module Google
479
497
  property :negate, as: 'negate'
480
498
  collection :regions, as: 'regions'
481
499
  collection :required_access_levels, as: 'requiredAccessLevels'
500
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
501
+
482
502
  end
483
503
  end
484
504
 
@@ -508,6 +528,9 @@ module Google
508
528
  class Representation < Google::Apis::Core::JsonRepresentation
509
529
  collection :identities, as: 'identities'
510
530
  property :identity_type, as: 'identityType'
531
+ property :source_restriction, as: 'sourceRestriction'
532
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
533
+
511
534
  end
512
535
  end
513
536
 
@@ -521,6 +544,13 @@ module Google
521
544
  end
522
545
  end
523
546
 
547
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :access_level, as: 'accessLevel'
551
+ end
552
+ end
553
+
524
554
  class GoogleIdentityAccesscontextmanagerV1EgressTo
525
555
  # @private
526
556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +653,22 @@ module Google
623
653
  end
624
654
  end
625
655
 
656
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
660
+
661
+ end
662
+ end
663
+
664
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :network, as: 'network'
668
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
669
+ end
670
+ end
671
+
626
672
  class ListAssetsResponse
627
673
  # @private
628
674
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1p5beta1
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-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_v1p5beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p5beta1
63
63
  post_install_message:
64
64
  rdoc_options: []