google-api-client 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +34 -0
  4. data/api_names.yaml +3 -0
  5. data/api_names_out.yaml +1058 -20
  6. data/bin/generate-api +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/androidenterprise_v1.rb +2 -3
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
  16. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  17. data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
  21. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  22. data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
  23. data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
  24. data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
  25. data/generated/google/apis/appstate_v1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +68 -14
  28. data/generated/google/apis/bigquery_v2/representations.rb +30 -0
  29. data/generated/google/apis/books_v1.rb +1 -1
  30. data/generated/google/apis/books_v1/classes.rb +68 -3
  31. data/generated/google/apis/books_v1/representations.rb +21 -0
  32. data/generated/google/apis/calendar_v3.rb +2 -2
  33. data/generated/google/apis/calendar_v3/service.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  38. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  40. data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
  41. data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
  42. data/generated/google/apis/compute_beta.rb +1 -1
  43. data/generated/google/apis/compute_beta/classes.rb +138 -108
  44. data/generated/google/apis/compute_beta/representations.rb +16 -18
  45. data/generated/google/apis/compute_beta/service.rb +52 -2
  46. data/generated/google/apis/compute_v1.rb +1 -1
  47. data/generated/google/apis/compute_v1/classes.rb +55 -74
  48. data/generated/google/apis/compute_v1/representations.rb +14 -18
  49. data/generated/google/apis/compute_v1/service.rb +45 -1
  50. data/generated/google/apis/container_v1.rb +3 -3
  51. data/generated/google/apis/container_v1/classes.rb +200 -42
  52. data/generated/google/apis/container_v1/representations.rb +54 -0
  53. data/generated/google/apis/container_v1/service.rb +31 -30
  54. data/generated/google/apis/content_v2.rb +1 -1
  55. data/generated/google/apis/datastore_v1beta2.rb +2 -2
  56. data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
  57. data/generated/google/apis/deploymentmanager_v2.rb +2 -3
  58. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
  59. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  60. data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
  61. data/generated/google/apis/dfareporting_v2_3.rb +2 -2
  62. data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
  63. data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
  64. data/generated/google/apis/dns_v1.rb +1 -1
  65. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  66. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v2/classes.rb +10 -4
  69. data/generated/google/apis/drive_v2/representations.rb +1 -0
  70. data/generated/google/apis/drive_v3.rb +1 -1
  71. data/generated/google/apis/drive_v3/classes.rb +7 -0
  72. data/generated/google/apis/drive_v3/representations.rb +1 -0
  73. data/generated/google/apis/fusiontables_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/genomics_v1.rb +2 -2
  78. data/generated/google/apis/genomics_v1/classes.rb +770 -82
  79. data/generated/google/apis/genomics_v1/representations.rb +287 -24
  80. data/generated/google/apis/genomics_v1/service.rb +412 -13
  81. data/generated/google/apis/gmail_v1.rb +1 -1
  82. data/generated/google/apis/groupssettings_v1.rb +1 -1
  83. data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
  84. data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
  85. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  86. data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
  87. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  88. data/generated/google/apis/logging_v2beta1.rb +2 -3
  89. data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
  90. data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
  91. data/generated/google/apis/logging_v2beta1/service.rb +25 -32
  92. data/generated/google/apis/oauth2_v2.rb +2 -2
  93. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  94. data/generated/google/apis/plus_domains_v1.rb +1 -1
  95. data/generated/google/apis/plus_v1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +20 -12
  98. data/generated/google/apis/pubsub_v1/service.rb +32 -35
  99. data/generated/google/apis/reseller_v1.rb +1 -1
  100. data/generated/google/apis/reseller_v1/classes.rb +23 -9
  101. data/generated/google/apis/reseller_v1/representations.rb +2 -0
  102. data/generated/google/apis/sheets_v1.rb +43 -0
  103. data/generated/google/apis/sheets_v1/classes.rb +4542 -0
  104. data/generated/google/apis/sheets_v1/representations.rb +1703 -0
  105. data/generated/google/apis/sheets_v1/service.rb +363 -0
  106. data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
  107. data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
  108. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  109. data/generated/google/apis/storage_v1.rb +1 -1
  110. data/generated/google/apis/vision_v1.rb +2 -2
  111. data/generated/google/apis/vision_v1/classes.rb +11 -11
  112. data/generated/google/apis/vision_v1/service.rb +1 -1
  113. data/generated/google/apis/webmasters_v3.rb +2 -2
  114. data/generated/google/apis/webmasters_v3/classes.rb +7 -0
  115. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  116. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  118. data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
  119. data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
  120. data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
  121. data/generated/google/apis/youtube_v3.rb +3 -2
  122. data/generated/google/apis/youtube_v3/classes.rb +100 -3
  123. data/generated/google/apis/youtube_v3/representations.rb +50 -0
  124. data/generated/google/apis/youtube_v3/service.rb +2 -1
  125. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  126. data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
  127. data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
  128. data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
  129. data/google-api-client.gemspec +2 -0
  130. data/lib/google/apis.rb +12 -2
  131. data/lib/google/apis/version.rb +1 -1
  132. data/script/generate +5 -2
  133. data/spec/google/apis/logging_spec.rb +55 -0
  134. metadata +12 -4
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class Status
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class ListMonitoredResourceDescriptorsResponse
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -157,6 +163,7 @@ module Google
157
163
  hash :labels, as: 'labels'
158
164
  collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
159
165
 
166
+ property :partial_success, as: 'partialSuccess'
160
167
  end
161
168
  end
162
169
 
@@ -199,8 +206,10 @@ module Google
199
206
  property :user_agent, as: 'userAgent'
200
207
  property :remote_ip, as: 'remoteIp'
201
208
  property :referer, as: 'referer'
209
+ property :cache_lookup, as: 'cacheLookup'
202
210
  property :cache_hit, as: 'cacheHit'
203
- property :validated_with_origin_server, as: 'validatedWithOriginServer'
211
+ property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
212
+ property :cache_fill_bytes, as: 'cacheFillBytes'
204
213
  end
205
214
  end
206
215
 
@@ -228,6 +237,7 @@ module Google
228
237
  property :order_by, as: 'orderBy'
229
238
  property :page_size, as: 'pageSize'
230
239
  property :page_token, as: 'pageToken'
240
+ property :partial_success, as: 'partialSuccess'
231
241
  end
232
242
  end
233
243
 
@@ -237,6 +247,17 @@ module Google
237
247
  collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
238
248
 
239
249
  property :next_page_token, as: 'nextPageToken'
250
+ hash :project_id_errors, as: 'projectIdErrors', class: Google::Apis::LoggingV2beta1::Status, decorator: Google::Apis::LoggingV2beta1::Status::Representation
251
+
252
+ end
253
+ end
254
+
255
+ class Status
256
+ # @private
257
+ class Representation < Google::Apis::Core::JsonRepresentation
258
+ property :code, as: 'code'
259
+ property :message, as: 'message'
260
+ collection :details, as: 'details'
240
261
  end
241
262
  end
242
263
 
@@ -252,6 +273,7 @@ module Google
252
273
  class MonitoredResourceDescriptor
253
274
  # @private
254
275
  class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :name, as: 'name'
255
277
  property :type, as: 'type'
256
278
  property :display_name, as: 'displayName'
257
279
  property :description, as: 'description'
@@ -335,6 +357,7 @@ module Google
335
357
  property :pending_time, as: 'pendingTime'
336
358
  property :instance_index, as: 'instanceIndex'
337
359
  property :finished, as: 'finished'
360
+ property :first, as: 'first'
338
361
  property :instance_id, as: 'instanceId'
339
362
  collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
340
363
 
@@ -22,8 +22,7 @@ module Google
22
22
  module LoggingV2beta1
23
23
  # Google Cloud Logging API
24
24
  #
25
- # The Google Cloud Logging API lets you write log entries and manage your logs,
26
- # log sinks and logs-based metrics.
25
+ # Writes log entries and manages your logs, log sinks, and logs-based metrics.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/logging_v2beta1'
@@ -82,19 +81,17 @@ module Google
82
81
  # Lists sinks.
83
82
  # @param [String] project_name
84
83
  # Required. The resource name of the project containing the sinks. Example: `"
85
- # projects/my-logging-project"`, `"projects/01234567890"`.
84
+ # projects/my-logging-project"`.
86
85
  # @param [String] page_token
87
- # Optional. If the `pageToken` request parameter is supplied, then the next page
88
- # of results in the set are retrieved. The `pageToken` parameter must be set
89
- # with the value of the `nextPageToken` result parameter from the previous
90
- # request. The value of `projectName` must be the same as in the previous
91
- # request.
86
+ # Optional. If the `pageToken` parameter is supplied, then the next page of
87
+ # results is retrieved. The `pageToken` parameter must be set to the value of
88
+ # the `nextPageToken` from the previous response. The value of `projectName`
89
+ # must be the same as in the previous request.
92
90
  # @param [Fixnum] page_size
93
- # Optional. The maximum number of results to return from this request. Fewer
94
- # results might be returned. You must check for the `nextPageToken` result to
95
- # determine if additional results are available, which you can retrieve by
96
- # passing the `nextPageToken` value in the `pageToken` parameter to the next
97
- # request.
91
+ # Optional. The maximum number of results to return from this request. You must
92
+ # check for presence of `nextPageToken` to determine if additional results are
93
+ # available, which you can retrieve by passing the `nextPageToken` value as the `
94
+ # pageToken` parameter in the next request.
98
95
  # @param [String] fields
99
96
  # Selector specifying which fields to include in a partial response.
100
97
  # @param [String] quota_user
@@ -261,17 +258,15 @@ module Google
261
258
  # Required. The resource name of the project containing the metrics. Example: `"
262
259
  # projects/my-project-id"`.
263
260
  # @param [String] page_token
264
- # Optional. If the `pageToken` request parameter is supplied, then the next page
265
- # of results in the set are retrieved. The `pageToken` parameter must be set
266
- # with the value of the `nextPageToken` result parameter from the previous
267
- # request. The value of `projectName` must be the same as in the previous
268
- # request.
261
+ # Optional. If the `pageToken` parameter is supplied, then the next page of
262
+ # results is retrieved. The `pageToken` parameter must be set to the value of
263
+ # the `nextPageToken` from the previous response. The value of `projectName`
264
+ # must be the same as in the previous request.
269
265
  # @param [Fixnum] page_size
270
- # Optional. The maximum number of results to return from this request. Fewer
271
- # results might be returned. You must check for the `nextPageToken` result to
272
- # determine if additional results are available, which you can retrieve by
273
- # passing the `nextPageToken` value in the `pageToken` parameter to the next
274
- # request.
266
+ # Optional. The maximum number of results to return from this request. You must
267
+ # check for presence of `nextPageToken` to determine if additional results are
268
+ # available, which you can retrieve by passing the `nextPageToken` value as the `
269
+ # pageToken` parameter in the next request.
275
270
  # @param [String] fields
276
271
  # Selector specifying which fields to include in a partial response.
277
272
  # @param [String] quota_user
@@ -497,16 +492,14 @@ module Google
497
492
 
498
493
  # Lists monitored resource descriptors that are used by Cloud Logging.
499
494
  # @param [Fixnum] page_size
500
- # Optional. The maximum number of results to return from this request. Fewer
501
- # results might be returned. You must check for the `nextPageToken` result to
502
- # determine if additional results are available, which you can retrieve by
503
- # passing the `nextPageToken` value in the `pageToken` parameter to the next
504
- # request.
495
+ # Optional. The maximum number of results to return from this request. You must
496
+ # check for presence of `nextPageToken` to determine if additional results are
497
+ # available, which you can retrieve by passing the `nextPageToken` value as the `
498
+ # pageToken` parameter in the next request.
505
499
  # @param [String] page_token
506
- # Optional. If the `pageToken` request parameter is supplied, then the next page
507
- # of results in the set are retrieved. The `pageToken` parameter must be set
508
- # with the value of the `nextPageToken` result parameter from the previous
509
- # request.
500
+ # Optional. If the `pageToken` parameter is supplied, then the next page of
501
+ # results is retrieved. The `pageToken` parameter must be set to the value of
502
+ # the `nextPageToken` from the previous response.
510
503
  # @param [String] fields
511
504
  # Selector specifying which fields to include in a partial response.
512
505
  # @param [String] quota_user
@@ -20,12 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Google OAuth2 API
22
22
  #
23
- # Lets you access OAuth2 protocol related APIs.
23
+ # Obtains end-user authorization grants for use with other Google APIs.
24
24
  #
25
25
  # @see https://developers.google.com/accounts/docs/OAuth2
26
26
  module Oauth2V2
27
27
  VERSION = 'V2'
28
- REVISION = '20160217'
28
+ REVISION = '20160330'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -22,7 +22,7 @@ module Google
22
22
  module Oauth2V2
23
23
  # Google OAuth2 API
24
24
  #
25
- # Lets you access OAuth2 protocol related APIs.
25
+ # Obtains end-user authorization grants for use with other Google APIs.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/oauth2_v2'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160309'
28
+ REVISION = '20160412'
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 = '20160309'
28
+ REVISION = '20160412'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20151103'
28
+ REVISION = '20160317'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -33,7 +33,7 @@ module Google
33
33
  # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
