Class: Google::Apis::DomainsrdapV1::DomainsRDAPService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DomainsrdapV1::DomainsRDAPService
- Defined in:
- generated/google/apis/domainsrdap_v1/service.rb
Overview
Domains RDAP API
Read-only public API that lets users search for information about domain names.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#get_autnum(autnum_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_domain(domain_name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
Look up RDAP information for a domain by name.
-
#get_domains(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_entities(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_entity(entity_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_help(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
Get help information for the RDAP API, including links to documentation.
-
#get_ip(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_nameserver(nameserver_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#get_nameservers(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
-
#initialize ⇒ DomainsRDAPService
constructor
A new instance of DomainsRDAPService.
-
#ip_get(ip_id, ip_id1, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it.
Constructor Details
#initialize ⇒ DomainsRDAPService
Returns a new instance of DomainsRDAPService.
45 46 47 48 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 45 def initialize super('https://domainsrdap.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#get_autnum(autnum_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
70 71 72 73 74 75 76 77 78 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 70 def get_autnum(autnum_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/autnum/{autnumId}', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.params['autnumId'] = autnum_id unless autnum_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_domain(domain_name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
Look up RDAP information for a domain by name.
100 101 102 103 104 105 106 107 108 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 100 def get_domain(domain_name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/domain/{+domainName}', ) command.response_representation = Google::Apis::DomainsrdapV1::HttpBody::Representation command.response_class = Google::Apis::DomainsrdapV1::HttpBody command.params['domainName'] = domain_name unless domain_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_domains(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
221 222 223 224 225 226 227 228 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 221 def get_domains(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/domains', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_entities(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
249 250 251 252 253 254 255 256 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 249 def get_entities(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entities', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_entity(entity_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
130 131 132 133 134 135 136 137 138 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 130 def get_entity(entity_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entity/{entityId}', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.params['entityId'] = entity_id unless entity_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_help(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
Get help information for the RDAP API, including links to documentation.
276 277 278 279 280 281 282 283 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 276 def get_help(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/help', ) command.response_representation = Google::Apis::DomainsrdapV1::HttpBody::Representation command.response_class = Google::Apis::DomainsrdapV1::HttpBody command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_ip(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::HttpBody
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
304 305 306 307 308 309 310 311 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 304 def get_ip(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/ip', ) command.response_representation = Google::Apis::DomainsrdapV1::HttpBody::Representation command.response_class = Google::Apis::DomainsrdapV1::HttpBody command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_nameserver(nameserver_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
192 193 194 195 196 197 198 199 200 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 192 def get_nameserver(nameserver_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/nameserver/{nameserverId}', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.params['nameserverId'] = nameserver_id unless nameserver_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_nameservers(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
332 333 334 335 336 337 338 339 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 332 def get_nameservers(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/nameservers', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#ip_get(ip_id, ip_id1, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DomainsrdapV1::RdapResponse
The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.
161 162 163 164 165 166 167 168 169 170 |
# File 'generated/google/apis/domainsrdap_v1/service.rb', line 161 def ip_get(ip_id, ip_id1, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/ip/{ipId}/{ipId1}', ) command.response_representation = Google::Apis::DomainsrdapV1::RdapResponse::Representation command.response_class = Google::Apis::DomainsrdapV1::RdapResponse command.params['ipId'] = ip_id unless ip_id.nil? command.params['ipId1'] = ip_id1 unless ip_id1.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |