Class: Google::Apis::GenomicsV1::SearchAnnotationSetsRequest

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) ⇒ SearchAnnotationSetsRequest

Returns a new instance of SearchAnnotationSetsRequest



1247
1248
1249
# File 'generated/google/apis/genomics_v1/classes.rb', line 1247

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

Instance Attribute Details

#dataset_idsArray<String>

Required. The dataset IDs to search within. Caller must have READ access to these datasets. Corresponds to the JSON property datasetIds

Returns:

  • (Array<String>)


1227
1228
1229
# File 'generated/google/apis/genomics_v1/classes.rb', line 1227

def dataset_ids
  @dataset_ids
end

#nameString

Only return annotations sets for which a substring of the name matches this string (case insensitive). Corresponds to the JSON property name

Returns:

  • (String)


1239
1240
1241
# File 'generated/google/apis/genomics_v1/classes.rb', line 1239

def name
  @name
end

#page_sizeFixnum

The maximum number of results to return in a single page. If unspecified, defaults to 128. The maximum value is 1024. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1221
1222
1223
# File 'generated/google/apis/genomics_v1/classes.rb', line 1221

def page_size
  @page_size
end

#page_tokenString

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response. Corresponds to the JSON property pageToken

Returns:

  • (String)


1215
1216
1217
# File 'generated/google/apis/genomics_v1/classes.rb', line 1215

def page_token
  @page_token
end

#reference_set_idString

If specified, only annotation sets associated with the given reference set are returned. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


1245
1246
1247
# File 'generated/google/apis/genomics_v1/classes.rb', line 1245

def reference_set_id
  @reference_set_id
end

#typesArray<String>

If specified, only annotation sets that have any of these types are returned. Corresponds to the JSON property types

Returns:

  • (Array<String>)


1233
1234
1235
# File 'generated/google/apis/genomics_v1/classes.rb', line 1233

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1252
1253
1254
1255
1256
1257
1258
1259
# File 'generated/google/apis/genomics_v1/classes.rb', line 1252

def update!(**args)
  @page_token = args[:page_token] if args.key?(:page_token)
  @page_size = args[:page_size] if args.key?(:page_size)
  @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
  @types = args[:types] if args.key?(:types)
  @name = args[:name] if args.key?(:name)
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
end