google-apis-ideahub_v1alpha 0.1.0 → 0.2.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: 6fb8711cb7565aae9e1fcc11ec535a2ef59d2235a6b4f0e85b696a1ee49b48cb
4
- data.tar.gz: bf59b24e350190f956ad338207f60a69995294ea1cec9f1fd0894839810ac8bc
3
+ metadata.gz: 46dd3bfab2d34825757b76d85c2152ef6f5c7c23070170a2f079c84450dca532
4
+ data.tar.gz: 3a00cd42db016dff4f562f81ad5fcc922a9ad194006df71d236cc3962e1b0406
5
5
  SHA512:
6
- metadata.gz: df7c438ddfbb6fb3e42c575c52505d53b744a26f160dbc5a1858531396520b9bbf207f78d3d145a89b169a5b579781d28540fadff41c4b877d103bc56e58fc83
7
- data.tar.gz: 12686673afb9585669072b4e5594c55b854104b1dd999b45b63a29365b5c31047a24c249c3a2aa72d016d3a89865ef9e20f952823d87fb67ee6dd4debc98b86b
6
+ metadata.gz: 31eab5a08f92aa0a02b462495d49718ba25b51c32a180e60087032904ff76e8d9d480e0b4f45fddab1f6c64050c74c78f28446e4a6f67230494c62dfaf027dd4
7
+ data.tar.gz: ad7c2b6498c96dd40b535df48c28a6ff1de24bbac310505a9f8c707c7551c093f622c5250bdbcbf404a36edd984346d6bd829b73116e3e46da443d55bc075099
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ideahub_v1alpha
2
2
 
3
+ ### v0.2.0 (2021-06-24)
4
+
5
+ * Regenerated from discovery document revision 20210622
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.1.0 (2021-06-01)
4
9
 
5
10
  * Regenerated from discovery document revision 20210528
@@ -190,6 +190,40 @@ module Google
190
190
  @mid = args[:mid] if args.key?(:mid)
191
191
  end
192
192
  end
193
+
194
+ # Represents topic state specific to a web property.
195
+ class GoogleSearchIdeahubV1alphaTopicState
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # Whether the topic is dismissed.
199
+ # Corresponds to the JSON property `dismissed`
200
+ # @return [Boolean]
201
+ attr_accessor :dismissed
202
+ alias_method :dismissed?, :dismissed
203
+
204
+ # Unique identifier for the topic state. Format: platforms/`platform`/properties/
205
+ # `property`/topicStates/`topic_state`
206
+ # Corresponds to the JSON property `name`
207
+ # @return [String]
208
+ attr_accessor :name
209
+
210
+ # Whether the topic is saved.
211
+ # Corresponds to the JSON property `saved`
212
+ # @return [Boolean]
213
+ attr_accessor :saved
214
+ alias_method :saved?, :saved
215
+
216
+ def initialize(**args)
217
+ update!(**args)
218
+ end
219
+
220
+ # Update properties of this object
221
+ def update!(**args)
222
+ @dismissed = args[:dismissed] if args.key?(:dismissed)
223
+ @name = args[:name] if args.key?(:name)
224
+ @saved = args[:saved] if args.key?(:saved)
225
+ end
226
+ end
193
227
  end
194
228
  end
195
229
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdeahubV1alpha
18
18
  # Version of the google-apis-ideahub_v1alpha gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210528"
25
+ REVISION = "20210622"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleSearchIdeahubV1alphaTopicState
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleSearchIdeahubV1alphaAvailableLocale
62
68
  # @private
63
69
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -110,6 +116,15 @@ module Google
110
116
  property :mid, as: 'mid'
111
117
  end
112
118
  end
119
+
120
+ class GoogleSearchIdeahubV1alphaTopicState
121
+ # @private
122
+ class Representation < Google::Apis::Core::JsonRepresentation
123
+ property :dismissed, as: 'dismissed'
124
+ property :name, as: 'name'
125
+ property :saved, as: 'saved'
126
+ end
127
+ end
113
128
  end
114
129
  end
115
130
  end
@@ -55,7 +55,16 @@ module Google
55
55
  # @param [String] creator_platform_id
56
56
  # Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
57
57
  # @param [String] filter
58
- # Filter semantics described below.
58
+ # Allows filtering. Supported syntax: * Filter expressions are made up of one or
59
+ # more restrictions. * Restrictions are implicitly combined, as if the `AND`
60
+ # operator was always used. The `OR` operator is currently unsupported. *
61
+ # Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas.
62
+ # If set to false, fetches all except saved ideas. Can't be simultaneously used
63
+ # with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only
64
+ # dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false`
65
+ # value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `
66
+ # dismissed(true)` The length of this field should be no more than 500
67
+ # characters.
59
68
  # @param [String] order_by
60
69
  # Order semantics described below.
61
70
  # @param [Fixnum] page_size
@@ -145,7 +154,16 @@ module Google
145
154
  # @param [String] creator_platform_id
146
155
  # Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
147
156
  # @param [String] filter
148
- # Filter semantics described below.
157
+ # Allows filtering. Supported syntax: * Filter expressions are made up of one or
158
+ # more restrictions. * Restrictions are implicitly combined, as if the `AND`
159
+ # operator was always used. The `OR` operator is currently unsupported. *
160
+ # Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas.
161
+ # If set to false, fetches all except saved ideas. Can't be simultaneously used
162
+ # with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only
163
+ # dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false`
164
+ # value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `
165
+ # dismissed(true)` The length of this field should be no more than 500
166
+ # characters.
149
167
  # @param [String] order_by
150
168
  # Order semantics described below.
151
169
  # @param [Fixnum] page_size
@@ -227,6 +245,43 @@ module Google
227
245
  command.query['quotaUser'] = quota_user unless quota_user.nil?
228
246
  execute_or_queue_command(command, &block)
229
247
  end
248
+
249
+ # Update a topic state resource.
250
+ # @param [String] name
251
+ # Unique identifier for the topic state. Format: platforms/`platform`/properties/
252
+ # `property`/topicStates/`topic_state`
253
+ # @param [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState] google_search_ideahub_v1alpha_topic_state_object
254
+ # @param [String] update_mask
255
+ # The list of fields to be updated.
256
+ # @param [String] fields
257
+ # Selector specifying which fields to include in a partial response.
258
+ # @param [String] quota_user
259
+ # Available to use for quota purposes for server-side applications. Can be any
260
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
261
+ # @param [Google::Apis::RequestOptions] options
262
+ # Request-specific options
263
+ #
264
+ # @yield [result, err] Result & error if block supplied
265
+ # @yieldparam result [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState] parsed result object
266
+ # @yieldparam err [StandardError] error object if request failed
267
+ #
268
+ # @return [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState]
269
+ #
270
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
271
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
272
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
273
+ def patch_platform_property_topic_state(name, google_search_ideahub_v1alpha_topic_state_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
274
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
275
+ command.request_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState::Representation
276
+ command.request_object = google_search_ideahub_v1alpha_topic_state_object
277
+ command.response_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState::Representation
278
+ command.response_class = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState
279
+ command.params['name'] = name unless name.nil?
280
+ command.query['updateMask'] = update_mask unless update_mask.nil?
281
+ command.query['fields'] = fields unless fields.nil?
282
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
283
+ execute_or_queue_command(command, &block)
284
+ end
230
285
 
231
286
  protected
232
287
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ideahub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Idea Hub API V1alpha. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0.2.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1alpha
57
63
  post_install_message:
58
64
  rdoc_options: []