google-apis-ideahub_v1alpha 0.3.0 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26068c4e321614195eb165955f64a9865127f382210ef73a67f1160b6a0f4c40
|
4
|
+
data.tar.gz: 6d434d193b0ffb340ffddab1952c476c82b1ee2e8ab2a3bd343718fccb61055c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c7fca4820b96038d5192e42b02de314ea5bac5be5906036542e1e9d25b36713024bd0d5a0b877d3708d687996839d9f66ddabc13b56d1765b479a28fb99087b
|
7
|
+
data.tar.gz: dcb3bd629e3393e41ebd4be0db37a1cbf247626f484433c4f2ef0ce59e56fbed38934825a8e6c1c3ad679b73a12b79a585f942c722263d958d2bbd986208fb5f
|
data/CHANGELOG.md
CHANGED
@@ -79,6 +79,50 @@ module Google
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
+
# An idea activity entry.
|
83
|
+
class GoogleSearchIdeahubV1alphaIdeaActivity
|
84
|
+
include Google::Apis::Core::Hashable
|
85
|
+
|
86
|
+
# The Idea IDs for this entry.
|
87
|
+
# Corresponds to the JSON property `ideaIds`
|
88
|
+
# @return [Array<String>]
|
89
|
+
attr_accessor :idea_ids
|
90
|
+
|
91
|
+
# Unique identifier for the idea activity. Format: platforms/`platform`/
|
92
|
+
# properties/`property`/ideaActivities/`idea_activity`
|
93
|
+
# Corresponds to the JSON property `name`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :name
|
96
|
+
|
97
|
+
# The Topic IDs for this entry.
|
98
|
+
# Corresponds to the JSON property `topicIds`
|
99
|
+
# @return [Array<String>]
|
100
|
+
attr_accessor :topic_ids
|
101
|
+
|
102
|
+
# The type of activity performed.
|
103
|
+
# Corresponds to the JSON property `type`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :type
|
106
|
+
|
107
|
+
# The uri the activity relates to.
|
108
|
+
# Corresponds to the JSON property `uri`
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :uri
|
111
|
+
|
112
|
+
def initialize(**args)
|
113
|
+
update!(**args)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Update properties of this object
|
117
|
+
def update!(**args)
|
118
|
+
@idea_ids = args[:idea_ids] if args.key?(:idea_ids)
|
119
|
+
@name = args[:name] if args.key?(:name)
|
120
|
+
@topic_ids = args[:topic_ids] if args.key?(:topic_ids)
|
121
|
+
@type = args[:type] if args.key?(:type)
|
122
|
+
@uri = args[:uri] if args.key?(:uri)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
82
126
|
# Represents idea state specific to a web property.
|
83
127
|
class GoogleSearchIdeahubV1alphaIdeaState
|
84
128
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.4.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 = "20210707"
|
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 GoogleSearchIdeahubV1alphaIdeaActivity
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class GoogleSearchIdeahubV1alphaIdeaState
|
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 GoogleSearchIdeahubV1alphaIdeaActivity
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
collection :idea_ids, as: 'ideaIds'
|
95
|
+
property :name, as: 'name'
|
96
|
+
collection :topic_ids, as: 'topicIds'
|
97
|
+
property :type, as: 'type'
|
98
|
+
property :uri, as: 'uri'
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
85
102
|
class GoogleSearchIdeahubV1alphaIdeaState
|
86
103
|
# @private
|
87
104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -108,6 +108,40 @@ module Google
|
|
108
108
|
execute_or_queue_command(command, &block)
|
109
109
|
end
|
110
110
|
|
111
|
+
# Creates an idea activity entry.
|
112
|
+
# @param [String] parent
|
113
|
+
# Required. The parent resource where this idea activity will be created. Format:
|
114
|
+
# platforms/`platform`/property/`property`
|
115
|
+
# @param [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity] google_search_ideahub_v1alpha_idea_activity_object
|
116
|
+
# @param [String] fields
|
117
|
+
# Selector specifying which fields to include in a partial response.
|
118
|
+
# @param [String] quota_user
|
119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
121
|
+
# @param [Google::Apis::RequestOptions] options
|
122
|
+
# Request-specific options
|
123
|
+
#
|
124
|
+
# @yield [result, err] Result & error if block supplied
|
125
|
+
# @yieldparam result [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity] parsed result object
|
126
|
+
# @yieldparam err [StandardError] error object if request failed
|
127
|
+
#
|
128
|
+
# @return [Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity]
|
129
|
+
#
|
130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
133
|
+
def create_platform_property_idea_activity(parent, google_search_ideahub_v1alpha_idea_activity_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
134
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/ideaActivities', options)
|
135
|
+
command.request_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity::Representation
|
136
|
+
command.request_object = google_search_ideahub_v1alpha_idea_activity_object
|
137
|
+
command.response_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity::Representation
|
138
|
+
command.response_class = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity
|
139
|
+
command.params['parent'] = parent unless parent.nil?
|
140
|
+
command.query['fields'] = fields unless fields.nil?
|
141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
142
|
+
execute_or_queue_command(command, &block)
|
143
|
+
end
|
144
|
+
|
111
145
|
# Update an idea state resource.
|
112
146
|
# @param [String] name
|
113
147
|
# 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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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-07-
|
11
|
+
date: 2021-07-12 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/master/generated/google-apis-ideahub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|