@@ -1205,6 +1205,31 @@ def update!(**args)
12051205 end
12061206 end
12071207
1208+ # Adds a request header to the API.
1209+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
1210+ include Google ::Apis ::Core ::Hashable
1211+
1212+ # HTTP header key.
1213+ # Corresponds to the JSON property `key`
1214+ # @return [String]
1215+ attr_accessor :key
1216+
1217+ # HTTP header value.
1218+ # Corresponds to the JSON property `value`
1219+ # @return [String]
1220+ attr_accessor :value
1221+
1222+ def initialize ( **args )
1223+ update! ( **args )
1224+ end
1225+
1226+ # Update properties of this object
1227+ def update! ( **args )
1228+ @key = args [ :key ] if args . key? ( :key )
1229+ @value = args [ :value ] if args . key? ( :value )
1230+ end
1231+ end
1232+
12081233 # Identification for an API Operation.
12091234 class GoogleIdentityAccesscontextmanagerV1ApiOperation
12101235 include Google ::Apis ::Core ::Hashable
@@ -1563,6 +1588,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource
15631588 # @return [String]
15641589 attr_accessor :access_level
15651590
1591+ # Specifies the PSC an API call refers to.
1592+ # Corresponds to the JSON property `pscEndpoint`
1593+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1594+ attr_accessor :psc_endpoint
1595+
15661596 # A Google Cloud resource from the service perimeter that you want to allow to
15671597 # access data outside the perimeter. This field supports only projects. The
15681598 # project format is `projects/`project_number``. You can't use `*` in this field
@@ -1578,6 +1608,7 @@ def initialize(**args)
15781608 # Update properties of this object
15791609 def update! ( **args )
15801610 @access_level = args [ :access_level ] if args . key? ( :access_level )
1611+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
15811612 @resource = args [ :resource ] if args . key? ( :resource )
15821613 end
15831614 end
@@ -1742,6 +1773,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource
17421773 # @return [String]
17431774 attr_accessor :access_level
17441775
1776+ # Specifies the PSC an API call refers to.
1777+ # Corresponds to the JSON property `pscEndpoint`
1778+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1779+ attr_accessor :psc_endpoint
1780+
17451781 # A Google Cloud resource that is allowed to ingress the perimeter. Requests
17461782 # from these resources will be allowed to access perimeter data. Currently only
17471783 # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -1760,6 +1796,7 @@ def initialize(**args)
17601796 # Update properties of this object
17611797 def update! ( **args )
17621798 @access_level = args [ :access_level ] if args . key? ( :access_level )
1799+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
17631800 @resource = args [ :resource ] if args . key? ( :resource )
17641801 end
17651802 end
@@ -1831,6 +1868,25 @@ def update!(**args)
18311868 end
18321869 end
18331870
1871+ # Modifier to apply to the API requests.
1872+ class GoogleIdentityAccesscontextmanagerV1Modifier
1873+ include Google ::Apis ::Core ::Hashable
1874+
1875+ # Adds a request header to the API.
1876+ # Corresponds to the JSON property `addRequestHeader`
1877+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
1878+ attr_accessor :add_request_header
1879+
1880+ def initialize ( **args )
1881+ update! ( **args )
1882+ end
1883+
1884+ # Update properties of this object
1885+ def update! ( **args )
1886+ @add_request_header = args [ :add_request_header ] if args . key? ( :add_request_header )
1887+ end
1888+ end
1889+
18341890 # A restriction on the OS type and version of devices making requests.
18351891 class GoogleIdentityAccesscontextmanagerV1OsConstraint
18361892 include Google ::Apis ::Core ::Hashable
@@ -1868,6 +1924,60 @@ def update!(**args)
18681924 end
18691925 end
18701926
1927+ # Specifies the PSC an API call refers to.
1928+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
1929+ include Google ::Apis ::Core ::Hashable
1930+
1931+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
1932+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
1933+ # FORWARDING_RULE_ID``.
1934+ # Corresponds to the JSON property `forwardingRule`
1935+ # @return [String]
1936+ attr_accessor :forwarding_rule
1937+
1938+ def initialize ( **args )
1939+ update! ( **args )
1940+ end
1941+
1942+ # Update properties of this object
1943+ def update! ( **args )
1944+ @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
1945+ end
1946+ end
1947+
1948+ # Service patterns used to allow access.
1949+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
1950+ include Google ::Apis ::Core ::Hashable
1951+
1952+ # Modifiers to apply to the requests that match the URL pattern.
1953+ # Corresponds to the JSON property `modifiers`
1954+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier>]
1955+ attr_accessor :modifiers
1956+
1957+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
1958+ # com//*" and "*.appspot.com/* forms are supported, where should be
1959+ # alphanumerical name.
1960+ # Corresponds to the JSON property `pattern`
1961+ # @return [String]
1962+ attr_accessor :pattern
1963+
1964+ # Supported service to allow.
1965+ # Corresponds to the JSON property `service`
1966+ # @return [String]
1967+ attr_accessor :service
1968+
1969+ def initialize ( **args )
1970+ update! ( **args )
1971+ end
1972+
1973+ # Update properties of this object
1974+ def update! ( **args )
1975+ @modifiers = args [ :modifiers ] if args . key? ( :modifiers )
1976+ @pattern = args [ :pattern ] if args . key? ( :pattern )
1977+ @service = args [ :service ] if args . key? ( :service )
1978+ end
1979+ end
1980+
18711981 # `ServicePerimeter` describes a set of Google Cloud resources which can freely
18721982 # import and export data amongst themselves, but not export outside of the `
18731983 # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -2028,6 +2138,12 @@ def update!(**args)
20282138 class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
20292139 include Google ::Apis ::Core ::Hashable
20302140
2141+ # Specifies which Google services are allowed to be accessed from VPC networks
2142+ # in the service perimeter.
2143+ # Corresponds to the JSON property `allowedServicePatterns`
2144+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
2145+ attr_accessor :allowed_service_patterns
2146+
20312147 # The list of APIs usable within the Service Perimeter. Must be empty unless '
20322148 # enable_restriction' is True. You can specify a list of individual services, as
20332149 # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -2043,14 +2159,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
20432159 attr_accessor :enable_restriction
20442160 alias_method :enable_restriction? , :enable_restriction
20452161
2162+ # Defines the enforcement scopes of service patterns.
2163+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
2164+ # @return [Array<String>]
2165+ attr_accessor :service_patterns_enforcement_scopes
2166+
20462167 def initialize ( **args )
20472168 update! ( **args )
20482169 end
20492170
20502171 # Update properties of this object
20512172 def update! ( **args )
2173+ @allowed_service_patterns = args [ :allowed_service_patterns ] if args . key? ( :allowed_service_patterns )
20522174 @allowed_services = args [ :allowed_services ] if args . key? ( :allowed_services )
20532175 @enable_restriction = args [ :enable_restriction ] if args . key? ( :enable_restriction )
2176+ @service_patterns_enforcement_scopes = args [ :service_patterns_enforcement_scopes ] if args . key? ( :service_patterns_enforcement_scopes )
20542177 end
20552178 end
20562179
0 commit comments