google-apis-workspaceevents_v1 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/workspaceevents_v1/classes.rb +14 -0
- data/lib/google/apis/workspaceevents_v1/gem_version.rb +2 -2
- data/lib/google/apis/workspaceevents_v1/representations.rb +2 -0
- data/lib/google/apis/workspaceevents_v1/service.rb +30 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc2eae8a9c10c09e4fcfb7b1b37f9c335ea14bbb457e0dacbc834b82540fd0a4
|
|
4
|
+
data.tar.gz: 62539ad55bf010f1d40e8469c13755d5b96c137ee7fd933a96dc422fafb2f1ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b13084c1b419174f257a62a06405d94e53a73afb55b821d8255096a5bcc6a6d3beacbffbd4d6579d18643cfc88230eecd7e16b6b69e8cd2cc340893b18b7bd4e
|
|
7
|
+
data.tar.gz: ac18c67a095c7bd0f00b6a0c123e2c97d348c9f3686435b69b2ba9cd64d8e5c4b8dfda983c106d9caa9415297d6bf908ed5df33ff8efe79c1b1971fa87601f33
|
data/CHANGELOG.md
CHANGED
|
@@ -103,12 +103,19 @@ module Google
|
|
|
103
103
|
class CancelTaskRequest
|
|
104
104
|
include Google::Apis::Core::Hashable
|
|
105
105
|
|
|
106
|
+
# Optional tenant, provided as a path parameter. Experimental, might still
|
|
107
|
+
# change for 1.0 release.
|
|
108
|
+
# Corresponds to the JSON property `tenant`
|
|
109
|
+
# @return [String]
|
|
110
|
+
attr_accessor :tenant
|
|
111
|
+
|
|
106
112
|
def initialize(**args)
|
|
107
113
|
update!(**args)
|
|
108
114
|
end
|
|
109
115
|
|
|
110
116
|
# Update properties of this object
|
|
111
117
|
def update!(**args)
|
|
118
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
|
112
119
|
end
|
|
113
120
|
end
|
|
114
121
|
|
|
@@ -589,6 +596,12 @@ module Google
|
|
|
589
596
|
# @return [Hash<String,Object>]
|
|
590
597
|
attr_accessor :metadata
|
|
591
598
|
|
|
599
|
+
# Optional tenant, provided as a path parameter. Experimental, might still
|
|
600
|
+
# change for 1.0 release.
|
|
601
|
+
# Corresponds to the JSON property `tenant`
|
|
602
|
+
# @return [String]
|
|
603
|
+
attr_accessor :tenant
|
|
604
|
+
|
|
592
605
|
def initialize(**args)
|
|
593
606
|
update!(**args)
|
|
594
607
|
end
|
|
@@ -598,6 +611,7 @@ module Google
|
|
|
598
611
|
@configuration = args[:configuration] if args.key?(:configuration)
|
|
599
612
|
@message = args[:message] if args.key?(:message)
|
|
600
613
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
614
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
|
601
615
|
end
|
|
602
616
|
end
|
|
603
617
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module WorkspaceeventsV1
|
|
18
18
|
# Version of the google-apis-workspaceevents_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.21.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251216"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,7 @@ module Google
|
|
|
196
196
|
class CancelTaskRequest
|
|
197
197
|
# @private
|
|
198
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
199
|
+
property :tenant, as: 'tenant'
|
|
199
200
|
end
|
|
200
201
|
end
|
|
201
202
|
|
|
@@ -329,6 +330,7 @@ module Google
|
|
|
329
330
|
property :message, as: 'message', class: Google::Apis::WorkspaceeventsV1::Message, decorator: Google::Apis::WorkspaceeventsV1::Message::Representation
|
|
330
331
|
|
|
331
332
|
hash :metadata, as: 'metadata'
|
|
333
|
+
property :tenant, as: 'tenant'
|
|
332
334
|
end
|
|
333
335
|
end
|
|
334
336
|
|
|
@@ -441,6 +441,9 @@ module Google
|
|
|
441
441
|
# Required. The resource name of the task. Format: tasks/`task_id`
|
|
442
442
|
# @param [Fixnum] history_length
|
|
443
443
|
# 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.
|
|
444
447
|
# @param [String] fields
|
|
445
448
|
# Selector specifying which fields to include in a partial response.
|
|
446
449
|
# @param [String] quota_user
|
|
@@ -458,12 +461,13 @@ module Google
|
|
|
458
461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
459
462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
460
463
|
# @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)
|
|
462
465
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
463
466
|
command.response_representation = Google::Apis::WorkspaceeventsV1::Task::Representation
|
|
464
467
|
command.response_class = Google::Apis::WorkspaceeventsV1::Task
|
|
465
468
|
command.params['name'] = name unless name.nil?
|
|
466
469
|
command.query['historyLength'] = history_length unless history_length.nil?
|
|
470
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
467
471
|
command.query['fields'] = fields unless fields.nil?
|
|
468
472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
469
473
|
execute_or_queue_command(command, &block)
|
|
@@ -475,6 +479,9 @@ module Google
|
|
|
475
479
|
# the stream.
|
|
476
480
|
# @param [String] name
|
|
477
481
|
# 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.
|
|
478
485
|
# @param [String] fields
|
|
479
486
|
# Selector specifying which fields to include in a partial response.
|
|
480
487
|
# @param [String] quota_user
|
|
@@ -492,11 +499,12 @@ module Google
|
|
|
492
499
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
493
500
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
494
501
|
# @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)
|
|
496
503
|
command = make_simple_command(:get, 'v1/{+name}:subscribe', options)
|
|
497
504
|
command.response_representation = Google::Apis::WorkspaceeventsV1::StreamResponse::Representation
|
|
498
505
|
command.response_class = Google::Apis::WorkspaceeventsV1::StreamResponse
|
|
499
506
|
command.params['name'] = name unless name.nil?
|
|
507
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
500
508
|
command.query['fields'] = fields unless fields.nil?
|
|
501
509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
502
510
|
execute_or_queue_command(command, &block)
|
|
@@ -508,6 +516,9 @@ module Google
|
|
|
508
516
|
# @param [Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig] task_push_notification_config_object
|
|
509
517
|
# @param [String] config_id
|
|
510
518
|
# 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.
|
|
511
522
|
# @param [String] fields
|
|
512
523
|
# Selector specifying which fields to include in a partial response.
|
|
513
524
|
# @param [String] quota_user
|
|
@@ -525,7 +536,7 @@ module Google
|
|
|
525
536
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
526
537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
527
538
|
# @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)
|
|
529
540
|
command = make_simple_command(:post, 'v1/{+parent}', options)
|
|
530
541
|
command.request_representation = Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig::Representation
|
|
531
542
|
command.request_object = task_push_notification_config_object
|
|
@@ -533,6 +544,7 @@ module Google
|
|
|
533
544
|
command.response_class = Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig
|
|
534
545
|
command.params['parent'] = parent unless parent.nil?
|
|
535
546
|
command.query['configId'] = config_id unless config_id.nil?
|
|
547
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
536
548
|
command.query['fields'] = fields unless fields.nil?
|
|
537
549
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
538
550
|
execute_or_queue_command(command, &block)
|
|
@@ -542,6 +554,9 @@ module Google
|
|
|
542
554
|
# @param [String] name
|
|
543
555
|
# The resource name of the config to delete. Format: tasks/`task_id`/
|
|
544
556
|
# pushNotificationConfigs/`config_id`
|
|
557
|
+
# @param [String] tenant
|
|
558
|
+
# Optional tenant, provided as a path parameter. Experimental, might still
|
|
559
|
+
# change for 1.0 release.
|
|
545
560
|
# @param [String] fields
|
|
546
561
|
# Selector specifying which fields to include in a partial response.
|
|
547
562
|
# @param [String] quota_user
|
|
@@ -559,11 +574,12 @@ module Google
|
|
|
559
574
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
560
575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
561
576
|
# @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)
|
|
563
578
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
564
579
|
command.response_representation = Google::Apis::WorkspaceeventsV1::Empty::Representation
|
|
565
580
|
command.response_class = Google::Apis::WorkspaceeventsV1::Empty
|
|
566
581
|
command.params['name'] = name unless name.nil?
|
|
582
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
567
583
|
command.query['fields'] = fields unless fields.nil?
|
|
568
584
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
569
585
|
execute_or_queue_command(command, &block)
|
|
@@ -573,6 +589,9 @@ module Google
|
|
|
573
589
|
# @param [String] name
|
|
574
590
|
# The resource name of the config to retrieve. Format: tasks/`task_id`/
|
|
575
591
|
# pushNotificationConfigs/`config_id`
|
|
592
|
+
# @param [String] tenant
|
|
593
|
+
# Optional tenant, provided as a path parameter. Experimental, might still
|
|
594
|
+
# change for 1.0 release.
|
|
576
595
|
# @param [String] fields
|
|
577
596
|
# Selector specifying which fields to include in a partial response.
|
|
578
597
|
# @param [String] quota_user
|
|
@@ -590,11 +609,12 @@ module Google
|
|
|
590
609
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
591
610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
592
611
|
# @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)
|
|
594
613
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
595
614
|
command.response_representation = Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig::Representation
|
|
596
615
|
command.response_class = Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig
|
|
597
616
|
command.params['name'] = name unless name.nil?
|
|
617
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
598
618
|
command.query['fields'] = fields unless fields.nil?
|
|
599
619
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
600
620
|
execute_or_queue_command(command, &block)
|
|
@@ -612,6 +632,9 @@ module Google
|
|
|
612
632
|
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
|
613
633
|
# parameters provided to `ListTaskPushNotificationConfigRequest` must match the
|
|
614
634
|
# 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.
|
|
615
638
|
# @param [String] fields
|
|
616
639
|
# Selector specifying which fields to include in a partial response.
|
|
617
640
|
# @param [String] quota_user
|
|
@@ -629,13 +652,14 @@ module Google
|
|
|
629
652
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
630
653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
631
654
|
# @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)
|
|
633
656
|
command = make_simple_command(:get, 'v1/{+parent}/pushNotificationConfigs', options)
|
|
634
657
|
command.response_representation = Google::Apis::WorkspaceeventsV1::ListTaskPushNotificationConfigResponse::Representation
|
|
635
658
|
command.response_class = Google::Apis::WorkspaceeventsV1::ListTaskPushNotificationConfigResponse
|
|
636
659
|
command.params['parent'] = parent unless parent.nil?
|
|
637
660
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
638
661
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
662
|
+
command.query['tenant'] = tenant unless tenant.nil?
|
|
639
663
|
command.query['fields'] = fields unless fields.nil?
|
|
640
664
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
641
665
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-workspaceevents_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.21.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workspaceevents_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workspaceevents_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workspaceevents_v1/v0.21.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workspaceevents_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|