Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse

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

Overview

Response to request to list firewall policies belonging to a key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse

Returns a new instance of GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse.



868
869
870
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 868

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

Instance Attribute Details

#firewall_policiesArray<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy>

Policy details. Corresponds to the JSON property firewallPolicies



860
861
862
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 860

def firewall_policies
  @firewall_policies
end

#next_page_tokenString

Token to retrieve the next page of results. It is set to empty if no policies remain in results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


866
867
868
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 866

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



873
874
875
876
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 873

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