@@ -1015,6 +1015,31 @@ def update!(**args)
10151015 end
10161016 end
10171017
1018+ # Adds a request header to the API.
1019+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
1020+ include Google ::Apis ::Core ::Hashable
1021+
1022+ # HTTP header key.
1023+ # Corresponds to the JSON property `key`
1024+ # @return [String]
1025+ attr_accessor :key
1026+
1027+ # HTTP header value.
1028+ # Corresponds to the JSON property `value`
1029+ # @return [String]
1030+ attr_accessor :value
1031+
1032+ def initialize ( **args )
1033+ update! ( **args )
1034+ end
1035+
1036+ # Update properties of this object
1037+ def update! ( **args )
1038+ @key = args [ :key ] if args . key? ( :key )
1039+ @value = args [ :value ] if args . key? ( :value )
1040+ end
1041+ end
1042+
10181043 # Identification for an API Operation.
10191044 class GoogleIdentityAccesscontextmanagerV1ApiOperation
10201045 include Google ::Apis ::Core ::Hashable
@@ -1373,6 +1398,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource
13731398 # @return [String]
13741399 attr_accessor :access_level
13751400
1401+ # Specifies the PSC an API call refers to.
1402+ # Corresponds to the JSON property `pscEndpoint`
1403+ # @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1404+ attr_accessor :psc_endpoint
1405+
13761406 # A Google Cloud resource from the service perimeter that you want to allow to
13771407 # access data outside the perimeter. This field supports only projects. The
13781408 # project format is `projects/`project_number``. You can't use `*` in this field
@@ -1388,6 +1418,7 @@ def initialize(**args)
13881418 # Update properties of this object
13891419 def update! ( **args )
13901420 @access_level = args [ :access_level ] if args . key? ( :access_level )
1421+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
13911422 @resource = args [ :resource ] if args . key? ( :resource )
13921423 end
13931424 end
@@ -1552,6 +1583,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource
15521583 # @return [String]
15531584 attr_accessor :access_level
15541585
1586+ # Specifies the PSC an API call refers to.
1587+ # Corresponds to the JSON property `pscEndpoint`
1588+ # @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1589+ attr_accessor :psc_endpoint
1590+
15551591 # A Google Cloud resource that is allowed to ingress the perimeter. Requests
15561592 # from these resources will be allowed to access perimeter data. Currently only
15571593 # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -1570,6 +1606,7 @@ def initialize(**args)
15701606 # Update properties of this object
15711607 def update! ( **args )
15721608 @access_level = args [ :access_level ] if args . key? ( :access_level )
1609+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
15731610 @resource = args [ :resource ] if args . key? ( :resource )
15741611 end
15751612 end
@@ -1641,6 +1678,25 @@ def update!(**args)
16411678 end
16421679 end
16431680
1681+ # Modifier to apply to the API requests.
1682+ class GoogleIdentityAccesscontextmanagerV1Modifier
1683+ include Google ::Apis ::Core ::Hashable
1684+
1685+ # Adds a request header to the API.
1686+ # Corresponds to the JSON property `addRequestHeader`
1687+ # @return [Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
1688+ attr_accessor :add_request_header
1689+
1690+ def initialize ( **args )
1691+ update! ( **args )
1692+ end
1693+
1694+ # Update properties of this object
1695+ def update! ( **args )
1696+ @add_request_header = args [ :add_request_header ] if args . key? ( :add_request_header )
1697+ end
1698+ end
1699+
16441700 # A restriction on the OS type and version of devices making requests.
16451701 class GoogleIdentityAccesscontextmanagerV1OsConstraint
16461702 include Google ::Apis ::Core ::Hashable
@@ -1678,6 +1734,60 @@ def update!(**args)
16781734 end
16791735 end
16801736
1737+ # Specifies the PSC an API call refers to.
1738+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
1739+ include Google ::Apis ::Core ::Hashable
1740+
1741+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
1742+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
1743+ # FORWARDING_RULE_ID``.
1744+ # Corresponds to the JSON property `forwardingRule`
1745+ # @return [String]
1746+ attr_accessor :forwarding_rule
1747+
1748+ def initialize ( **args )
1749+ update! ( **args )
1750+ end
1751+
1752+ # Update properties of this object
1753+ def update! ( **args )
1754+ @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
1755+ end
1756+ end
1757+
1758+ # Service patterns used to allow access.
1759+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
1760+ include Google ::Apis ::Core ::Hashable
1761+
1762+ # Modifiers to apply to the requests that match the URL pattern.
1763+ # Corresponds to the JSON property `modifiers`
1764+ # @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1Modifier>]
1765+ attr_accessor :modifiers
1766+
1767+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
1768+ # com//*" and "*.appspot.com/* forms are supported, where should be
1769+ # alphanumerical name.
1770+ # Corresponds to the JSON property `pattern`
1771+ # @return [String]
1772+ attr_accessor :pattern
1773+
1774+ # Supported service to allow.
1775+ # Corresponds to the JSON property `service`
1776+ # @return [String]
1777+ attr_accessor :service
1778+
1779+ def initialize ( **args )
1780+ update! ( **args )
1781+ end
1782+
1783+ # Update properties of this object
1784+ def update! ( **args )
1785+ @modifiers = args [ :modifiers ] if args . key? ( :modifiers )
1786+ @pattern = args [ :pattern ] if args . key? ( :pattern )
1787+ @service = args [ :service ] if args . key? ( :service )
1788+ end
1789+ end
1790+
16811791 # `ServicePerimeter` describes a set of Google Cloud resources which can freely
16821792 # import and export data amongst themselves, but not export outside of the `
16831793 # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -1838,6 +1948,12 @@ def update!(**args)
18381948 class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
18391949 include Google ::Apis ::Core ::Hashable
18401950
1951+ # Specifies which Google services are allowed to be accessed from VPC networks
1952+ # in the service perimeter.
1953+ # Corresponds to the JSON property `allowedServicePatterns`
1954+ # @return [Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
1955+ attr_accessor :allowed_service_patterns
1956+
18411957 # The list of APIs usable within the Service Perimeter. Must be empty unless '
18421958 # enable_restriction' is True. You can specify a list of individual services, as
18431959 # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -1853,14 +1969,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
18531969 attr_accessor :enable_restriction
18541970 alias_method :enable_restriction? , :enable_restriction
18551971
1972+ # Defines the enforcement scopes of service patterns.
1973+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
1974+ # @return [Array<String>]
1975+ attr_accessor :service_patterns_enforcement_scopes
1976+
18561977 def initialize ( **args )
18571978 update! ( **args )
18581979 end
18591980
18601981 # Update properties of this object
18611982 def update! ( **args )
1983+ @allowed_service_patterns = args [ :allowed_service_patterns ] if args . key? ( :allowed_service_patterns )
18621984 @allowed_services = args [ :allowed_services ] if args . key? ( :allowed_services )
18631985 @enable_restriction = args [ :enable_restriction ] if args . key? ( :enable_restriction )
1986+ @service_patterns_enforcement_scopes = args [ :service_patterns_enforcement_scopes ] if args . key? ( :service_patterns_enforcement_scopes )
18641987 end
18651988 end
18661989
0 commit comments