@@ -1118,6 +1118,31 @@ def update!(**args)
11181118 end
11191119 end
11201120
1121+ # Adds a request header to the API.
1122+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
1123+ include Google ::Apis ::Core ::Hashable
1124+
1125+ # HTTP header key.
1126+ # Corresponds to the JSON property `key`
1127+ # @return [String]
1128+ attr_accessor :key
1129+
1130+ # HTTP header value.
1131+ # Corresponds to the JSON property `value`
1132+ # @return [String]
1133+ attr_accessor :value
1134+
1135+ def initialize ( **args )
1136+ update! ( **args )
1137+ end
1138+
1139+ # Update properties of this object
1140+ def update! ( **args )
1141+ @key = args [ :key ] if args . key? ( :key )
1142+ @value = args [ :value ] if args . key? ( :value )
1143+ end
1144+ end
1145+
11211146 # Identification for an API Operation.
11221147 class GoogleIdentityAccesscontextmanagerV1ApiOperation
11231148 include Google ::Apis ::Core ::Hashable
@@ -1476,6 +1501,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource
14761501 # @return [String]
14771502 attr_accessor :access_level
14781503
1504+ # Specifies the PSC an API call refers to.
1505+ # Corresponds to the JSON property `pscEndpoint`
1506+ # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1507+ attr_accessor :psc_endpoint
1508+
14791509 # A Google Cloud resource from the service perimeter that you want to allow to
14801510 # access data outside the perimeter. This field supports only projects. The
14811511 # project format is `projects/`project_number``. You can't use `*` in this field
@@ -1491,6 +1521,7 @@ def initialize(**args)
14911521 # Update properties of this object
14921522 def update! ( **args )
14931523 @access_level = args [ :access_level ] if args . key? ( :access_level )
1524+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
14941525 @resource = args [ :resource ] if args . key? ( :resource )
14951526 end
14961527 end
@@ -1655,6 +1686,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource
16551686 # @return [String]
16561687 attr_accessor :access_level
16571688
1689+ # Specifies the PSC an API call refers to.
1690+ # Corresponds to the JSON property `pscEndpoint`
1691+ # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1692+ attr_accessor :psc_endpoint
1693+
16581694 # A Google Cloud resource that is allowed to ingress the perimeter. Requests
16591695 # from these resources will be allowed to access perimeter data. Currently only
16601696 # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -1673,6 +1709,7 @@ def initialize(**args)
16731709 # Update properties of this object
16741710 def update! ( **args )
16751711 @access_level = args [ :access_level ] if args . key? ( :access_level )
1712+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
16761713 @resource = args [ :resource ] if args . key? ( :resource )
16771714 end
16781715 end
@@ -1744,6 +1781,25 @@ def update!(**args)
17441781 end
17451782 end
17461783
1784+ # Modifier to apply to the API requests.
1785+ class GoogleIdentityAccesscontextmanagerV1Modifier
1786+ include Google ::Apis ::Core ::Hashable
1787+
1788+ # Adds a request header to the API.
1789+ # Corresponds to the JSON property `addRequestHeader`
1790+ # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
1791+ attr_accessor :add_request_header
1792+
1793+ def initialize ( **args )
1794+ update! ( **args )
1795+ end
1796+
1797+ # Update properties of this object
1798+ def update! ( **args )
1799+ @add_request_header = args [ :add_request_header ] if args . key? ( :add_request_header )
1800+ end
1801+ end
1802+
17471803 # A restriction on the OS type and version of devices making requests.
17481804 class GoogleIdentityAccesscontextmanagerV1OsConstraint
17491805 include Google ::Apis ::Core ::Hashable
@@ -1781,6 +1837,60 @@ def update!(**args)
17811837 end
17821838 end
17831839
1840+ # Specifies the PSC an API call refers to.
1841+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
1842+ include Google ::Apis ::Core ::Hashable
1843+
1844+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
1845+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
1846+ # FORWARDING_RULE_ID``.
1847+ # Corresponds to the JSON property `forwardingRule`
1848+ # @return [String]
1849+ attr_accessor :forwarding_rule
1850+
1851+ def initialize ( **args )
1852+ update! ( **args )
1853+ end
1854+
1855+ # Update properties of this object
1856+ def update! ( **args )
1857+ @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
1858+ end
1859+ end
1860+
1861+ # Service patterns used to allow access.
1862+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
1863+ include Google ::Apis ::Core ::Hashable
1864+
1865+ # Modifiers to apply to the requests that match the URL pattern.
1866+ # Corresponds to the JSON property `modifiers`
1867+ # @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1Modifier>]
1868+ attr_accessor :modifiers
1869+
1870+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
1871+ # com//*" and "*.appspot.com/* forms are supported, where should be
1872+ # alphanumerical name.
1873+ # Corresponds to the JSON property `pattern`
1874+ # @return [String]
1875+ attr_accessor :pattern
1876+
1877+ # Supported service to allow.
1878+ # Corresponds to the JSON property `service`
1879+ # @return [String]
1880+ attr_accessor :service
1881+
1882+ def initialize ( **args )
1883+ update! ( **args )
1884+ end
1885+
1886+ # Update properties of this object
1887+ def update! ( **args )
1888+ @modifiers = args [ :modifiers ] if args . key? ( :modifiers )
1889+ @pattern = args [ :pattern ] if args . key? ( :pattern )
1890+ @service = args [ :service ] if args . key? ( :service )
1891+ end
1892+ end
1893+
17841894 # `ServicePerimeter` describes a set of Google Cloud resources which can freely
17851895 # import and export data amongst themselves, but not export outside of the `
17861896 # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -1941,6 +2051,12 @@ def update!(**args)
19412051 class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
19422052 include Google ::Apis ::Core ::Hashable
19432053
2054+ # Specifies which Google services are allowed to be accessed from VPC networks
2055+ # in the service perimeter.
2056+ # Corresponds to the JSON property `allowedServicePatterns`
2057+ # @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
2058+ attr_accessor :allowed_service_patterns
2059+
19442060 # The list of APIs usable within the Service Perimeter. Must be empty unless '
19452061 # enable_restriction' is True. You can specify a list of individual services, as
19462062 # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -1956,14 +2072,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
19562072 attr_accessor :enable_restriction
19572073 alias_method :enable_restriction? , :enable_restriction
19582074
2075+ # Defines the enforcement scopes of service patterns.
2076+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
2077+ # @return [Array<String>]
2078+ attr_accessor :service_patterns_enforcement_scopes
2079+
19592080 def initialize ( **args )
19602081 update! ( **args )
19612082 end
19622083
19632084 # Update properties of this object
19642085 def update! ( **args )
2086+ @allowed_service_patterns = args [ :allowed_service_patterns ] if args . key? ( :allowed_service_patterns )
19652087 @allowed_services = args [ :allowed_services ] if args . key? ( :allowed_services )
19662088 @enable_restriction = args [ :enable_restriction ] if args . key? ( :enable_restriction )
2089+ @service_patterns_enforcement_scopes = args [ :service_patterns_enforcement_scopes ] if args . key? ( :service_patterns_enforcement_scopes )
19672090 end
19682091 end
19692092
0 commit comments