google-apis-chat_v1 0.36.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1abc7386af3e67e7d79be31f5e2e2124cacf83bd04402cfd68c7cf4e94ed3b9a
4
- data.tar.gz: 5c24bd1129e2ac098156570a8eed34d0406be0881cde33ed89a7ce74fa1e9977
3
+ metadata.gz: 1174ac5fadb76bbb041ab296133d503ebc6b3f70f769e0c18b5ef07a77dffc6c
4
+ data.tar.gz: 64bad12fd95d22a5a4fb7086811f3a83ab51f3f3bce45ac65b7eec96b2859dae
5
5
  SHA512:
6
- metadata.gz: 7e311bf975abb0ceb5a44eca372b4dc4b5bc3072af1efaa073c45d6327216d16fe48eb1576fe07cadc36ca5670f27e75ecefa2b6d1c84ca367ea06b4a47b5e1b
7
- data.tar.gz: 76d42e7cf4e732cf85f6dc429d7da1ac32cec3b500138ab5949173a932eaaacfd28e74519151f37ad943ab3eb3bc9595eee4173edba84f11825e03641276453d
6
+ metadata.gz: 49ae3da95500f6f1b90386094cc76d42acbb8be726f81028b0f13904fed32a602ee59d10b764cea35eb39c4559db69753414da5659a1efab36eea336ccf7f781
7
+ data.tar.gz: 27ca38afadc8078841dd8b2d7c7e7bfeb32780b7bbb9ff3a8e989f6d1b8ead76443da4fb7b6dbd85c0453de05a9950f6e1b63259df7f9371805c4e71fe3ee8fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.37.0 (2022-06-24)
4
+
5
+ * Regenerated from discovery document revision 20220619
6
+
3
7
  ### v0.36.0 (2022-06-18)
4
8
 
5
9
  * Regenerated using generator version 0.7.0
@@ -934,6 +934,37 @@ module Google
934
934
  end
935
935
  end
936
936
 
937
+ # Represents the platform specific uri/intent to open for each client.
938
+ class GoogleAppsCardV1AppUri
939
+ include Google::Apis::Core::Hashable
940
+
941
+ # Android intent.
942
+ # Corresponds to the JSON property `androidIntent`
943
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1Intent]
944
+ attr_accessor :android_intent
945
+
946
+ # A companion uri string to be opened in the chat companion window. on the web.
947
+ # Corresponds to the JSON property `companionUri`
948
+ # @return [String]
949
+ attr_accessor :companion_uri
950
+
951
+ # A uri string to be opened in the corresponding iOS hosting app.
952
+ # Corresponds to the JSON property `iosUri`
953
+ # @return [String]
954
+ attr_accessor :ios_uri
955
+
956
+ def initialize(**args)
957
+ update!(**args)
958
+ end
959
+
960
+ # Update properties of this object
961
+ def update!(**args)
962
+ @android_intent = args[:android_intent] if args.key?(:android_intent)
963
+ @companion_uri = args[:companion_uri] if args.key?(:companion_uri)
964
+ @ios_uri = args[:ios_uri] if args.key?(:ios_uri)
965
+ end
966
+ end
967
+
937
968
  # Represents the complete border style applied to widgets.
938
969
  class GoogleAppsCardV1BorderStyle
939
970
  include Google::Apis::Core::Hashable
@@ -1447,6 +1478,32 @@ module Google
1447
1478
  end
1448
1479
  end
1449
1480
 
1481
+ # Extra data for an android intent. Valid keys are defined in the hosting app
1482
+ # contract.
1483
+ class GoogleAppsCardV1ExtraData
1484
+ include Google::Apis::Core::Hashable
1485
+
1486
+ # A key for the intent extra data.
1487
+ # Corresponds to the JSON property `key`
1488
+ # @return [String]
1489
+ attr_accessor :key
1490
+
1491
+ # Value for the given extra data key.
1492
+ # Corresponds to the JSON property `value`
1493
+ # @return [String]
1494
+ attr_accessor :value
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @key = args[:key] if args.key?(:key)
1503
+ @value = args[:value] if args.key?(:value)
1504
+ end
1505
+ end
1506
+
1450
1507
  # Represents a Grid widget that displays items in a configurable grid layout.
1451
1508
  class GoogleAppsCardV1Grid
1452
1509
  include Google::Apis::Core::Hashable
@@ -1674,6 +1731,34 @@ module Google
1674
1731
  end
1675
1732
  end
1676
1733
 
