Method: DiscoveryV1::Validation::LoadSchemas#rest_description

Defined in:
lib/discovery_v1/validation/load_schemas.rb

#rest_descriptionGoogle::Apis::DiscoveryV1::RestDescription (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The Google Discovery V1 API description to load schemas from

Examples:

rest_description = DiscoveryV1.discovery_service.get_rest_description('sheets', 'v4')
loader = DiscoveryV1::Validation::LoadSchemas.new(rest_description:)
loader.rest_description == rest_description # => true

Returns:



44
45
46
# File 'lib/discovery_v1/validation/load_schemas.rb', line 44

def rest_description
  @rest_description
end