google-apis-cloudasset_v1p7beta1 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: 2444b05e03582ea504bbfc82fc95b02672f986cdf5802f055f3b479ce68c36f6
4
- data.tar.gz: a5dff115bc9a85f3a4b641feffe027ea890e4d12e772ff3379ba3dd6416de674
3
+ metadata.gz: ae3bdd88f7f3b8b634207dfe4a43992b11a13b2ee96f03f1c0a5f271afa529d3
4
+ data.tar.gz: 829036e9b1a9864e4745303f93ad5458bc779e0c12cec59054a511964b6509fb
5
5
  SHA512:
6
- metadata.gz: 553aed44efcea53af7dc04b23e0465eb3229dfc835c4e62137e12f1bb06faa4f28c3227b8838822a6396ded491c113795cafcc734e77e0aabaa2ac1b10ddc9f8
7
- data.tar.gz: bece5121d2bd9d8b4f15304ffccb99313ad7226e76e0952b42525ebedfdf642916f4c8a820786af2fee693d3ecac62452e073b3b4ce9c02f15f958a223d3339a
6
+ metadata.gz: 31c73083e0ab076d7a2554694f1ab18fc73fc236055396273287ce297fa7ef97b66fb386e1d43e7ae5de70a3dd23a1570dbf3ac617df9b146dbc29af21a7402a
7
+ data.tar.gz: c21448156e5d54b8e0814ce6dd46d6b1496d811261781fac0168187b55ffa9fa7794ee6d54311851edf47796d5fce0809572ac61d9f93778d0276f26f472022d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudasset_v1p7beta1
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
@@ -1149,17 +1149,16 @@ module Google
1149
1149
  # @return [String]
1150
1150
  attr_accessor :parent
1151
1151
 
1152
- # The scopes of a policy define which resources an ACM policy can restrict, and
1153
- # where ACM resources can be referenced. For example, a policy with scopes=["
1154
- # folders/123"] has the following behavior: - vpcsc perimeters can only restrict
1155
- # projects within folders/123 - access levels can only be referenced by
1156
- # resources within folders/123. If empty, there are no limitations on which
1157
- # resources can be restricted by an ACM policy, and there are no limitations on
1158
- # where ACM resources can be referenced. Only one policy can include a given
1159
- # scope (attempting to create a second policy which includes "folders/123" will
1160
- # result in an error). Currently, scopes cannot be modified after a policy is
1161
- # created. Currently, policies can only have a single scope. Format: list of `
1162
- # folders/`folder_number`` or `projects/`project_number``
1152
+ # The scopes of the AccessPolicy. Scopes define which resources a policy can
1153
+ # restrict and where its resources can be referenced. For example, policy A with
1154
+ # `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can
1155
+ # only restrict projects within `folders/123`. - ServicePerimeter within policy
1156
+ # A can only reference access levels defined within policy A. - Only one policy
1157
+ # can include a given scope; thus, attempting to create a second policy which
1158
+ # includes `folders/123` will result in an error. If no scopes are provided,
1159
+ # then any resource within the organization can be restricted. Scopes cannot be
1160
+ # modified after a policy is created. Policies can only have a single scope.
1161
+ # Format: list of `folders/`folder_number`` or `projects/`project_number``
1163
1162
  # Corresponds to the JSON property `scopes`
1164
1163
  # @return [Array<String>]
1165
1164
  attr_accessor :scopes
@@ -1302,6 +1301,12 @@ module Google
1302
1301
  # @return [Array<String>]
1303
1302
  attr_accessor :required_access_levels
1304
1303
 
1304
+ # The request must originate from one of the provided VPC networks in Google
1305
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
1306
+ # Corresponds to the JSON property `vpcNetworkSources`
1307
+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
1308
+ attr_accessor :vpc_network_sources
1309
+
1305
1310
  def initialize(**args)
1306
1311
  update!(**args)
1307
1312
  end
@@ -1314,6 +1319,7 @@ module Google
1314
1319
  @negate = args[:negate] if args.key?(:negate)
1315
1320
  @regions = args[:regions] if args.key?(:regions)
1316
1321
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
1322
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
1317
1323
  end
1318
1324
  end
1319
1325
 
@@ -1434,6 +1440,19 @@ module Google
1434
1440
  # @return [String]
1435
1441
  attr_accessor :identity_type
1436
1442
 
1443
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
1444
+ # sources` fields is non-empty, then this field must be set to `
1445
+ # SOURCE_RESTRICTION_ENABLED`.
1446
+ # Corresponds to the JSON property `sourceRestriction`
1447
+ # @return [String]
1448
+ attr_accessor :source_restriction
1449
+
1450
+ # Sources that this EgressPolicy authorizes access from. If this field is not
1451
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
1452
+ # Corresponds to the JSON property `sources`
1453
+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
1454
+ attr_accessor :sources
1455
+
1437
1456
  def initialize(**args)
1438
1457
  update!(**args)
1439
1458
  end
@@ -1442,6 +1461,8 @@ module Google
1442
1461
  def update!(**args)
1443
1462
  @identities = args[:identities] if args.key?(:identities)
