google-apis-cloudasset_v1 0.63.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b32a6d9802319098d3bd149c610bfcbc35c2fecb5f9295c60dd465566bc7d1df
4
- data.tar.gz: 2cabe4b7bd239798bfd41155c80c43d6447ccc182fa71f7c1f168d183b834251
3
+ metadata.gz: 383761e6d51de1f3784b4f44e82b89e517e93db9145d9f2faa0af3ceaf2f97fe
4
+ data.tar.gz: 54024f464e6ce6e51b6e7e829f91aea0c75581458b7d071cd81c8845a8fa5126
5
5
  SHA512:
6
- metadata.gz: dc9458ec9e1cb34a51b2caebebe415e479cbf6340ae2fda1ed6b59863b3abba558e590602621456fe67ccae493fabd02a60cd23b3cf8eaa395251042a524a7d0
7
- data.tar.gz: 995c9dd36b3270be3270c6bf05a9202a6e891899189c27e0969f2912ef826a2efd9549bfb40d436b89ef691ffed6ec93f4e33e0e8d76413699f02e2c413f67ba
6
+ metadata.gz: 2345a838d99b0a32f6773191bd9dda45d7649188bf06aa2d4e837156d84453f7c6b7d10a4df55e0d9d6e89d40309966699bb472ecd9f3f4abfd20d19a3295d9b
7
+ data.tar.gz: 78a490543d93b7df228aca1ca3ac70c906f849f9a6051f30fe99a5801f7ff381fe094121d4bb2a51469b66fe9c7a071c3636fb3ae2c646a98f8fa189f17871c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.64.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230908
6
+
3
7
  ### v0.63.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230902
@@ -2901,6 +2901,12 @@ module Google
2901
2901
  # @return [Array<String>]
2902
2902
  attr_accessor :required_access_levels
2903
2903
 
2904
+ # The request must originate from one of the provided VPC networks in Google
2905
+ # Cloud. Cannot specify this field together with `ip_subnetworks`.
2906
+ # Corresponds to the JSON property `vpcNetworkSources`
2907
+ # @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
2908
+ attr_accessor :vpc_network_sources
2909
+
2904
2910
  def initialize(**args)
2905
2911
  update!(**args)
2906
2912
  end
@@ -2913,6 +2919,7 @@ module Google
2913
2919
  @negate = args[:negate] if args.key?(:negate)
2914
2920
  @regions = args[:regions] if args.key?(:regions)
2915
2921
  @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
2922
+ @vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
2916
2923
  end
2917
2924
  end
2918
2925
 
@@ -3033,6 +3040,19 @@ module Google
3033
3040
  # @return [String]
3034
3041
  attr_accessor :identity_type
3035
3042
 
3043
+ # Whether to enforce traffic restrictions based on `sources` field. If the `
3044
+ # sources` fields is non-empty, then this field must be set to `
3045
+ # SOURCE_RESTRICTION_ENABLED`.
3046
+ # Corresponds to the JSON property `sourceRestriction`
3047
+ # @return [String]
3048
+ attr_accessor :source_restriction
3049
+
3050
+ # Sources that this EgressPolicy authorizes access from. If this field is not
3051
+ # empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
3052
+ # Corresponds to the JSON property `sources`
3053
+ # @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
3054
+ attr_accessor :sources
3055
+
3036
3056
  def initialize(**args)
3037
3057
  update!(**args)
3038
3058
  end
@@ -3041,6 +3061,8 @@ module Google
3041
3061
  def update!(**args)
3042
3062
  @identities = args[:identities] if args.key?(:identities)
3043
3063
  @identity_type = args[:identity_type] if args.key?(:identity_type)
3064
+ @source_restriction = args[:source_restriction] if args.key?(:source_restriction)
3065
+ @sources = args[:sources] if args.key?(:sources)
3044
3066
  end
3045
3067
  end
3046
3068
 
@@ -3090,6 +3112,33 @@ module Google
3090
3112
  end
3091
3113
  end
3092
3114
 
3115
+ # The source that EgressPolicy authorizes access from inside the
3116
+ # ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
3117
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
3118
+ include Google::Apis::Core::Hashable
3119
+
3120
+ # An AccessLevel resource name that allows protected resources inside the
3121
+ # ServicePerimeters to access outside the ServicePerimeter boundaries.
3122
+ # AccessLevels listed must be in the same policy as this ServicePerimeter.
3123
+ # Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
3124
+ # name is not specified, only resources within the perimeter can be accessed
3125
+ # through Google Cloud calls with request origins within the perimeter. Example:
3126
+ # `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
3127
+ # for `access_level`, then all EgressSources will be allowed.
3128
+ # Corresponds to the JSON property `accessLevel`
3129
+ # @return [String]
3130
+ attr_accessor :access_level
3131
+
3132
+ def initialize(**args)
3133
+ update!(**args)
3134
+ end
3135
+
3136
+ # Update properties of this object
3137
+ def update!(**args)
3138
+ @access_level = args[:access_level] if args.key?(:access_level)
3139
+ end
3140
+ end
3141
+
3093
3142
  # Defines the conditions under which an EgressPolicy matches a request.
