google-api-client 0.9.pre2 → 0.9.pre3

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.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +1 -1
  4. data/api_names_out.yaml +68 -5
  5. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +3 -3
  6. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  7. data/generated/google/apis/adexchangeseller_v2_0/service.rb +5 -5
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +34 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +5 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4/service.rb +10 -10
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1/service.rb +19 -19
  15. data/generated/google/apis/analytics_v3/service.rb +35 -35
  16. data/generated/google/apis/androidenterprise_v1/service.rb +6 -6
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +16 -6
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/bigquery_v2/service.rb +4 -4
  22. data/generated/google/apis/blogger_v3/service.rb +7 -7
  23. data/generated/google/apis/books_v1/service.rb +47 -47
  24. data/generated/google/apis/calendar_v3.rb +1 -1
  25. data/generated/google/apis/calendar_v3/classes.rb +43 -27
  26. data/generated/google/apis/calendar_v3/service.rb +20 -10
  27. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  28. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  29. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +8 -8
  30. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +372 -0
  32. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +155 -0
  33. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +109 -0
  34. data/generated/google/apis/compute_v1.rb +1 -1
  35. data/generated/google/apis/compute_v1/classes.rb +21 -18
  36. data/generated/google/apis/compute_v1/representations.rb +0 -1
  37. data/generated/google/apis/compute_v1/service.rb +459 -819
  38. data/generated/google/apis/content_v2.rb +1 -1
  39. data/generated/google/apis/content_v2/classes.rb +25 -15
  40. data/generated/google/apis/content_v2/representations.rb +2 -0
  41. data/generated/google/apis/content_v2/service.rb +2 -1
  42. data/generated/google/apis/coordinate_v1/service.rb +11 -11
  43. data/generated/google/apis/customsearch_v1/service.rb +3 -3
  44. data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
  45. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +1 -1
  46. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +50 -90
  47. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  48. data/generated/google/apis/dfareporting_v2_1/classes.rb +4 -4
  49. data/generated/google/apis/dfareporting_v2_1/service.rb +65 -62
  50. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  51. data/generated/google/apis/doubleclicksearch_v2/service.rb +11 -11
  52. data/generated/google/apis/drive_v2.rb +4 -1
  53. data/generated/google/apis/drive_v2/classes.rb +2 -2
  54. data/generated/google/apis/drive_v2/service.rb +15 -9
  55. data/generated/google/apis/fitness_v1.rb +1 -1
  56. data/generated/google/apis/fitness_v1/classes.rb +44 -31
  57. data/generated/google/apis/fitness_v1/representations.rb +0 -2
  58. data/generated/google/apis/fitness_v1/service.rb +5 -1
  59. data/generated/google/apis/fusiontables_v2/service.rb +9 -9
  60. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  61. data/generated/google/apis/games_v1.rb +1 -1
  62. data/generated/google/apis/games_v1/service.rb +18 -18
  63. data/generated/google/apis/genomics_v1.rb +1 -1
  64. data/generated/google/apis/genomics_v1/classes.rb +56 -53
  65. data/generated/google/apis/genomics_v1/service.rb +1 -1
  66. data/generated/google/apis/licensing_v1/service.rb +2 -2
  67. data/generated/google/apis/mapsengine_v1/service.rb +8 -8
  68. data/generated/google/apis/mirror_v1.rb +1 -1
  69. data/generated/google/apis/pagespeedonline_v2/service.rb +3 -3
  70. data/generated/google/apis/plus_domains_v1.rb +1 -1
  71. data/generated/google/apis/plus_v1.rb +1 -1
  72. data/generated/google/apis/plus_v1/service.rb +6 -6
  73. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  74. data/generated/google/apis/pubsub_v1beta2/classes.rb +21 -20
  75. data/generated/google/apis/pubsub_v1beta2/service.rb +13 -13
  76. data/generated/google/apis/replicapool_v1beta2/service.rb +3 -3
  77. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  78. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +8 -1
  79. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -5
  81. data/generated/google/apis/reseller_v1/service.rb +1 -1
  82. data/generated/google/apis/site_verification_v1/service.rb +2 -2
  83. data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -4
  84. data/generated/google/apis/storage_v1/service.rb +6 -6
  85. data/generated/google/apis/taskqueue_v1beta2/service.rb +9 -9
  86. data/generated/google/apis/translate_v2/service.rb +6 -6
  87. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  88. data/generated/google/apis/webmasters_v3.rb +1 -1
  89. data/generated/google/apis/webmasters_v3/classes.rb +11 -11
  90. data/generated/google/apis/webmasters_v3/service.rb +3 -3
  91. data/generated/google/apis/youtube_analytics_v1/service.rb +25 -25
  92. data/generated/google/apis/youtube_v3/service.rb +305 -305
  93. data/lib/google/apis/generator/model.rb +10 -0
  94. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  95. data/lib/google/apis/version.rb +1 -1
  96. metadata +2 -2
