Class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyCustomProviderAuthzExtension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb

Overview

Optional. Delegate authorization decision to user authored extension. Only one of cloudIap or authzExtension can be specified.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthzPolicyCustomProviderAuthzExtension

Returns a new instance of AuthzPolicyCustomProviderAuthzExtension.



649
650
651
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 649

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resourcesArray<String>

Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider. Corresponds to the JSON property resources

Returns:

  • (Array<String>)


647
648
649
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 647

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



654
655
656
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 654

def update!(**args)
  @resources = args[:resources] if args.key?(:resources)
end