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 project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse

Returns a new instance of GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse.



1158
1159
1160
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1158

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

Instance Attribute Details

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

Policy details. Corresponds to the JSON property firewallPolicies



1150
1151
1152
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1150

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)


1156
1157
1158
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1156

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1163
1164
1165
1166
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1163

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