google-api-client 0.19.7 → 0.19.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
  6. data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
  7. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
  9. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
  11. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +18 -16
  14. data/generated/google/apis/appengine_v1/service.rb +5 -5
  15. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  16. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  17. data/generated/google/apis/appengine_v1beta.rb +1 -1
  18. data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
  19. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  20. data/generated/google/apis/appengine_v1beta/service.rb +5 -5
  21. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  22. data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +42 -5
  27. data/generated/google/apis/bigquery_v2/representations.rb +18 -2
  28. data/generated/google/apis/cloudiot_v1.rb +1 -1
  29. data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
  30. data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
  31. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  32. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
  35. data/generated/google/apis/compute_alpha.rb +1 -1
  36. data/generated/google/apis/compute_alpha/classes.rb +40 -14
  37. data/generated/google/apis/compute_alpha/representations.rb +5 -1
  38. data/generated/google/apis/compute_alpha/service.rb +131 -0
  39. data/generated/google/apis/compute_beta.rb +1 -1
  40. data/generated/google/apis/compute_beta/classes.rb +67 -10
  41. data/generated/google/apis/compute_beta/representations.rb +17 -0
  42. data/generated/google/apis/compute_beta/service.rb +52 -0
  43. data/generated/google/apis/compute_v1.rb +1 -1
  44. data/generated/google/apis/compute_v1/classes.rb +6 -5
  45. data/generated/google/apis/container_v1beta1.rb +1 -1
  46. data/generated/google/apis/container_v1beta1/classes.rb +44 -0
  47. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  48. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  49. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  50. data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
  51. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  52. data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
  53. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  54. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
  55. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
  56. data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
  57. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
  59. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  60. data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
  61. data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
  62. data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
  63. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  64. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
  65. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  66. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/logging_v2.rb +1 -1
  69. data/generated/google/apis/logging_v2/classes.rb +5 -3
  70. data/generated/google/apis/logging_v2beta1.rb +1 -1
  71. data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
  72. data/generated/google/apis/manufacturers_v1.rb +1 -1
  73. data/generated/google/apis/manufacturers_v1/service.rb +13 -13
  74. data/generated/google/apis/ml_v1.rb +1 -1
  75. data/generated/google/apis/ml_v1/classes.rb +0 -142
  76. data/generated/google/apis/ml_v1/representations.rb +0 -26
  77. data/generated/google/apis/ml_v1/service.rb +3 -63
  78. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  79. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
  80. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
  81. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  82. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
  83. data/generated/google/apis/serviceusage_v1.rb +42 -0
  84. data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
  85. data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
  86. data/generated/google/apis/serviceusage_v1/service.rb +406 -0
  87. data/generated/google/apis/slides_v1.rb +1 -1
  88. data/generated/google/apis/slides_v1/classes.rb +13 -0
  89. data/generated/google/apis/slides_v1/representations.rb +3 -0
  90. data/generated/google/apis/spanner_v1.rb +1 -1
  91. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  92. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  93. data/lib/google/apis/version.rb +1 -1
  94. metadata +6 -2
@@ -886,6 +886,7 @@ module Google
886
886
  # * Supported fields/values for inspect jobs:
887
887
  # - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
888
888
  # - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
889
+ # - `trigger_name` - The resource name of the trigger that created job.
889
890
  # * Supported fields for risk analysis jobs:
890
891
  # - `state` - RUNNING|CANCELED|FINISHED|FAILED
891
892
  # * The operator must be `=` or `!=`.
@@ -1138,6 +1139,186 @@ module Google
1138
1139
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1139
1140
  execute_or_queue_command(command, &block)
1140
1141
  end
