google-api-client 0.27.0 → 0.27.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -2
  5. data/generated/google/apis/admin_reports_v1.rb +1 -1
  6. data/generated/google/apis/admin_reports_v1/service.rb +15 -3
  7. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  8. data/generated/google/apis/alertcenter_v1beta1/classes.rb +74 -1
  9. data/generated/google/apis/alertcenter_v1beta1/representations.rb +42 -0
  10. data/generated/google/apis/alertcenter_v1beta1/service.rb +67 -0
  11. data/generated/google/apis/appengine_v1.rb +1 -1
  12. data/generated/google/apis/appengine_v1/classes.rb +6 -0
  13. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  14. data/generated/google/apis/appengine_v1beta.rb +1 -1
  15. data/generated/google/apis/appengine_v1beta/classes.rb +6 -0
  16. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  17. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  18. data/generated/google/apis/appengine_v1beta4/classes.rb +6 -0
  19. data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
  20. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  21. data/generated/google/apis/appengine_v1beta5/classes.rb +6 -0
  22. data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
  23. data/generated/google/apis/bigquery_v2.rb +1 -1
  24. data/generated/google/apis/bigquery_v2/classes.rb +44 -6
  25. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  26. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  28. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -2
  29. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  30. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +5 -2
  31. data/generated/google/apis/cloudidentity_v1.rb +31 -0
  32. data/generated/google/apis/cloudidentity_v1/classes.rb +495 -0
  33. data/generated/google/apis/cloudidentity_v1/representations.rb +197 -0
  34. data/generated/google/apis/cloudidentity_v1/service.rb +517 -0
  35. data/generated/google/apis/cloudidentity_v1beta1.rb +31 -0
  36. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +475 -0
  37. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +184 -0
  38. data/generated/google/apis/cloudidentity_v1beta1/service.rb +477 -0
  39. data/generated/google/apis/composer_v1beta1.rb +1 -1
  40. data/generated/google/apis/composer_v1beta1/classes.rb +2 -2
  41. data/generated/google/apis/composer_v1beta1/service.rb +10 -0
  42. data/generated/google/apis/datastore_v1.rb +1 -1
  43. data/generated/google/apis/datastore_v1/classes.rb +1 -2
  44. data/generated/google/apis/dialogflow_v2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2/classes.rb +7 -103
  46. data/generated/google/apis/dialogflow_v2/representations.rb +0 -30
  47. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -103
  49. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -30
  50. data/generated/google/apis/dialogflow_v2beta1/service.rb +0 -228
  51. data/generated/google/apis/dlp_v2.rb +1 -1
  52. data/generated/google/apis/dlp_v2/classes.rb +7 -0
  53. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  54. data/generated/google/apis/drive_v3.rb +1 -1
  55. data/generated/google/apis/drive_v3/classes.rb +12 -0
  56. data/generated/google/apis/drive_v3/representations.rb +2 -0
  57. data/generated/google/apis/logging_v2.rb +1 -1
  58. data/generated/google/apis/logging_v2/service.rb +3 -2
  59. data/generated/google/apis/logging_v2beta1.rb +1 -1
  60. data/generated/google/apis/logging_v2beta1/service.rb +3 -2
  61. data/generated/google/apis/monitoring_v1.rb +33 -0
  62. data/generated/google/apis/monitoring_v1/classes.rb +474 -0
  63. data/generated/google/apis/monitoring_v1/representations.rb +195 -0
  64. data/generated/google/apis/monitoring_v1/service.rb +211 -0
  65. data/generated/google/apis/pubsub_v1.rb +1 -1
  66. data/generated/google/apis/pubsub_v1/classes.rb +3 -2
  67. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  68. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -8
  69. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  70. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  71. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  72. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  73. data/generated/google/apis/servicenetworking_v1beta/classes.rb +22 -9
  74. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  75. data/generated/google/apis/servicenetworking_v1beta/service.rb +1 -1
  76. data/generated/google/apis/serviceusage_v1.rb +1 -1
  77. data/generated/google/apis/serviceusage_v1/classes.rb +12 -8
  78. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  79. data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -8
  80. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  81. data/lib/google/apis/version.rb +1 -1
  82. metadata +14 -2
@@ -2275,234 +2275,6 @@ module Google
2275
2275
  execute_or_queue_command(command, &block)
2276
2276
  end
2277
2277
 
2278
- # Deletes all active contexts in the specified session.
2279
- # @param [String] parent
2280
- # Required. The name of the session to delete all contexts from. Format:
2281
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
2282
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
2283
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
2284
- # environment. If `User ID` is not specified, we assume default '-' user.
2285
- # @param [String] fields
2286
- # Selector specifying which fields to include in a partial response.
2287
- # @param [String] quota_user
2288
- # Available to use for quota purposes for server-side applications. Can be any
2289
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2290
- # @param [Google::Apis::RequestOptions] options
2291
- # Request-specific options
2292
- #
2293
- # @yield [result, err] Result & error if block supplied
2294
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
2295
- # @yieldparam err [StandardError] error object if request failed
2296
- #
2297
- # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
2298
- #
2299
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2300
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2301
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2302
- def delete_project_environment_user_conversation_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
2303
- command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
2304
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2305
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2306
- command.params['parent'] = parent unless parent.nil?
2307
- command.query['fields'] = fields unless fields.nil?
2308
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2309
- execute_or_queue_command(command, &block)
2310
- end
2311
-
2312
- # Creates a context.
2313
- # If the specified context already exists, overrides the context.
2314
- # @param [String] parent
2315
- # Required. The session to create a context for.
2316
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2317
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2318
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2319
- # default 'draft' environment. If `User ID` is not specified, we assume
2320
- # default '-' user.
2321
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2322
- # @param [String] fields
2323
- # Selector specifying which fields to include in a partial response.
2324
- # @param [String] quota_user
2325
- # Available to use for quota purposes for server-side applications. Can be any
2326
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2327
- # @param [Google::Apis::RequestOptions] options
2328
- # Request-specific options
2329
- #
2330
- # @yield [result, err] Result & error if block supplied
2331
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
2332
- # @yieldparam err [StandardError] error object if request failed
2333
- #
2334
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
2335
- #
2336
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2337
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2338
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2339
- def create_project_environment_user_conversation_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2340
- command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
2341
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2342
- command.request_object = google_cloud_dialogflow_v2beta1_context_object
2343
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2344
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
2345
- command.params['parent'] = parent unless parent.nil?
2346
- command.query['fields'] = fields unless fields.nil?
2347
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2348
- execute_or_queue_command(command, &block)
2349
- end
2350
-
2351
- # Deletes the specified context.
2352
- # @param [String] name
2353
- # Required. The name of the context to delete. Format:
2354
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2355
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2356
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2357
- # not specified, we assume default 'draft' environment. If `User ID` is not
2358
- # specified, we assume default '-' user.
2359
- # @param [String] fields
2360
- # Selector specifying which fields to include in a partial response.
2361
- # @param [String] quota_user
2362
- # Available to use for quota purposes for server-side applications. Can be any
2363
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2364
- # @param [Google::Apis::RequestOptions] options
2365
- # Request-specific options
2366
- #
2367
- # @yield [result, err] Result & error if block supplied
2368
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
2369
- # @yieldparam err [StandardError] error object if request failed
2370
- #
2371
- # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
2372
- #
2373
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2374
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2375
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2376
- def delete_project_environment_user_conversation_context(name, fields: nil, quota_user: nil, options: nil, &block)
2377
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2378
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2379
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2380
- command.params['name'] = name unless name.nil?
2381
- command.query['fields'] = fields unless fields.nil?
2382
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2383
- execute_or_queue_command(command, &block)
2384
- end
2385
-
2386
- # Retrieves the specified context.
2387
- # @param [String] name
2388
- # Required. The name of the context. Format:
2389
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2390
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2391
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2392
- # not specified, we assume default 'draft' environment. If `User ID` is not
2393
- # specified, we assume default '-' user.
2394
- # @param [String] fields
2395
- # Selector specifying which fields to include in a partial response.
2396
- # @param [String] quota_user
2397
- # Available to use for quota purposes for server-side applications. Can be any
2398
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2399
- # @param [Google::Apis::RequestOptions] options
2400
- # Request-specific options
2401
- #
2402
- # @yield [result, err] Result & error if block supplied
2403
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
2404
- # @yieldparam err [StandardError] error object if request failed
2405
- #
2406
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
2407
- #
2408
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2409
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2410
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2411
- def get_project_environment_user_conversation_context(name, fields: nil, quota_user: nil, options: nil, &block)
2412
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2413
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2414
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
2415
- command.params['name'] = name unless name.nil?
2416
- command.query['fields'] = fields unless fields.nil?
2417
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2418
- execute_or_queue_command(command, &block)
2419
- end
2420
-
2421
- # Returns the list of all contexts in the specified session.
2422
- # @param [String] parent
2423
- # Required. The session to list all contexts from.
2424
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2425
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2426
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2427
- # default 'draft' environment. If `User ID` is not specified, we assume
2428
- # default '-' user.
2429
- # @param [Fixnum] page_size
2430
- # Optional. The maximum number of items to return in a single page. By
2431
- # default 100 and at most 1000.
2432
- # @param [String] page_token
2433
- # Optional. The next_page_token value returned from a previous list request.
2434
- # @param [String] fields
2435
- # Selector specifying which fields to include in a partial response.
2436
- # @param [String] quota_user
2437
- # Available to use for quota purposes for server-side applications. Can be any
2438
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2439
- # @param [Google::Apis::RequestOptions] options
2440
- # Request-specific options
2441
- #
2442
- # @yield [result, err] Result & error if block supplied
2443
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse] parsed result object
2444
- # @yieldparam err [StandardError] error object if request failed
2445
- #
2446
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse]
2447
- #
2448
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2449
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2450
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2451
- def list_project_environment_user_conversation_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2452
- command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
2453
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
2454
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
2455
- command.params['parent'] = parent unless parent.nil?
2456
- command.query['pageSize'] = page_size unless page_size.nil?
2457
- command.query['pageToken'] = page_token unless page_token.nil?
2458
- command.query['fields'] = fields unless fields.nil?
2459
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2460
- execute_or_queue_command(command, &block)
2461
- end
2462
-
2463
- # Updates the specified context.
2464
- # @param [String] name
2465
- # Required. The unique identifier of the context. Format:
2466
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
2467
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2468
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
2469
- # The `Context ID` is always converted to lowercase, may only contain
2470
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2471
- # If `Environment ID` is not specified, we assume default 'draft'
2472
- # environment. If `User ID` is not specified, we assume default '-' user.
2473
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2474
- # @param [String] update_mask
2475
- # Optional. The mask to control which fields get updated.
2476
- # @param [String] fields
2477
- # Selector specifying which fields to include in a partial response.
2478
- # @param [String] quota_user
2479
- # Available to use for quota purposes for server-side applications. Can be any
2480
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2481
- # @param [Google::Apis::RequestOptions] options
2482
- # Request-specific options
2483
- #
2484
- # @yield [result, err] Result & error if block supplied
2485
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
2486
- # @yieldparam err [StandardError] error object if request failed
2487
- #
2488
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
2489
- #
2490
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2491
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2492
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2493
- def patch_project_environment_user_conversation_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2494
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2495
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2496
- command.request_object = google_cloud_dialogflow_v2beta1_context_object
2497
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2498
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
2499
- command.params['name'] = name unless name.nil?
2500
- command.query['updateMask'] = update_mask unless update_mask.nil?
2501
- command.query['fields'] = fields unless fields.nil?
2502
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2503
- execute_or_queue_command(command, &block)
2504
- end
2505
-
2506
2278
  # Creates a knowledge base.
2507
2279
  # @param [String] parent
2508
2280
  # Required. The project to create a knowledge base for.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20181211'
30
+ REVISION = '20181218'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -4464,6 +4464,12 @@ module Google
4464
4464
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey]
4465
4465
  attr_accessor :datastore_key
4466
4466
 
4467
+ # Values of identifying columns in the given row. Order of values matches
4468
+ # the order of field identifiers specified in the scanning request.
4469
+ # Corresponds to the JSON property `idValues`
4470
+ # @return [Array<String>]
4471
+ attr_accessor :id_values
4472
+
4467
4473
  def initialize(**args)
4468
4474
  update!(**args)
4469
4475
  end
@@ -4472,6 +4478,7 @@ module Google
4472
4478
  def update!(**args)
4473
4479
  @big_query_key = args[:big_query_key] if args.key?(:big_query_key)
4474
4480
  @datastore_key = args[:datastore_key] if args.key?(:datastore_key)
4481
+ @id_values = args[:id_values] if args.key?(:id_values)
4475
4482
  end
4476
4483
  end
4477
4484
 
@@ -2303,6 +2303,7 @@ module Google
2303
2303
 
2304
2304
  property :datastore_key, as: 'datastoreKey', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey::Representation
2305
2305
 
2306
+ collection :id_values, as: 'idValues'
2306
2307
  end
