google-apis-ideahub_v1beta 0.1.0 → 0.5.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/ideahub_v1beta/classes.rb +45 -0
- data/lib/google/apis/ideahub_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/ideahub_v1beta/representations.rb +17 -0
- data/lib/google/apis/ideahub_v1beta/service.rb +35 -1
- data/lib/google/apis/ideahub_v1beta.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37e18785802d872d91e5256809220415f79656ae815a2112498acd5767558fda
|
4
|
+
data.tar.gz: e95d14e0902d8bce49f26f7a6f13b5b9d78a14b458761c11529bcea80e990497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2c03512f4bef15914b1ca50208d5e43a1f2862912e84aa15bab694c1cf753d0cf038fd616f70d675103a48aaa92ec77026a616d122314b2dbc1a585d9813f1
|
7
|
+
data.tar.gz: 8f5e2e6ce840610f30b831e7bc47378ac2bdeb2c529023537fe18f0f096ff8807ab47b1393946dd5c9fce5aaf1bb3a7f2f8bde2929a937a351a2ea4a1ffbc1f3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-ideahub_v1beta
|
2
2
|
|
3
|
+
### v0.5.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.4.0 (2021-11-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211029
|
10
|
+
|
11
|
+
### v0.3.0 (2021-10-20)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.2.0 (2021-09-13)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210910
|
18
|
+
|
3
19
|
### v0.1.0 (2021-09-02)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210831
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/ideahub_v1beta"
|
|
51
51
|
client = Google::Apis::IdeahubV1beta::IdeahubService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Ideahub service in particular.)
|
67
67
|
|
@@ -79,6 +79,51 @@ module Google
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
+
# An idea activity entry.
|
83
|
+
class GoogleSearchIdeahubV1betaIdeaActivity
|
84
|
+
include Google::Apis::Core::Hashable
|
85
|
+
|
86
|
+
# The Idea IDs for this entry. If empty, topics should be set.
|
87
|
+
# Corresponds to the JSON property `ideas`
|
88
|
+
# @return [Array<String>]
|
89
|
+
attr_accessor :ideas
|
90
|
+
|
91
|
+
# Unique identifier for the idea activity. The name is ignored when creating an
|
92
|
+
# idea activity. Format: platforms/`platform`/properties/`property`/
|
93
|
+
# ideaActivities/`idea_activity`
|
94
|
+
# Corresponds to the JSON property `name`
|
95
|
+
# @return [String]
|
96
|
+
attr_accessor :name
|
97
|
+
|
98
|
+
# The Topic IDs for this entry. If empty, ideas should be set.
|
99
|
+
# Corresponds to the JSON property `topics`
|
100
|
+
# @return [Array<String>]
|
101
|
+
attr_accessor :topics
|
102
|
+
|
103
|
+
# The type of activity performed.
|
104
|
+
# Corresponds to the JSON property `type`
|
105
|
+
# @return [String]
|
106
|
+
attr_accessor :type
|
107
|
+
|
108
|
+
# The uri the activity relates to.
|
109
|
+
# Corresponds to the JSON property `uri`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :uri
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@ideas = args[:ideas] if args.key?(:ideas)
|
120
|
+
@name = args[:name] if args.key?(:name)
|
121
|
+
@topics = args[:topics] if args.key?(:topics)
|
122
|
+
@type = args[:type] if args.key?(:type)
|
123
|
+
@uri = args[:uri] if args.key?(:uri)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
82
127
|
# Represents idea state specific to a web property.
|
83
128
|
class GoogleSearchIdeahubV1betaIdeaState
|
84
129
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IdeahubV1beta
|
18
18
|
# Version of the google-apis-ideahub_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GoogleSearchIdeahubV1betaIdeaActivity
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class GoogleSearchIdeahubV1betaIdeaState
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -82,6 +88,17 @@ module Google
|
|
82
88
|
end
|
83
89
|
end
|
84
90
|
|
91
|
+
class GoogleSearchIdeahubV1betaIdeaActivity
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
collection :ideas, as: 'ideas'
|
95
|
+
property :name, as: 'name'
|
96
|
+
collection :topics, as: 'topics'
|
97
|
+
property :type, as: 'type'
|
98
|
+
property :uri, as: 'uri'
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
85
102
|
class GoogleSearchIdeahubV1betaIdeaState
|
86
103
|
# @private
|
87
104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module IdeahubV1beta
|
23
23
|
# Idea Hub API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# This is an invitation-only API.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/ideahub_v1beta'
|
@@ -49,6 +49,40 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Creates an idea activity entry.
|
53
|
+
# @param [String] parent
|
54
|
+
# Required. The parent resource where this idea activity will be created. Format:
|
55
|
+
# platforms/`platform`/property/`property`
|
56
|
+
# @param [Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity] google_search_ideahub_v1beta_idea_activity_object
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
59
|
+
# @param [String] quota_user
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
63
|
+
# Request-specific options
|
64
|
+
#
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
66
|
+
# @yieldparam result [Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity] parsed result object
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
68
|
+
#
|
69
|
+
# @return [Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity]
|
70
|
+
#
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
+
def create_platform_property_idea_activity(parent, google_search_ideahub_v1beta_idea_activity_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/ideaActivities', options)
|
76
|
+
command.request_representation = Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity::Representation
|
77
|
+
command.request_object = google_search_ideahub_v1beta_idea_activity_object
|
78
|
+
command.response_representation = Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity::Representation
|
79
|
+
command.response_class = Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity
|
80
|
+
command.params['parent'] = parent unless parent.nil?
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
82
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
83
|
+
execute_or_queue_command(command, &block)
|
84
|
+
end
|
85
|
+
|
52
86
|
# Update an idea state resource.
|
53
87
|
# @param [String] name
|
54
88
|
# Unique identifier for the idea state. Format: platforms/`platform`/properties/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ideahub_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1beta/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ideahub_v1beta/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1beta/v0.5.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ideahub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Idea Hub API V1beta
|