3094
3143
  # Conditions are based on information about the ApiOperation intended to be
3095
3144
  # performed on the `resources` specified. Note that if the destination of the
@@ -3528,6 +3577,59 @@ module Google
3528
3577
  end
3529
3578
  end
3530
3579
 
3580
+ # The originating network source in Google Cloud.
3581
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
3582
+ include Google::Apis::Core::Hashable
3583
+
3584
+ # Sub-segment ranges inside of a VPC Network.
3585
+ # Corresponds to the JSON property `vpcSubnetwork`
3586
+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
3587
+ attr_accessor :vpc_subnetwork
3588
+
3589
+ def initialize(**args)
3590
+ update!(**args)
3591
+ end
3592
+
3593
+ # Update properties of this object
3594
+ def update!(**args)
3595
+ @vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
3596
+ end
3597
+ end
3598
+
3599
+ # Sub-segment ranges inside of a VPC Network.
3600
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
3601
+ include Google::Apis::Core::Hashable
3602
+
3603
+ # Required. Network name. If the network is not part of the organization, the `
3604
+ # compute.network.get` permission must be granted to the caller. Format: `//
3605
+ # compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
3606
+ # Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
3607
+ # 1`
3608
+ # Corresponds to the JSON property `network`
3609
+ # @return [String]
3610
+ attr_accessor :network
3611
+
3612
+ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address
3613
+ # and can be a public or private IP address. Note that for a CIDR IP address
3614
+ # block, the specified IP address portion must be properly truncated (i.e. all
3615
+ # the host bits must be zero) or the input is considered malformed. For example,
3616
+ # "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
3617
+ # addresses are allowed.
3618
+ # Corresponds to the JSON property `vpcIpSubnetworks`
3619
+ # @return [Array<String>]
3620
+ attr_accessor :vpc_ip_subnetworks
3621
+
3622
+ def initialize(**args)
3623
+ update!(**args)
3624
+ end
3625
+
3626
+ # Update properties of this object
3627
+ def update!(**args)
3628
+ @network = args[:network] if args.key?(:network)
3629
+ @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
3630
+ end
3631
+ end
3632
+
3531
3633
  # An analysis message to group the query and results.
3532
3634
  class IamPolicyAnalysis
3533
3635
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1
18
18
  # Version of the google-apis-cloudasset_v1 gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.64.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 = "20230908"
26
26
  end
27
27
  end
28
28
  end
@@ -430,6 +430,12 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
433
439
  class GoogleIdentityAccesscontextmanagerV1EgressTo
434
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
441
 
@@ -490,6 +496,18 @@ module Google
490
496
  include Google::Apis::Core::JsonObjectSupport
491
497
  end
492
498
 
499
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
493
511
  class IamPolicyAnalysis
494
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
513
 
@@ -1481,6 +1499,8 @@ module Google
1481
1499
  property :negate, as: 'negate'
1482
1500
  collection :regions, as: 'regions'
1483
1501
  collection :required_access_levels, as: 'requiredAccessLevels'
1502
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
1503
+
1484
1504
  end
1485
1505
  end
1486
1506
 
@@ -1510,6 +1530,9 @@ module Google
1510
1530
  class Representation < Google::Apis::Core::JsonRepresentation
1511
1531
  collection :identities, as: 'identities'
1512
1532
  property :identity_type, as: 'identityType'
1533
+ property :source_restriction, as: 'sourceRestriction'
1534
+ collection :sources, as: 'sources', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
1535
+
1513
1536
  end
1514
1537
  end
1515
1538
 
@@ -1523,6 +1546,13 @@ module Google
1523
1546
  end
1524
1547
  end
1525
1548
 
1549
+ class GoogleIdentityAccesscontextmanagerV1EgressSource
1550
+ # @private
1551
+ class Representation < Google::Apis::Core::JsonRepresentation
1552
+ property :access_level, as: 'accessLevel'
1553
+ end
1554
+ end
1555
+
1526
1556
  class GoogleIdentityAccesscontextmanagerV1EgressTo
1527
1557
  # @private
1528
1558
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1625,6 +1655,22 @@ module Google
1625
1655
  end
1626
1656
  end
1627
1657
 
1658
+ class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
1659
+ # @private
1660
+ class Representation < Google::Apis::Core::JsonRepresentation
1661
+ property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
1662
+
1663
+ end
1664
+ end
1665
+
1666
+ class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
1667
+ # @private
1668
+ class Representation < Google::Apis::Core::JsonRepresentation
1669
+ property :network, as: 'network'
1670
+ collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
1671
+ end
1672
+ end
1673
+
1628
1674
  class IamPolicyAnalysis
1629
1675
  # @private
1630
1676
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.64.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.64.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1
63
63
  post_install_message:
64
64
  rdoc_options: []