1142
+
1143
+ # Creates a job to run DLP actions such as scanning storage for sensitive
1144
+ # information on a set schedule.
1145
+ # @param [String] parent
1146
+ # The parent resource name, for example projects/my-project-id.
1147
+ # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateJobTriggerRequest] google_privacy_dlp_v2beta2_create_job_trigger_request_object
1148
+ # @param [String] fields
1149
+ # Selector specifying which fields to include in a partial response.
1150
+ # @param [String] quota_user
1151
+ # Available to use for quota purposes for server-side applications. Can be any
1152
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1153
+ # @param [Google::Apis::RequestOptions] options
1154
+ # Request-specific options
1155
+ #
1156
+ # @yield [result, err] Result & error if block supplied
1157
+ # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
1158
+ # @yieldparam err [StandardError] error object if request failed
1159
+ #
1160
+ # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
1161
+ #
1162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1165
+ def create_project_job_trigger(parent, google_privacy_dlp_v2beta2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1166
+ command = make_simple_command(:post, 'v2beta2/{+parent}/jobTriggers', options)
1167
+ command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateJobTriggerRequest::Representation
1168
+ command.request_object = google_privacy_dlp_v2beta2_create_job_trigger_request_object
1169
+ command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
1170
+ command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
1171
+ command.params['parent'] = parent unless parent.nil?
1172
+ command.query['fields'] = fields unless fields.nil?
1173
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1174
+ execute_or_queue_command(command, &block)
1175
+ end
1176
+
1177
+ # Deletes a job trigger.
1178
+ # @param [String] name
1179
+ # Resource name of the project and the triggeredJob, for example
1180
+ # `projects/dlp-test-project/jobTriggers/53234423`.
1181
+ # @param [String] fields
1182
+ # Selector specifying which fields to include in a partial response.
1183
+ # @param [String] quota_user
1184
+ # Available to use for quota purposes for server-side applications. Can be any
1185
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1186
+ # @param [Google::Apis::RequestOptions] options
1187
+ # Request-specific options
1188
+ #
1189
+ # @yield [result, err] Result & error if block supplied
1190
+ # @yieldparam result [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] parsed result object
1191
+ # @yieldparam err [StandardError] error object if request failed
1192
+ #
1193
+ # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty]
1194
+ #
1195
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1196
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1197
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1198
+ def delete_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1199
+ command = make_simple_command(:delete, 'v2beta2/{+name}', options)
1200
+ command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation
1201
+ command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty
1202
+ command.params['name'] = name unless name.nil?
1203
+ command.query['fields'] = fields unless fields.nil?
1204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1205
+ execute_or_queue_command(command, &block)
1206
+ end
1207
+
1208
+ # Gets a job trigger.
1209
+ # @param [String] name
1210
+ # Resource name of the project and the triggeredJob, for example
1211
+ # `projects/dlp-test-project/jobTriggers/53234423`.
1212
+ # @param [String] fields
1213
+ # Selector specifying which fields to include in a partial response.
1214
+ # @param [String] quota_user
1215
+ # Available to use for quota purposes for server-side applications. Can be any
1216
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1217
+ # @param [Google::Apis::RequestOptions] options
1218
+ # Request-specific options
1219
+ #
1220
+ # @yield [result, err] Result & error if block supplied
1221
+ # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
1222
+ # @yieldparam err [StandardError] error object if request failed
1223
+ #
1224
+ # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
1225
+ #
1226
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1227
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1228
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1229
+ def get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1230
+ command = make_simple_command(:get, 'v2beta2/{+name}', options)
1231
+ command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
1232
+ command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
1233
+ command.params['name'] = name unless name.nil?
1234
+ command.query['fields'] = fields unless fields.nil?
1235
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1236
+ execute_or_queue_command(command, &block)
1237
+ end
1238
+
1239
+ # Lists job triggers.
1240
+ # @param [String] parent
1241
+ # The parent resource name, for example projects/my-project-id.
1242
+ # @param [String] order_by
1243
+ # Optional comma separated list of triggeredJob fields to order by,
1244
+ # followed by 'asc/desc' postfix, i.e.
1245
+ # `"create_time asc,name desc,schedule_mode asc"`. This list is
1246
+ # case-insensitive.
1247
+ # Example: `"name asc,schedule_mode desc, status desc"`
1248
+ # Supported filters keys and values are:
1249
+ # - `create_time`: corresponds to time the triggeredJob was created.
1250
+ # - `update_time`: corresponds to time the triggeredJob was last updated.
1251
+ # - `name`: corresponds to JobTrigger's display name.
1252
+ # - `status`: corresponds to the triggeredJob status.
1253
+ # @param [Fixnum] page_size
1254
+ # Optional size of the page, can be limited by a server.
1255
+ # @param [String] page_token
1256
+ # Optional page token to continue retrieval. Comes from previous call
1257
+ # to ListJobTriggers. `order_by` and `filter` should not change for
1258
+ # subsequent calls, but can be omitted if token is specified.
1259
+ # @param [String] fields
1260
+ # Selector specifying which fields to include in a partial response.
1261
+ # @param [String] quota_user
1262
+ # Available to use for quota purposes for server-side applications. Can be any
1263
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1264
+ # @param [Google::Apis::RequestOptions] options
1265
+ # Request-specific options
1266
+ #
1267
+ # @yield [result, err] Result & error if block supplied
1268
+ # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse] parsed result object
1269
+ # @yieldparam err [StandardError] error object if request failed
1270
+ #
1271
+ # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse]
1272
+ #
1273
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1274
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1275
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1276
+ def list_project_job_triggers(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1277
+ command = make_simple_command(:get, 'v2beta2/{+parent}/jobTriggers', options)
1278
+ command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse::Representation
1279
+ command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse
1280
+ command.params['parent'] = parent unless parent.nil?
1281
+ command.query['orderBy'] = order_by unless order_by.nil?
1282
+ command.query['pageSize'] = page_size unless page_size.nil?
1283
+ command.query['pageToken'] = page_token unless page_token.nil?
1284
+ command.query['fields'] = fields unless fields.nil?
1285
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1286
+ execute_or_queue_command(command, &block)
1287
+ end
1288
+
1289
+ # Updates a job trigger.
1290
+ # @param [String] name
1291
+ # Resource name of the project and the triggeredJob, for example
1292
+ # `projects/dlp-test-project/jobTriggers/53234423`.
1293
+ # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateJobTriggerRequest] google_privacy_dlp_v2beta2_update_job_trigger_request_object
1294
+ # @param [String] fields
1295
+ # Selector specifying which fields to include in a partial response.
1296
+ # @param [String] quota_user
1297
+ # Available to use for quota purposes for server-side applications. Can be any
1298
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1299
+ # @param [Google::Apis::RequestOptions] options
1300
+ # Request-specific options
1301
+ #
1302
+ # @yield [result, err] Result & error if block supplied
1303
+ # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
1304
+ # @yieldparam err [StandardError] error object if request failed
1305
+ #
1306
+ # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
1307
+ #
1308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1311
+ def patch_project_job_trigger(name, google_privacy_dlp_v2beta2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1312
+ command = make_simple_command(:patch, 'v2beta2/{+name}', options)
1313
+ command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateJobTriggerRequest::Representation
1314
+ command.request_object = google_privacy_dlp_v2beta2_update_job_trigger_request_object
1315
+ command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
1316
+ command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
1317
+ command.params['name'] = name unless name.nil?
1318
+ command.query['fields'] = fields unless fields.nil?
1319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1320
+ execute_or_queue_command(command, &block)
1321
+ end
1141
1322
 
1142
1323
  protected
1143
1324
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/bid-manager/
26
26
  module DoubleclickbidmanagerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170705'
28
+ REVISION = '20180215'
29
29
 
30
30
  # View and manage your reports in DoubleClick Bid Manager
31
31
  AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
@@ -137,6 +137,11 @@ module Google
137
137
  # @return [String]
138
138
  attr_accessor :ads
139
139
 
140
+ # Retrieved campaigns in SDF format.
141
+ # Corresponds to the JSON property `campaigns`
142
+ # @return [String]
143
+ attr_accessor :campaigns
144
+
140
145
  # Retrieved insertion orders in SDF format.
141
146
  # Corresponds to the JSON property `insertionOrders`
142
147
  # @return [String]
@@ -155,6 +160,7 @@ module Google
155
160
  def update!(**args)
156
161
  @ad_groups = args[:ad_groups] if args.key?(:ad_groups)
157
162
  @ads = args[:ads] if args.key?(:ads)
163
+ @campaigns = args[:campaigns] if args.key?(:campaigns)
158
164
  @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
159
165
  @line_items = args[:line_items] if args.key?(:line_items)
160
166
  end
@@ -180,6 +180,7 @@ module Google
180
180
  class Representation < Google::Apis::Core::JsonRepresentation
181
181
  property :ad_groups, as: 'adGroups'
182
182
  property :ads, as: 'ads'
183
+ property :campaigns, as: 'campaigns'
183
184
  property :insertion_orders, as: 'insertionOrders'
184
185
  property :line_items, as: 'lineItems'
185
186
  end
@@ -53,7 +53,7 @@ module Google
53
53
  @batch_path = 'batch/doubleclickbidmanager/v1'
54
54
  end
55
55
 
56
- # Retrieves line items in CSV format.
56
+ # Retrieves line items in CSV format. TrueView line items are not supported.
57
57
  # @param [Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest] download_line_items_request_object
58
58
  # @param [String] fields
59
59
  # Selector specifying which fields to include in a partial response.
@@ -88,7 +88,7 @@ module Google
88
88
  execute_or_queue_command(command, &block)
89
89
  end
90
90
 
91
- # Uploads line items in CSV format.
91
+ # Uploads line items in CSV format. TrueView line items are not supported.
92
92
  # @param [Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest] upload_line_items_request_object
93
93
  # @param [String] fields
94
94
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180122'
29
+ REVISION = '20180209'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180116'
28
+ REVISION = '20180213'
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'
@@ -1196,13 +1196,12 @@ module Google
1196
1196
  # Ki kibi (2**10)
1197
1197
  # Mi mebi (2**20)
1198
1198
  # Gi gibi (2**30)
1199
- # Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
1200
- # s.The grammar also includes these connectors:
1199
+ # Ti tebi (2**40)GrammarThe grammar also includes these connectors:
1201
1200
  # / division (as an infix operator, e.g. 1/s).
1202
1201
  # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
1203
1202
  # as follows:
1204
1203
  # Expression = Component ` "." Component ` ` "/" Component ` ;
1205
- # Component = [ PREFIX ] UNIT [ Annotation ]
1204
+ # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
1206
1205
  # | Annotation
1207
1206
  # | "1"
1208
1207
  # ;
@@ -1213,6 +1212,9 @@ module Google
1213
1212
  # s.
1214
1213
  # NAME is a sequence of non-blank printable ASCII characters not containing '`'
1215
1214
  # or '`'.
1215
+ # 1 represents dimensionless value 1, such as in 1/s.
1216
+ # % represents dimensionless value 1/100, and annotates values giving a
1217
+ # percentage.
1216
1218
  # Corresponds to the JSON property `unit`
1217
1219
  # @return [String]
1218
1220
  attr_accessor :unit
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20180116'
28
+ REVISION = '20180213'
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'
@@ -1119,13 +1119,12 @@ module Google
1119
1119
  # Ki kibi (2**10)
1120
1120
  # Mi mebi (2**20)
1121
1121
  # Gi gibi (2**30)
1122
- # Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
1123
- # s.The grammar also includes these connectors:
1122
+ # Ti tebi (2**40)GrammarThe grammar also includes these connectors:
1124
1123
  # / division (as an infix operator, e.g. 1/s).
1125
1124
  # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
1126
1125
  # as follows:
1127
1126
  # Expression = Component ` "." Component ` ` "/" Component ` ;
1128
- # Component = [ PREFIX ] UNIT [ Annotation ]
1127
+ # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
1129
1128
  # | Annotation
1130
1129
  # | "1"
1131
1130
  # ;
@@ -1136,6 +1135,9 @@ module Google
1136
1135
  # s.
1137
1136
  # NAME is a sequence of non-blank printable ASCII characters not containing '`'
1138
1137
  # or '`'.
1138
+ # 1 represents dimensionless value 1, such as in 1/s.
1139
+ # % represents dimensionless value 1/100, and annotates values giving a
1140
+ # percentage.
1139
1141
  # Corresponds to the JSON property `unit`
1140
1142
  # @return [String]
1141
1143
  attr_accessor :unit
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/manufacturers/
26
26
  module ManufacturersV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180207'
28
+ REVISION = '20180215'
29
29
 
30
30
  # Manage your product listings for Google Manufacturer Center
31
31
  AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
@@ -172,16 +172,16 @@ module Google
172
172
  execute_or_queue_command(command, &block)
173
173
  end
174
174
 
175
- # Inserts or updates the product in a Manufacturer Center account.
175
+ # Uploads the product in a Manufacturer Center account.
176
176
  # The checks at upload time are minimal. All required attributes need to be
177
177
  # present for a product to be valid. Issues may show up later
178
- # after the API has accepted an update for a product and it is possible to
178
+ # after the API has accepted a new upload for a product and it is possible to
179
179
  # overwrite an existing valid product with an invalid product. To detect
180
180
  # this, you should retrieve the product and check it for issues once the
181
- # updated version is available.
182
- # Inserted or updated products first need to be processed before they can be
181
+ # new version is available.
182
+ # Uploaded products first need to be processed before they can be
183
183
  # retrieved. Until then, new products will be unavailable, and retrieval
184
- # of updated products will return the original state of the product.
184
+ # of uploaded products will return the original state of the product.
185
185
  # @param [String] parent
186
186
  # Parent ID in the format `accounts/`account_id``.
187
187
  # `account_id` - The ID of the Manufacturer Center account.
@@ -194,7 +194,7 @@ module Google
194
194
  # `product_id` - The ID of the product. For more information, see
195
195
  # https://support.google.com/manufacturers/answer/6124116#
196
196
  # id.
197
- # @param [Google::Apis::ManufacturersV1::Product] product_object
197
+ # @param [Google::Apis::ManufacturersV1::Attributes] attributes_object
198
198
  # @param [String] fields
199
199
  # Selector specifying which fields to include in a partial response.
200
200
  # @param [String] quota_user
@@ -204,20 +204,20 @@ module Google
204
204
  # Request-specific options
205
205
  #
206
206
  # @yield [result, err] Result & error if block supplied
207
- # @yieldparam result [Google::Apis::ManufacturersV1::Product] parsed result object
207
+ # @yieldparam result [Google::Apis::ManufacturersV1::Empty] parsed result object
208
208
  # @yieldparam err [StandardError] error object if request failed
209
209
  #
210
- # @return [Google::Apis::ManufacturersV1::Product]
210
+ # @return [Google::Apis::ManufacturersV1::Empty]
211
211
  #
212
212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
213
213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
214
214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
215
- def update_account_product(parent, name, product_object = nil, fields: nil, quota_user: nil, options: nil, &block)
215
+ def upload_account_product_product(parent, name, attributes_object = nil, fields: nil, quota_user: nil, options: nil, &block)
216
216
  command = make_simple_command(:put, 'v1/{+parent}/products/{+name}', options)
217
- command.request_representation = Google::Apis::ManufacturersV1::Product::Representation
218
- command.request_object = product_object
219
- command.response_representation = Google::Apis::ManufacturersV1::Product::Representation
220
- command.response_class = Google::Apis::ManufacturersV1::Product
217
+ command.request_representation = Google::Apis::ManufacturersV1::Attributes::Representation
218
+ command.request_object = attributes_object
219
+ command.response_representation = Google::Apis::ManufacturersV1::Empty::Representation
220
+ command.response_class = Google::Apis::ManufacturersV1::Empty
221
221
  command.params['parent'] = parent unless parent.nil?
222
222
  command.params['name'] = name unless name.nil?
223
223
  command.query['fields'] = fields unless fields.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180130'
28
+ REVISION = '20180210'
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'
@@ -345,32 +345,11 @@ module Google
345
345
  # @return [String]
346
346
  attr_accessor :error_message
347
347
 
348
- # `etag` is used for optimistic concurrency control as a way to help
349
- # prevent simultaneous updates of a job from overwriting each other.
350
- # It is strongly suggested that systems make use of the `etag` in the
351
- # read-modify-write cycle to perform job updates in order to avoid race
352
- # conditions: An `etag` is returned in the response to `GetJob`, and
353
- # systems are expected to put that etag in the request to `UpdateJob` to
354
- # ensure that their change will be applied to the same version of the job.
355
- # Corresponds to the JSON property `etag`
356
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
357
- # @return [String]
358
- attr_accessor :etag
359
-
360
348
  # Required. The user-specified id of the job.
361
349
  # Corresponds to the JSON property `jobId`
362
350
  # @return [String]
363
351
  attr_accessor :job_id
364
352
 
365
- # Optional. One or more labels that you can add, to organize your jobs.
366
- # Each label is a key-value pair, where both the key and the value are
367
- # arbitrary strings that you supply.
368
- # For more information, see the documentation on
369
- # <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
370
- # Corresponds to the JSON property `labels`
371
- # @return [Hash<String,String>]
372
- attr_accessor :labels
373
-
374
353
  # Represents input parameters for a prediction job.
375
354
  # Corresponds to the JSON property `predictionInput`
376
355
  # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput]
@@ -415,9 +394,7 @@ module Google
415
394
  @create_time = args[:create_time] if args.key?(:create_time)
416
395
  @end_time = args[:end_time] if args.key?(:end_time)
417
396
  @error_message = args[:error_message] if args.key?(:error_message)
418
- @etag = args[:etag] if args.key?(:etag)
419
397
  @job_id = args[:job_id] if args.key?(:job_id)
420
- @labels = args[:labels] if args.key?(:labels)
421
398
  @prediction_input = args[:prediction_input] if args.key?(:prediction_input)
422
399
  @prediction_output = args[:prediction_output] if args.key?(:prediction_output)
423
400
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -601,27 +578,6 @@ module Google
601
578
  # @return [String]
602
579
  attr_accessor :description
603
580
 
604
- # `etag` is used for optimistic concurrency control as a way to help
605
- # prevent simultaneous updates of a model from overwriting each other.
606
- # It is strongly suggested that systems make use of the `etag` in the
607
- # read-modify-write cycle to perform model updates in order to avoid race
608
- # conditions: An `etag` is returned in the response to `GetModel`, and
609
- # systems are expected to put that etag in the request to `UpdateModel` to
610
- # ensure that their change will be applied to the model as intended.
611
- # Corresponds to the JSON property `etag`
612
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
613
- # @return [String]
614
- attr_accessor :etag
615
-
616
- # Optional. One or more labels that you can add, to organize your models.
617
- # Each label is a key-value pair, where both the key and the value are
618
- # arbitrary strings that you supply.
619
- # For more information, see the documentation on
620
- # <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
621
- # Corresponds to the JSON property `labels`
622
- # @return [Hash<String,String>]
623
- attr_accessor :labels
624
-
625
581
  # Required. The name specified for the model when it was created.
626
582
  # The model name must be unique within the project it is created in.
627
583
  # Corresponds to the JSON property `name`
@@ -658,8 +614,6 @@ module Google
658
614
  def update!(**args)
659
615
  @default_version = args[:default_version] if args.key?(:default_version)
660
616
  @description = args[:description] if args.key?(:description)
661
- @etag = args[:etag] if args.key?(:etag)
662
- @labels = args[:labels] if args.key?(:labels)
663
617
  @name = args[:name] if args.key?(:name)
664
618
  @online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging)
665
619
  @regions = args[:regions] if args.key?(:regions)
@@ -686,12 +640,6 @@ module Google
686
640
  attr_accessor :is_cancellation_requested
687
641
  alias_method :is_cancellation_requested?, :is_cancellation_requested
688
642
 
689
- # The user labels, inherited from the model or the model version being
690
- # operated on.
691
- # Corresponds to the JSON property `labels`
692
- # @return [Hash<String,String>]
693
- attr_accessor :labels
694
-
695
643
  # Contains the name of the model associated with the operation.
696
644
  # Corresponds to the JSON property `modelName`
697
645
  # @return [String]
@@ -732,7 +680,6 @@ module Google
732
680
  @create_time = args[:create_time] if args.key?(:create_time)
733
681
  @end_time = args[:end_time] if args.key?(:end_time)
734
682
  @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested)
735
- @labels = args[:labels] if args.key?(:labels)
736
683
  @model_name = args[:model_name] if args.key?(:model_name)
737
684
  @operation_type = args[:operation_type] if args.key?(:operation_type)
738
685
  @project_number = args[:project_number] if args.key?(:project_number)
@@ -1288,18 +1235,6 @@ module Google
1288
1235
  # @return [String]
1289
1236
  attr_accessor :error_message
1290
1237
 
1291
- # `etag` is used for optimistic concurrency control as a way to help
1292
- # prevent simultaneous updates of a model from overwriting each other.
1293
- # It is strongly suggested that systems make use of the `etag` in the
1294
- # read-modify-write cycle to perform model updates in order to avoid race
1295
- # conditions: An `etag` is returned in the response to `GetVersion`, and
1296
- # systems are expected to put that etag in the request to `UpdateVersion` to
1297
- # ensure that their change will be applied to the model as intended.
1298
- # Corresponds to the JSON property `etag`
1299
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1300
- # @return [String]
1301
- attr_accessor :etag
1302
-
1303
1238
  # Output only. If true, this version will be used to handle prediction
1304
1239
  # requests that do not specify a version.
1305
1240
  # You can change the default version by calling
@@ -1310,15 +1245,6 @@ module Google
1310
1245
  attr_accessor :is_default
1311
1246
  alias_method :is_default?, :is_default
1312
1247
 
1313
- # Optional. One or more labels that you can add, to organize your model
1314
- # versions. Each label is a key-value pair, where both the key and the value
1315
- # are arbitrary strings that you supply.
1316
- # For more information, see the documentation on
1317
- # <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
1318
- # Corresponds to the JSON property `labels`
1319
- # @return [Hash<String,String>]
1320
- attr_accessor :labels
1321
-
1322
1248
  # Output only. The time the version was last used for prediction.
1323
1249
  # Corresponds to the JSON property `lastUseTime`
1324
1250
  # @return [String]
@@ -1357,9 +1283,7 @@ module Google
1357
1283
  @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
1358
1284
  @description = args[:description] if args.key?(:description)
1359
1285
  @error_message = args[:error_message] if args.key?(:error_message)
1360
- @etag = args[:etag] if args.key?(:etag)
1361
1286
  @is_default = args[:is_default] if args.key?(:is_default)
1362
- @labels = args[:labels] if args.key?(:labels)
1363
1287
  @last_use_time = args[:last_use_time] if args.key?(:last_use_time)
1364
1288
  @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
1365
1289
  @name = args[:name] if args.key?(:name)
@@ -1372,14 +1296,6 @@ module Google
1372
1296
  class GoogleIamV1Binding
1373
1297
  include Google::Apis::Core::Hashable
1374
1298
 
1375
- # Represents an expression text. Example:
1376
- # title: "User account presence"
1377
- # description: "Determines whether the request has a user account"
1378
- # expression: "size(request.user) > 0"
1379
- # Corresponds to the JSON property `condition`
1380
- # @return [Google::Apis::MlV1::GoogleTypeExpr]
1381
- attr_accessor :condition
1382
-
1383
1299
  # Specifies the identities requesting access for a Cloud Platform resource.
1384
1300
  # `members` can have the following values:
1385
1301
  # * `allUsers`: A special identifier that represents anyone who is
@@ -1411,7 +1327,6 @@ module Google
1411
1327
 
1412
1328
  # Update properties of this object
1413
1329
  def update!(**args)
1414
- @condition = args[:condition] if args.key?(:condition)
1415
1330
  @members = args[:members] if args.key?(:members)
1416
1331
  @role = args[:role] if args.key?(:role)
1417
1332
  end
@@ -1517,15 +1432,6 @@ module Google
1517
1432
  # @return [Google::Apis::MlV1::GoogleIamV1Policy]
1518
1433
  attr_accessor :policy
1519
1434
 
1520
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1521
- # the fields in the mask will be modified. If no mask is provided, the
1522
- # following default mask is used:
1523
- # paths: "bindings, etag"
1524
- # This field is only used by Cloud IAM.
1525
- # Corresponds to the JSON property `updateMask`
1526
- # @return [String]
1527
- attr_accessor :update_mask
1528
-
1529
1435
  def initialize(**args)
1530
1436
  update!(**args)
1531
1437
  end
@@ -1533,7 +1439,6 @@ module Google
1533
1439
  # Update properties of this object
1534
1440
  def update!(**args)
1535
1441
  @policy = args[:policy] if args.key?(:policy)
1536
- @update_mask = args[:update_mask] if args.key?(:update_mask)
1537
1442
  end
1538
1443
  end
1539
1444
 
@@ -1791,53 +1696,6 @@ module Google
1791
1696
  @message = args[:message] if args.key?(:message)
1792
1697
  end
1793
1698
  end
1794
-
1795
- # Represents an expression text. Example:
1796
- # title: "User account presence"
1797
- # description: "Determines whether the request has a user account"
1798
- # expression: "size(request.user) > 0"
1799
- class GoogleTypeExpr
1800
- include Google::Apis::Core::Hashable
1801
-
1802
- # An optional description of the expression. This is a longer text which
1803
- # describes the expression, e.g. when hovered over it in a UI.
1804
- # Corresponds to the JSON property `description`
1805
- # @return [String]
1806
- attr_accessor :description
1807
-
1808
- # Textual representation of an expression in
1809
- # Common Expression Language syntax.
1810
- # The application context of the containing message determines which
1811
- # well-known feature set of CEL is supported.
1812
- # Corresponds to the JSON property `expression`
1813
- # @return [String]
1814
- attr_accessor :expression
1815
-
1816
- # An optional string indicating the location of the expression for error
1817
- # reporting, e.g. a file name and a position in the file.
1818
- # Corresponds to the JSON property `location`
1819
- # @return [String]
1820
- attr_accessor :location
1821
-
1822
- # An optional title for the expression, i.e. a short string describing
1823
- # its purpose. This can be used e.g. in UIs which allow to enter the
1824
- # expression.
1825
- # Corresponds to the JSON property `title`
1826
- # @return [String]
1827
- attr_accessor :title
1828
-
1829
- def initialize(**args)
1830
- update!(**args)
1831
- end
1832
-
1833
- # Update properties of this object
1834
- def update!(**args)
1835
- @description = args[:description] if args.key?(:description)
1836
- @expression = args[:expression] if args.key?(:expression)
1837
- @location = args[:location] if args.key?(:location)
1838
- @title = args[:title] if args.key?(:title)
1839
- end
1840
- end
1841
1699
  end
1842
1700
  end
1843
1701
  end