Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListKeysResponse

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 keys in a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ListKeysResponse

Returns a new instance of GoogleCloudRecaptchaenterpriseV1ListKeysResponse.



1013
1014
1015
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1013

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

Instance Attribute Details

#keysArray<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key>

Key details. Corresponds to the JSON property keys



1005
1006
1007
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1005

def keys
  @keys
end

#next_page_tokenString

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

Returns:

  • (String)


1011
1012
1013
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1011

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1018
1019
1020
1021
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1018

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