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.



1140
1141
1142
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1140

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

Instance Attribute Details

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

Policy details. Corresponds to the JSON property firewallPolicies



1132
1133
1134
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1132

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)


1138
1139
1140
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1138

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1145
1146
1147
1148
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1145

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