34
34
  # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
35
35
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
36
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
36
+ # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
37
37
  # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
38
38
  # IAM developer's guide](https://cloud.google.com/iam).
39
39
  # Corresponds to the JSON property `policy`
@@ -57,7 +57,7 @@ module Google
57
57
  # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
58
58
  # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
59
59
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
60
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
60
+ # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
61
61
  # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
62
62
  # IAM developer's guide](https://cloud.google.com/iam).
63
63
  class Policy
@@ -75,7 +75,14 @@ module Google
75
75
  # @return [Array<Google::Apis::PubsubV1::Binding>]
76
76
  attr_accessor :bindings
77
77
 
78
- # Can be used to perform a read-modify-write.
78
+ # `etag` is used for optimistic concurrency control as a way to help prevent
79
+ # simultaneous updates of a policy from overwriting each other. It is strongly
80
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
81
+ # to perform policy updates in order to avoid race conditions: An `etag` is
82
+ # returned in the response to `getIamPolicy`, and systems are expected to put
83
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
84
+ # applied to the same version of the policy. If no `etag` is provided in the
85
+ # call to `setIamPolicy`, then the existing policy is overwritten blindly.
79
86
  # Corresponds to the JSON property `etag`
80
87
  # @return [String]
81
88
  attr_accessor :etag
@@ -103,7 +110,7 @@ module Google
103
110
  attr_accessor :role
104
111
 
105
112
  # Specifies the identities requesting access for a Cloud Platform resource. `
106
- # members` can have the following formats: * `allUsers`: A special identifier
113
+ # members` can have the following values: * `allUsers`: A special identifier
107
114
  # that represents anyone who is on the internet; with or without a Google
108
115
  # account. * `allAuthenticatedUsers`: A special identifier that represents
109
116
  # anyone who is authenticated with a Google account or a service account. * `
@@ -134,7 +141,8 @@ module Google
134
141
  include Google::Apis::Core::Hashable
135
142
 
136
143
  # The set of permissions to check for the `resource`. Permissions with wildcards
137
- # (such as '*' or 'storage.*') are not allowed.
144
+ # (such as '*' or 'storage.*') are not allowed. For more information see IAM
145
+ # Overview.
138
146
  # Corresponds to the JSON property `permissions`
139
147
  # @return [Array<String>]
140
148
  attr_accessor :permissions
@@ -373,13 +381,13 @@ module Google
373
381
  # the subscriber should acknowledge the message. After message delivery but
374
382
  # before the ack deadline expires and before the message is acknowledged, it is
375
383
  # an outstanding message and will not be delivered again during that time (on a
376
- # best-effort basis). For pull delivery this value is used as the initial value
377
- # for the ack deadline. To override this value for a given message, call `
378
- # ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this
379
- # value is also used to set the request timeout for the call to the push
380
- # endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
381
- # will eventually redeliver the message. If this parameter is not set, the
382
- # default value of 10 seconds is used.
384
+ # best-effort basis). For pull subscriptions, this value is used as the initial
385
+ # value for the ack deadline. To override this value for a given message, call `
386
+ # ModifyAckDeadline` with the corresponding `ack_id` if using pull. For push
387
+ # delivery, this value is also used to set the request timeout for the call to
388
+ # the push endpoint. If the subscriber never acknowledges the message, the Pub/
389
+ # Sub system will eventually redeliver the message. If this parameter is not set,
390
+ # the default value of 10 seconds is used.
383
391
  # Corresponds to the JSON property `ackDeadlineSeconds`
384
392
  # @return [Fixnum]
385
393
  attr_accessor :ack_deadline_seconds
@@ -49,10 +49,10 @@ module Google
49
49
  # Sets the access control policy on the specified resource. Replaces any
50
50
  # existing policy.
51
51
  # @param [String] resource
52
- # REQUIRED: The resource for which policy is being specified. `resource` is
53
- # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
54
- # disk``. The format for the path specified in this value is resource specific
55
- # and is specified in the documentation for the respective SetIamPolicy rpc.
52
+ # REQUIRED: The resource for which the policy is being specified. `resource` is
53
+ # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
54
+ # disk*`. The format for the path specified in this value is resource specific
55
+ # and is specified in the `setIamPolicy` documentation.
56
56
  # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
57
57
  # @param [String] fields
58
58
  # Selector specifying which fields to include in a partial response.
