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.



1120
1121
1122
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1120

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

Instance Attribute Details

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

Policy details. Corresponds to the JSON property firewallPolicies



1112
1113
1114
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1112

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)


1118
1119
1120
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1118

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1125
1126
1127
1128
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1125

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