@@ -441,6 +441,9 @@ def cancel_task(name, cancel_task_request_object = nil, fields: nil, quota_user:
441441 # Required. The resource name of the task. Format: tasks/`task_id`
442442 # @param [Fixnum] history_length
443443 # The number of most recent messages from the task's history to retrieve.
444+ # @param [String] tenant
445+ # Optional tenant, provided as a path parameter. Experimental, might still
446+ # change for 1.0 release.
444447 # @param [String] fields
445448 # Selector specifying which fields to include in a partial response.
446449 # @param [String] quota_user
@@ -458,12 +461,13 @@ def cancel_task(name, cancel_task_request_object = nil, fields: nil, quota_user:
458461 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459462 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460463 # @raise [Google::Apis::AuthorizationError] Authorization is required
461- def get_task ( name , history_length : nil , fields : nil , quota_user : nil , options : nil , &block )
464+ def get_task ( name , history_length : nil , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
462465 command = make_simple_command ( :get , 'v1/{+name}' , options )
463466 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::Task ::Representation
464467 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::Task
465468 command . params [ 'name' ] = name unless name . nil?
466469 command . query [ 'historyLength' ] = history_length unless history_length . nil?
470+ command . query [ 'tenant' ] = tenant unless tenant . nil?
467471 command . query [ 'fields' ] = fields unless fields . nil?
468472 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
469473 execute_or_queue_command ( command , &block )
@@ -475,6 +479,9 @@ def get_task(name, history_length: nil, fields: nil, quota_user: nil, options: n
475479 # the stream.
476480 # @param [String] name
477481 # The resource name of the task to subscribe to. Format: tasks/`task_id`
482+ # @param [String] tenant
483+ # Optional tenant, provided as a path parameter. Experimental, might still
484+ # change for 1.0 release.
478485 # @param [String] fields
479486 # Selector specifying which fields to include in a partial response.
480487 # @param [String] quota_user
@@ -492,11 +499,12 @@ def get_task(name, history_length: nil, fields: nil, quota_user: nil, options: n
492499 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493500 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494501 # @raise [Google::Apis::AuthorizationError] Authorization is required
495- def subscribe_task ( name , fields : nil , quota_user : nil , options : nil , &block )
502+ def subscribe_task ( name , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
496503 command = make_simple_command ( :get , 'v1/{+name}:subscribe' , options )
497504 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::StreamResponse ::Representation
498505 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::StreamResponse
499506 command . params [ 'name' ] = name unless name . nil?
507+ command . query [ 'tenant' ] = tenant unless tenant . nil?
500508 command . query [ 'fields' ] = fields unless fields . nil?
501509 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
502510 execute_or_queue_command ( command , &block )
@@ -508,6 +516,9 @@ def subscribe_task(name, fields: nil, quota_user: nil, options: nil, &block)
508516 # @param [Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig] task_push_notification_config_object
509517 # @param [String] config_id
510518 # Required. The ID for the new config.
519+ # @param [String] tenant
520+ # Optional tenant, provided as a path parameter. Experimental, might still
521+ # change for 1.0 release.
511522 # @param [String] fields
512523 # Selector specifying which fields to include in a partial response.
513524 # @param [String] quota_user
@@ -525,14 +536,15 @@ def subscribe_task(name, fields: nil, quota_user: nil, options: nil, &block)
525536 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
526537 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
527538 # @raise [Google::Apis::AuthorizationError] Authorization is required
528- def create_task_push_notification_config ( parent , task_push_notification_config_object = nil , config_id : nil , fields : nil , quota_user : nil , options : nil , &block )
539+ def create_task_push_notification_config ( parent , task_push_notification_config_object = nil , config_id : nil , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
529540 command = make_simple_command ( :post , 'v1/{+parent}' , options )
530541 command . request_representation = Google ::Apis ::WorkspaceeventsV1 ::TaskPushNotificationConfig ::Representation
531542 command . request_object = task_push_notification_config_object
532543 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::TaskPushNotificationConfig ::Representation
533544 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::TaskPushNotificationConfig
534545 command . params [ 'parent' ] = parent unless parent . nil?
535546 command . query [ 'configId' ] = config_id unless config_id . nil?
547+ command . query [ 'tenant' ] = tenant unless tenant . nil?
536548 command . query [ 'fields' ] = fields unless fields . nil?
537549 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
538550 execute_or_queue_command ( command , &block )
@@ -542,6 +554,9 @@ def create_task_push_notification_config(parent, task_push_notification_config_o
542554 # @param [String] name
543555 # The resource name of the config to delete. Format: tasks/`task_id`/
544556 # pushNotificationConfigs/`config_id`
557+ # @param [String] tenant
558+ # Optional tenant, provided as a path parameter. Experimental, might still
559+ # change for 1.0 release.
545560 # @param [String] fields
546561 # Selector specifying which fields to include in a partial response.
547562 # @param [String] quota_user
@@ -559,11 +574,12 @@ def create_task_push_notification_config(parent, task_push_notification_config_o
559574 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
560575 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
561576 # @raise [Google::Apis::AuthorizationError] Authorization is required
562- def delete_task_push_notification_config ( name , fields : nil , quota_user : nil , options : nil , &block )
577+ def delete_task_push_notification_config ( name , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
563578 command = make_simple_command ( :delete , 'v1/{+name}' , options )
564579 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::Empty ::Representation
565580 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::Empty
566581 command . params [ 'name' ] = name unless name . nil?
582+ command . query [ 'tenant' ] = tenant unless tenant . nil?
567583 command . query [ 'fields' ] = fields unless fields . nil?
568584 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
569585 execute_or_queue_command ( command , &block )
@@ -573,6 +589,9 @@ def delete_task_push_notification_config(name, fields: nil, quota_user: nil, opt
573589 # @param [String] name
574590 # The resource name of the config to retrieve. Format: tasks/`task_id`/
575591 # pushNotificationConfigs/`config_id`
592+ # @param [String] tenant
593+ # Optional tenant, provided as a path parameter. Experimental, might still
594+ # change for 1.0 release.
576595 # @param [String] fields
577596 # Selector specifying which fields to include in a partial response.
578597 # @param [String] quota_user
@@ -590,11 +609,12 @@ def delete_task_push_notification_config(name, fields: nil, quota_user: nil, opt
590609 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
591610 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
592611 # @raise [Google::Apis::AuthorizationError] Authorization is required
593- def get_task_push_notification_config ( name , fields : nil , quota_user : nil , options : nil , &block )
612+ def get_task_push_notification_config ( name , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
594613 command = make_simple_command ( :get , 'v1/{+name}' , options )
595614 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::TaskPushNotificationConfig ::Representation
596615 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::TaskPushNotificationConfig
597616 command . params [ 'name' ] = name unless name . nil?
617+ command . query [ 'tenant' ] = tenant unless tenant . nil?
598618 command . query [ 'fields' ] = fields unless fields . nil?
599619 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
600620 execute_or_queue_command ( command , &block )
@@ -612,6 +632,9 @@ def get_task_push_notification_config(name, fields: nil, quota_user: nil, option
612632 # call. Provide this to retrieve the subsequent page. When paginating, all other
613633 # parameters provided to `ListTaskPushNotificationConfigRequest` must match the
614634 # call that provided the page token.
635+ # @param [String] tenant
636+ # Optional tenant, provided as a path parameter. Experimental, might still
637+ # change for 1.0 release.
615638 # @param [String] fields
616639 # Selector specifying which fields to include in a partial response.
617640 # @param [String] quota_user
@@ -629,13 +652,14 @@ def get_task_push_notification_config(name, fields: nil, quota_user: nil, option
629652 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
630653 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631654 # @raise [Google::Apis::AuthorizationError] Authorization is required
632- def list_task_push_notification_configs ( parent , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
655+ def list_task_push_notification_configs ( parent , page_size : nil , page_token : nil , tenant : nil , fields : nil , quota_user : nil , options : nil , &block )
633656 command = make_simple_command ( :get , 'v1/{+parent}/pushNotificationConfigs' , options )
634657 command . response_representation = Google ::Apis ::WorkspaceeventsV1 ::ListTaskPushNotificationConfigResponse ::Representation
635658 command . response_class = Google ::Apis ::WorkspaceeventsV1 ::ListTaskPushNotificationConfigResponse
636659 command . params [ 'parent' ] = parent unless parent . nil?
637660 command . query [ 'pageSize' ] = page_size unless page_size . nil?
638661 command . query [ 'pageToken' ] = page_token unless page_token . nil?
662+ command . query [ 'tenant' ] = tenant unless tenant . nil?
639663 command . query [ 'fields' ] = fields unless fields . nil?
640664 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
641665 execute_or_queue_command ( command , &block )
0 commit comments