google-api-client 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +34 -0
- data/api_names.yaml +3 -0
- data/api_names_out.yaml +1058 -20
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +2 -3
- data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
- data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +68 -14
- data/generated/google/apis/bigquery_v2/representations.rb +30 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +68 -3
- data/generated/google/apis/books_v1/representations.rb +21 -0
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +138 -108
- data/generated/google/apis/compute_beta/representations.rb +16 -18
- data/generated/google/apis/compute_beta/service.rb +52 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +55 -74
- data/generated/google/apis/compute_v1/representations.rb +14 -18
- data/generated/google/apis/compute_v1/service.rb +45 -1
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +200 -42
- data/generated/google/apis/container_v1/representations.rb +54 -0
- data/generated/google/apis/container_v1/service.rb +31 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2.rb +2 -2
- data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -3
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
- data/generated/google/apis/dfareporting_v2_3.rb +2 -2
- data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -4
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +770 -82
- data/generated/google/apis/genomics_v1/representations.rb +287 -24
- data/generated/google/apis/genomics_v1/service.rb +412 -13
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
- data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/logging_v2beta1.rb +2 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
- data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
- data/generated/google/apis/logging_v2beta1/service.rb +25 -32
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +20 -12
- data/generated/google/apis/pubsub_v1/service.rb +32 -35
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +23 -9
- data/generated/google/apis/reseller_v1/representations.rb +2 -0
- data/generated/google/apis/sheets_v1.rb +43 -0
- data/generated/google/apis/sheets_v1/classes.rb +4542 -0
- data/generated/google/apis/sheets_v1/representations.rb +1703 -0
- data/generated/google/apis/sheets_v1/service.rb +363 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +11 -11
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +2 -2
- data/generated/google/apis/webmasters_v3/classes.rb +7 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/webmasters_v3/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
- data/generated/google/apis/youtube_v3.rb +3 -2
- data/generated/google/apis/youtube_v3/classes.rb +100 -3
- data/generated/google/apis/youtube_v3/representations.rb +50 -0
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
- data/google-api-client.gemspec +2 -0
- data/lib/google/apis.rb +12 -2
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +5 -2
- data/spec/google/apis/logging_spec.rb +55 -0
- metadata +12 -4
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module DfareportingV2_3
|
23
23
|
# DCM/DFA Reporting And Trafficking API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/dfareporting_v2_3'
|
@@ -6197,7 +6197,7 @@ module Google
|
|
6197
6197
|
# Select only placements that are associated with these compatibilities. WEB and
|
6198
6198
|
# WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for
|
6199
6199
|
# regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for
|
6200
|
-
# rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream
|
6200
|
+
# rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream
|
6201
6201
|
# video ads developed with the VAST standard.
|
6202
6202
|
# @param [Array<String>, String] content_category_ids
|
6203
6203
|
# Select only placements that are associated with these content categories.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/cloud-dns
|
27
27
|
module DnsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160224'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
27
27
|
module DoubleclicksearchV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160407'
|
30
30
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
@@ -98,7 +98,8 @@ module Google
|
|
98
98
|
# @return [String]
|
99
99
|
attr_accessor :agency_id
|
100
100
|
|
101
|
-
#
|
101
|
+
# Available to advertisers only after contacting DoubleClick Search customer
|
102
|
+
# support.
|
102
103
|
# Corresponds to the JSON property `attributionModel`
|
103
104
|
# @return [String]
|
104
105
|
attr_accessor :attribution_model
|
@@ -138,7 +139,8 @@ module Google
|
|
138
139
|
# @return [String]
|
139
140
|
attr_accessor :conversion_timestamp
|
140
141
|
|
141
|
-
#
|
142
|
+
# Available to advertisers only after contacting DoubleClick Search customer
|
143
|
+
# support.
|
142
144
|
# Corresponds to the JSON property `countMillis`
|
143
145
|
# @return [String]
|
144
146
|
attr_accessor :count_millis
|
@@ -219,8 +221,8 @@ module Google
|
|
219
221
|
attr_accessor :quantity_millis
|
220
222
|
|
221
223
|
# The revenue amount of this TRANSACTION conversion, in micros (value multiplied
|
222
|
-
# by
|
223
|
-
#
|
224
|
+
# by 1000000, no decimal). For example, to specify a revenue value of "10" enter
|
225
|
+
# "10000000" (10 million) in your request.
|
224
226
|
# Corresponds to the JSON property `revenueMicros`
|
225
227
|
# @return [String]
|
226
228
|
attr_accessor :revenue_micros
|
@@ -1332,6 +1332,12 @@ module Google
|
|
1332
1332
|
# @return [Google::Apis::DriveV2::File::IndexableText]
|
1333
1333
|
attr_accessor :indexable_text
|
1334
1334
|
|
1335
|
+
# Whether the file was created or opened by the requesting app.
|
1336
|
+
# Corresponds to the JSON property `isAppAuthorized`
|
1337
|
+
# @return [Boolean]
|
1338
|
+
attr_accessor :is_app_authorized
|
1339
|
+
alias_method :is_app_authorized?, :is_app_authorized
|
1340
|
+
|
1335
1341
|
# The type of file. This is always drive#file.
|
1336
1342
|
# Corresponds to the JSON property `kind`
|
1337
1343
|
# @return [String]
|
@@ -1395,10 +1401,9 @@ module Google
|
|
1395
1401
|
# @return [Hash<String,String>]
|
1396
1402
|
attr_accessor :open_with_links
|
1397
1403
|
|
1398
|
-
# The original filename
|
1399
|
-
#
|
1400
|
-
#
|
1401
|
-
# content stored in Drive; it is not populated for Google Docs or shortcut files.
|
1404
|
+
# The original filename of the uploaded content if available, or else the
|
1405
|
+
# original value of the title field. This is only available for files with
|
1406
|
+
# binary content in Drive.
|
1402
1407
|
# Corresponds to the JSON property `originalFilename`
|
1403
1408
|
# @return [String]
|
1404
1409
|
attr_accessor :original_filename
|
@@ -1558,6 +1563,7 @@ module Google
|
|
1558
1563
|
@id = args[:id] if args.key?(:id)
|
1559
1564
|
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
1560
1565
|
@indexable_text = args[:indexable_text] if args.key?(:indexable_text)
|
1566
|
+
@is_app_authorized = args[:is_app_authorized] if args.key?(:is_app_authorized)
|
1561
1567
|
@kind = args[:kind] if args.key?(:kind)
|
1562
1568
|
@labels = args[:labels] if args.key?(:labels)
|
1563
1569
|
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
@@ -587,6 +587,7 @@ module Google
|
|
587
587
|
|
588
588
|
property :indexable_text, as: 'indexableText', class: Google::Apis::DriveV2::File::IndexableText, decorator: Google::Apis::DriveV2::File::IndexableText::Representation
|
589
589
|
|
590
|
+
property :is_app_authorized, as: 'isAppAuthorized'
|
590
591
|
property :kind, as: 'kind'
|
591
592
|
property :labels, as: 'labels', class: Google::Apis::DriveV2::File::Labels, decorator: Google::Apis::DriveV2::File::Labels::Representation
|
592
593
|
|
@@ -525,6 +525,12 @@ module Google
|
|
525
525
|
# @return [Google::Apis::DriveV3::File::ImageMediaMetadata]
|
526
526
|
attr_accessor :image_media_metadata
|
527
527
|
|
528
|
+
# Whether the file was created or opened by the requesting app.
|
529
|
+
# Corresponds to the JSON property `isAppAuthorized`
|
530
|
+
# @return [Boolean]
|
531
|
+
attr_accessor :is_app_authorized
|
532
|
+
alias_method :is_app_authorized?, :is_app_authorized
|
533
|
+
|
528
534
|
# This is always drive#file.
|
529
535
|
# Corresponds to the JSON property `kind`
|
530
536
|
# @return [String]
|
@@ -728,6 +734,7 @@ module Google
|
|
728
734
|
@icon_link = args[:icon_link] if args.key?(:icon_link)
|
729
735
|
@id = args[:id] if args.key?(:id)
|
730
736
|
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
737
|
+
@is_app_authorized = args[:is_app_authorized] if args.key?(:is_app_authorized)
|
731
738
|
@kind = args[:kind] if args.key?(:kind)
|
732
739
|
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
733
740
|
@md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum)
|
@@ -308,6 +308,7 @@ module Google
|
|
308
308
|
property :id, as: 'id'
|
309
309
|
property :image_media_metadata, as: 'imageMediaMetadata', class: Google::Apis::DriveV3::File::ImageMediaMetadata, decorator: Google::Apis::DriveV3::File::ImageMediaMetadata::Representation
|
310
310
|
|
311
|
+
property :is_app_authorized, as: 'isAppAuthorized'
|
311
312
|
property :kind, as: 'kind'
|
312
313
|
property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
|
313
314
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fusiontables
|
26
26
|
module FusiontablesV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160317'
|
29
29
|
|
30
30
|
# Manage your Fusion Tables
|
31
31
|
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesConfigurationV1configuration
|
27
27
|
VERSION = 'V1configuration'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160407'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesManagementV1management
|
27
27
|
VERSION = 'V1management'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160407'
|
29
29
|
|
30
30
|
# Share your Google+ profile information and view and manage your game activity
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
26
26
|
module GamesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160407'
|
29
29
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
@@ -24,10 +24,10 @@ module Google
|
|
24
24
|
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
25
25
|
# extensions.
|
26
26
|
#
|
27
|
-
# @see
|
27
|
+
# @see https://cloud.google.com/genomics/
|
28
28
|
module GenomicsV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20160411'
|
31
31
|
|
32
32
|
# View and manage your data in Google BigQuery
|
33
33
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -22,6 +22,761 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GenomicsV1
|
24
24
|
|
25
|
+
# An annotation set is a logical grouping of annotations that share consistent
|
26
|
+
# type information and provenance. Examples of annotation sets include 'all
|
27
|
+
# genes from refseq', and 'all variant annotations from ClinVar'.
|
28
|
+
class AnnotationSet
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# The server-generated annotation set ID, unique across all annotation sets.
|
32
|
+
# Corresponds to the JSON property `id`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :id
|
35
|
+
|
36
|
+
# The dataset to which this annotation set belongs.
|
37
|
+
# Corresponds to the JSON property `datasetId`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :dataset_id
|
40
|
+
|
41
|
+
# The ID of the reference set that defines the coordinate space for this set's
|
42
|
+
# annotations.
|
43
|
+
# Corresponds to the JSON property `referenceSetId`
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :reference_set_id
|
46
|
+
|
47
|
+
# The display name for this annotation set.
|
48
|
+
# Corresponds to the JSON property `name`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :name
|
51
|
+
|
52
|
+
# The source URI describing the file from which this annotation set was
|
53
|
+
# generated, if any.
|
54
|
+
# Corresponds to the JSON property `sourceUri`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :source_uri
|
57
|
+
|
58
|
+
# The type of annotations contained within this set.
|
59
|
+
# Corresponds to the JSON property `type`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :type
|
62
|
+
|
63
|
+
# A map of additional read alignment information. This must be of the form map (
|
64
|
+
# string key mapping to a list of string values).
|
65
|
+
# Corresponds to the JSON property `info`
|
66
|
+
# @return [Hash<String,Array<Object>>]
|
67
|
+
attr_accessor :info
|
68
|
+
|
69
|
+
def initialize(**args)
|
70
|
+
update!(**args)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Update properties of this object
|
74
|
+
def update!(**args)
|
75
|
+
@id = args[:id] if args.key?(:id)
|
76
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
77
|
+
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
78
|
+
@name = args[:name] if args.key?(:name)
|
79
|
+
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
80
|
+
@type = args[:type] if args.key?(:type)
|
81
|
+
@info = args[:info] if args.key?(:info)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
86
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
87
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
88
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
89
|
+
# `Empty` is empty JSON object ````.
|
90
|
+
class Empty
|
91
|
+
include Google::Apis::Core::Hashable
|
92
|
+
|
93
|
+
def initialize(**args)
|
94
|
+
update!(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
# Update properties of this object
|
98
|
+
def update!(**args)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
#
|
103
|
+
class SearchAnnotationSetsRequest
|
104
|
+
include Google::Apis::Core::Hashable
|
105
|
+
|
106
|
+
# Required. The dataset IDs to search within. Caller must have `READ` access to
|
107
|
+
# these datasets.
|
108
|
+
# Corresponds to the JSON property `datasetIds`
|
109
|
+
# @return [Array<String>]
|
110
|
+
attr_accessor :dataset_ids
|
111
|
+
|
112
|
+
# If specified, only annotation sets associated with the given reference set are
|
113
|
+
# returned.
|
114
|
+
# Corresponds to the JSON property `referenceSetId`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :reference_set_id
|
117
|
+
|
118
|
+
# Only return annotations sets for which a substring of the name matches this
|
119
|
+
# string (case insensitive).
|
120
|
+
# Corresponds to the JSON property `name`
|
121
|
+
# @return [String]
|
122
|
+
attr_accessor :name
|
123
|
+
|
124
|
+
# If specified, only annotation sets that have any of these types are returned.
|
125
|
+
# Corresponds to the JSON property `types`
|
126
|
+
# @return [Array<String>]
|
127
|
+
attr_accessor :types
|
128
|
+
|
129
|
+
# The continuation token, which is used to page through large result sets. To
|
130
|
+
# get the next page of results, set this parameter to the value of `
|
131
|
+
# nextPageToken` from the previous response.
|
132
|
+
# Corresponds to the JSON property `pageToken`
|
133
|
+
# @return [String]
|
134
|
+
attr_accessor :page_token
|
135
|
+
|
136
|
+
# The maximum number of results to return in a single page. If unspecified,
|
137
|
+
# defaults to 128. The maximum value is 1024.
|
138
|
+
# Corresponds to the JSON property `pageSize`
|
139
|
+
# @return [Fixnum]
|
140
|
+
attr_accessor :page_size
|
141
|
+
|
142
|
+
def initialize(**args)
|
143
|
+
update!(**args)
|
144
|
+
end
|
145
|
+
|
146
|
+
# Update properties of this object
|
147
|
+
def update!(**args)
|
148
|
+
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
149
|
+
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
150
|
+
@name = args[:name] if args.key?(:name)
|
151
|
+
@types = args[:types] if args.key?(:types)
|
152
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
153
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
class SearchAnnotationSetsResponse
|
159
|
+
include Google::Apis::Core::Hashable
|
160
|
+
|
161
|
+
# The matching annotation sets.
|
162
|
+
# Corresponds to the JSON property `annotationSets`
|
163
|
+
# @return [Array<Google::Apis::GenomicsV1::AnnotationSet>]
|
164
|
+
attr_accessor :annotation_sets
|
165
|
+
|
166
|
+
# The continuation token, which is used to page through large result sets.
|
167
|
+
# Provide this value in a subsequent request to return the next page of results.
|
168
|
+
# This field will be empty if there aren't any additional results.
|
169
|
+
# Corresponds to the JSON property `nextPageToken`
|
170
|
+
# @return [String]
|
171
|
+
attr_accessor :next_page_token
|
172
|
+
|
173
|
+
def initialize(**args)
|
174
|
+
update!(**args)
|
175
|
+
end
|
176
|
+
|
177
|
+
# Update properties of this object
|
178
|
+
def update!(**args)
|
179
|
+
@annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets)
|
180
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# An annotation describes a region of reference genome. The value of an
|
185
|
+
# annotation may be one of several canonical types, supplemented by arbitrary
|
186
|
+
# info tags. An annotation is not inherently associated with a specific sample
|
187
|
+
# or individual (though a client could choose to use annotations in this way).
|
188
|
+
# Example canonical annotation types are `GENE` and `VARIANT`.
|
189
|
+
class Annotation
|
190
|
+
include Google::Apis::Core::Hashable
|
191
|
+
|
192
|
+
# The server-generated annotation ID, unique across all annotations.
|
193
|
+
# Corresponds to the JSON property `id`
|
194
|
+
# @return [String]
|
195
|
+
attr_accessor :id
|
196
|
+
|
197
|
+
# The annotation set to which this annotation belongs.
|
198
|
+
# Corresponds to the JSON property `annotationSetId`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :annotation_set_id
|
201
|
+
|
202
|
+
# The display name of this annotation.
|
203
|
+
# Corresponds to the JSON property `name`
|
204
|
+
# @return [String]
|
205
|
+
attr_accessor :name
|
206
|
+
|
207
|
+
# The ID of the Google Genomics reference associated with this range.
|
208
|
+
# Corresponds to the JSON property `referenceId`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :reference_id
|
211
|
+
|
212
|
+
# The display name corresponding to the reference specified by `referenceId`,
|
213
|
+
# for example `chr1`, `1`, or `chrX`.
|
214
|
+
# Corresponds to the JSON property `referenceName`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :reference_name
|
217
|
+
|
218
|
+
# The start position of the range on the reference, 0-based inclusive.
|
219
|
+
# Corresponds to the JSON property `start`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :start
|
222
|
+
|
223
|
+
# The end position of the range on the reference, 0-based exclusive.
|
224
|
+
# Corresponds to the JSON property `end`
|
225
|
+
# @return [String]
|
226
|
+
attr_accessor :end
|
227
|
+
|
228
|
+
# Whether this range refers to the reverse strand, as opposed to the forward
|
229
|
+
# strand. Note that regardless of this field, the start/end position of the
|
230
|
+
# range always refer to the forward strand.
|
231
|
+
# Corresponds to the JSON property `reverseStrand`
|
232
|
+
# @return [Boolean]
|
233
|
+
attr_accessor :reverse_strand
|
234
|
+
alias_method :reverse_strand?, :reverse_strand
|
235
|
+
|
236
|
+
# The data type for this annotation. Must match the containing annotation set's
|
237
|
+
# type.
|
238
|
+
# Corresponds to the JSON property `type`
|
239
|
+
# @return [String]
|
240
|
+
attr_accessor :type
|
241
|
+
|
242
|
+
# A variant annotation, which describes the effect of a variant on the genome,
|
243
|
+
# the coding sequence, and/or higher level consequences at the organism level e.
|
244
|
+
# g. pathogenicity. This field is only set for annotations of type `VARIANT`.
|
245
|
+
# Corresponds to the JSON property `variant`
|
246
|
+
# @return [Google::Apis::GenomicsV1::VariantAnnotation]
|
247
|
+
attr_accessor :variant
|
248
|
+
|
249
|
+
# A transcript represents the assertion that a particular region of the
|
250
|
+
# reference genome may be transcribed as RNA.
|
251
|
+
# Corresponds to the JSON property `transcript`
|
252
|
+
# @return [Google::Apis::GenomicsV1::Transcript]
|
253
|
+
attr_accessor :transcript
|
254
|
+
|
255
|
+
# A map of additional read alignment information. This must be of the form map (
|
256
|
+
# string key mapping to a list of string values).
|
257
|
+
# Corresponds to the JSON property `info`
|
258
|
+
# @return [Hash<String,Array<Object>>]
|
259
|
+
attr_accessor :info
|
260
|
+
|
261
|
+
def initialize(**args)
|
262
|
+
update!(**args)
|
263
|
+
end
|
264
|
+
|
265
|
+
# Update properties of this object
|
266
|
+
def update!(**args)
|
267
|
+
@id = args[:id] if args.key?(:id)
|
268
|
+
@annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
|
269
|
+
@name = args[:name] if args.key?(:name)
|
270
|
+
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
271
|
+
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
272
|
+
@start = args[:start] if args.key?(:start)
|
273
|
+
@end = args[:end] if args.key?(:end)
|
274
|
+
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
275
|
+
@type = args[:type] if args.key?(:type)
|
276
|
+
@variant = args[:variant] if args.key?(:variant)
|
277
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
278
|
+
@info = args[:info] if args.key?(:info)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
#
|
283
|
+
class VariantAnnotation
|
284
|
+
include Google::Apis::Core::Hashable
|
285
|
+
|
286
|
+
# Type has been adapted from ClinVar's list of variant types.
|
287
|
+
# Corresponds to the JSON property `type`
|
288
|
+
# @return [String]
|
289
|
+
attr_accessor :type
|
290
|
+
|
291
|
+
# Effect of the variant on the coding sequence.
|
292
|
+
# Corresponds to the JSON property `effect`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :effect
|
295
|
+
|
296
|
+
# The alternate allele for this variant. If multiple alternate alleles exist at
|
297
|
+
# this location, create a separate variant for each one, as they may represent
|
298
|
+
# distinct conditions.
|
299
|
+
# Corresponds to the JSON property `alternateBases`
|
300
|
+
# @return [String]
|
301
|
+
attr_accessor :alternate_bases
|
302
|
+
|
303
|
+
# Google annotation ID of the gene affected by this variant. This should be
|
304
|
+
# provided when the variant is created.
|
305
|
+
# Corresponds to the JSON property `geneId`
|
306
|
+
# @return [String]
|
307
|
+
attr_accessor :gene_id
|
308
|
+
|
309
|
+
# Google annotation IDs of the transcripts affected by this variant. These
|
310
|
+
# should be provided when the variant is created.
|
311
|
+
# Corresponds to the JSON property `transcriptIds`
|
312
|
+
# @return [Array<String>]
|
313
|
+
attr_accessor :transcript_ids
|
314
|
+
|
315
|
+
# The set of conditions associated with this variant. A condition describes the
|
316
|
+
# way a variant influences human health.
|
317
|
+
# Corresponds to the JSON property `conditions`
|
318
|
+
# @return [Array<Google::Apis::GenomicsV1::ClinicalCondition>]
|
319
|
+
attr_accessor :conditions
|
320
|
+
|
321
|
+
# Describes the clinical significance of a variant. It is adapted from the
|
322
|
+
# ClinVar controlled vocabulary for clinical significance described at: http://
|
323
|
+
# www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
|
324
|
+
# Corresponds to the JSON property `clinicalSignificance`
|
325
|
+
# @return [String]
|
326
|
+
attr_accessor :clinical_significance
|
327
|
+
|
328
|
+
def initialize(**args)
|
329
|
+
update!(**args)
|
330
|
+
end
|
331
|
+
|
332
|
+
# Update properties of this object
|
333
|
+
def update!(**args)
|
334
|
+
@type = args[:type] if args.key?(:type)
|
335
|
+
@effect = args[:effect] if args.key?(:effect)
|
336
|
+
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
337
|
+
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
338
|
+
@transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
|
339
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
340
|
+
@clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
#
|
345
|
+
class ClinicalCondition
|
346
|
+
include Google::Apis::Core::Hashable
|
347
|
+
|
348
|
+
# A set of names for the condition.
|
349
|
+
# Corresponds to the JSON property `names`
|
350
|
+
# @return [Array<String>]
|
351
|
+
attr_accessor :names
|
352
|
+
|
353
|
+
# The set of external IDs for this condition.
|
354
|
+
# Corresponds to the JSON property `externalIds`
|
355
|
+
# @return [Array<Google::Apis::GenomicsV1::ExternalId>]
|
356
|
+
attr_accessor :external_ids
|
357
|
+
|
358
|
+
# The MedGen concept id associated with this gene. Search for these IDs at http:/
|
359
|
+
# /www.ncbi.nlm.nih.gov/medgen/
|
360
|
+
# Corresponds to the JSON property `conceptId`
|
361
|
+
# @return [String]
|
362
|
+
attr_accessor :concept_id
|
363
|
+
|
364
|
+
# The OMIM id for this condition. Search for these IDs at http://omim.org/
|
365
|
+
# Corresponds to the JSON property `omimId`
|
366
|
+
# @return [String]
|
367
|
+
attr_accessor :omim_id
|
368
|
+
|
369
|
+
def initialize(**args)
|
370
|
+
update!(**args)
|
371
|
+
end
|
372
|
+
|
373
|
+
# Update properties of this object
|
374
|
+
def update!(**args)
|
375
|
+
@names = args[:names] if args.key?(:names)
|
376
|
+
@external_ids = args[:external_ids] if args.key?(:external_ids)
|
377
|
+
@concept_id = args[:concept_id] if args.key?(:concept_id)
|
378
|
+
@omim_id = args[:omim_id] if args.key?(:omim_id)
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
#
|
383
|
+
class ExternalId
|
384
|
+
include Google::Apis::Core::Hashable
|
385
|
+
|
386
|
+
# The name of the source of this data.
|
387
|
+
# Corresponds to the JSON property `sourceName`
|
388
|
+
# @return [String]
|
389
|
+
attr_accessor :source_name
|
390
|
+
|
391
|
+
# The id used by the source of this data.
|
392
|
+
# Corresponds to the JSON property `id`
|
393
|
+
# @return [String]
|
394
|
+
attr_accessor :id
|
395
|
+
|
396
|
+
def initialize(**args)
|
397
|
+
update!(**args)
|
398
|
+
end
|
399
|
+
|
400
|
+
# Update properties of this object
|
401
|
+
def update!(**args)
|
402
|
+
@source_name = args[:source_name] if args.key?(:source_name)
|
403
|
+
@id = args[:id] if args.key?(:id)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
# A transcript represents the assertion that a particular region of the
|
408
|
+
# reference genome may be transcribed as RNA.
|
409
|
+
class Transcript
|
410
|
+
include Google::Apis::Core::Hashable
|
411
|
+
|
412
|
+
# The annotation ID of the gene from which this transcript is transcribed.
|
413
|
+
# Corresponds to the JSON property `geneId`
|
414
|
+
# @return [String]
|
415
|
+
attr_accessor :gene_id
|
416
|
+
|
417
|
+
# The exons that compose this transcript. This field should be unset for genomes
|
418
|
+
# where transcript splicing does not occur, for example prokaryotes. Introns are
|
419
|
+
# regions of the transcript that are not included in the spliced RNA product.
|
420
|
+
# Though not explicitly modeled here, intron ranges can be deduced; all regions
|
421
|
+
# of this transcript that are not exons are introns. Exonic sequences do not
|
422
|
+
# necessarily code for a translational product (amino acids). Only the regions
|
423
|
+
# of exons bounded by the codingSequence correspond to coding DNA sequence.
|
424
|
+
# Exons are ordered by start position and may not overlap.
|
425
|
+
# Corresponds to the JSON property `exons`
|
426
|
+
# @return [Array<Google::Apis::GenomicsV1::Exon>]
|
427
|
+
attr_accessor :exons
|
428
|
+
|
429
|
+
# The range of the coding sequence for this transcript, if any. To determine the
|
430
|
+
# exact ranges of coding sequence, intersect this range with those of the exons,
|
431
|
+
# if any. If there are any exons, the codingSequence must start and end within
|
432
|
+
# them. Note that in some cases, the reference genome will not exactly match the
|
433
|
+
# observed mRNA transcript e.g. due to variance in the source genome from
|
434
|
+
# reference. In these cases, exon.frame will not necessarily match the expected
|
435
|
+
# reference reading frame and coding exon reference bases cannot necessarily be
|
436
|
+
# concatenated to produce the original transcript mRNA.
|
437
|
+
# Corresponds to the JSON property `codingSequence`
|
438
|
+
# @return [Google::Apis::GenomicsV1::CodingSequence]
|
439
|
+
attr_accessor :coding_sequence
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
448
|
+
@exons = args[:exons] if args.key?(:exons)
|
449
|
+
@coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
#
|
454
|
+
class Exon
|
455
|
+
include Google::Apis::Core::Hashable
|
456
|
+
|
457
|
+
# The start position of the exon on this annotation's reference sequence, 0-
|
458
|
+
# based inclusive. Note that this is relative to the reference start, and **not**
|
459
|
+
# the containing annotation start.
|
460
|
+
# Corresponds to the JSON property `start`
|
461
|
+
# @return [String]
|
462
|
+
attr_accessor :start
|
463
|
+
|
464
|
+
# The end position of the exon on this annotation's reference sequence, 0-based
|
465
|
+
# exclusive. Note that this is relative to the reference start, and *not* the
|
466
|
+
# containing annotation start.
|
467
|
+
# Corresponds to the JSON property `end`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :end
|
470
|
+
|
471
|
+
# The frame of this exon. Contains a value of 0, 1, or 2, which indicates the
|
472
|
+
# offset of the first coding base of the exon within the reading frame of the
|
473
|
+
# coding DNA sequence, if any. This field is dependent on the strandedness of
|
474
|
+
# this annotation (see Annotation.reverse_strand). For forward stranded
|
475
|
+
# annotations, this offset is relative to the exon.start. For reverse strand
|
476
|
+
# annotations, this offset is relative to the exon.end `- 1`. Unset if this exon
|
477
|
+
# does not intersect the coding sequence. Upon creation of a transcript, the
|
478
|
+
# frame must be populated for all or none of the coding exons.
|
479
|
+
# Corresponds to the JSON property `frame`
|
480
|
+
# @return [Fixnum]
|
481
|
+
attr_accessor :frame
|
482
|
+
|
483
|
+
def initialize(**args)
|
484
|
+
update!(**args)
|
485
|
+
end
|
486
|
+
|
487
|
+
# Update properties of this object
|
488
|
+
def update!(**args)
|
489
|
+
@start = args[:start] if args.key?(:start)
|
490
|
+
@end = args[:end] if args.key?(:end)
|
491
|
+
@frame = args[:frame] if args.key?(:frame)
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
#
|
496
|
+
class CodingSequence
|
497
|
+
include Google::Apis::Core::Hashable
|
498
|
+
|
499
|
+
# The start of the coding sequence on this annotation's reference sequence, 0-
|
500
|
+
# based inclusive. Note that this position is relative to the reference start,
|
501
|
+
# and *not* the containing annotation start.
|
502
|
+
# Corresponds to the JSON property `start`
|
503
|
+
# @return [String]
|
504
|
+
attr_accessor :start
|
505
|
+
|
506
|
+
# The end of the coding sequence on this annotation's reference sequence, 0-
|
507
|
+
# based exclusive. Note that this position is relative to the reference start,
|
508
|
+
# and *not* the containing annotation start.
|
509
|
+
# Corresponds to the JSON property `end`
|
510
|
+
# @return [String]
|
511
|
+
attr_accessor :end
|
512
|
+
|
513
|
+
def initialize(**args)
|
514
|
+
update!(**args)
|
515
|
+
end
|
516
|
+
|
517
|
+
# Update properties of this object
|
518
|
+
def update!(**args)
|
519
|
+
@start = args[:start] if args.key?(:start)
|
520
|
+
@end = args[:end] if args.key?(:end)
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
#
|
525
|
+
class BatchCreateAnnotationsRequest
|
526
|
+
include Google::Apis::Core::Hashable
|
527
|
+
|
528
|
+
# The annotations to be created. At most 4096 can be specified in a single
|
529
|
+
# request.
|
530
|
+
# Corresponds to the JSON property `annotations`
|
531
|
+
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
532
|
+
attr_accessor :annotations
|
533
|
+
|
534
|
+
def initialize(**args)
|
535
|
+
update!(**args)
|
536
|
+
end
|
537
|
+
|
538
|
+
# Update properties of this object
|
539
|
+
def update!(**args)
|
540
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
#
|
545
|
+
class BatchCreateAnnotationsResponse
|
546
|
+
include Google::Apis::Core::Hashable
|
547
|
+
|
548
|
+
# The resulting per-annotation entries, ordered consistently with the original
|
549
|
+
# request.
|
550
|
+
# Corresponds to the JSON property `entries`
|
551
|
+
# @return [Array<Google::Apis::GenomicsV1::Entry>]
|
552
|
+
attr_accessor :entries
|
553
|
+
|
554
|
+
def initialize(**args)
|
555
|
+
update!(**args)
|
556
|
+
end
|
557
|
+
|
558
|
+
# Update properties of this object
|
559
|
+
def update!(**args)
|
560
|
+
@entries = args[:entries] if args.key?(:entries)
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
#
|
565
|
+
class Entry
|
566
|
+
include Google::Apis::Core::Hashable
|
567
|
+
|
568
|
+
# The `Status` type defines a logical error model that is suitable for different
|
569
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
570
|
+
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
571
|
+
# use and understand for most users - Flexible enough to meet unexpected needs #
|
572
|
+
# Overview The `Status` message contains three pieces of data: error code, error
|
573
|
+
# message, and error details. The error code should be an enum value of google.
|
574
|
+
# rpc.Code, but it may accept additional error codes if needed. The error
|
575
|
+
# message should be a developer-facing English message that helps developers *
|
576
|
+
# understand* and *resolve* the error. If a localized user-facing error message
|
577
|
+
# is needed, put the localized message in the error details or localize it in
|
578
|
+
# the client. The optional error details may contain arbitrary information about
|
579
|
+
# the error. There is a predefined set of error detail types in the package `
|
580
|
+
# google.rpc` which can be used for common error conditions. # Language mapping
|
581
|
+
# The `Status` message is the logical representation of the error model, but it
|
582
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
583
|
+
# exposed in different client libraries and different wire protocols, it can be
|
584
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
585
|
+
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
586
|
+
# error model and the `Status` message can be used in a variety of environments,
|
587
|
+
# either with or without APIs, to provide a consistent developer experience
|
588
|
+
# across different environments. Example uses of this error model include: -
|
589
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
590
|
+
# may embed the `Status` in the normal response to indicate the partial errors. -
|
591
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
592
|
+
# Status` message for error reporting purpose. - Batch operations. If a client
|
593
|
+
# uses batch request and batch response, the `Status` message should be used
|
594
|
+
# directly inside batch response, one for each error sub-response. -
|
595
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
596
|
+
# in its response, the status of those operations should be represented directly
|
597
|
+
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
598
|
+
# the message `Status` could be used directly after any stripping needed for
|
599
|
+
# security/privacy reasons.
|
600
|
+
# Corresponds to the JSON property `status`
|
601
|
+
# @return [Google::Apis::GenomicsV1::Status]
|
602
|
+
attr_accessor :status
|
603
|
+
|
604
|
+
# An annotation describes a region of reference genome. The value of an
|
605
|
+
# annotation may be one of several canonical types, supplemented by arbitrary
|
606
|
+
# info tags. An annotation is not inherently associated with a specific sample
|
607
|
+
# or individual (though a client could choose to use annotations in this way).
|
608
|
+
# Example canonical annotation types are `GENE` and `VARIANT`.
|
609
|
+
# Corresponds to the JSON property `annotation`
|
610
|
+
# @return [Google::Apis::GenomicsV1::Annotation]
|
611
|
+
attr_accessor :annotation
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@status = args[:status] if args.key?(:status)
|
620
|
+
@annotation = args[:annotation] if args.key?(:annotation)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
# The `Status` type defines a logical error model that is suitable for different
|
625
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
626
|
+
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
627
|
+
# use and understand for most users - Flexible enough to meet unexpected needs #
|
628
|
+
# Overview The `Status` message contains three pieces of data: error code, error
|
629
|
+
# message, and error details. The error code should be an enum value of google.
|
630
|
+
# rpc.Code, but it may accept additional error codes if needed. The error
|
631
|
+
# message should be a developer-facing English message that helps developers *
|
632
|
+
# understand* and *resolve* the error. If a localized user-facing error message
|
633
|
+
# is needed, put the localized message in the error details or localize it in
|
634
|
+
# the client. The optional error details may contain arbitrary information about
|
635
|
+
# the error. There is a predefined set of error detail types in the package `
|
636
|
+
# google.rpc` which can be used for common error conditions. # Language mapping
|
637
|
+
# The `Status` message is the logical representation of the error model, but it
|
638
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
639
|
+
# exposed in different client libraries and different wire protocols, it can be
|
640
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
641
|
+
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
642
|
+
# error model and the `Status` message can be used in a variety of environments,
|
643
|
+
# either with or without APIs, to provide a consistent developer experience
|
644
|
+
# across different environments. Example uses of this error model include: -
|
645
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
646
|
+
# may embed the `Status` in the normal response to indicate the partial errors. -
|
647
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
648
|
+
# Status` message for error reporting purpose. - Batch operations. If a client
|
649
|
+
# uses batch request and batch response, the `Status` message should be used
|
650
|
+
# directly inside batch response, one for each error sub-response. -
|
651
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
652
|
+
# in its response, the status of those operations should be represented directly
|
653
|
+
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
654
|
+
# the message `Status` could be used directly after any stripping needed for
|
655
|
+
# security/privacy reasons.
|
656
|
+
class Status
|
657
|
+
include Google::Apis::Core::Hashable
|
658
|
+
|
659
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
660
|
+
# Corresponds to the JSON property `code`
|
661
|
+
# @return [Fixnum]
|
662
|
+
attr_accessor :code
|
663
|
+
|
664
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
665
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
666
|
+
# field, or localized by the client.
|
667
|
+
# Corresponds to the JSON property `message`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :message
|
670
|
+
|
671
|
+
# A list of messages that carry the error details. There will be a common set of
|
672
|
+
# message types for APIs to use.
|
673
|
+
# Corresponds to the JSON property `details`
|
674
|
+
# @return [Array<Hash<String,Object>>]
|
675
|
+
attr_accessor :details
|
676
|
+
|
677
|
+
def initialize(**args)
|
678
|
+
update!(**args)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Update properties of this object
|
682
|
+
def update!(**args)
|
683
|
+
@code = args[:code] if args.key?(:code)
|
684
|
+
@message = args[:message] if args.key?(:message)
|
685
|
+
@details = args[:details] if args.key?(:details)
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
#
|
690
|
+
class SearchAnnotationsRequest
|
691
|
+
include Google::Apis::Core::Hashable
|
692
|
+
|
693
|
+
# Required. The annotation sets to search within. The caller must have `READ`
|
694
|
+
# access to these annotation sets. All queried annotation sets must have the
|
695
|
+
# same type.
|
696
|
+
# Corresponds to the JSON property `annotationSetIds`
|
697
|
+
# @return [Array<String>]
|
698
|
+
attr_accessor :annotation_set_ids
|
699
|
+
|
700
|
+
# The ID of the reference to query.
|
701
|
+
# Corresponds to the JSON property `referenceId`
|
702
|
+
# @return [String]
|
703
|
+
attr_accessor :reference_id
|
704
|
+
|
705
|
+
# The name of the reference to query, within the reference set associated with
|
706
|
+
# this query.
|
707
|
+
# Corresponds to the JSON property `referenceName`
|
708
|
+
# @return [String]
|
709
|
+
attr_accessor :reference_name
|
710
|
+
|
711
|
+
# The start position of the range on the reference, 0-based inclusive. If
|
712
|
+
# specified, referenceId or referenceName must be specified. Defaults to 0.
|
713
|
+
# Corresponds to the JSON property `start`
|
714
|
+
# @return [String]
|
715
|
+
attr_accessor :start
|
716
|
+
|
717
|
+
# The end position of the range on the reference, 0-based exclusive. If
|
718
|
+
# referenceId or referenceName must be specified, Defaults to the length of the
|
719
|
+
# reference.
|
720
|
+
# Corresponds to the JSON property `end`
|
721
|
+
# @return [String]
|
722
|
+
attr_accessor :end
|
723
|
+
|
724
|
+
# The continuation token, which is used to page through large result sets. To
|
725
|
+
# get the next page of results, set this parameter to the value of `
|
726
|
+
# nextPageToken` from the previous response.
|
727
|
+
# Corresponds to the JSON property `pageToken`
|
728
|
+
# @return [String]
|
729
|
+
attr_accessor :page_token
|
730
|
+
|
731
|
+
# The maximum number of results to return in a single page. If unspecified,
|
732
|
+
# defaults to 256. The maximum value is 2048.
|
733
|
+
# Corresponds to the JSON property `pageSize`
|
734
|
+
# @return [Fixnum]
|
735
|
+
attr_accessor :page_size
|
736
|
+
|
737
|
+
def initialize(**args)
|
738
|
+
update!(**args)
|
739
|
+
end
|
740
|
+
|
741
|
+
# Update properties of this object
|
742
|
+
def update!(**args)
|
743
|
+
@annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids)
|
744
|
+
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
745
|
+
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
746
|
+
@start = args[:start] if args.key?(:start)
|
747
|
+
@end = args[:end] if args.key?(:end)
|
748
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
749
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
#
|
754
|
+
class SearchAnnotationsResponse
|
755
|
+
include Google::Apis::Core::Hashable
|
756
|
+
|
757
|
+
# The matching annotations.
|
758
|
+
# Corresponds to the JSON property `annotations`
|
759
|
+
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
760
|
+
attr_accessor :annotations
|
761
|
+
|
762
|
+
# The continuation token, which is used to page through large result sets.
|
763
|
+
# Provide this value in a subsequent request to return the next page of results.
|
764
|
+
# This field will be empty if there aren't any additional results.
|
765
|
+
# Corresponds to the JSON property `nextPageToken`
|
766
|
+
# @return [String]
|
767
|
+
attr_accessor :next_page_token
|
768
|
+
|
769
|
+
def initialize(**args)
|
770
|
+
update!(**args)
|
771
|
+
end
|
772
|
+
|
773
|
+
# Update properties of this object
|
774
|
+
def update!(**args)
|
775
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
776
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
25
780
|
# The dataset list response.
|
26
781
|
class ListDatasetsResponse
|
27
782
|
include Google::Apis::Core::Hashable
|
@@ -88,23 +843,6 @@ module Google
|
|
88
843
|
end
|
89
844
|
end
|
90
845
|
|
91
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
92
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
93
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
94
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
95
|
-
# `Empty` is empty JSON object ````.
|
96
|
-
class Empty
|
97
|
-
include Google::Apis::Core::Hashable
|
98
|
-
|
99
|
-
def initialize(**args)
|
100
|
-
update!(**args)
|
101
|
-
end
|
102
|
-
|
103
|
-
# Update properties of this object
|
104
|
-
def update!(**args)
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
846
|
#
|
109
847
|
class UndeleteDatasetRequest
|
110
848
|
include Google::Apis::Core::Hashable
|
@@ -368,71 +1106,6 @@ module Google
|
|
368
1106
|
end
|
369
1107
|
end
|
370
1108
|
|
371
|
-
# The `Status` type defines a logical error model that is suitable for different
|
372
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
373
|
-
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
374
|
-
# use and understand for most users - Flexible enough to meet unexpected needs #
|
375
|
-
# Overview The `Status` message contains three pieces of data: error code, error
|
376
|
-
# message, and error details. The error code should be an enum value of google.
|
377
|
-
# rpc.Code, but it may accept additional error codes if needed. The error
|
378
|
-
# message should be a developer-facing English message that helps developers *
|
379
|
-
# understand* and *resolve* the error. If a localized user-facing error message
|
380
|
-
# is needed, put the localized message in the error details or localize it in
|
381
|
-
# the client. The optional error details may contain arbitrary information about
|
382
|
-
# the error. There is a predefined set of error detail types in the package `
|
383
|
-
# google.rpc` which can be used for common error conditions. # Language mapping
|
384
|
-
# The `Status` message is the logical representation of the error model, but it
|
385
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
386
|
-
# exposed in different client libraries and different wire protocols, it can be
|
387
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
388
|
-
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
389
|
-
# error model and the `Status` message can be used in a variety of environments,
|
390
|
-
# either with or without APIs, to provide a consistent developer experience
|
391
|
-
# across different environments. Example uses of this error model include: -
|
392
|
-
# Partial errors. If a service needs to return partial errors to the client, it
|
393
|
-
# may embed the `Status` in the normal response to indicate the partial errors. -
|
394
|
-
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
395
|
-
# Status` message for error reporting purpose. - Batch operations. If a client
|
396
|
-
# uses batch request and batch response, the `Status` message should be used
|
397
|
-
# directly inside batch response, one for each error sub-response. -
|
398
|
-
# Asynchronous operations. If an API call embeds asynchronous operation results
|
399
|
-
# in its response, the status of those operations should be represented directly
|
400
|
-
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
401
|
-
# the message `Status` could be used directly after any stripping needed for
|
402
|
-
# security/privacy reasons.
|
403
|
-
class Status
|
404
|
-
include Google::Apis::Core::Hashable
|
405
|
-
|
406
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
407
|
-
# Corresponds to the JSON property `code`
|
408
|
-
# @return [Fixnum]
|
409
|
-
attr_accessor :code
|
410
|
-
|
411
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
412
|
-
# error message should be localized and sent in the google.rpc.Status.details
|
413
|
-
# field, or localized by the client.
|
414
|
-
# Corresponds to the JSON property `message`
|
415
|
-
# @return [String]
|
416
|
-
attr_accessor :message
|
417
|
-
|
418
|
-
# A list of messages that carry the error details. There will be a common set of
|
419
|
-
# message types for APIs to use.
|
420
|
-
# Corresponds to the JSON property `details`
|
421
|
-
# @return [Array<Hash<String,Object>>]
|
422
|
-
attr_accessor :details
|
423
|
-
|
424
|
-
def initialize(**args)
|
425
|
-
update!(**args)
|
426
|
-
end
|
427
|
-
|
428
|
-
# Update properties of this object
|
429
|
-
def update!(**args)
|
430
|
-
@code = args[:code] if args.key?(:code)
|
431
|
-
@message = args[:message] if args.key?(:message)
|
432
|
-
@details = args[:details] if args.key?(:details)
|
433
|
-
end
|
434
|
-
end
|
435
|
-
|
436
1109
|
# The response message for Operations.ListOperations.
|
437
1110
|
class ListOperationsResponse
|
438
1111
|
include Google::Apis::Core::Hashable
|
@@ -1792,6 +2465,13 @@ module Google
|
|
1792
2465
|
attr_accessor :normalize_reference_names
|
1793
2466
|
alias_method :normalize_reference_names?, :normalize_reference_names
|
1794
2467
|
|
2468
|
+
# A mapping between info field keys and the InfoMergeOperations to be performed
|
2469
|
+
# on them. This is plumbed down to the MergeVariantRequests generated by the
|
2470
|
+
# resulting import job.
|
2471
|
+
# Corresponds to the JSON property `infoMergeConfig`
|
2472
|
+
# @return [Hash<String,String>]
|
2473
|
+
attr_accessor :info_merge_config
|
2474
|
+
|
1795
2475
|
def initialize(**args)
|
1796
2476
|
update!(**args)
|
1797
2477
|
end
|
@@ -1802,6 +2482,7 @@ module Google
|
|
1802
2482
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
1803
2483
|
@format = args[:format] if args.key?(:format)
|
1804
2484
|
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
2485
|
+
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
1805
2486
|
end
|
1806
2487
|
end
|
1807
2488
|
|
@@ -2352,6 +3033,12 @@ module Google
|
|
2352
3033
|
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
2353
3034
|
attr_accessor :variants
|
2354
3035
|
|
3036
|
+
# A mapping between info field keys and the InfoMergeOperations to be performed
|
3037
|
+
# on them.
|
3038
|
+
# Corresponds to the JSON property `infoMergeConfig`
|
3039
|
+
# @return [Hash<String,String>]
|
3040
|
+
attr_accessor :info_merge_config
|
3041
|
+
|
2355
3042
|
def initialize(**args)
|
2356
3043
|
update!(**args)
|
2357
3044
|
end
|
@@ -2360,6 +3047,7 @@ module Google
|
|
2360
3047
|
def update!(**args)
|
2361
3048
|
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
2362
3049
|
@variants = args[:variants] if args.key?(:variants)
|
3050
|
+
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
2363
3051
|
end
|
2364
3052
|
end
|
2365
3053
|
|