google-api-client 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +28 -3
- data/api_names.yaml +1 -0
- data/api_names_out.yaml +418 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +2 -3
- data/generated/google/apis/adsense_v1_4/service.rb +1 -2
- data/generated/google/apis/adsensehost_v4_1.rb +3 -3
- data/generated/google/apis/adsensehost_v4_1/service.rb +2 -2
- data/generated/google/apis/analytics_v3.rb +2 -2
- data/generated/google/apis/analytics_v3/classes.rb +42 -0
- data/generated/google/apis/analytics_v3/representations.rb +6 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +16 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +2 -0
- 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 +200 -13
- data/generated/google/apis/bigquery_v2/representations.rb +54 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +2 -3
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -1
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +26 -6
- data/generated/google/apis/cloudlatencytest_v2.rb +2 -2
- data/generated/google/apis/cloudlatencytest_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +2 -2
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +355 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +181 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +373 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta.rb +3 -2
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +52 -30
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +1 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +110 -57
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +324 -101
- data/generated/google/apis/compute_beta/representations.rb +78 -0
- data/generated/google/apis/compute_beta/service.rb +1599 -208
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +96 -79
- data/generated/google/apis/compute_v1/service.rb +199 -169
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +10 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.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/games_v1/classes.rb +9 -2
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +4 -5
- data/generated/google/apis/genomics_v1/classes.rb +51 -0
- data/generated/google/apis/genomics_v1/representations.rb +17 -0
- data/generated/google/apis/genomics_v1/service.rb +44 -8
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/classes.rb +19 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +43 -2
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +665 -0
- data/generated/google/apis/iam_v1/representations.rb +325 -0
- data/generated/google/apis/iam_v1/service.rb +520 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +306 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +85 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +42 -1
- data/generated/google/apis/pagespeedonline_v2.rb +2 -2
- data/generated/google/apis/pagespeedonline_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/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +2 -2
- data/generated/google/apis/qpx_express_v1/service.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +2 -3
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -2
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +2 -2
- data/generated/google/apis/site_verification_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +2 -2
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +1 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/core/base_service.rb +84 -6
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -0
- data/spec/google/apis/core/service_spec.rb +66 -0
- metadata +10 -2
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Content API for Shopping
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Manages product items, inventory, and Merchant Center accounts for Google
|
24
24
|
# Shopping.
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160303'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -1611,6 +1611,11 @@ module Google
|
|
1611
1611
|
# @return [Fixnum]
|
1612
1612
|
attr_accessor :hour
|
1613
1613
|
|
1614
|
+
# The minute of the hour the feed file should be fetched (0-59). Read-only.
|
1615
|
+
# Corresponds to the JSON property `minuteOfHour`
|
1616
|
+
# @return [Fixnum]
|
1617
|
+
attr_accessor :minute_of_hour
|
1618
|
+
|
1614
1619
|
# An optional password for fetch_url.
|
1615
1620
|
# Corresponds to the JSON property `password`
|
1616
1621
|
# @return [String]
|
@@ -1640,6 +1645,7 @@ module Google
|
|
1640
1645
|
@day_of_month = args[:day_of_month] if args.key?(:day_of_month)
|
1641
1646
|
@fetch_url = args[:fetch_url] if args.key?(:fetch_url)
|
1642
1647
|
@hour = args[:hour] if args.key?(:hour)
|
1648
|
+
@minute_of_hour = args[:minute_of_hour] if args.key?(:minute_of_hour)
|
1643
1649
|
@password = args[:password] if args.key?(:password)
|
1644
1650
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
1645
1651
|
@username = args[:username] if args.key?(:username)
|
@@ -1366,6 +1366,7 @@ module Google
|
|
1366
1366
|
property :day_of_month, as: 'dayOfMonth'
|
1367
1367
|
property :fetch_url, as: 'fetchUrl'
|
1368
1368
|
property :hour, as: 'hour'
|
1369
|
+
property :minute_of_hour, as: 'minuteOfHour'
|
1369
1370
|
property :password, as: 'password'
|
1370
1371
|
property :time_zone, as: 'timeZone'
|
1371
1372
|
property :username, as: 'username'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160301'
|
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'
|
@@ -462,7 +462,7 @@ module Google
|
|
462
462
|
# @return [String]
|
463
463
|
attr_accessor :insert_time
|
464
464
|
|
465
|
-
# [Output Only] Type of the resource. Always compute#operation for
|
465
|
+
# [Output Only] Type of the resource. Always compute#operation for operation
|
466
466
|
# resources.
|
467
467
|
# Corresponds to the JSON property `kind`
|
468
468
|
# @return [String]
|
@@ -603,7 +603,7 @@ module Google
|
|
603
603
|
# @return [String]
|
604
604
|
attr_accessor :code
|
605
605
|
|
606
|
-
# [Output Only] Indicates the field in the request
|
606
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
607
607
|
# property is optional.
|
608
608
|
# Corresponds to the JSON property `location`
|
609
609
|
# @return [String]
|
@@ -666,7 +666,7 @@ module Google
|
|
666
666
|
# [Output Only] A key that provides more detail on the warning being returned.
|
667
667
|
# For example, for warnings where there are no results in a list request for a
|
668
668
|
# particular zone, this key might be scope and the key value might be the zone
|
669
|
-
# name. Other examples might be a key indicating a deprecated resource
|
669
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
670
670
|
# suggested replacement, or a warning about invalid network settings (for
|
671
671
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
672
672
|
# for IP forwarding).
|
@@ -841,7 +841,7 @@ module Google
|
|
841
841
|
# [Output Only] A key that provides more detail on the warning being returned.
|
842
842
|
# For example, for warnings where there are no results in a list request for a
|
843
843
|
# particular zone, this key might be scope and the key value might be the zone
|
844
|
-
# name. Other examples might be a key indicating a deprecated resource
|
844
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
845
845
|
# suggested replacement, or a warning about invalid network settings (for
|
846
846
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
847
847
|
# for IP forwarding).
|
@@ -954,7 +954,7 @@ module Google
|
|
954
954
|
# @return [String]
|
955
955
|
attr_accessor :code
|
956
956
|
|
957
|
-
# [Output Only] Indicates the field in the request
|
957
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
958
958
|
# property is optional.
|
959
959
|
# Corresponds to the JSON property `location`
|
960
960
|
# @return [String]
|
@@ -1017,7 +1017,7 @@ module Google
|
|
1017
1017
|
# [Output Only] A key that provides more detail on the warning being returned.
|
1018
1018
|
# For example, for warnings where there are no results in a list request for a
|
1019
1019
|
# particular zone, this key might be scope and the key value might be the zone
|
1020
|
-
# name. Other examples might be a key indicating a deprecated resource
|
1020
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
1021
1021
|
# suggested replacement, or a warning about invalid network settings (for
|
1022
1022
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1023
1023
|
# for IP forwarding).
|
@@ -232,7 +232,7 @@ module Google
|
|
232
232
|
# filtering by (string, number, boolean). For string fields, the literal value
|
233
233
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
234
234
|
# must match the entire field.
|
235
|
-
# For example, to filter for instances
|
235
|
+
# For example, to filter for instances that do not have a name of example-
|
236
236
|
# instance, you would use filter=name ne example-instance.
|
237
237
|
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
238
238
|
# also filter on nested fields. For example, you could filter on instances that
|
@@ -242,7 +242,7 @@ module Google
|
|
242
242
|
# The Beta API also supports filtering on multiple expressions by providing each
|
243
243
|
# separate expression within parentheses. For example, (scheduling.
|
244
244
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
245
|
-
# treated as AND expressions meaning that resources must match all expressions
|
245
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
246
246
|
# to pass the filters.
|
247
247
|
# @param [Fixnum] max_results
|
248
248
|
# The maximum number of results per page that should be returned. If the number
|
@@ -504,7 +504,7 @@ module Google
|
|
504
504
|
# filtering by (string, number, boolean). For string fields, the literal value
|
505
505
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
506
506
|
# must match the entire field.
|
507
|
-
# For example, to filter for instances
|
507
|
+
# For example, to filter for instances that do not have a name of example-
|
508
508
|
# instance, you would use filter=name ne example-instance.
|
509
509
|
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
510
510
|
# also filter on nested fields. For example, you could filter on instances that
|
@@ -514,7 +514,7 @@ module Google
|
|
514
514
|
# The Beta API also supports filtering on multiple expressions by providing each
|
515
515
|
# separate expression within parentheses. For example, (scheduling.
|
516
516
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
517
|
-
# treated as AND expressions meaning that resources must match all expressions
|
517
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
518
518
|
# to pass the filters.
|
519
519
|
# @param [Fixnum] max_results
|
520
520
|
# The maximum number of results per page that should be returned. If the number
|
@@ -612,7 +612,7 @@ module Google
|
|
612
612
|
# filtering by (string, number, boolean). For string fields, the literal value
|
613
613
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
614
614
|
# must match the entire field.
|
615
|
-
# For example, to filter for instances
|
615
|
+
# For example, to filter for instances that do not have a name of example-
|
616
616
|
# instance, you would use filter=name ne example-instance.
|
617
617
|
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
618
618
|
# also filter on nested fields. For example, you could filter on instances that
|
@@ -622,7 +622,7 @@ module Google
|
|
622
622
|
# The Beta API also supports filtering on multiple expressions by providing each
|
623
623
|
# separate expression within parentheses. For example, (scheduling.
|
624
624
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
625
|
-
# treated as AND expressions meaning that resources must match all expressions
|
625
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
626
626
|
# to pass the filters.
|
627
627
|
# @param [Fixnum] max_results
|
628
628
|
# The maximum number of results per page that should be returned. If the number
|
@@ -724,7 +724,7 @@ module Google
|
|
724
724
|
# filtering by (string, number, boolean). For string fields, the literal value
|
725
725
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
726
726
|
# must match the entire field.
|
727
|
-
# For example, to filter for instances
|
727
|
+
# For example, to filter for instances that do not have a name of example-
|
728
728
|
# instance, you would use filter=name ne example-instance.
|
729
729
|
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
730
730
|
# also filter on nested fields. For example, you could filter on instances that
|
@@ -734,7 +734,7 @@ module Google
|
|
734
734
|
# The Beta API also supports filtering on multiple expressions by providing each
|
735
735
|
# separate expression within parentheses. For example, (scheduling.
|
736
736
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
737
|
-
# treated as AND expressions meaning that resources must match all expressions
|
737
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
738
738
|
# to pass the filters.
|
739
739
|
# @param [Fixnum] max_results
|
740
740
|
# The maximum number of results per page that should be returned. If the number
|
@@ -794,7 +794,7 @@ module Google
|
|
794
794
|
# filtering by (string, number, boolean). For string fields, the literal value
|
795
795
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
796
796
|
# must match the entire field.
|
797
|
-
# For example, to filter for instances
|
797
|
+
# For example, to filter for instances that do not have a name of example-
|
798
798
|
# instance, you would use filter=name ne example-instance.
|
799
799
|
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
800
800
|
# also filter on nested fields. For example, you could filter on instances that
|
@@ -804,7 +804,7 @@ module Google
|
|
804
804
|
# The Beta API also supports filtering on multiple expressions by providing each
|
805
805
|
# separate expression within parentheses. For example, (scheduling.
|
806
806
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
807
|
-
# treated as AND expressions meaning that resources must match all expressions
|
807
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
808
808
|
# to pass the filters.
|
809
809
|
# @param [Fixnum] max_results
|
810
810
|
# The maximum number of results per page that should be returned. If the number
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# DoubleClick Search API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Reports and modifies your advertising data in DoubleClick Search (for example,
|
24
24
|
# campaigns, ad groups, keywords, and conversions).
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
27
27
|
module DoubleclicksearchV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160302'
|
30
30
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module DoubleclicksearchV2
|
23
23
|
# DoubleClick Search API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Reports and modifies your advertising data in DoubleClick Search (for example,
|
26
26
|
# campaigns, ad groups, keywords, and conversions).
|
27
27
|
#
|
28
28
|
# @example
|
@@ -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 = '20160309'
|
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 = '20160309'
|
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 = '20160309'
|
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'
|
@@ -172,8 +172,8 @@ module Google
|
|
172
172
|
# @return [String]
|
173
173
|
attr_accessor :kind
|
174
174
|
|
175
|
-
# Whether the
|
176
|
-
#
|
175
|
+
# Whether the current steps for the achievement has reached the number of steps
|
176
|
+
# required to unlock.
|
177
177
|
# Corresponds to the JSON property `newlyUnlocked`
|
178
178
|
# @return [Boolean]
|
179
179
|
attr_accessor :newly_unlocked
|
@@ -650,6 +650,12 @@ module Google
|
|
650
650
|
class ApplicationVerifyResponse
|
651
651
|
include Google::Apis::Core::Hashable
|
652
652
|
|
653
|
+
# An alternate ID that was once used for the player that was issued the auth
|
654
|
+
# token used in this request. (This field is not normally populated.)
|
655
|
+
# Corresponds to the JSON property `alternate_player_id`
|
656
|
+
# @return [String]
|
657
|
+
attr_accessor :alternate_player_id
|
658
|
+
|
653
659
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
654
660
|
# string games#applicationVerifyResponse.
|
655
661
|
# Corresponds to the JSON property `kind`
|
@@ -667,6 +673,7 @@ module Google
|
|
667
673
|
|
668
674
|
# Update properties of this object
|
669
675
|
def update!(**args)
|
676
|
+
@alternate_player_id = args[:alternate_player_id] if args.key?(:alternate_player_id)
|
670
677
|
@kind = args[:kind] if args.key?(:kind)
|
671
678
|
@player_id = args[:player_id] if args.key?(:player_id)
|
672
679
|
end
|
@@ -776,6 +776,7 @@ module Google
|
|
776
776
|
class ApplicationVerifyResponse
|
777
777
|
# @private
|
778
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
779
|
+
property :alternate_player_id, as: 'alternate_player_id'
|
779
780
|
property :kind, as: 'kind'
|
780
781
|
property :player_id, as: 'player_id'
|
781
782
|
end
|
@@ -20,15 +20,14 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Genomics API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# GA4GH) v0.5.1 API as well as several extensions.
|
23
|
+
# Stores, processes, explores and shares genomic data. This API implements the
|
24
|
+
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
25
|
+
# extensions.
|
27
26
|
#
|
28
27
|
# @see
|
29
28
|
module GenomicsV1
|
30
29
|
VERSION = 'V1'
|
31
|
-
REVISION = '
|
30
|
+
REVISION = '20160309'
|
32
31
|
|
33
32
|
# View and manage your data in Google BigQuery
|
34
33
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -1373,6 +1373,30 @@ module Google
|
|
1373
1373
|
# @return [String]
|
1374
1374
|
attr_accessor :end
|
1375
1375
|
|
1376
|
+
# Restricts results to a shard containing approximately `1/totalShards` of the
|
1377
|
+
# normal response payload for this query. Results from a sharded request are
|
1378
|
+
# disjoint from those returned by all queries which differ only in their shard
|
1379
|
+
# parameter. A shard may yield 0 results; this is especially likely for large
|
1380
|
+
# values of `totalShards`. Valid values are `[0, totalShards)`.
|
1381
|
+
# Corresponds to the JSON property `shard`
|
1382
|
+
# @return [Fixnum]
|
1383
|
+
attr_accessor :shard
|
1384
|
+
|
1385
|
+
# Specifying `totalShards` causes a disjoint subset of the normal response
|
1386
|
+
# payload to be returned for each query with a unique `shard` parameter
|
1387
|
+
# specified. A best effort is made to yield equally sized shards. Sharding can
|
1388
|
+
# be used to distribute processing amongst workers, where each worker is
|
1389
|
+
# assigned a unique `shard` number and all workers specify the same `totalShards`
|
1390
|
+
# number. The union of reads returned for all sharded queries `[0, totalShards)`
|
1391
|
+
# is equal to those returned by a single unsharded query. Queries for different
|
1392
|
+
# values of `totalShards` with common divisors will share shard boundaries. For
|
1393
|
+
# example, streaming `shard` 2 of 5 `totalShards` yields the same results as
|
1394
|
+
# streaming `shard`s 4 and 5 of 10 `totalShards`. This property can be leveraged
|
1395
|
+
# for adaptive retries.
|
1396
|
+
# Corresponds to the JSON property `totalShards`
|
1397
|
+
# @return [Fixnum]
|
1398
|
+
attr_accessor :total_shards
|
1399
|
+
|
1376
1400
|
def initialize(**args)
|
1377
1401
|
update!(**args)
|
1378
1402
|
end
|
@@ -1384,6 +1408,8 @@ module Google
|
|
1384
1408
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
1385
1409
|
@start = args[:start] if args.key?(:start)
|
1386
1410
|
@end = args[:end] if args.key?(:end)
|
1411
|
+
@shard = args[:shard] if args.key?(:shard)
|
1412
|
+
@total_shards = args[:total_shards] if args.key?(:total_shards)
|
1387
1413
|
end
|
1388
1414
|
end
|
1389
1415
|
|
@@ -2312,6 +2338,31 @@ module Google
|
|
2312
2338
|
end
|
2313
2339
|
end
|
2314
2340
|
|
2341
|
+
#
|
2342
|
+
class MergeVariantsRequest
|
2343
|
+
include Google::Apis::Core::Hashable
|
2344
|
+
|
2345
|
+
# The destination variant set.
|
2346
|
+
# Corresponds to the JSON property `variantSetId`
|
2347
|
+
# @return [String]
|
2348
|
+
attr_accessor :variant_set_id
|
2349
|
+
|
2350
|
+
# The variants to be merged with existing variants.
|
2351
|
+
# Corresponds to the JSON property `variants`
|
2352
|
+
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
2353
|
+
attr_accessor :variants
|
2354
|
+
|
2355
|
+
def initialize(**args)
|
2356
|
+
update!(**args)
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
# Update properties of this object
|
2360
|
+
def update!(**args)
|
2361
|
+
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
2362
|
+
@variants = args[:variants] if args.key?(:variants)
|
2363
|
+
end
|
2364
|
+
end
|
2365
|
+
|
2315
2366
|
# The call set search request.
|
2316
2367
|
class SearchCallSetsRequest
|
2317
2368
|
include Google::Apis::Core::Hashable
|
@@ -328,6 +328,12 @@ module Google
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
329
329
|
end
|
330
330
|
|
331
|
+
class MergeVariantsRequest
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
331
337
|
class SearchCallSetsRequest
|
332
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
339
|
|
@@ -710,6 +716,8 @@ module Google
|
|
710
716
|
property :reference_name, as: 'referenceName'
|
711
717
|
property :start, as: 'start'
|
712
718
|
property :end, as: 'end'
|
719
|
+
property :shard, as: 'shard'
|
720
|
+
property :total_shards, as: 'totalShards'
|
713
721
|
end
|
714
722
|
end
|
715
723
|
|
@@ -938,6 +946,15 @@ module Google
|
|
938
946
|
end
|
939
947
|
end
|
940
948
|
|
949
|
+
class MergeVariantsRequest
|
950
|
+
# @private
|
951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
952
|
+
property :variant_set_id, as: 'variantSetId'
|
953
|
+
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
954
|
+
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
941
958
|
class SearchCallSetsRequest
|
942
959
|
# @private
|
943
960
|
class Representation < Google::Apis::Core::JsonRepresentation
|