google-apis-cloudasset_v1p1beta1 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: 7132264aa7d7875f8edfb0d564c7488f9c06c250c52f9aa8bd75fe5e4a23bdd9
4
- data.tar.gz: e1d9c743d67c8fea29499ad8e95219d10ed2e29a80aa8f57a11afb852d48dade
3
+ metadata.gz: 5d28b92bb530afbaf79348daef1f5c588ee7399807b572a37af5d896c517ceed
4
+ data.tar.gz: 4c55608b30980e9cc33755b3700462a064a2feb8eb9b5c72c9ff0367a382eda4
5
5
  SHA512:
6
- metadata.gz: de0b32175f1b38a1b88b9386d7ee01b9bc33fe342668a1e34a72706479bcb68dfe58315d36da41833adf1b82b3437ec5ba952006ebff468deb828fe1e651a732
7
- data.tar.gz: 43f4c4c474094967d1443b77c26f418d425c30f62fb6e3b7443a6c5bfdde488363cd5f08121a7dc40c0a0d9f38f1ee64c91877b40d99b5a5af03deb953378aa8
6
+ metadata.gz: adb606e0c3a2c6570588ec64dc304696456faa962027629e4c631aed48d016d14af2076bfefd14a3d496f85c402b2407ebd43a6c1e26c4b9925896c6766f3cb6
7
+ data.tar.gz: c7adc7c6560c3b10ae3671a84329de2c44fc946fc9e743f572286a6d53d08f208f5f699b0fc958dd2ed6373e04e51cc8b7265f692b53feecbba8eae5c2ae8ee9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudasset_v1p1beta1
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
@@ -165,21 +165,43 @@ module Google
165
165
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
166
166
  # email address that represents a Google group. For example, `admins@example.com`
167
167
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
168
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
169
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
170
- # representing a user that has been recently deleted. For example, `alice@
171
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
172
- # reverts to `user:`emailid`` and the recovered user retains the role in the
173
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
174
- # (plus unique identifier) representing a service account that has been recently
175
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
168
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
169
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
170
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
171
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
172
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
173
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
174
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
175
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
176
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
177
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
178
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
179
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
180
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
181
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
182
+ # googleapis.com/projects/`project_number`/locations/global/
183
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
184
+ # All identities in a workload identity pool with a certain attribute. * `
185
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
186
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
187
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
188
+ # identifier) representing a user that has been recently deleted. For example, `
189
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
190
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
191
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
192
+ # address (plus unique identifier) representing a service account that has been
193
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
176
194
  # 123456789012345678901`. If the service account is undeleted, this value
177
195
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
178
196
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
179
197
  # An email address (plus unique identifier) representing a Google group that has
180
198
  # been recently deleted. For example, `admins@example.com?uid=
181
199
  # 123456789012345678901`. If the group is recovered, this value reverts to `
182
- # group:`emailid`` and the recovered group retains the role in the binding.
200
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
201
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
202
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
203
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
204
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
183
205
  # Corresponds to the JSON property `members`
184
206
  # @return [Array<String>]
185
207
  attr_accessor :members
@@ -1108,6 +1130,12 @@ module Google
1108
1130
  # @return [Array<String>]
1109
1131
  attr_accessor :required_access_levels
1110
1132
 
1133
+ # The request must originate from one of the provided VPC networks in Google
1134
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1135
+ # Corresponds to the JSON property `vpcNetworkSources`
1136
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1137
+ attr_accessor :vpc_network_sources
1138
+
1111
1139
  def initialize(**args)
1112
1140
  update!(**args)
1113
1141
  end
@@ -1120,6 +1148,7 @@ module Google
1120
1148
  @negate = args[:negate] if args.key?(:negate)
1121
1149
  @regions = args[:regions] if args.key?(:regions)
1122
1150
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1151
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1123
1152
  end
1124
1153
  end
1125
1154
 
@@ -1240,6 +1269,19 @@ module Google
1240
1269
  # @return [String]
1241
1270
  attr_accessor :identity_type
1242
1271
 
1272
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1273
+ # sources` fields is non-empty, then this field must be set to `
1274
+ # SOURCE_RESTRICTION_ENABLED`.
1275
+ # Corresponds to the JSON property `sourceRestriction`
1276
+ # @return [String]
1277
+ attr_accessor :source_restriction
1278
+
1279
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1280
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1281
+ # Corresponds to the JSON property `sources`
1282
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1283
+ attr_accessor :sources
1284
+
1243
1285
  def initialize(**args)
1244
1286
  update!(**args)
1245
1287
  end
@@ -1248,6 +1290,8 @@ module Google
1248
1290
  def update!(**args)
1249
1291
  @identities = args[:identities] if args.key?(:identities)
1250
1292
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1293
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1294
+ @sources = args[:sources] if args.key?(:sources)
1251
1295
  end