1444
1463
  @identity_type = args[:identity_type] if args.key?(:identity_type)
1464
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
1465
+ @sources = args[:sources] if args.key?(:sources)
1445
1466
  end
1446
1467
  end
1447
1468
 
@@ -1491,6 +1512,33 @@ module Google
1491
1512
  end
1492
1513
  end
1493
1514
 
1515
+ # The source that EgressPolicy authorizes access from inside the
1516
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
1517
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1518
+ include Google::Apis::Core::Hashable
1519
+
1520
+ # An AccessLevel resource name that allows protected resources inside the
1521
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
1522
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
1523
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
1524
+ # name is not specified, only resources within the perimeter can be accessed
1525
+ # through Google Cloud calls with request origins within the perimeter. Example:
1526
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
1527
+ # for `access_level`, then all EgressSources will be allowed.
1528
+ # Corresponds to the JSON property `accessLevel`
1529
+ # @return [String]
1530
+ attr_accessor :access_level
1531
+
1532
+ def initialize(**args)
1533
+ update!(**args)
1534
+ end
1535
+
1536
+ # Update properties of this object
1537
+ def update!(**args)
1538
+ @access_level = args[:access_level] if args.key?(:access_level)
1539
+ end
1540
+ end
1541
+
1494
1542
  # Defines the conditions under which an EgressPolicy matches a request.
1495
1543
  # Conditions are based on information about the ApiOperation intended to be
1496
1544
  # performed on the `resources` specified. Note that if the destination of the
@@ -1929,6 +1977,59 @@ module Google
1929
1977
  end
1930
1978
  end
1931
1979
 
1980
+ # The originating network source in Google Cloud.
1981
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1982
+ include Google::Apis::Core::Hashable
1983
+
1984
+ # Sub-segment ranges inside of a VPC Network.
1985
+ # Corresponds to the JSON property `vpcSubnetwork`
1986
+ # @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
1987
+ attr_accessor :vpc_subnetwork
1988
+
1989
+ def initialize(**args)
1990
+ update!(**args)
1991
+ end
1992
+
1993
+ # Update properties of this object
1994
+ def update!(**args)
1995
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
1996
+ end
1997
+ end
1998
+
1999
+ # Sub-segment ranges inside of a VPC Network.
2000
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
2001
+ include Google::Apis::Core::Hashable
2002
+
2003
+ # Required. Network name. If the network is not part of the organization, the `
2004
+ # compute.network.get` permission must be granted to the caller. Format: `//
2005
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
2006
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
2007
+ # 1`
2008
+ # Corresponds to the JSON property `network`
2009
+ # @return [String]
2010
+ attr_accessor :network
2011
+
2012
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
2013
+ # and can be a public or private IP address. Note that for a CIDR IP address
2014
+ # block, the specified IP address portion must be properly truncated (i.e. all
2015
+ # the host bits must be zero) or the input is considered malformed. For example,
2016
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
2017
+ # addresses are allowed.
2018
+ # Corresponds to the JSON property `vpcIpSubnetworks`
2019
+ # @return [Array<String>]
2020
+ attr_accessor :vpc_ip_subnetworks
2021
+
2022
+ def initialize(**args)
2023
+ update!(**args)
2024
+ end
2025
+
2026
+ # Update properties of this object
2027
+ def update!(**args)
2028
+ @network = args[:network] if args.key?(:network)
2029
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
2030
+ end
2031
+ end
2032
+
1932
2033
  # This resource represents a long-running operation that is the result of a
1933
2034
  # network API call.
1934
2035
  class Operation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p7beta1
18
18
  # Version of the google-apis-cloudasset_v1p7beta1 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
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class GoogleIdentityAccesscontextmanagerV1EgressTo
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -256,6 +262,18 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
259
277
  class Operation
260
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
279
 
@@ -531,6 +549,8 @@ module Google
531
549
  property :negate, as: 'negate'
532
550
  collection :regions, as: 'regions'
533
551
  collection :required_access_levels, as: 'requiredAccessLevels'
552
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
553
+
534
554
  end
535
555
  end
536
556
 
@@ -560,6 +580,9 @@ module Google
560
580
  class Representation < Google::Apis::Core::JsonRepresentation
561
581
  collection :identities, as: 'identities'
562
582
  property :identity_type, as: 'identityType'
583
+ property :source_restriction, as: 'sourceRestriction'
584
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
585
+
563
586
  end
564
587
  end
565
588
 
@@ -573,6 +596,13 @@ module Google
573
596
  end
574
597
  end
575
598
 
599
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :access_level, as: 'accessLevel'
603
+ end
604
+ end
605
+
576
606
  class GoogleIdentityAccesscontextmanagerV1EgressTo
577
607
  # @private
578
608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +705,22 @@ module Google
675
705
  end
676
706
  end
677
707
 
708
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
712
+
713
+ end
714
+ end
715
+
716
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :network, as: 'network'
720
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
721
+ end
722
+ end
723
+
678
724
  class Operation
679
725
  # @private
680
726
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1p7beta1
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_v1p7beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1
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 V1p7beta1