@@ -1208,6 +1208,31 @@ def update!(**args)
12081208 end
12091209 end
12101210
1211+ # Adds a request header to the API.
1212+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
1213+ include Google ::Apis ::Core ::Hashable
1214+
1215+ # HTTP header key.
1216+ # Corresponds to the JSON property `key`
1217+ # @return [String]
1218+ attr_accessor :key
1219+
1220+ # HTTP header value.
1221+ # Corresponds to the JSON property `value`
1222+ # @return [String]
1223+ attr_accessor :value
1224+
1225+ def initialize ( **args )
1226+ update! ( **args )
1227+ end
1228+
1229+ # Update properties of this object
1230+ def update! ( **args )
1231+ @key = args [ :key ] if args . key? ( :key )
1232+ @value = args [ :value ] if args . key? ( :value )
1233+ end
1234+ end
1235+
12111236 # Identification for an API Operation.
12121237 class GoogleIdentityAccesscontextmanagerV1ApiOperation
12131238 include Google ::Apis ::Core ::Hashable
@@ -1566,6 +1591,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource
15661591 # @return [String]
15671592 attr_accessor :access_level
15681593
1594+ # Specifies the PSC an API call refers to.
1595+ # Corresponds to the JSON property `pscEndpoint`
1596+ # @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1597+ attr_accessor :psc_endpoint
1598+
15691599 # A Google Cloud resource from the service perimeter that you want to allow to
15701600 # access data outside the perimeter. This field supports only projects. The
15711601 # project format is `projects/`project_number``. You can't use `*` in this field
@@ -1581,6 +1611,7 @@ def initialize(**args)
15811611 # Update properties of this object
15821612 def update! ( **args )
15831613 @access_level = args [ :access_level ] if args . key? ( :access_level )
1614+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
15841615 @resource = args [ :resource ] if args . key? ( :resource )
15851616 end
15861617 end
@@ -1745,6 +1776,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource
17451776 # @return [String]
17461777 attr_accessor :access_level
17471778
1779+ # Specifies the PSC an API call refers to.
1780+ # Corresponds to the JSON property `pscEndpoint`
1781+ # @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1782+ attr_accessor :psc_endpoint
1783+
17481784 # A Google Cloud resource that is allowed to ingress the perimeter. Requests
17491785 # from these resources will be allowed to access perimeter data. Currently only
17501786 # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -1763,6 +1799,7 @@ def initialize(**args)
17631799 # Update properties of this object
17641800 def update! ( **args )
17651801 @access_level = args [ :access_level ] if args . key? ( :access_level )
1802+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
17661803 @resource = args [ :resource ] if args . key? ( :resource )
17671804 end
17681805 end
@@ -1834,6 +1871,25 @@ def update!(**args)
18341871 end
18351872 end
18361873
1874+ # Modifier to apply to the API requests.
1875+ class GoogleIdentityAccesscontextmanagerV1Modifier
1876+ include Google ::Apis ::Core ::Hashable
1877+
1878+ # Adds a request header to the API.
1879+ # Corresponds to the JSON property `addRequestHeader`
1880+ # @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
1881+ attr_accessor :add_request_header
1882+
1883+ def initialize ( **args )
1884+ update! ( **args )
1885+ end
1886+
1887+ # Update properties of this object
1888+ def update! ( **args )
1889+ @add_request_header = args [ :add_request_header ] if args . key? ( :add_request_header )
1890+ end
1891+ end
1892+
18371893 # A restriction on the OS type and version of devices making requests.
18381894 class GoogleIdentityAccesscontextmanagerV1OsConstraint
18391895 include Google ::Apis ::Core ::Hashable
@@ -1871,6 +1927,60 @@ def update!(**args)
18711927 end
18721928 end
18731929
1930+ # Specifies the PSC an API call refers to.
1931+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
1932+ include Google ::Apis ::Core ::Hashable
1933+
1934+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
1935+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
1936+ # FORWARDING_RULE_ID``.
1937+ # Corresponds to the JSON property `forwardingRule`
1938+ # @return [String]
1939+ attr_accessor :forwarding_rule
1940+
1941+ def initialize ( **args )
1942+ update! ( **args )
1943+ end
1944+
1945+ # Update properties of this object
1946+ def update! ( **args )
1947+ @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
1948+ end
1949+ end
1950+
1951+ # Service patterns used to allow access.
1952+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
1953+ include Google ::Apis ::Core ::Hashable
1954+
1955+ # Modifiers to apply to the requests that match the URL pattern.
1956+ # Corresponds to the JSON property `modifiers`
1957+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1Modifier>]
1958+ attr_accessor :modifiers
1959+
1960+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
1961+ # com//*" and "*.appspot.com/* forms are supported, where should be
1962+ # alphanumerical name.
1963+ # Corresponds to the JSON property `pattern`
1964+ # @return [String]
1965+ attr_accessor :pattern
1966+
1967+ # Supported service to allow.
1968+ # Corresponds to the JSON property `service`
1969+ # @return [String]
1970+ attr_accessor :service
1971+
1972+ def initialize ( **args )
1973+ update! ( **args )
1974+ end
1975+
1976+ # Update properties of this object
1977+ def update! ( **args )
1978+ @modifiers = args [ :modifiers ] if args . key? ( :modifiers )
1979+ @pattern = args [ :pattern ] if args . key? ( :pattern )
1980+ @service = args [ :service ] if args . key? ( :service )
1981+ end
1982+ end
1983+
18741984 # `ServicePerimeter` describes a set of Google Cloud resources which can freely
18751985 # import and export data amongst themselves, but not export outside of the `
18761986 # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -2031,6 +2141,12 @@ def update!(**args)
20312141 class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
20322142 include Google ::Apis ::Core ::Hashable
20332143
2144+ # Specifies which Google services are allowed to be accessed from VPC networks
2145+ # in the service perimeter.
2146+ # Corresponds to the JSON property `allowedServicePatterns`
2147+ # @return [Array<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
2148+ attr_accessor :allowed_service_patterns
2149+
20342150 # The list of APIs usable within the Service Perimeter. Must be empty unless '
20352151 # enable_restriction' is True. You can specify a list of individual services, as
20362152 # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -2046,14 +2162,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
20462162 attr_accessor :enable_restriction
20472163 alias_method :enable_restriction? , :enable_restriction
20482164
2165+ # Defines the enforcement scopes of service patterns.
2166+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
2167+ # @return [Array<String>]
2168+ attr_accessor :service_patterns_enforcement_scopes
2169+
20492170 def initialize ( **args )
20502171 update! ( **args )
20512172 end
20522173
20532174 # Update properties of this object
20542175 def update! ( **args )
2176+ @allowed_service_patterns = args [ :allowed_service_patterns ] if args . key? ( :allowed_service_patterns )
20552177 @allowed_services = args [ :allowed_services ] if args . key? ( :allowed_services )
20562178 @enable_restriction = args [ :enable_restriction ] if args . key? ( :enable_restriction )
2179+ @service_patterns_enforcement_scopes = args [ :service_patterns_enforcement_scopes ] if args . key? ( :service_patterns_enforcement_scopes )
20572180 end
20582181 end
20592182
0 commit comments