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.



1210
1211
1212
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1210

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

Instance Attribute Details

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

Key details. Corresponds to the JSON property keys



1202
1203
1204
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1202

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)


1208
1209
1210
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1208

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1215
1216
1217
1218
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1215

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