google-api-client 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
@@ -22,316 +22,316 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LanguageV1beta1
|
24
24
|
|
25
|
-
class
|
25
|
+
class TextSpan
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Token
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class Status
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class EntityMention
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class Features
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class Document
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class Sentence
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class AnalyzeEntitiesRequest
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class Sentiment
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class PartOfSpeech
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class AnalyzeSyntaxRequest
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class AnalyzeSentimentResponse
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class AnalyzeEntitiesResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class AnalyzeSyntaxResponse
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class Entity
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class AnnotateTextRequest
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class AnnotateTextResponse
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class AnalyzeSentimentRequest
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class DependencyEdge
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class TextSpan
|
140
140
|
# @private
|
141
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
-
property :
|
143
|
-
property :
|
144
|
-
property :voice, as: 'voice'
|
145
|
-
property :aspect, as: 'aspect'
|
146
|
-
property :mood, as: 'mood'
|
147
|
-
property :tag, as: 'tag'
|
148
|
-
property :gender, as: 'gender'
|
149
|
-
property :person, as: 'person'
|
150
|
-
property :proper, as: 'proper'
|
151
|
-
property :case, as: 'case'
|
152
|
-
property :tense, as: 'tense'
|
153
|
-
property :reciprocity, as: 'reciprocity'
|
142
|
+
property :begin_offset, as: 'beginOffset'
|
143
|
+
property :content, as: 'content'
|
154
144
|
end
|
155
145
|
end
|
156
146
|
|
157
|
-
class
|
147
|
+
class Token
|
158
148
|
# @private
|
159
149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
-
property :
|
150
|
+
property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation
|
151
|
+
|
152
|
+
property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation
|
153
|
+
|
154
|
+
property :lemma, as: 'lemma'
|
155
|
+
property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation
|
161
156
|
|
162
|
-
property :encoding_type, as: 'encodingType'
|
163
157
|
end
|
164
158
|
end
|
165
159
|
|
166
|
-
class
|
160
|
+
class Status
|
167
161
|
# @private
|
168
162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
173
|
-
|
163
|
+
collection :details, as: 'details'
|
164
|
+
property :code, as: 'code'
|
165
|
+
property :message, as: 'message'
|
174
166
|
end
|
175
167
|
end
|
176
168
|
|
177
|
-
class
|
169
|
+
class EntityMention
|
178
170
|
# @private
|
179
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
180
|
-
property :
|
181
|
-
|
172
|
+
property :type, as: 'type'
|
173
|
+
property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation
|
182
174
|
|
183
175
|
end
|
184
176
|
end
|
185
177
|
|
186
|
-
class
|
178
|
+
class Features
|
187
179
|
# @private
|
188
180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
189
|
-
property :
|
190
|
-
|
191
|
-
|
192
|
-
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
193
|
-
|
181
|
+
property :extract_entities, as: 'extractEntities'
|
182
|
+
property :extract_document_sentiment, as: 'extractDocumentSentiment'
|
183
|
+
property :extract_syntax, as: 'extractSyntax'
|
194
184
|
end
|
195
185
|
end
|
196
186
|
|
197
|
-
class
|
187
|
+
class Document
|
198
188
|
# @private
|
199
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
+
property :gcs_content_uri, as: 'gcsContentUri'
|
191
|
+
property :language, as: 'language'
|
192
|
+
property :content, as: 'content'
|
200
193
|
property :type, as: 'type'
|
201
|
-
hash :metadata, as: 'metadata'
|
202
|
-
property :salience, as: 'salience'
|
203
|
-
collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1beta1::EntityMention, decorator: Google::Apis::LanguageV1beta1::EntityMention::Representation
|
204
|
-
|
205
|
-
property :name, as: 'name'
|
206
194
|
end
|
207
195
|
end
|
208
196
|
|
209
|
-
class
|
197
|
+
class Sentence
|
210
198
|
# @private
|
211
199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
212
|
-
property :
|
213
|
-
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
200
|
+
property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation
|
214
201
|
|
215
|
-
property :
|
202
|
+
property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
216
203
|
|
217
204
|
end
|
218
205
|
end
|
219
206
|
|
220
|
-
class
|
207
|
+
class AnalyzeEntitiesRequest
|
221
208
|
# @private
|
222
209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
223
|
-
property :
|
224
|
-
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
225
|
-
|
226
|
-
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
227
|
-
|
228
|
-
collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation
|
229
|
-
|
230
|
-
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
210
|
+
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
231
211
|
|
212
|
+
property :encoding_type, as: 'encodingType'
|
232
213
|
end
|
233
214
|
end
|
234
215
|
|
235
|
-
class
|
216
|
+
class Sentiment
|
236
217
|
# @private
|
237
218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
-
property :
|
239
|
-
property :
|
240
|
-
|
219
|
+
property :score, as: 'score'
|
220
|
+
property :polarity, as: 'polarity'
|
221
|
+
property :magnitude, as: 'magnitude'
|
241
222
|
end
|
242
223
|
end
|
243
224
|
|
244
|
-
class
|
225
|
+
class PartOfSpeech
|
245
226
|
# @private
|
246
227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
247
|
-
property :
|
248
|
-
property :
|
228
|
+
property :form, as: 'form'
|
229
|
+
property :number, as: 'number'
|
230
|
+
property :voice, as: 'voice'
|
231
|
+
property :aspect, as: 'aspect'
|
232
|
+
property :mood, as: 'mood'
|
233
|
+
property :tag, as: 'tag'
|
234
|
+
property :gender, as: 'gender'
|
235
|
+
property :person, as: 'person'
|
236
|
+
property :proper, as: 'proper'
|
237
|
+
property :case, as: 'case'
|
238
|
+
property :tense, as: 'tense'
|
239
|
+
property :reciprocity, as: 'reciprocity'
|
249
240
|
end
|
250
241
|
end
|
251
242
|
|
252
|
-
class
|
243
|
+
class AnalyzeSyntaxRequest
|
253
244
|
# @private
|
254
245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
-
property :
|
256
|
-
|
246
|
+
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
247
|
+
|
248
|
+
property :encoding_type, as: 'encodingType'
|
257
249
|
end
|
258
250
|
end
|
259
251
|
|
260
|
-
class
|
252
|
+
class AnalyzeSentimentResponse
|
261
253
|
# @private
|
262
254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
|
-
property :
|
264
|
-
|
265
|
-
property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation
|
255
|
+
property :language, as: 'language'
|
256
|
+
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
266
257
|
|
267
|
-
property :
|
268
|
-
property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation
|
258
|
+
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
269
259
|
|
270
260
|
end
|
271
261
|
end
|
272
262
|
|
273
|
-
class
|
263
|
+
class AnalyzeEntitiesResponse
|
274
264
|
# @private
|
275
265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :
|
277
|
-
collection :
|
278
|
-
|
266
|
+
property :language, as: 'language'
|
267
|
+
collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation
|
268
|
+
|
279
269
|
end
|
280
270
|
end
|
281
271
|
|
282
|
-
class
|
272
|
+
class AnalyzeSyntaxResponse
|
283
273
|
# @private
|
284
274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
285
|
-
property :
|
275
|
+
property :language, as: 'language'
|
276
|
+
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
277
|
+
|
278
|
+
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
286
279
|
|
287
|
-
property :type, as: 'type'
|
288
280
|
end
|
289
281
|
end
|
290
282
|
|
291
|
-
class
|
283
|
+
class Entity
|
292
284
|
# @private
|
293
285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
-
property :
|
295
|
-
property :
|
296
|
-
|
286
|
+
property :name, as: 'name'
|
287
|
+
property :salience, as: 'salience'
|
288
|
+
hash :metadata, as: 'metadata'
|
289
|
+
property :type, as: 'type'
|
290
|
+
collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1beta1::EntityMention, decorator: Google::Apis::LanguageV1beta1::EntityMention::Representation
|
291
|
+
|
297
292
|
end
|
298
293
|
end
|
299
294
|
|
300
|
-
class
|
295
|
+
class AnnotateTextRequest
|
301
296
|
# @private
|
302
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
-
property :
|
304
|
-
|
305
|
-
property :
|
306
|
-
property :
|
298
|
+
property :features, as: 'features', class: Google::Apis::LanguageV1beta1::Features, decorator: Google::Apis::LanguageV1beta1::Features::Representation
|
299
|
+
|
300
|
+
property :encoding_type, as: 'encodingType'
|
301
|
+
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
302
|
+
|
307
303
|
end
|
308
304
|
end
|
309
305
|
|
310
|
-
class
|
306
|
+
class AnnotateTextResponse
|
311
307
|
# @private
|
312
308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
313
|
-
|
309
|
+
collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation
|
314
310
|
|
315
|
-
property :
|
311
|
+
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
312
|
+
|
313
|
+
property :language, as: 'language'
|
314
|
+
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
315
|
+
|
316
|
+
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
316
317
|
|
317
318
|
end
|
318
319
|
end
|
319
320
|
|
320
|
-
class
|
321
|
+
class AnalyzeSentimentRequest
|
321
322
|
# @private
|
322
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
-
property :encoding_type, as: 'encodingType'
|
324
324
|
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
325
325
|
|
326
|
+
property :encoding_type, as: 'encodingType'
|
326
327
|
end
|
327
328
|
end
|
328
329
|
|
329
|
-
class
|
330
|
+
class DependencyEdge
|
330
331
|
# @private
|
331
332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
-
property :
|
333
|
-
property :
|
334
|
-
property :magnitude, as: 'magnitude'
|
333
|
+
property :label, as: 'label'
|
334
|
+
property :head_token_index, as: 'headTokenIndex'
|
335
335
|
end
|
336
336
|
end
|
337
337
|
end
|
@@ -49,13 +49,45 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
-
# Analyzes the
|
53
|
-
#
|
52
|
+
# Analyzes the syntax of the text and provides sentence boundaries and
|
53
|
+
# tokenization along with part of speech tags, dependency trees, and other
|
54
|
+
# properties.
|
55
|
+
# @param [Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest] analyze_syntax_request_object
|
56
|
+
# @param [String] quota_user
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
54
59
|
# @param [String] fields
|
55
60
|
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def analyze_document_syntax(analyze_syntax_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:post, 'v1beta1/documents:analyzeSyntax', options)
|
75
|
+
command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest::Representation
|
76
|
+
command.request_object = analyze_syntax_request_object
|
77
|
+
command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse::Representation
|
78
|
+
command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Analyzes the sentiment of the provided text.
|
85
|
+
# @param [Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest] analyze_sentiment_request_object
|
56
86
|
# @param [String] quota_user
|
57
87
|
# Available to use for quota purposes for server-side applications. Can be any
|
58
88
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
89
|
+
# @param [String] fields
|
90
|
+
# Selector specifying which fields to include in a partial response.
|
59
91
|
# @param [Google::Apis::RequestOptions] options
|
60
92
|
# Request-specific options
|
61
93
|
#
|
@@ -68,25 +100,25 @@ module Google
|
|
68
100
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def analyze_document_sentiment(analyze_sentiment_request_object = nil,
|
103
|
+
def analyze_document_sentiment(analyze_sentiment_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
72
104
|
command = make_simple_command(:post, 'v1beta1/documents:analyzeSentiment', options)
|
73
105
|
command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest::Representation
|
74
106
|
command.request_object = analyze_sentiment_request_object
|
75
107
|
command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse::Representation
|
76
108
|
command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse
|
77
|
-
command.query['fields'] = fields unless fields.nil?
|
78
109
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
79
111
|
execute_or_queue_command(command, &block)
|
80
112
|
end
|
81
113
|
|
82
114
|
# A convenience method that provides all the features that analyzeSentiment,
|
83
115
|
# analyzeEntities, and analyzeSyntax provide in one call.
|
84
116
|
# @param [Google::Apis::LanguageV1beta1::AnnotateTextRequest] annotate_text_request_object
|
85
|
-
# @param [String] fields
|
86
|
-
# Selector specifying which fields to include in a partial response.
|
87
117
|
# @param [String] quota_user
|
88
118
|
# Available to use for quota purposes for server-side applications. Can be any
|
89
119
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
120
|
+
# @param [String] fields
|
121
|
+
# Selector specifying which fields to include in a partial response.
|
90
122
|
# @param [Google::Apis::RequestOptions] options
|
91
123
|
# Request-specific options
|
92
124
|
#
|
@@ -99,14 +131,14 @@ module Google
|
|
99
131
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
100
132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
101
133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
102
|
-
def annotate_document_text(annotate_text_request_object = nil,
|
134
|
+
def annotate_document_text(annotate_text_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
103
135
|
command = make_simple_command(:post, 'v1beta1/documents:annotateText', options)
|
104
136
|
command.request_representation = Google::Apis::LanguageV1beta1::AnnotateTextRequest::Representation
|
105
137
|
command.request_object = annotate_text_request_object
|
106
138
|
command.response_representation = Google::Apis::LanguageV1beta1::AnnotateTextResponse::Representation
|
107
139
|
command.response_class = Google::Apis::LanguageV1beta1::AnnotateTextResponse
|
108
|
-
command.query['fields'] = fields unless fields.nil?
|
109
140
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
141
|
+
command.query['fields'] = fields unless fields.nil?
|
110
142
|
execute_or_queue_command(command, &block)
|
111
143
|
end
|
112
144
|
|
@@ -114,11 +146,11 @@ module Google
|
|
114
146
|
# along with entity types, salience, mentions for each entity, and
|
115
147
|
# other properties.
|
116
148
|
# @param [Google::Apis::LanguageV1beta1::AnalyzeEntitiesRequest] analyze_entities_request_object
|
117
|
-
# @param [String] fields
|
118
|
-
# Selector specifying which fields to include in a partial response.
|
119
149
|
# @param [String] quota_user
|
120
150
|
# Available to use for quota purposes for server-side applications. Can be any
|
121
151
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
152
|
+
# @param [String] fields
|
153
|
+
# Selector specifying which fields to include in a partial response.
|
122
154
|
# @param [Google::Apis::RequestOptions] options
|
123
155
|
# Request-specific options
|
124
156
|
#
|
@@ -131,46 +163,14 @@ module Google
|
|
131
163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
132
164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
133
165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
134
|
-
def analyze_document_entities(analyze_entities_request_object = nil,
|
166
|
+
def analyze_document_entities(analyze_entities_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
135
167
|
command = make_simple_command(:post, 'v1beta1/documents:analyzeEntities', options)
|
136
168
|
command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeEntitiesRequest::Representation
|
137
169
|
command.request_object = analyze_entities_request_object
|
138
170
|
command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse::Representation
|
139
171
|
command.response_class = Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse
|
140
|
-
command.query['fields'] = fields unless fields.nil?
|
141
172
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
142
|
-
execute_or_queue_command(command, &block)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Analyzes the syntax of the text and provides sentence boundaries and
|
146
|
-
# tokenization along with part of speech tags, dependency trees, and other
|
147
|
-
# properties.
|
148
|
-
# @param [Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest] analyze_syntax_request_object
|
149
|
-
# @param [String] fields
|
150
|
-
# Selector specifying which fields to include in a partial response.
|
151
|
-
# @param [String] quota_user
|
152
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
153
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
154
|
-
# @param [Google::Apis::RequestOptions] options
|
155
|
-
# Request-specific options
|
156
|
-
#
|
157
|
-
# @yield [result, err] Result & error if block supplied
|
158
|
-
# @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse] parsed result object
|
159
|
-
# @yieldparam err [StandardError] error object if request failed
|
160
|
-
#
|
161
|
-
# @return [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse]
|
162
|
-
#
|
163
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
164
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
165
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
166
|
-
def analyze_document_syntax(analyze_syntax_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
-
command = make_simple_command(:post, 'v1beta1/documents:analyzeSyntax', options)
|
168
|
-
command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest::Representation
|
169
|
-
command.request_object = analyze_syntax_request_object
|
170
|
-
command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse::Representation
|
171
|
-
command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse
|
172
173
|
command.query['fields'] = fields unless fields.nil?
|
173
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
174
174
|
execute_or_queue_command(command, &block)
|
175
175
|
end
|
176
176
|
|