Class: Google::Apis::GenomicsV1::SearchAnnotationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchAnnotationsResponse

Returns a new instance of SearchAnnotationsResponse



2592
2593
2594
# File 'generated/google/apis/genomics_v1/classes.rb', line 2592

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

Instance Attribute Details

#annotationsArray<Google::Apis::GenomicsV1::Annotation>

The matching annotations. Corresponds to the JSON property annotations



2583
2584
2585
# File 'generated/google/apis/genomics_v1/classes.rb', line 2583

def annotations
  @annotations
end

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2590
2591
2592
# File 'generated/google/apis/genomics_v1/classes.rb', line 2590

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2597
2598
2599
2600
# File 'generated/google/apis/genomics_v1/classes.rb', line 2597

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