2307
2308
  end
2308
2309
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20181101'
29
+ REVISION = '20181213'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -562,6 +562,11 @@ module Google
562
562
  attr_accessor :explicitly_trashed
563
563
  alias_method :explicitly_trashed?, :explicitly_trashed
564
564
 
565
+ # Links for exporting Google Docs to specific formats.
566
+ # Corresponds to the JSON property `exportLinks`
567
+ # @return [Hash<String,String>]
568
+ attr_accessor :export_links
569
+
565
570
  # The final component of fullFileExtension. This is only available for files
566
571
  # with binary content in Drive.
567
572
  # Corresponds to the JSON property `fileExtension`
@@ -861,6 +866,7 @@ module Google
861
866
  @created_time = args[:created_time] if args.key?(:created_time)
862
867
  @description = args[:description] if args.key?(:description)
863
868
  @explicitly_trashed = args[:explicitly_trashed] if args.key?(:explicitly_trashed)
869
+ @export_links = args[:export_links] if args.key?(:export_links)
864
870
  @file_extension = args[:file_extension] if args.key?(:file_extension)
865
871
  @folder_color_rgb = args[:folder_color_rgb] if args.key?(:folder_color_rgb)
866
872
  @full_file_extension = args[:full_file_extension] if args.key?(:full_file_extension)
@@ -1761,6 +1767,11 @@ module Google
1761
1767
  class Revision
1762
1768
  include Google::Apis::Core::Hashable
1763
1769
 
1770
+ # Links for exporting Google Docs to specific formats.
1771
+ # Corresponds to the JSON property `exportLinks`
1772
+ # @return [Hash<String,String>]
1773
+ attr_accessor :export_links
1774
+
1764
1775
  # The ID of the revision.
1765
1776
  # Corresponds to the JSON property `id`
1766
1777
  # @return [String]
@@ -1841,6 +1852,7 @@ module Google
1841
1852
 
1842
1853
  # Update properties of this object
1843
1854
  def update!(**args)
1855
+ @export_links = args[:export_links] if args.key?(:export_links)
1844
1856
  @id = args[:id] if args.key?(:id)
1845
1857
  @keep_forever = args[:keep_forever] if args.key?(:keep_forever)
1846
1858
  @kind = args[:kind] if args.key?(:kind)
@@ -359,6 +359,7 @@ module Google
359
359
 
360
360
  property :description, as: 'description'
361
361
  property :explicitly_trashed, as: 'explicitlyTrashed'
362
+ hash :export_links, as: 'exportLinks'
362
363
  property :file_extension, as: 'fileExtension'
363
364
  property :folder_color_rgb, as: 'folderColorRgb'
364
365
  property :full_file_extension, as: 'fullFileExtension'
@@ -604,6 +605,7 @@ module Google
604
605
  class Revision
605
606
  # @private
606
607
  class Representation < Google::Apis::Core::JsonRepresentation
608
+ hash :export_links, as: 'exportLinks'
607
609
  property :id, as: 'id'
608
610
  property :keep_forever, as: 'keepForever'
609
611
  property :kind, as: 'kind'
@@ -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 = '20181020'
28
+ REVISION = '20181215'
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'
@@ -626,8 +626,9 @@ module Google
626
626
  execute_or_queue_command(command, &block)
627
627
  end
628
628
 
629
- # Lists log entries. Use this method to retrieve log entries from Logging. For
630
- # ways to export log entries, see Exporting Logs.
629
+ # Lists log entries. Use this method to retrieve log entries that originated
630
+ # from a project/folder/organization/billing account. For ways to export log
631
+ # entries, see Exporting Logs.
631
632
  # @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_request_object
632
633
  # @param [String] fields
633
634
  # Selector specifying which fields to include in a partial response.
@@ -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 = '20181020'
28
+ REVISION = '20181215'
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'
@@ -47,8 +47,9 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Lists log entries. Use this method to retrieve log entries from Logging. For
51
- # ways to export log entries, see Exporting Logs.
50
+ # Lists log entries. Use this method to retrieve log entries that originated
51
+ # from a project/folder/organization/billing account. For ways to export log
52
+ # entries, see Exporting Logs.
52
53
  # @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object
53
54
  # @param [String] fields
54
55
  # Selector specifying which fields to include in a partial response.