@@ -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 = '20150713'
28
+ REVISION = '20150728'
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 GamesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150713'
28
+ REVISION = '20150728'
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'
@@ -100,12 +100,12 @@ module Google
100
100
  # authenticated player.
101
101
  # @param [String] achievement_id
102
102
  # The ID of the achievement used by this method.
103
+ # @param [Fixnum] steps_to_increment
104
+ # The number of steps to increment.
103
105
  # @param [String] request_id
104
106
  # A randomly generated numeric ID for each request specified by the caller. This
105
107
  # number is used at the server to ensure that the request is handled correctly
106
108
  # across retries.
107
- # @param [Fixnum] steps_to_increment
108
- # The number of steps to increment.
109
109
  # @param [String] fields
110
110
  # Selector specifying which fields to include in a partial response.
111
111
  # @param [String] quota_user
@@ -127,7 +127,7 @@ module Google
127
127
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
128
128
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
129
129
  # @raise [Google::Apis::AuthorizationError] Authorization is required
130
- def increment_achievement(achievement_id, request_id: nil, steps_to_increment: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
130
+ def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
131
131
  path = 'achievements/{achievementId}/increment'
132
132
  command = make_simple_command(:post, path, options)
133
133
  command.response_representation = Google::Apis::GamesV1::AchievementIncrementResponse::Representation
@@ -260,7 +260,7 @@ module Google
260
260
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
261
261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
262
262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
263
- def set_steps_at_least_achievement(achievement_id, steps: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
263
+ def set_steps_at_least_achievement(achievement_id, steps, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
264
264
  path = 'achievements/{achievementId}/setStepsAtLeast'
265
265
  command = make_simple_command(:post, path, options)
266
266
  command.response_representation = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse::Representation
@@ -905,7 +905,7 @@ module Google
905
905
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
906
906
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
907
907
  # @raise [Google::Apis::AuthorizationError] Authorization is required
908
- def claim_quest_milestone(quest_id, milestone_id, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
908
+ def claim_quest_milestone(quest_id, milestone_id, request_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
909
909
  path = 'quests/{questId}/milestones/{milestoneId}/claim'
910
910
  command = make_simple_command(:put, path, options)
911
911
  command.params['questId'] = quest_id unless quest_id.nil?
@@ -1035,7 +1035,7 @@ module Google
1035
1035
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1036
1036
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1037
1037
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1038
- def check_revision(client_revision: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1038
+ def check_revision(client_revision, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1039
1039
  path = 'revisions/check'
1040
1040
  command = make_simple_command(:get, path, options)
1041
1041
  command.response_representation = Google::Apis::GamesV1::CheckRevisionResponse::Representation
@@ -1442,6 +1442,8 @@ module Google
1442
1442
  # The ID of the leaderboard.
1443
1443
  # @param [String] collection
1444
1444
  # The collection of scores you're requesting.
1445
+ # @param [String] time_span
1446
+ # The time span for the scores and ranks you're requesting.
1445
1447
  # @param [String] language
1446
1448
  # The preferred language to use for strings returned by this method.
1447
1449
  # @param [Fixnum] max_results
@@ -1450,8 +1452,6 @@ module Google
1450
1452
  # the specified maxResults.
1451
1453
  # @param [String] page_token
1452
1454
  # The token returned by the previous request.
1453
- # @param [String] time_span
1454
- # The time span for the scores and ranks you're requesting.
1455
1455
  # @param [String] fields
1456
1456
  # Selector specifying which fields to include in a partial response.
1457
1457
  # @param [String] quota_user
@@ -1473,7 +1473,7 @@ module Google
1473
1473
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1474
1474
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1475
1475
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1476
- def list_scores(leaderboard_id, collection, language: nil, max_results: nil, page_token: nil, time_span: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1476
+ def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1477
1477
  path = 'leaderboards/{leaderboardId}/scores/{collection}'
1478
1478
  command = make_simple_command(:get, path, options)
1479
1479
  command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
@@ -1495,6 +1495,8 @@ module Google
1495
1495
  # The ID of the leaderboard.
1496
1496
  # @param [String] collection
1497
1497
  # The collection of scores you're requesting.
1498
+ # @param [String] time_span
1499
+ # The time span for the scores and ranks you're requesting.
1498
1500
  # @param [String] language
1499
1501
  # The preferred language to use for strings returned by this method.
1500
1502
  # @param [Fixnum] max_results
@@ -1511,8 +1513,6 @@ module Google
1511
1513
  # @param [Boolean] return_top_if_absent
1512
1514
  # True if the top scores should be returned when the player is not in the
1513
1515
  # leaderboard. Defaults to true.
1514
- # @param [String] time_span
1515
- # The time span for the scores and ranks you're requesting.
1516
1516
  # @param [String] fields
1517
1517
  # Selector specifying which fields to include in a partial response.
1518
1518
  # @param [String] quota_user
@@ -1534,7 +1534,7 @@ module Google
1534
1534
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1535
1535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1536
1536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1537
- def list_window_score(leaderboard_id, collection, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, time_span: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1537
+ def list_window_score(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1538
1538
  path = 'leaderboards/{leaderboardId}/window/{collection}'
1539
1539
  command = make_simple_command(:get, path, options)
1540
1540
  command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
@@ -1556,8 +1556,6 @@ module Google
1556
1556
  # Submits a score to the specified leaderboard.
1557
1557
  # @param [String] leaderboard_id
1558
1558
  # The ID of the leaderboard.
1559
- # @param [String] language
1560
- # The preferred language to use for strings returned by this method.
1561
1559
  # @param [String] score
1562
1560
  # The score you're submitting. The submitted score is ignored if it is worse
1563
1561
  # than a previously submitted score, where worse depends on the leaderboard sort
@@ -1565,6 +1563,8 @@ module Google
1565
1563
  # For fixed-point, the score represents the raw value. For time, the score
1566
1564
  # represents elapsed time in milliseconds. For currency, the score represents a
1567
1565
  # value in micro units.
1566
+ # @param [String] language
1567
+ # The preferred language to use for strings returned by this method.
1568
1568
  # @param [String] score_tag
1569
1569
  # Additional information about the score you're submitting. Values must contain
1570
1570
  # no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
@@ -1589,7 +1589,7 @@ module Google
1589
1589
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1590
1590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1591
1591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1592
- def submit_score(leaderboard_id, language: nil, score: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1592
+ def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1593
1593
  path = 'leaderboards/{leaderboardId}/scores'
1594
1594
  command = make_simple_command(:post, path, options)
1595
1595
  command.response_representation = Google::Apis::GamesV1::PlayerScoreResponse::Representation
@@ -2047,10 +2047,10 @@ module Google
2047
2047
  # the match.
2048
2048
  # @param [String] match_id
2049
2049
  # The ID of the match.
2050
- # @param [String] language
2051
- # The preferred language to use for strings returned by this method.
2052
2050
  # @param [Fixnum] match_version
2053
2051
  # The version of the match being updated.
2052
+ # @param [String] language
2053
+ # The preferred language to use for strings returned by this method.
2054
2054
  # @param [String] pending_participant_id
2055
2055
  # The ID of another participant who should take their turn next. If not set, the
2056
2056
  # match will wait for other player(s) to join via automatching; this is only
@@ -2077,7 +2077,7 @@ module Google
2077
2077
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2078
2078
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2079
2079
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2080
- def leave_turn(match_id, language: nil, match_version: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2080
+ def leave_turn(match_id, match_version, language: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2081
2081
  path = 'turnbasedmatches/{matchId}/leaveTurn'
2082
2082
  command = make_simple_command(:put, path, options)
2083
2083
  command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see
27
27
  module GenomicsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20150716'
29
+ REVISION = '20150723'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -141,38 +141,38 @@ module Google
141
141
  attr_accessor :done
142
142
  alias_method :done?, :done
143
143
 
144
- # The `Status` defines a logical error model that is suitable for different
144
+ # The `Status` type defines a logical error model that is suitable for different
145
145
  # programming environments, including REST APIs and RPC APIs. It is used by [
146
146
  # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
147
- # use and understand for most users. - Flexible enough to meet unexpected needs.
148
- # # Overview The `Status` message contains 3 pieces of data: error code, error
147
+ # use and understand for most users - Flexible enough to meet unexpected needs #
148
+ # Overview The `Status` message contains three pieces of data: error code, error
149
149
  # message, and error details. The error code should be an enum value of [google.
150
150
  # rpc.Code][google.rpc.Code], but it may accept additional error codes if needed.
151
151
  # The error message should be a developer-facing English message that helps
152
152
  # developers *understand* and *resolve* the error. If a localized user-facing
153
- # error message is needed, it can be sent in the error details or localized by
154
- # the client. The optional error details may contain arbitrary information about
155
- # the error. There is a predefined set of error detail types in the package `
156
- # google.rpc` which can be used for common error conditions. # Language mapping
157
- # The `Status` message is the logical representation of the error model, but it
158
- # is not necessarily the actual wire format. When the `Status` message is
159
- # exposed in different client libraries and different wire protocols, it can be
160
- # mapped differently. For example, it will likely be mapped to some exceptions
161
- # in Java, but more likely mapped to some error codes in C. # Other uses The
162
- # error model and the `Status` message can be used in a variety of environments -
163
- # either with or without APIs - to provide consistent developer experience
164
- # across different environments. Example uses of this error model include: -
165
- # Partial errors. If a service needs to return partial errors to the client, it
166
- # may embed the `Status` in the normal response to indicate the partial errors. -
167
- # Workflow errors. A typical workflow has multiple steps. Each step may have a `
168
- # Status` message for error reporting purpose. - Batch operations. If a client
169
- # uses batch request and batch response, the `Status` message should be used
170
- # directly inside batch response, one for each error sub-response. -
171
- # Asynchronous operations. If an API call embeds asynchronous operation results
172
- # in its response, the status of those operations should be represented directly
173
- # using the `Status` message. - Logging. If some API errors are stored in logs,
174
- # the message `Status` could be used directly after any stripping needed for
175
- # security/privacy reasons.
153
+ # error message is needed, put the localized message in the error details or
154
+ # localize it in the client. The optional error details may contain arbitrary
155
+ # information about the error. There is a predefined set of error detail types
156
+ # in the package `google.rpc` which can be used for common error conditions. #
157
+ # Language mapping The `Status` message is the logical representation of the
158
+ # error model, but it is not necessarily the actual wire format. When the `
159
+ # Status` message is exposed in different client libraries and different wire
160
+ # protocols, it can be mapped differently. For example, it will likely be mapped
161
+ # to some exceptions in Java, but more likely mapped to some error codes in C. #
162
+ # Other uses The error model and the `Status` message can be used in a variety
163
+ # of environments, either with or without APIs, to provide a consistent
164
+ # developer experience across different environments. Example uses of this error
165
+ # model include: - Partial errors. If a service needs to return partial errors
166
+ # to the client, it may embed the `Status` in the normal response to indicate
167
+ # the partial errors. - Workflow errors. A typical workflow has multiple steps.
168
+ # Each step may have a `Status` message for error reporting purpose. - Batch
169
+ # operations. If a client uses batch request and batch response, the `Status`
170
+ # message should be used directly inside batch response, one for each error sub-
171
+ # response. - Asynchronous operations. If an API call embeds asynchronous
172
+ # operation results in its response, the status of those operations should be
173
+ # represented directly using the `Status` message. - Logging. If some API errors
174
+ # are stored in logs, the message `Status` could be used directly after any
175
+ # stripping needed for security/privacy reasons.
176
176
  # Corresponds to the JSON property `error`
177
177
  # @return [Google::Apis::GenomicsV1::Status]
178
178
  attr_accessor :error
@@ -200,38 +200,38 @@ module Google
200
200
  end
201
201
  end
202
202
 
203
- # The `Status` defines a logical error model that is suitable for different
203
+ # The `Status` type defines a logical error model that is suitable for different
204
204
  # programming environments, including REST APIs and RPC APIs. It is used by [
205
205
  # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
206
- # use and understand for most users. - Flexible enough to meet unexpected needs.
207
- # # Overview The `Status` message contains 3 pieces of data: error code, error
206
+ # use and understand for most users - Flexible enough to meet unexpected needs #
207
+ # Overview The `Status` message contains three pieces of data: error code, error
208
208
  # message, and error details. The error code should be an enum value of [google.
209
209
  # rpc.Code][google.rpc.Code], but it may accept additional error codes if needed.
210
210
  # The error message should be a developer-facing English message that helps
211
211
  # developers *understand* and *resolve* the error. If a localized user-facing
212
- # error message is needed, it can be sent in the error details or localized by
213
- # the client. The optional error details may contain arbitrary information about
214
- # the error. There is a predefined set of error detail types in the package `
215
- # google.rpc` which can be used for common error conditions. # Language mapping
216
- # The `Status` message is the logical representation of the error model, but it
217
- # is not necessarily the actual wire format. When the `Status` message is
218
- # exposed in different client libraries and different wire protocols, it can be
219
- # mapped differently. For example, it will likely be mapped to some exceptions
220
- # in Java, but more likely mapped to some error codes in C. # Other uses The
221
- # error model and the `Status` message can be used in a variety of environments -
222
- # either with or without APIs - to provide consistent developer experience
223
- # across different environments. Example uses of this error model include: -
224
- # Partial errors. If a service needs to return partial errors to the client, it
225
- # may embed the `Status` in the normal response to indicate the partial errors. -
226
- # Workflow errors. A typical workflow has multiple steps. Each step may have a `
227
- # Status` message for error reporting purpose. - Batch operations. If a client
228
- # uses batch request and batch response, the `Status` message should be used
229
- # directly inside batch response, one for each error sub-response. -
230
- # Asynchronous operations. If an API call embeds asynchronous operation results
231
- # in its response, the status of those operations should be represented directly
232
- # using the `Status` message. - Logging. If some API errors are stored in logs,
233
- # the message `Status` could be used directly after any stripping needed for
234
- # security/privacy reasons.
212
+ # error message is needed, put the localized message in the error details or
213
+ # localize it in the client. The optional error details may contain arbitrary
214
+ # information about the error. There is a predefined set of error detail types
215
+ # in the package `google.rpc` which can be used for common error conditions. #
216
+ # Language mapping The `Status` message is the logical representation of the
217
+ # error model, but it is not necessarily the actual wire format. When the `
218
+ # Status` message is exposed in different client libraries and different wire
219
+ # protocols, it can be mapped differently. For example, it will likely be mapped
220
+ # to some exceptions in Java, but more likely mapped to some error codes in C. #
221
+ # Other uses The error model and the `Status` message can be used in a variety
222
+ # of environments, either with or without APIs, to provide a consistent
223
+ # developer experience across different environments. Example uses of this error
224
+ # model include: - Partial errors. If a service needs to return partial errors
225
+ # to the client, it may embed the `Status` in the normal response to indicate
226
+ # the partial errors. - Workflow errors. A typical workflow has multiple steps.
227
+ # Each step may have a `Status` message for error reporting purpose. - Batch
228
+ # operations. If a client uses batch request and batch response, the `Status`
229
+ # message should be used directly inside batch response, one for each error sub-
230
+ # response. - Asynchronous operations. If an API call embeds asynchronous
231
+ # operation results in its response, the status of those operations should be
232
+ # represented directly using the `Status` message. - Logging. If some API errors
233
+ # are stored in logs, the message `Status` could be used directly after any
234
+ # stripping needed for security/privacy reasons.
235
235
  class Status
236
236
  include Google::Apis::Core::Hashable
237
237
 
@@ -2155,7 +2155,10 @@ module Google
2155
2155
  # @return [String]
2156
2156
  attr_accessor :sample_id
2157
2157
 
2158
- # The IDs of the variant sets this call set belongs to.
2158
+ # The IDs of the variant sets this call set belongs to. This field must have
2159
+ # exactly length one, as a call set belongs to a single variant set. This field
2160
+ # is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/
2161
+ # ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
2159
2162
  # Corresponds to the JSON property `variantSetIds`
2160
2163
  # @return [Array<String>]
2161
2164
  attr_accessor :variant_set_ids
@@ -301,7 +301,7 @@ module Google
301
301
  # The maximum number of results to return. If unspecified, defaults to 256. The
302
302
  # maximum value is 2048.
303
303
  # @param [String] page_token
304
- # The standard List page token.
304
+ # The standard list page token.
305
305
  # @param [String] fields
306
306
  # Selector specifying which fields to include in a partial response.
307
307
  # @param [String] quota_user
@@ -208,7 +208,7 @@ module Google
208
208
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
209
209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
210
210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
211
- def list_license_assignment_for_product(product_id, customer_id: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
211
+ def list_license_assignment_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
212
212
  path = '{productId}/users'
213
213
  command = make_simple_command(:get, path, options)
214
214
  command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
@@ -257,7 +257,7 @@ module Google
257
257
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
260
- def list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
260
+ def list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
261
261
  path = '{productId}/sku/{skuId}/users'
262
262
  command = make_simple_command(:get, path, options)
263
263
  command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
@@ -2280,6 +2280,11 @@ module Google
2280
2280
  end
2281
2281
 
2282
2282
  # Return all rasters readable by the current user.
2283
+ # @param [String] project_id
2284
+ # The ID of a Maps Engine project, used to filter the response. To list all
2285
+ # available projects with their IDs, send a Projects: list request. You can also
2286
+ # find your project ID as the value of the DashboardPlace:cid URL parameter when
2287
+ # signed in to mapsengine.google.com.
2283
2288
  # @param [String] bbox
2284
2289
  # A bounding box, expressed as "west,south,east,north". If set, only assets
2285
2290
  # which intersect this bounding box will be returned.
@@ -2306,11 +2311,6 @@ module Google
2306
2311
  # next page of results, set this parameter to the value of nextPageToken from
2307
2312
  # the previous response.
2308
2313
  # @param [String] processing_status
2309
- # @param [String] project_id
2310
- # The ID of a Maps Engine project, used to filter the response. To list all
2311
- # available projects with their IDs, send a Projects: list request. You can also
2312
- # find your project ID as the value of the DashboardPlace:cid URL parameter when
2313
- # signed in to mapsengine.google.com.
2314
2314
  # @param [String] role
2315
2315
  # The role parameter indicates that the response should only contain assets
2316
2316
  # where the current user has the specified level of access.
@@ -2341,7 +2341,7 @@ module Google
2341
2341
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2342
2342
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2343
2343
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2344
- def list_rasters(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2344
+ def list_rasters(project_id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2345
2345
  path = 'rasters'
2346
2346
  command = make_simple_command(:get, path, options)
2347
2347
  command.response_representation = Google::Apis::MapsengineV1::ListRastersResponse::Representation
@@ -2504,7 +2504,7 @@ module Google
2504
2504
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2505
2505
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2506
2506
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2507
- def insert_raster_file(id, filename: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
2507
+ def insert_raster_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
2508
2508
  path = 'rasters/{id}/files'
2509
2509
  if upload_source.nil?
2510
2510
  command = make_simple_command(:post, path, options)
@@ -3274,7 +3274,7 @@ module Google
3274
3274
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3275
3275
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3276
3276
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3277
- def insert_table_file(id, filename: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
3277
+ def insert_table_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
3278
3278
  path = 'tables/{id}/files'
3279
3279
  if upload_source.nil?
3280
3280
  command = make_simple_command(:post, path, options)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/glass
26
26
  module MirrorV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150326'
28
+ REVISION = '20150720'
29
29
 
30
30
  # View your location
31
31
  AUTH_GLASS_LOCATION = 'https://www.googleapis.com/auth/glass.location'
@@ -56,6 +56,8 @@ module Google
56
56
  # Runs PageSpeed analysis on the page at the specified URL, and returns
57
57
  # PageSpeed scores, a list of suggestions to make that page faster, and other
58
58
  # information.
59
+ # @param [String] url
60
+ # The URL to fetch and analyze
59
61
  # @param [Boolean] filter_third_party_resources
60
62
  # Indicates if third party resources should be filtered out before PageSpeed
61
63
  # analysis.
@@ -67,8 +69,6 @@ module Google
67
69
  # Indicates if binary data containing a screenshot should be included
68
70
  # @param [String] strategy
69
71
  # The analysis strategy to use
70
- # @param [String] url
71
- # The URL to fetch and analyze
72
72
  # @param [String] fields
73
73
  # Selector specifying which fields to include in a partial response.
74
74
  # @param [String] quota_user
@@ -90,7 +90,7 @@ module Google
90
90
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
91
91
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
92
92
  # @raise [Google::Apis::AuthorizationError] Authorization is required
93
- def run_pagespeed(filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
93
+ def run_pagespeed(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
94
94
  path = 'runPagespeed'
95
95
  command = make_simple_command(:get, path, options)
96
96
  command.response_representation = Google::Apis::PagespeedonlineV2::Result::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150719'
28
+ REVISION = '20150729'
29
29
 
30
30
  # View your circles and the people and pages in them
31
31
  AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/api/
26
26
  module PlusV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150719'
28
+ REVISION = '20150729'
29
29
 
30
30
  # Know your basic profile info and list of people in your circles.
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'