google-apis-ideahub_v1beta 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32b8e3f998cc3545432e05165be76d7d8c3e9f8c2edc5af74a5f94c6223152bc
|
4
|
+
data.tar.gz: a8c765c1321dcef244a468304138d247274430c85863fcba5636d39833b0dddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 904ea498e1e35b0204a37169521b7ce0af4a67272faed6d0cc9d0994e8ae48a078ad6fdaa968a9fd3911c46d66515708218b13e66979dbf94a424569f4a4a303
|
7
|
+
data.tar.gz: 2ed2fcfee3973783fc774953ccdaa48bd2688fc221f02b11462e5d17efb4270a53965bcefd5ea67cf39ec5c3b057a8318722e243155e170e2d5fd56fff02ad1a
|
data/CHANGELOG.md
CHANGED
@@ -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.2.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 = "20210910"
|
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
|
@@ -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.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-09-
|
11
|
+
date: 2021-09-20 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_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1beta/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|