@@ -83,13 +83,13 @@ module Google
83
83
  execute_or_queue_command(command, &block)
84
84
  end
85
85
 
86
- # Gets the access control policy for a `resource`. Is empty if the policy or the
87
- # resource does not exist.
86
+ # Gets the access control policy for a `resource`. Returns an empty policy if
87
+ # the resource exists and does not have a policy set.
88
88
  # @param [String] resource
89
- # REQUIRED: The resource for which policy is being requested. `resource` is
90
- # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
91
- # disk``. The format for the path specified in this value is resource specific
92
- # and is specified in the documentation for the respective GetIamPolicy rpc.
89
+ # REQUIRED: The resource for which the policy is being requested. `resource` is
90
+ # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
91
+ # disk*`. The format for the path specified in this value is resource specific
92
+ # and is specified in the `getIamPolicy` documentation.
93
93
  # @param [String] fields
94
94
  # Selector specifying which fields to include in a partial response.
95
95
  # @param [String] quota_user
@@ -119,11 +119,10 @@ module Google
119
119
 
120
120
  # Returns permissions that a caller has on the specified resource.
121
121
  # @param [String] resource
122
- # REQUIRED: The resource for which policy detail is being requested. `resource`
123
- # is usually specified as a path, such as, `projects/`project`/zones/`zone`/
124
- # disks/`disk``. The format for the path specified in this value is resource
125
- # specific and is specified in the documentation for the respective
126
- # TestIamPermissions rpc.
122
+ # REQUIRED: The resource for which the policy detail is being requested. `
123
+ # resource` is usually specified as a path, such as `projects/*project*/zones/*
124
+ # zone*/disks/*disk*`. The format for the path specified in this value is
125
+ # resource specific and is specified in the `testIamPermissions` documentation.
127
126
  # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
128
127
  # @param [String] fields
129
128
  # Selector specifying which fields to include in a partial response.
@@ -369,10 +368,10 @@ module Google
369
368
  # Sets the access control policy on the specified resource. Replaces any
370
369
  # existing policy.
371
370
  # @param [String] resource
372
- # REQUIRED: The resource for which policy is being specified. `resource` is
373
- # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
374
- # disk``. The format for the path specified in this value is resource specific
375
- # and is specified in the documentation for the respective SetIamPolicy rpc.
371
+ # REQUIRED: The resource for which the policy is being specified. `resource` is
372
+ # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
373
+ # disk*`. The format for the path specified in this value is resource specific
374
+ # and is specified in the `setIamPolicy` documentation.
376
375
  # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
377
376
  # @param [String] fields
378
377
  # Selector specifying which fields to include in a partial response.
@@ -403,13 +402,13 @@ module Google
403
402
  execute_or_queue_command(command, &block)
404
403
  end
405
404
 
406
- # Gets the access control policy for a `resource`. Is empty if the policy or the
407
- # resource does not exist.
405
+ # Gets the access control policy for a `resource`. Returns an empty policy if
406
+ # the resource exists and does not have a policy set.
408
407
  # @param [String] resource
409
- # REQUIRED: The resource for which policy is being requested. `resource` is
410
- # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
411
- # disk``. The format for the path specified in this value is resource specific
412
- # and is specified in the documentation for the respective GetIamPolicy rpc.
408
+ # REQUIRED: The resource for which the policy is being requested. `resource` is
409
+ # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
410
+ # disk*`. The format for the path specified in this value is resource specific
411
+ # and is specified in the `getIamPolicy` documentation.
413
412
  # @param [String] fields
414
413
  # Selector specifying which fields to include in a partial response.
415
414
  # @param [String] quota_user
@@ -439,11 +438,10 @@ module Google
439
438
 
440
439
  # Returns permissions that a caller has on the specified resource.
441
440
  # @param [String] resource
442
- # REQUIRED: The resource for which policy detail is being requested. `resource`
443
- # is usually specified as a path, such as, `projects/`project`/zones/`zone`/
444
- # disks/`disk``. The format for the path specified in this value is resource
445
- # specific and is specified in the documentation for the respective
446
- # TestIamPermissions rpc.
441
+ # REQUIRED: The resource for which the policy detail is being requested. `
442
+ # resource` is usually specified as a path, such as `projects/*project*/zones/*
443
+ # zone*/disks/*disk*`. The format for the path specified in this value is
444
+ # resource specific and is specified in the `testIamPermissions` documentation.
447
445
  # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
448
446
  # @param [String] fields
449
447
  # Selector specifying which fields to include in a partial response.