1252
1296
  end
1253
1297
 
@@ -1297,6 +1341,33 @@ module Google
1297
1341
  end
1298
1342
  end
1299
1343
 
1344
+ # The source that EgressPolicy authorizes access from inside the
1345
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1346
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1347
+ include Google::Apis::Core::Hashable
1348
+
1349
+ # An AccessLevel resource name that allows protected resources inside the
1350
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1351
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1352
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1353
+ # name is not specified, only resources within the perimeter can be accessed
1354
+ # through Google Cloud calls with request origins within the perimeter. Example:
1355
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1356
+ # for `access_level`, then all EgressSources will be allowed.
1357
+ # Corresponds to the JSON property `accessLevel`
1358
+ # @return [String]
1359
+ attr_accessor :access_level
1360
+
1361
+ def initialize(**args)
1362
+ update!(**args)
1363
+ end
1364
+
1365
+ # Update properties of this object
1366
+ def update!(**args)
1367
+ @access_level = args[:access_level] if args.key?(:access_level)
1368
+ end
1369
+ end
1370
+
1300
1371
  # Defines the conditions under which an EgressPolicy matches a request.
1301
1372
  # Conditions are based on information about the ApiOperation intended to be
1302
1373
  # performed on the `resources` specified. Note that if the destination of the
@@ -1735,6 +1806,59 @@ module Google
1735
1806
  end
1736
1807
  end
1737
1808
 
1809
+ # The originating network source in Google Cloud.
1810
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1811
+ include Google::Apis::Core::Hashable
1812
+
1813
+ # Sub-segment ranges inside of a VPC Network.
1814
+ # Corresponds to the JSON property `vpcSubnetwork`
1815
+ # @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
1816
+ attr_accessor :vpc_subnetwork
1817
+
1818
+ def initialize(**args)
1819
+ update!(**args)
1820
+ end
1821
+
1822
+ # Update properties of this object
1823
+ def update!(**args)
1824
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
1825
+ end
1826
+ end
1827
+
1828
+ # Sub-segment ranges inside of a VPC Network.
1829
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
1830
+ include Google::Apis::Core::Hashable
1831
+
1832
+ # Required. Network name. If the network is not part of the organization, the `
1833
+ # compute.network.get` permission must be granted to the caller. Format: `//
1834
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
1835
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
1836
+ # 1`
1837
+ # Corresponds to the JSON property `network`
1838
+ # @return [String]
1839
+ attr_accessor :network
1840
+
1841
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
1842
+ # and can be a public or private IP address. Note that for a CIDR IP address
1843
+ # block, the specified IP address portion must be properly truncated (i.e. all
1844
+ # the host bits must be zero) or the input is considered malformed. For example,
1845
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
1846
+ # addresses are allowed.
1847
+ # Corresponds to the JSON property `vpcIpSubnetworks`
1848
+ # @return [Array<String>]
1849
+ attr_accessor :vpc_ip_subnetworks
1850
+
1851
+ def initialize(**args)
1852
+ update!(**args)
1853
+ end
1854
+
1855
+ # Update properties of this object
1856
+ def update!(**args)
1857
+ @network = args[:network] if args.key?(:network)
1858
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
1859
+ end
1860
+ end
1861
+
1738
1862
  # The result for an IAM policy search.
1739
1863
  class IamPolicySearchResult
1740
1864
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p1beta1
18
18
  # Version of the google-apis-cloudasset_v1p1beta1 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
@@ -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 IamPolicySearchResult
236
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
255
 
@@ -484,6 +502,8 @@ module Google
484
502
  property :negate, as: 'negate'
485
503
  collection :regions, as: 'regions'
486
504
  collection :required_access_levels, as: 'requiredAccessLevels'
505
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
506
+
487
507
  end
488
508
  end
489
509
 
@@ -513,6 +533,9 @@ module Google
513
533
  class Representation < Google::Apis::Core::JsonRepresentation
514
534
  collection :identities, as: 'identities'
515
535
  property :identity_type, as: 'identityType'
536
+ property :source_restriction, as: 'sourceRestriction'
537
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
538
+
516
539
  end
517
540
  end
518
541
 
@@ -526,6 +549,13 @@ module Google
526
549
  end
527
550
  end
528
551
 
552
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :access_level, as: 'accessLevel'
556
+ end
557
+ end
558
+
529
559
  class GoogleIdentityAccesscontextmanagerV1EgressTo
530
560
  # @private
531
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -628,6 +658,22 @@ module Google
628
658
  end
629
659
  end
630
660
 
661
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
665
+
666
+ end
667
+ end
668
+
669
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :network, as: 'network'
673
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
674
+ end
675
+ end
676
+
631
677
  class IamPolicySearchResult
632
678
  # @private
633
679
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1p1beta1
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_v1p1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []