@@ -2950,6 +2950,31 @@ def update!(**args)
29502950 end
29512951 end
29522952
2953+ # Adds a request header to the API.
2954+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
2955+ include Google ::Apis ::Core ::Hashable
2956+
2957+ # HTTP header key.
2958+ # Corresponds to the JSON property `key`
2959+ # @return [String]
2960+ attr_accessor :key
2961+
2962+ # HTTP header value.
2963+ # Corresponds to the JSON property `value`
2964+ # @return [String]
2965+ attr_accessor :value
2966+
2967+ def initialize ( **args )
2968+ update! ( **args )
2969+ end
2970+
2971+ # Update properties of this object
2972+ def update! ( **args )
2973+ @key = args [ :key ] if args . key? ( :key )
2974+ @value = args [ :value ] if args . key? ( :value )
2975+ end
2976+ end
2977+
29532978 # Identification for an API Operation.
29542979 class GoogleIdentityAccesscontextmanagerV1ApiOperation
29552980 include Google ::Apis ::Core ::Hashable
@@ -3308,6 +3333,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource
33083333 # @return [String]
33093334 attr_accessor :access_level
33103335
3336+ # Specifies the PSC an API call refers to.
3337+ # Corresponds to the JSON property `pscEndpoint`
3338+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
3339+ attr_accessor :psc_endpoint
3340+
33113341 # A Google Cloud resource from the service perimeter that you want to allow to
33123342 # access data outside the perimeter. This field supports only projects. The
33133343 # project format is `projects/`project_number``. You can't use `*` in this field
@@ -3323,6 +3353,7 @@ def initialize(**args)
33233353 # Update properties of this object
33243354 def update! ( **args )
33253355 @access_level = args [ :access_level ] if args . key? ( :access_level )
3356+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
33263357 @resource = args [ :resource ] if args . key? ( :resource )
33273358 end
33283359 end
@@ -3487,6 +3518,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource
34873518 # @return [String]
34883519 attr_accessor :access_level
34893520
3521+ # Specifies the PSC an API call refers to.
3522+ # Corresponds to the JSON property `pscEndpoint`
3523+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
3524+ attr_accessor :psc_endpoint
3525+
34903526 # A Google Cloud resource that is allowed to ingress the perimeter. Requests
34913527 # from these resources will be allowed to access perimeter data. Currently only
34923528 # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -3505,6 +3541,7 @@ def initialize(**args)
35053541 # Update properties of this object
35063542 def update! ( **args )
35073543 @access_level = args [ :access_level ] if args . key? ( :access_level )
3544+ @psc_endpoint = args [ :psc_endpoint ] if args . key? ( :psc_endpoint )
35083545 @resource = args [ :resource ] if args . key? ( :resource )
35093546 end
35103547 end
@@ -3576,6 +3613,25 @@ def update!(**args)
35763613 end
35773614 end
35783615
3616+ # Modifier to apply to the API requests.
3617+ class GoogleIdentityAccesscontextmanagerV1Modifier
3618+ include Google ::Apis ::Core ::Hashable
3619+
3620+ # Adds a request header to the API.
3621+ # Corresponds to the JSON property `addRequestHeader`
3622+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
3623+ attr_accessor :add_request_header
3624+
3625+ def initialize ( **args )
3626+ update! ( **args )
3627+ end
3628+
3629+ # Update properties of this object
3630+ def update! ( **args )
3631+ @add_request_header = args [ :add_request_header ] if args . key? ( :add_request_header )
3632+ end
3633+ end
3634+
35793635 # A restriction on the OS type and version of devices making requests.
35803636 class GoogleIdentityAccesscontextmanagerV1OsConstraint
35813637 include Google ::Apis ::Core ::Hashable
@@ -3613,6 +3669,60 @@ def update!(**args)
36133669 end
36143670 end
36153671
3672+ # Specifies the PSC an API call refers to.
3673+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
3674+ include Google ::Apis ::Core ::Hashable
3675+
3676+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
3677+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
3678+ # FORWARDING_RULE_ID``.
3679+ # Corresponds to the JSON property `forwardingRule`
3680+ # @return [String]
3681+ attr_accessor :forwarding_rule
3682+
3683+ def initialize ( **args )
3684+ update! ( **args )
3685+ end
3686+
3687+ # Update properties of this object
3688+ def update! ( **args )
3689+ @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
3690+ end
3691+ end
3692+
3693+ # Service patterns used to allow access.
3694+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
3695+ include Google ::Apis ::Core ::Hashable
3696+
3697+ # Modifiers to apply to the requests that match the URL pattern.
3698+ # Corresponds to the JSON property `modifiers`
3699+ # @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1Modifier>]
3700+ attr_accessor :modifiers
3701+
3702+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
3703+ # com//*" and "*.appspot.com/* forms are supported, where should be
3704+ # alphanumerical name.
3705+ # Corresponds to the JSON property `pattern`
3706+ # @return [String]
3707+ attr_accessor :pattern
3708+
3709+ # Supported service to allow.
3710+ # Corresponds to the JSON property `service`
3711+ # @return [String]
3712+ attr_accessor :service
3713+
3714+ def initialize ( **args )
3715+ update! ( **args )
3716+ end
3717+
3718+ # Update properties of this object
3719+ def update! ( **args )
3720+ @modifiers = args [ :modifiers ] if args . key? ( :modifiers )
3721+ @pattern = args [ :pattern ] if args . key? ( :pattern )
3722+ @service = args [ :service ] if args . key? ( :service )
3723+ end
3724+ end
3725+
36163726 # `ServicePerimeter` describes a set of Google Cloud resources which can freely
36173727 # import and export data amongst themselves, but not export outside of the `
36183728 # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -3773,6 +3883,12 @@ def update!(**args)
37733883 class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
37743884 include Google ::Apis ::Core ::Hashable
37753885
3886+ # Specifies which Google services are allowed to be accessed from VPC networks
3887+ # in the service perimeter.
3888+ # Corresponds to the JSON property `allowedServicePatterns`
3889+ # @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
3890+ attr_accessor :allowed_service_patterns
3891+
37763892 # The list of APIs usable within the Service Perimeter. Must be empty unless '
37773893 # enable_restriction' is True. You can specify a list of individual services, as
37783894 # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -3788,14 +3904,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
37883904 attr_accessor :enable_restriction
37893905 alias_method :enable_restriction? , :enable_restriction
37903906
3907+ # Defines the enforcement scopes of service patterns.
3908+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
3909+ # @return [Array<String>]
3910+ attr_accessor :service_patterns_enforcement_scopes
3911+
37913912 def initialize ( **args )
37923913 update! ( **args )
37933914 end
37943915
37953916 # Update properties of this object
37963917 def update! ( **args )
3918+ @allowed_service_patterns = args [ :allowed_service_patterns ] if args . key? ( :allowed_service_patterns )
37973919 @allowed_services = args [ :allowed_services ] if args . key? ( :allowed_services )
37983920 @enable_restriction = args [ :enable_restriction ] if args . key? ( :enable_restriction )
3921+ @service_patterns_enforcement_scopes = args [ :service_patterns_enforcement_scopes ] if args . key? ( :service_patterns_enforcement_scopes )
37993922 end
38003923 end
38013924
0 commit comments