@@ -0,0 +1,33 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/monitoring_v1/service.rb'
16
+ require 'google/apis/monitoring_v1/classes.rb'
17
+ require 'google/apis/monitoring_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Stackdriver Monitoring API
22
+ #
23
+ # Manages your Stackdriver Monitoring data and configurations. Most projects
24
+ # must be associated with a Stackdriver account, with a few exceptions as noted
25
+ # on the individual method pages.
26
+ #
27
+ # @see https://cloud.google.com/monitoring/api/
28
+ module MonitoringV1
29
+ VERSION = 'V1'
30
+ REVISION = '20181217'
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,474 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MonitoringV1
24
+
25
+ # The request message for Operations.CancelOperation.
26
+ class CancelOperationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # A set of (label, value) pairs which were dropped during aggregation, attached
39
+ # to google.api.Distribution.Exemplars in google.api.Distribution values during
40
+ # aggregation.These values are used in combination with the label values that
41
+ # remain on the aggregated Distribution timeseries to construct the full label
42
+ # set for the exemplar values. The resulting full label set may be used to
43
+ # identify the specific task/job/instance (for example) which may be
44
+ # contributing to a long-tail, while allowing the storage savings of only
45
+ # storing aggregated distribution values for a large group.Note that there are
46
+ # no guarantees on ordering of the labels from exemplar-to-exemplar and from
47
+ # distribution-to-distribution in the same stream, and there may be duplicates.
48
+ # It is up to clients to resolve any ambiguities.
49
+ class DroppedLabels
50
+ include Google::Apis::Core::Hashable
51
+
52
+ # Map from label to its value, for all labels dropped in any aggregation.
53
+ # Corresponds to the JSON property `label`
54
+ # @return [Hash<String,String>]
55
+ attr_accessor :label
56
+
57
+ def initialize(**args)
58
+ update!(**args)
59
+ end
60
+
61
+ # Update properties of this object
62
+ def update!(**args)
63
+ @label = args[:label] if args.key?(:label)
64
+ end
65
+ end
66
+
67
+ # A generic empty message that you can re-use to avoid defining duplicated empty
68
+ # messages in your APIs. A typical example is to use it as the request or the
69
+ # response type of an API method. For instance:
70
+ # service Foo `
71
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
72
+ # `
73
+ # The JSON representation for Empty is empty JSON object ``.
74
+ class Empty
75
+ include Google::Apis::Core::Hashable
76
+
77
+ def initialize(**args)
78
+ update!(**args)
79
+ end
80
+
81
+ # Update properties of this object
82
+ def update!(**args)
83
+ end
84
+ end
85
+
86
+ # A single field of a message type.
87
+ class Field
88
+ include Google::Apis::Core::Hashable
89
+
90
+ # The field cardinality.
91
+ # Corresponds to the JSON property `cardinality`
92
+ # @return [String]
93
+ attr_accessor :cardinality
94
+
95
+ # The string value of the default value of this field. Proto2 syntax only.
96
+ # Corresponds to the JSON property `defaultValue`
97
+ # @return [String]
98
+ attr_accessor :default_value
99
+
100
+ # The field JSON name.
101
+ # Corresponds to the JSON property `jsonName`
102
+ # @return [String]
103
+ attr_accessor :json_name
104
+
105
+ # The field type.
106
+ # Corresponds to the JSON property `kind`
107
+ # @return [String]
108
+ attr_accessor :kind
109
+
110
+ # The field name.
111
+ # Corresponds to the JSON property `name`
112
+ # @return [String]
113
+ attr_accessor :name
114
+
115
+ # The field number.
116
+ # Corresponds to the JSON property `number`
117
+ # @return [Fixnum]
118
+ attr_accessor :number
119
+
120
+ # The index of the field type in Type.oneofs, for message or enumeration types.
121
+ # The first type has index 1; zero means the type is not in the list.
122
+ # Corresponds to the JSON property `oneofIndex`
123
+ # @return [Fixnum]
124
+ attr_accessor :oneof_index
125
+
126
+ # The protocol buffer options.
127
+ # Corresponds to the JSON property `options`
128
+ # @return [Array<Google::Apis::MonitoringV1::Option>]
129
+ attr_accessor :options
130
+
131
+ # Whether to use alternative packed wire representation.
132
+ # Corresponds to the JSON property `packed`
133
+ # @return [Boolean]
134
+ attr_accessor :packed
135
+ alias_method :packed?, :packed
136
+
137
+ # The field type URL, without the scheme, for message or enumeration types.
138
+ # Example: "type.googleapis.com/google.protobuf.Timestamp".
139
+ # Corresponds to the JSON property `typeUrl`
140
+ # @return [String]
141
+ attr_accessor :type_url
142
+
143
+ def initialize(**args)
144
+ update!(**args)
145
+ end
146
+
147
+ # Update properties of this object
148
+ def update!(**args)
149
+ @cardinality = args[:cardinality] if args.key?(:cardinality)
150
+ @default_value = args[:default_value] if args.key?(:default_value)
151
+ @json_name = args[:json_name] if args.key?(:json_name)
152
+ @kind = args[:kind] if args.key?(:kind)
153
+ @name = args[:name] if args.key?(:name)
154
+ @number = args[:number] if args.key?(:number)
155
+ @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
156
+ @options = args[:options] if args.key?(:options)
157
+ @packed = args[:packed] if args.key?(:packed)
158
+ @type_url = args[:type_url] if args.key?(:type_url)
159
+ end
160
+ end
161
+
162
+ # The response message for Operations.ListOperations.
163
+ class ListOperationsResponse
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # The standard List next-page token.
167
+ # Corresponds to the JSON property `nextPageToken`
168
+ # @return [String]
169
+ attr_accessor :next_page_token
170
+
171
+ # A list of operations that matches the specified filter in the request.
172
+ # Corresponds to the JSON property `operations`
173
+ # @return [Array<Google::Apis::MonitoringV1::Operation>]
174
+ attr_accessor :operations
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
183
+ @operations = args[:operations] if args.key?(:operations)
184
+ end
185
+ end
186
+
187
+ # This resource represents a long-running operation that is the result of a
188
+ # network API call.
189
+ class Operation
190
+ include Google::Apis::Core::Hashable
191
+
192
+ # If the value is false, it means the operation is still in progress. If true,
193
+ # the operation is completed, and either error or response is available.
194
+ # Corresponds to the JSON property `done`
195
+ # @return [Boolean]
196
+ attr_accessor :done
197
+ alias_method :done?, :done
198
+
199
+ # The Status type defines a logical error model that is suitable for different
200
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
201
+ # (https://github.com/grpc). The error model is designed to be:
202
+ # Simple to use and understand for most users
203
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
204
+ # three pieces of data: error code, error message, and error details. The error
205
+ # code should be an enum value of google.rpc.Code, but it may accept additional
206
+ # error codes if needed. The error message should be a developer-facing English
207
+ # message that helps developers understand and resolve the error. If a localized
208
+ # user-facing error message is needed, put the localized message in the error
209
+ # details or localize it in the client. The optional error details may contain
210
+ # arbitrary information about the error. There is a predefined set of error
211
+ # detail types in the package google.rpc that can be used for common error
212
+ # conditions.Language mappingThe Status message is the logical representation of
213
+ # the error model, but it is not necessarily the actual wire format. When the
214
+ # Status message is exposed in different client libraries and different wire
215
+ # protocols, it can be mapped differently. For example, it will likely be mapped
216
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
217
+ # Other usesThe error model and the Status message can be used in a variety of
218
+ # environments, either with or without APIs, to provide a consistent developer
219
+ # experience across different environments.Example uses of this error model
220
+ # include:
221
+ # Partial errors. If a service needs to return partial errors to the client, it
222
+ # may embed the Status in the normal response to indicate the partial errors.
223
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
224
+ # Status message for error reporting.
225
+ # Batch operations. If a client uses batch request and batch response, the
226
+ # Status message should be used directly inside batch response, one for each
227
+ # error sub-response.
228
+ # Asynchronous operations. If an API call embeds asynchronous operation results
229
+ # in its response, the status of those operations should be represented directly
230
+ # using the Status message.
231
+ # Logging. If some API errors are stored in logs, the message Status could be
232
+ # used directly after any stripping needed for security/privacy reasons.
233
+ # Corresponds to the JSON property `error`
234
+ # @return [Google::Apis::MonitoringV1::Status]
235
+ attr_accessor :error
236
+
237
+ # Service-specific metadata associated with the operation. It typically contains
238
+ # progress information and common metadata such as create time. Some services
239
+ # might not provide such metadata. Any method that returns a long-running
240
+ # operation should document the metadata type, if any.
241
+ # Corresponds to the JSON property `metadata`
242
+ # @return [Hash<String,Object>]
243
+ attr_accessor :metadata
244
+
245
+ # The server-assigned name, which is only unique within the same service that
246
+ # originally returns it. If you use the default HTTP mapping, the name should
247
+ # have the format of operations/some/unique/name.
248
+ # Corresponds to the JSON property `name`
249
+ # @return [String]
250
+ attr_accessor :name
251
+
252
+ # The normal response of the operation in case of success. If the original
253
+ # method returns no data on success, such as Delete, the response is google.
254
+ # protobuf.Empty. If the original method is standard Get/Create/Update, the
255
+ # response should be the resource. For other methods, the response should have
256
+ # the type XxxResponse, where Xxx is the original method name. For example, if
257
+ # the original method name is TakeSnapshot(), the inferred response type is
258
+ # TakeSnapshotResponse.
259
+ # Corresponds to the JSON property `response`
260
+ # @return [Hash<String,Object>]
261
+ attr_accessor :response
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @done = args[:done] if args.key?(:done)
270
+ @error = args[:error] if args.key?(:error)
271
+ @metadata = args[:metadata] if args.key?(:metadata)
272
+ @name = args[:name] if args.key?(:name)
273
+ @response = args[:response] if args.key?(:response)
274
+ end
275
+ end
276
+
277
+ # A protocol buffer option, which can be attached to a message, field,
278
+ # enumeration, etc.
279
+ class Option
280
+ include Google::Apis::Core::Hashable
281
+
282
+ # The option's name. For protobuf built-in options (options defined in
283
+ # descriptor.proto), this is the short name. For example, "map_entry". For
284
+ # custom options, it should be the fully-qualified name. For example, "google.
285
+ # api.http".
286
+ # Corresponds to the JSON property `name`
287
+ # @return [String]
288
+ attr_accessor :name
289
+
290
+ # The option's value packed in an Any message. If the value is a primitive, the
291
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
292
+ # used. If the value is an enum, it should be stored as an int32 value using the
293
+ # google.protobuf.Int32Value type.
294
+ # Corresponds to the JSON property `value`
295
+ # @return [Hash<String,Object>]
296
+ attr_accessor :value
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @name = args[:name] if args.key?(:name)
305
+ @value = args[:value] if args.key?(:value)
306
+ end
307
+ end
308
+
309
+ # SourceContext represents information about the source of a protobuf element,
310
+ # like the file in which it is defined.
311
+ class SourceContext
312
+ include Google::Apis::Core::Hashable
313
+
314
+ # The path-qualified name of the .proto file that contained the associated
315
+ # protobuf element. For example: "google/protobuf/source_context.proto".
316
+ # Corresponds to the JSON property `fileName`
317
+ # @return [String]
318
+ attr_accessor :file_name
319
+
320
+ def initialize(**args)
321
+ update!(**args)
322
+ end
323
+
324
+ # Update properties of this object
325
+ def update!(**args)
326
+ @file_name = args[:file_name] if args.key?(:file_name)
327
+ end
328
+ end
329
+
330
+ # The context of a span, attached to google.api.Distribution.Exemplars in google.
331
+ # api.Distribution values during aggregation.It contains the name of a span with
332
+ # format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID
333
+ class SpanContext
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # The resource name of the span in the following format:
337
+ # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
338
+ # TRACE_ID is a unique identifier for a trace within a project; it is a 32-
339
+ # character hexadecimal encoding of a 16-byte array.SPAN_ID is a unique
340
+ # identifier for a span within a trace; it is a 16-character hexadecimal
341
+ # encoding of an 8-byte array.
342
+ # Corresponds to the JSON property `spanName`
343
+ # @return [String]
344
+ attr_accessor :span_name
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @span_name = args[:span_name] if args.key?(:span_name)
353
+ end
354
+ end
355
+
356
+ # The Status type defines a logical error model that is suitable for different
357
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
358
+ # (https://github.com/grpc). The error model is designed to be:
359
+ # Simple to use and understand for most users
360
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
361
+ # three pieces of data: error code, error message, and error details. The error
362
+ # code should be an enum value of google.rpc.Code, but it may accept additional
363
+ # error codes if needed. The error message should be a developer-facing English
364
+ # message that helps developers understand and resolve the error. If a localized
365
+ # user-facing error message is needed, put the localized message in the error
366
+ # details or localize it in the client. The optional error details may contain
367
+ # arbitrary information about the error. There is a predefined set of error
368
+ # detail types in the package google.rpc that can be used for common error
369
+ # conditions.Language mappingThe Status message is the logical representation of
370
+ # the error model, but it is not necessarily the actual wire format. When the
371
+ # Status message is exposed in different client libraries and different wire
372
+ # protocols, it can be mapped differently. For example, it will likely be mapped
373
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
374
+ # Other usesThe error model and the Status message can be used in a variety of
375
+ # environments, either with or without APIs, to provide a consistent developer
376
+ # experience across different environments.Example uses of this error model
377
+ # include:
378
+ # Partial errors. If a service needs to return partial errors to the client, it
379
+ # may embed the Status in the normal response to indicate the partial errors.
380
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
381
+ # Status message for error reporting.
382
+ # Batch operations. If a client uses batch request and batch response, the
383
+ # Status message should be used directly inside batch response, one for each
384
+ # error sub-response.
385
+ # Asynchronous operations. If an API call embeds asynchronous operation results
386
+ # in its response, the status of those operations should be represented directly
387
+ # using the Status message.
388
+ # Logging. If some API errors are stored in logs, the message Status could be
389
+ # used directly after any stripping needed for security/privacy reasons.
390
+ class Status
391
+ include Google::Apis::Core::Hashable
392
+
393
+ # The status code, which should be an enum value of google.rpc.Code.
394
+ # Corresponds to the JSON property `code`
395
+ # @return [Fixnum]
396
+ attr_accessor :code
397
+
398
+ # A list of messages that carry the error details. There is a common set of
399
+ # message types for APIs to use.
400
+ # Corresponds to the JSON property `details`
401
+ # @return [Array<Hash<String,Object>>]
402
+ attr_accessor :details
403
+
404
+ # A developer-facing error message, which should be in English. Any user-facing
405
+ # error message should be localized and sent in the google.rpc.Status.details
406
+ # field, or localized by the client.
407
+ # Corresponds to the JSON property `message`
408
+ # @return [String]
409
+ attr_accessor :message
410
+
411
+ def initialize(**args)
412
+ update!(**args)
413
+ end
414
+
415
+ # Update properties of this object
416
+ def update!(**args)
417
+ @code = args[:code] if args.key?(:code)
418
+ @details = args[:details] if args.key?(:details)
419
+ @message = args[:message] if args.key?(:message)
420
+ end
421
+ end
422
+
423
+ # A protocol buffer message type.
424
+ class Type
425
+ include Google::Apis::Core::Hashable
426
+
427
+ # The list of fields.
428
+ # Corresponds to the JSON property `fields`
429
+ # @return [Array<Google::Apis::MonitoringV1::Field>]
430
+ attr_accessor :fields
431
+
432
+ # The fully qualified message name.
433
+ # Corresponds to the JSON property `name`
434
+ # @return [String]
435
+ attr_accessor :name
436
+
437
+ # The list of types appearing in oneof definitions in this type.
438
+ # Corresponds to the JSON property `oneofs`
439
+ # @return [Array<String>]
440
+ attr_accessor :oneofs
441
+
442
+ # The protocol buffer options.
443
+ # Corresponds to the JSON property `options`
444
+ # @return [Array<Google::Apis::MonitoringV1::Option>]
445
+ attr_accessor :options
446
+
447
+ # SourceContext represents information about the source of a protobuf element,
448
+ # like the file in which it is defined.
449
+ # Corresponds to the JSON property `sourceContext`
450
+ # @return [Google::Apis::MonitoringV1::SourceContext]
451
+ attr_accessor :source_context
452
+
453
+ # The source syntax.
454
+ # Corresponds to the JSON property `syntax`
455
+ # @return [String]
456
+ attr_accessor :syntax
457
+
458
+ def initialize(**args)
459
+ update!(**args)
460
+ end
461
+
462
+ # Update properties of this object
463
+ def update!(**args)
464
+ @fields = args[:fields] if args.key?(:fields)
465
+ @name = args[:name] if args.key?(:name)
466
+ @oneofs = args[:oneofs] if args.key?(:oneofs)
467
+ @options = args[:options] if args.key?(:options)
468
+ @source_context = args[:source_context] if args.key?(:source_context)
469
+ @syntax = args[:syntax] if args.key?(:syntax)
470
+ end
471
+ end
472
+ end
473
+ end
474
+ end