Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSchemasResponse

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

Overview

Response message for SchemaService.ListSchemas method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSchemasResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListSchemasResponse.



2538
2539
2540
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2538

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)


2531
2532
2533
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2531

def next_page_token
  @next_page_token
end

#schemasArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema>

The Schemas. Corresponds to the JSON property schemas



2536
2537
2538
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2536

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2543
2544
2545
2546
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2543

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