1734
+ # Android intent.
1735
+ class GoogleAppsCardV1Intent
1736
+ include Google::Apis::Core::Hashable
1737
+
1738
+ # A list of extra data for the android intent. For example, for a calendar event
1739
+ # edit intent, the event title information can be passed as extra data.
1740
+ # Corresponds to the JSON property `extraData`
1741
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1ExtraData>]
1742
+ attr_accessor :extra_data
1743
+
1744
+ # An android intent action string for the `@link android.content.Intent` object.
1745
+ # For example: for the view intent action type, a valid value will be android.
1746
+ # content.Intent.ACTION_VIEW.
1747
+ # Corresponds to the JSON property `intentAction`
1748
+ # @return [String]
1749
+ attr_accessor :intent_action
1750
+
1751
+ def initialize(**args)
1752
+ update!(**args)
1753
+ end
1754
+
1755
+ # Update properties of this object
1756
+ def update!(**args)
1757
+ @extra_data = args[:extra_data] if args.key?(:extra_data)
1758
+ @intent_action = args[:intent_action] if args.key?(:intent_action)
1759
+ end
1760
+ end
1761
+
1677
1762
  # Represents the response to an `onClick` event.
1678
1763
  class GoogleAppsCardV1OnClick
1679
1764
  include Google::Apis::Core::Hashable
@@ -1734,6 +1819,11 @@ module Google
1734
1819
  class GoogleAppsCardV1OpenLink
1735
1820
  include Google::Apis::Core::Hashable
1736
1821
 
1822
+ # Represents the platform specific uri/intent to open for each client.
1823
+ # Corresponds to the JSON property `appUri`
1824
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1AppUri]
1825
+ attr_accessor :app_uri
1826
+
1737
1827
  # Whether the client forgets about a link after opening it, or observes it until
1738
1828
  # the window closes. Not supported by Chat apps.
1739
1829
  # Corresponds to the JSON property `onClose`
@@ -1756,6 +1846,7 @@ module Google
1756
1846
 
1757
1847
  # Update properties of this object
1758
1848
  def update!(**args)
1849
+ @app_uri = args[:app_uri] if args.key?(:app_uri)
1759
1850
  @on_close = args[:on_close] if args.key?(:on_close)
1760
1851
  @open_as = args[:open_as] if args.key?(:open_as)
1761
1852
  @url = args[:url] if args.key?(:url)
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220520"
25
+ REVISION = "20220619"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleAppsCardV1AppUri
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class GoogleAppsCardV1BorderStyle
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class GoogleAppsCardV1ExtraData
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class GoogleAppsCardV1Grid
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -256,6 +268,12 @@ module Google
256
268
  include Google::Apis::Core::JsonObjectSupport
257
269
  end
258
270
 
271
+ class GoogleAppsCardV1Intent
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
259
277
  class GoogleAppsCardV1OnClick
260
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
279
 
@@ -715,6 +733,16 @@ module Google
715
733
  end
716
734
  end
717
735
 
736
+ class GoogleAppsCardV1AppUri
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :android_intent, as: 'androidIntent', class: Google::Apis::ChatV1::GoogleAppsCardV1Intent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Intent::Representation
740
+
741
+ property :companion_uri, as: 'companionUri'
742
+ property :ios_uri, as: 'iosUri'
743
+ end
744
+ end
745
+
718
746
  class GoogleAppsCardV1BorderStyle
719
747
  # @private
720
748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +865,14 @@ module Google
837
865
  end
838
866
  end
839
867
 
868
+ class GoogleAppsCardV1ExtraData
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :key, as: 'key'
872
+ property :value, as: 'value'
873
+ end
874
+ end
875
+
840
876
  class GoogleAppsCardV1Grid
841
877
  # @private
842
878
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -904,6 +940,15 @@ module Google
904
940
  end
905
941
  end
906
942
 
943
+ class GoogleAppsCardV1Intent
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ collection :extra_data, as: 'extraData', class: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData::Representation
947
+
948
+ property :intent_action, as: 'intentAction'
949
+ end
950
+ end
951
+
907
952
  class GoogleAppsCardV1OnClick
908
953
  # @private
909
954
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -921,6 +966,8 @@ module Google
921
966
  class GoogleAppsCardV1OpenLink
922
967
  # @private
923
968
  class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :app_uri, as: 'appUri', class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri, decorator: Google::Apis::ChatV1::GoogleAppsCardV1AppUri::Representation
970
+
924
971
  property :on_close, as: 'onClose'
925
972
  property :open_as, as: 'openAs'
926
973
  property :url, as: 'url'
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.36.0
4
+ version: 0.37.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: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.37.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: []