@@ -474,11 +472,10 @@ module Google
474
472
  execute_or_queue_command(command, &block)
475
473
  end
476
474
 
477
- # Creates a subscription to a given topic for a given subscriber. If the
478
- # subscription already exists, returns `ALREADY_EXISTS`. If the corresponding
479
- # topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the
480
- # request, the server will assign a random name for this subscription on the
481
- # same project as the topic.
475
+ # Creates a subscription to a given topic. If the subscription already exists,
476
+ # returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `
477
+ # NOT_FOUND`. If the name is not provided in the request, the server will assign
478
+ # a random name for this subscription on the same project as the topic.
482
479
  # @param [String] name
483
480
  # The name of the subscription. It must have the format `"projects/`project`/
484
481
  # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/reseller/
26
26
  module ResellerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160229'
28
+ REVISION = '20160329'
29
29
 
30
30
  # Manage users on your domain
31
31
  AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
@@ -102,6 +102,12 @@ module Google
102
102
  class ChangePlanRequest
103
103
  include Google::Apis::Core::Hashable
104
104
 
105
+ # External name of the deal code applicable for the subscription. This field is
106
+ # optional. If missing, the deal price plan won't be used.
107
+ # Corresponds to the JSON property `dealCode`
108
+ # @return [String]
109
+ attr_accessor :deal_code
110
+
105
111
  # Identifies the resource as a subscription change plan request.
106
112
  # Corresponds to the JSON property `kind`
107
113
  # @return [String]
@@ -128,6 +134,7 @@ module Google
128
134
 
129
135
  # Update properties of this object
130
136
  def update!(**args)
137
+ @deal_code = args[:deal_code] if args.key?(:deal_code)
131
138
  @kind = args[:kind] if args.key?(:kind)
132
139
  @plan_name = args[:plan_name] if args.key?(:plan_name)
133
140
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
@@ -286,6 +293,12 @@ module Google
286
293
  # @return [String]
287
294
  attr_accessor :customer_id
288
295
 
296
+ # External name of the deal, if this subscription was provisioned under one.
297
+ # Otherwise this field will be empty.
298
+ # Corresponds to the JSON property `dealCode`
299
+ # @return [String]
300
+ attr_accessor :deal_code
301
+
289
302
  # Identifies the resource as a Subscription.
290
303
  # Corresponds to the JSON property `kind`
291
304
  # @return [String]
@@ -331,17 +344,17 @@ module Google
331
344
  # @return [String]
332
345
  attr_accessor :subscription_id
333
346
 
334
- # field listing all current reasons the subscription is suspended. It is
335
- # possible for a subscription to have multiple suspension reasons. A
336
- # subscription's status is SUSPENDED until all pending suspensions are removed.
337
- # Possible options include:
338
- # - PENDING_TOS_ACCEPTANCE The customer has not logged in and accepted the
347
+ # Read-only field containing an enumerable of all the current suspension reasons
348
+ # for a subscription. It is possible for a subscription to have many concurrent,
349
+ # overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
350
+ # pending suspensions are removed. Possible options include:
351
+ # - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the
339
352
  # Google Apps Resold Terms of Services.
340
- # - RENEWAL_WITH_TYPE_CANCEL The customer's commitment ended and their service
353
+ # - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service
341
354
  # was cancelled at the end of their term.
342
- # - RESELLER_INITIATED A manual suspension invoked by a Reseller.
343
- # - TRIAL_ENDED The customer's trial expired without a plan selected.
344
- # - OTHER The customer is suspended for an internal Google reason (e.g. abuse
355
+ # - RESELLER_INITIATED - A manual suspension invoked by a Reseller.
356
+ # - TRIAL_ENDED - The customer's trial expired without a plan selected.
357
+ # - OTHER - The customer is suspended for an internal Google reason (e.g. abuse
345
358
  # or otherwise).
346
359
  # Corresponds to the JSON property `suspensionReasons`
347
360
  # @return [Array<String>]
@@ -367,6 +380,7 @@ module Google
367
380
  @creation_time = args[:creation_time] if args.key?(:creation_time)
368
381
  @customer_domain = args[:customer_domain] if args.key?(:customer_domain)
369
382
  @customer_id = args[:customer_id] if args.key?(:customer_id)
383
+ @deal_code = args[:deal_code] if args.key?(:deal_code)
370
384
  @kind = args[:kind] if args.key?(:kind)
371
385
  @plan = args[:plan] if args.key?(:plan)
372
386
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)