google-apis-chat_v1 0.77.0 → 0.78.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82e52f01a75d5732e8b21c4cb38eec99174f8dca5aa7f79797175c3027157a05
4
- data.tar.gz: b2dd508219112f9d890170180c05eebe4526d99bcd6cdb3f3d91b2c3373b2f04
3
+ metadata.gz: 4c49553e1a4bb00f33a2dbcbcd8a0de9d7dbded6f219fc942e0f7584c256569e
4
+ data.tar.gz: cfaf907d9b16f2aeeea22d480d624c9395a8797066c92cf15d8283888fb800d4
5
5
  SHA512:
6
- metadata.gz: 102581df0e348883dc5c620dd08595390412fe3fa807f865442ea3312d3c714d6c88f4dd3b7be0a97b7e6f4164ae2550c3f1f6e5cfbb865fb9d74c79bf332444
7
- data.tar.gz: 65fc975528d6e5274f2964d5fe6140843057ba7910bd3a7326961638d9bcfd7695e98a1b0bcafcca49345bcef4fcadf05beaeff94927a227a2dc9854095b55d9
6
+ metadata.gz: 8992505e2843e24f8bb949c68a6203fec39b1766a525bd7f1467198a8203bd00c9d03a740895661f6d1deb8f08ea421665a0135d8c928d72404319db10c8c53d
7
+ data.tar.gz: 19c6bb9c828429b92a8c933cf634d497c1dbb53c371c1b2ace20ea1bcb88a00bdcf7231dd84c03a9878f1d8db859f3704cea3c60950521ddaad65ffafb847ccc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.78.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231121
6
+
3
7
  ### v0.77.0 (2023-11-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20231116
@@ -65,6 +65,12 @@ module Google
65
65
  # @return [String]
66
66
  attr_accessor :type
67
67
 
68
+ # The response of the updated widget. Used to provide autocomplete options for a
69
+ # widget.
70
+ # Corresponds to the JSON property `updatedWidget`
71
+ # @return [Google::Apis::ChatV1::UpdatedWidget]
72
+ attr_accessor :updated_widget
73
+
68
74
  # Input only. URL for users to authenticate or configure. (Only for `
69
75
  # REQUEST_CONFIG` response types.)
70
76
  # Corresponds to the JSON property `url`
@@ -79,6 +85,7 @@ module Google
79
85
  def update!(**args)
80
86
  @dialog_action = args[:dialog_action] if args.key?(:dialog_action)
81
87
  @type = args[:type] if args.key?(:type)
88
+ @updated_widget = args[:updated_widget] if args.key?(:updated_widget)
82
89
  @url = args[:url] if args.key?(:url)
83
90
  end
84
91
  end
@@ -3631,6 +3638,25 @@ module Google
3631
3638
  end
3632
3639
  end
3633
3640
 
3641
+ # List of widget autocomplete results.
3642
+ class SelectionItems
3643
+ include Google::Apis::Core::Hashable
3644
+
3645
+ # An array of the SelectionItem objects.
3646
+ # Corresponds to the JSON property `items`
3647
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>]
3648
+ attr_accessor :items
3649
+
3650
+ def initialize(**args)
3651
+ update!(**args)
3652
+ end
3653
+
3654
+ # Update properties of this object
3655
+ def update!(**args)
3656
+ @items = args[:items] if args.key?(:items)
3657
+ end
3658
+ end
3659
+
3634
3660
  #
3635
3661
  class SetUpSpaceRequest
3636
3662
  include Google::Apis::Core::Hashable
@@ -4100,6 +4126,33 @@ module Google
4100
4126
  end
4101
4127
  end
4102
4128
 
4129
+ # The response of the updated widget. Used to provide autocomplete options for a
4130
+ # widget.
4131
+ class UpdatedWidget
4132
+ include Google::Apis::Core::Hashable
4133
+
4134
+ # List of widget autocomplete results.
4135
+ # Corresponds to the JSON property `suggestions`
4136
+ # @return [Google::Apis::ChatV1::SelectionItems]
4137
+ attr_accessor :suggestions
4138
+
4139
+ # The ID of the updated widget. The ID must match the one for the widget that
4140
+ # triggered the update request.
4141
+ # Corresponds to the JSON property `widget`
4142
+ # @return [String]
4143
+ attr_accessor :widget
4144
+
4145
+ def initialize(**args)
4146
+ update!(**args)
4147
+ end
4148
+
4149
+ # Update properties of this object
4150
+ def update!(**args)
4151
+ @suggestions = args[:suggestions] if args.key?(:suggestions)
4152
+ @widget = args[:widget] if args.key?(:widget)
4153
+ end
4154
+ end
4155
+
4103
4156
  #
4104
4157
  class UploadAttachmentRequest
4105
4158
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChatV1
18
18
  # Version of the google-apis-chat_v1 gem
19
- GEM_VERSION = "0.77.0"
19
+ GEM_VERSION = "0.78.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231116"
25
+ REVISION = "20231121"
26
26
  end
27
27
  end
28
28
  end
@@ -496,6 +496,12 @@ module Google
496
496
  include Google::Apis::Core::JsonObjectSupport
497
497
  end
498
498
 
499
+ class SelectionItems
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
499
505
  class SetUpSpaceRequest
500
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
507
 
@@ -574,6 +580,12 @@ module Google
574
580
  include Google::Apis::Core::JsonObjectSupport
575
581
  end
576
582
 
583
+ class UpdatedWidget
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
577
589
  class UploadAttachmentRequest
578
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
591
 
@@ -618,6 +630,8 @@ module Google
618
630
  property :dialog_action, as: 'dialogAction', class: Google::Apis::ChatV1::DialogAction, decorator: Google::Apis::ChatV1::DialogAction::Representation
619
631
 
620
632
  property :type, as: 'type'
633
+ property :updated_widget, as: 'updatedWidget', class: Google::Apis::ChatV1::UpdatedWidget, decorator: Google::Apis::ChatV1::UpdatedWidget::Representation
634
+
621
635
  property :url, as: 'url'
622
636
  end
623
637
  end
@@ -1489,6 +1503,14 @@ module Google
1489
1503
  end
1490
1504
  end
1491
1505
 
1506
+ class SelectionItems
1507
+ # @private
1508
+ class Representation < Google::Apis::Core::JsonRepresentation
1509
+ collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem::Representation
1510
+
1511
+ end
1512
+ end
1513
+
1492
1514
  class SetUpSpaceRequest
1493
1515
  # @private
1494
1516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1608,6 +1630,15 @@ module Google
1608
1630
  end
1609
1631
  end
1610
1632
 
1633
+ class UpdatedWidget
1634
+ # @private
1635
+ class Representation < Google::Apis::Core::JsonRepresentation
1636
+ property :suggestions, as: 'suggestions', class: Google::Apis::ChatV1::SelectionItems, decorator: Google::Apis::ChatV1::SelectionItems::Representation
1637
+
1638
+ property :widget, as: 'widget'
1639
+ end
1640
+ end
1641
+
1611
1642
  class UploadAttachmentRequest
1612
1643
  # @private
1613
1644
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-26 00:00:00.000000000 Z
11
+ date: 2023-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.78.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
63
63
  post_install_message:
64
64
  rdoc_options: []