Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListSchemasResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Response message for SchemaService.ListSchemas method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListSchemasResponse

Returns a new instance of GoogleCloudDiscoveryengineV1ListSchemasResponse.



4906
4907
4908
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4906

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4899
4900
4901
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4899

def next_page_token
  @next_page_token
end

#schemasArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Schema>

The Schemas. Corresponds to the JSON property schemas



4904
4905
4906
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4904

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4911
4912
4913
4914
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4911

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