google-cloud-vision-v1p3beta1 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/vision/v1p3beta1.rb +1 -1
- data/lib/google/cloud/vision/v1p3beta1/image_annotator.rb +1 -1
- data/lib/google/cloud/vision/v1p3beta1/image_annotator/client.rb +70 -70
- data/lib/google/cloud/vision/v1p3beta1/image_annotator/credentials.rb +1 -1
- data/lib/google/cloud/vision/v1p3beta1/image_annotator/operations.rb +100 -100
- data/lib/google/cloud/vision/v1p3beta1/image_annotator/paths.rb +3 -3
- data/lib/google/cloud/vision/v1p3beta1/product_search.rb +4 -4
- data/lib/google/cloud/vision/v1p3beta1/product_search/client.rb +356 -356
- data/lib/google/cloud/vision/v1p3beta1/product_search/credentials.rb +1 -1
- data/lib/google/cloud/vision/v1p3beta1/product_search/operations.rb +100 -100
- data/lib/google/cloud/vision/v1p3beta1/product_search/paths.rb +12 -12
- data/lib/google/cloud/vision/v1p3beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/vision/v1p3beta1/geometry.rb +20 -20
- data/proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb +172 -172
- data/proto_docs/google/cloud/vision/v1p3beta1/product_search.rb +29 -29
- data/proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb +133 -133
- data/proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb +49 -49
- data/proto_docs/google/cloud/vision/v1p3beta1/web_detection.rb +28 -28
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/protobuf/wrappers.rb +27 -27
- data/proto_docs/google/rpc/status.rb +6 -6
- data/proto_docs/google/type/color.rb +6 -6
- data/proto_docs/google/type/latlng.rb +4 -4
- metadata +2 -2
@@ -27,42 +27,42 @@ module Google
|
|
27
27
|
# Each structural component, starting from Page, may further have their own
|
28
28
|
# properties. Properties describe detected languages, breaks etc.. Please refer
|
29
29
|
# to the
|
30
|
-
# {Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty TextAnnotation.TextProperty}
|
30
|
+
# {::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty TextAnnotation.TextProperty}
|
31
31
|
# message definition below for more detail.
|
32
32
|
# @!attribute [rw] pages
|
33
|
-
# @return [Array
|
33
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::Page>]
|
34
34
|
# List of pages detected by OCR.
|
35
35
|
# @!attribute [rw] text
|
36
|
-
# @return [String]
|
36
|
+
# @return [::String]
|
37
37
|
# UTF-8 text detected on the pages.
|
38
38
|
class TextAnnotation
|
39
|
-
include Google::Protobuf::MessageExts
|
40
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
41
|
|
42
42
|
# Detected language for a structural component.
|
43
43
|
# @!attribute [rw] language_code
|
44
|
-
# @return [String]
|
44
|
+
# @return [::String]
|
45
45
|
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
46
46
|
# information, see
|
47
47
|
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
48
48
|
# @!attribute [rw] confidence
|
49
|
-
# @return [Float]
|
49
|
+
# @return [::Float]
|
50
50
|
# Confidence of detected language. Range [0, 1].
|
51
51
|
class DetectedLanguage
|
52
|
-
include Google::Protobuf::MessageExts
|
53
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
include ::Google::Protobuf::MessageExts
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
54
54
|
end
|
55
55
|
|
56
56
|
# Detected start or end of a structural component.
|
57
57
|
# @!attribute [rw] type
|
58
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak::BreakType]
|
58
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak::BreakType]
|
59
59
|
# Detected break type.
|
60
60
|
# @!attribute [rw] is_prefix
|
61
|
-
# @return [Boolean]
|
61
|
+
# @return [::Boolean]
|
62
62
|
# True if break prepends the element.
|
63
63
|
class DetectedBreak
|
64
|
-
include Google::Protobuf::MessageExts
|
65
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
66
|
|
67
67
|
# Enum to denote the type of break found. New line, space etc.
|
68
68
|
module BreakType
|
@@ -89,46 +89,46 @@ module Google
|
|
89
89
|
|
90
90
|
# Additional information detected on the structural component.
|
91
91
|
# @!attribute [rw] detected_languages
|
92
|
-
# @return [Array
|
92
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedLanguage>]
|
93
93
|
# A list of detected languages together with confidence.
|
94
94
|
# @!attribute [rw] detected_break
|
95
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak]
|
95
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak]
|
96
96
|
# Detected start or end of a text segment.
|
97
97
|
class TextProperty
|
98
|
-
include Google::Protobuf::MessageExts
|
99
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
103
|
# Detected page from OCR.
|
104
104
|
# @!attribute [rw] property
|
105
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
105
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
106
106
|
# Additional information detected on the page.
|
107
107
|
# @!attribute [rw] width
|
108
|
-
# @return [Integer]
|
108
|
+
# @return [::Integer]
|
109
109
|
# Page width. For PDFs the unit is points. For images (including
|
110
110
|
# TIFFs) the unit is pixels.
|
111
111
|
# @!attribute [rw] height
|
112
|
-
# @return [Integer]
|
112
|
+
# @return [::Integer]
|
113
113
|
# Page height. For PDFs the unit is points. For images (including
|
114
114
|
# TIFFs) the unit is pixels.
|
115
115
|
# @!attribute [rw] blocks
|
116
|
-
# @return [Array
|
116
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::Block>]
|
117
117
|
# List of blocks of text, images etc on this page.
|
118
118
|
# @!attribute [rw] confidence
|
119
|
-
# @return [Float]
|
119
|
+
# @return [::Float]
|
120
120
|
# Confidence of the OCR results on the page. Range [0, 1].
|
121
121
|
class Page
|
122
|
-
include Google::Protobuf::MessageExts
|
123
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
include ::Google::Protobuf::MessageExts
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
124
124
|
end
|
125
125
|
|
126
126
|
# Logical element on the page.
|
127
127
|
# @!attribute [rw] property
|
128
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
128
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
129
129
|
# Additional information detected for the block.
|
130
130
|
# @!attribute [rw] bounding_box
|
131
|
-
# @return [Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
131
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
132
132
|
# The bounding box for the block.
|
133
133
|
# The vertices are in the order of top-left, top-right, bottom-right,
|
134
134
|
# bottom-left. When a rotation of the bounding box is detected the rotation
|
@@ -150,17 +150,17 @@ module Google
|
|
150
150
|
#
|
151
151
|
# and the vertice order will still be (0, 1, 2, 3).
|
152
152
|
# @!attribute [rw] paragraphs
|
153
|
-
# @return [Array
|
153
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::Paragraph>]
|
154
154
|
# List of paragraphs in this block (if this blocks is of type text).
|
155
155
|
# @!attribute [rw] block_type
|
156
|
-
# @return [Google::Cloud::Vision::V1p3beta1::Block::BlockType]
|
156
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::Block::BlockType]
|
157
157
|
# Detected block type (text, image etc) for this block.
|
158
158
|
# @!attribute [rw] confidence
|
159
|
-
# @return [Float]
|
159
|
+
# @return [::Float]
|
160
160
|
# Confidence of the OCR results on the block. Range [0, 1].
|
161
161
|
class Block
|
162
|
-
include Google::Protobuf::MessageExts
|
163
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
162
|
+
include ::Google::Protobuf::MessageExts
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
164
|
|
165
165
|
# Type of a block (text, image etc) as identified by OCR.
|
166
166
|
module BlockType
|
@@ -186,10 +186,10 @@ module Google
|
|
186
186
|
|
187
187
|
# Structural unit of text representing a number of words in certain order.
|
188
188
|
# @!attribute [rw] property
|
189
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
189
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
190
190
|
# Additional information detected for the paragraph.
|
191
191
|
# @!attribute [rw] bounding_box
|
192
|
-
# @return [Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
192
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
193
193
|
# The bounding box for the paragraph.
|
194
194
|
# The vertices are in the order of top-left, top-right, bottom-right,
|
195
195
|
# bottom-left. When a rotation of the bounding box is detected the rotation
|
@@ -206,22 +206,22 @@ module Google
|
|
206
206
|
# 1----0
|
207
207
|
# and the vertice order will still be (0, 1, 2, 3).
|
208
208
|
# @!attribute [rw] words
|
209
|
-
# @return [Array
|
209
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::Word>]
|
210
210
|
# List of words in this paragraph.
|
211
211
|
# @!attribute [rw] confidence
|
212
|
-
# @return [Float]
|
212
|
+
# @return [::Float]
|
213
213
|
# Confidence of the OCR results for the paragraph. Range [0, 1].
|
214
214
|
class Paragraph
|
215
|
-
include Google::Protobuf::MessageExts
|
216
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
215
|
+
include ::Google::Protobuf::MessageExts
|
216
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
217
217
|
end
|
218
218
|
|
219
219
|
# A word representation.
|
220
220
|
# @!attribute [rw] property
|
221
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
221
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
222
222
|
# Additional information detected for the word.
|
223
223
|
# @!attribute [rw] bounding_box
|
224
|
-
# @return [Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
224
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
225
225
|
# The bounding box for the word.
|
226
226
|
# The vertices are in the order of top-left, top-right, bottom-right,
|
227
227
|
# bottom-left. When a rotation of the bounding box is detected the rotation
|
@@ -238,23 +238,23 @@ module Google
|
|
238
238
|
# 1----0
|
239
239
|
# and the vertice order will still be (0, 1, 2, 3).
|
240
240
|
# @!attribute [rw] symbols
|
241
|
-
# @return [Array
|
241
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::Symbol>]
|
242
242
|
# List of symbols in the word.
|
243
243
|
# The order of the symbols follows the natural reading order.
|
244
244
|
# @!attribute [rw] confidence
|
245
|
-
# @return [Float]
|
245
|
+
# @return [::Float]
|
246
246
|
# Confidence of the OCR results for the word. Range [0, 1].
|
247
247
|
class Word
|
248
|
-
include Google::Protobuf::MessageExts
|
249
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
250
|
end
|
251
251
|
|
252
252
|
# A single symbol representation.
|
253
253
|
# @!attribute [rw] property
|
254
|
-
# @return [Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
254
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty]
|
255
255
|
# Additional information detected for the symbol.
|
256
256
|
# @!attribute [rw] bounding_box
|
257
|
-
# @return [Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
257
|
+
# @return [::Google::Cloud::Vision::V1p3beta1::BoundingPoly]
|
258
258
|
# The bounding box for the symbol.
|
259
259
|
# The vertices are in the order of top-left, top-right, bottom-right,
|
260
260
|
# bottom-left. When a rotation of the bounding box is detected the rotation
|
@@ -271,14 +271,14 @@ module Google
|
|
271
271
|
# 1----0
|
272
272
|
# and the vertice order will still be (0, 1, 2, 3).
|
273
273
|
# @!attribute [rw] text
|
274
|
-
# @return [String]
|
274
|
+
# @return [::String]
|
275
275
|
# The actual UTF-8 representation of the symbol.
|
276
276
|
# @!attribute [rw] confidence
|
277
|
-
# @return [Float]
|
277
|
+
# @return [::Float]
|
278
278
|
# Confidence of the OCR results for the symbol. Range [0, 1].
|
279
279
|
class Symbol
|
280
|
-
include Google::Protobuf::MessageExts
|
281
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
280
|
+
include ::Google::Protobuf::MessageExts
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
282
|
end
|
283
283
|
end
|
284
284
|
end
|
@@ -23,95 +23,95 @@ module Google
|
|
23
23
|
module V1p3beta1
|
24
24
|
# Relevant information for the image from the Internet.
|
25
25
|
# @!attribute [rw] web_entities
|
26
|
-
# @return [Array
|
26
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebEntity>]
|
27
27
|
# Deduced entities from similar images on the Internet.
|
28
28
|
# @!attribute [rw] full_matching_images
|
29
|
-
# @return [Array
|
29
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebImage>]
|
30
30
|
# Fully matching images from the Internet.
|
31
31
|
# Can include resized copies of the query image.
|
32
32
|
# @!attribute [rw] partial_matching_images
|
33
|
-
# @return [Array
|
33
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebImage>]
|
34
34
|
# Partial matching images from the Internet.
|
35
35
|
# Those images are similar enough to share some key-point features. For
|
36
36
|
# example an original image will likely have partial matching for its crops.
|
37
37
|
# @!attribute [rw] pages_with_matching_images
|
38
|
-
# @return [Array
|
38
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebPage>]
|
39
39
|
# Web pages containing the matching images from the Internet.
|
40
40
|
# @!attribute [rw] visually_similar_images
|
41
|
-
# @return [Array
|
41
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebImage>]
|
42
42
|
# The visually similar image results.
|
43
43
|
# @!attribute [rw] best_guess_labels
|
44
|
-
# @return [Array
|
44
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebLabel>]
|
45
45
|
# Best guess text labels for the request image.
|
46
46
|
class WebDetection
|
47
|
-
include Google::Protobuf::MessageExts
|
48
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
49
|
|
50
50
|
# Entity deduced from similar images on the Internet.
|
51
51
|
# @!attribute [rw] entity_id
|
52
|
-
# @return [String]
|
52
|
+
# @return [::String]
|
53
53
|
# Opaque entity ID.
|
54
54
|
# @!attribute [rw] score
|
55
|
-
# @return [Float]
|
55
|
+
# @return [::Float]
|
56
56
|
# Overall relevancy score for the entity.
|
57
57
|
# Not normalized and not comparable across different image queries.
|
58
58
|
# @!attribute [rw] description
|
59
|
-
# @return [String]
|
59
|
+
# @return [::String]
|
60
60
|
# Canonical description of the entity, in English.
|
61
61
|
class WebEntity
|
62
|
-
include Google::Protobuf::MessageExts
|
63
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
64
|
end
|
65
65
|
|
66
66
|
# Metadata for online images.
|
67
67
|
# @!attribute [rw] url
|
68
|
-
# @return [String]
|
68
|
+
# @return [::String]
|
69
69
|
# The result image URL.
|
70
70
|
# @!attribute [rw] score
|
71
|
-
# @return [Float]
|
71
|
+
# @return [::Float]
|
72
72
|
# (Deprecated) Overall relevancy score for the image.
|
73
73
|
class WebImage
|
74
|
-
include Google::Protobuf::MessageExts
|
75
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
include ::Google::Protobuf::MessageExts
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
76
|
end
|
77
77
|
|
78
78
|
# Metadata for web pages.
|
79
79
|
# @!attribute [rw] url
|
80
|
-
# @return [String]
|
80
|
+
# @return [::String]
|
81
81
|
# The result web page URL.
|
82
82
|
# @!attribute [rw] score
|
83
|
-
# @return [Float]
|
83
|
+
# @return [::Float]
|
84
84
|
# (Deprecated) Overall relevancy score for the web page.
|
85
85
|
# @!attribute [rw] page_title
|
86
|
-
# @return [String]
|
86
|
+
# @return [::String]
|
87
87
|
# Title for the web page, may contain HTML markups.
|
88
88
|
# @!attribute [rw] full_matching_images
|
89
|
-
# @return [Array
|
89
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebImage>]
|
90
90
|
# Fully matching images on the page.
|
91
91
|
# Can include resized copies of the query image.
|
92
92
|
# @!attribute [rw] partial_matching_images
|
93
|
-
# @return [Array
|
93
|
+
# @return [::Array<::Google::Cloud::Vision::V1p3beta1::WebDetection::WebImage>]
|
94
94
|
# Partial matching images on the page.
|
95
95
|
# Those images are similar enough to share some key-point features. For
|
96
96
|
# example an original image will likely have partial matching for its
|
97
97
|
# crops.
|
98
98
|
class WebPage
|
99
|
-
include Google::Protobuf::MessageExts
|
100
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
101
|
end
|
102
102
|
|
103
103
|
# Label to provide extra metadata for the web detection.
|
104
104
|
# @!attribute [rw] label
|
105
|
-
# @return [String]
|
105
|
+
# @return [::String]
|
106
106
|
# Label for extra metadata.
|
107
107
|
# @!attribute [rw] language_code
|
108
|
-
# @return [String]
|
108
|
+
# @return [::String]
|
109
109
|
# The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
|
110
110
|
# For more information, see
|
111
111
|
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
112
112
|
class WebLabel
|
113
|
-
include Google::Protobuf::MessageExts
|
114
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
115
|
end
|
116
116
|
end
|
117
117
|
end
|
@@ -22,26 +22,26 @@ module Google
|
|
22
22
|
# This resource represents a long-running operation that is the result of a
|
23
23
|
# network API call.
|
24
24
|
# @!attribute [rw] name
|
25
|
-
# @return [String]
|
25
|
+
# @return [::String]
|
26
26
|
# The server-assigned name, which is only unique within the same service that
|
27
27
|
# originally returns it. If you use the default HTTP mapping, the
|
28
28
|
# `name` should have the format of `operations/some/unique/name`.
|
29
29
|
# @!attribute [rw] metadata
|
30
|
-
# @return [Google::Protobuf::Any]
|
30
|
+
# @return [::Google::Protobuf::Any]
|
31
31
|
# Service-specific metadata associated with the operation. It typically
|
32
32
|
# contains progress information and common metadata such as create time.
|
33
33
|
# Some services might not provide such metadata. Any method that returns a
|
34
34
|
# long-running operation should document the metadata type, if any.
|
35
35
|
# @!attribute [rw] done
|
36
|
-
# @return [Boolean]
|
36
|
+
# @return [::Boolean]
|
37
37
|
# If the value is `false`, it means the operation is still in progress.
|
38
38
|
# If true, the operation is completed, and either `error` or `response` is
|
39
39
|
# available.
|
40
40
|
# @!attribute [rw] error
|
41
|
-
# @return [Google::Rpc::Status]
|
41
|
+
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
|
-
# @return [Google::Protobuf::Any]
|
44
|
+
# @return [::Google::Protobuf::Any]
|
45
45
|
# The normal response of the operation in case of success. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
@@ -51,65 +51,65 @@ module Google
|
|
51
51
|
# is `TakeSnapshot()`, the inferred response type is
|
52
52
|
# `TakeSnapshotResponse`.
|
53
53
|
class Operation
|
54
|
-
include Google::Protobuf::MessageExts
|
55
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
58
|
# The request message for Operations.GetOperation.
|
59
59
|
# @!attribute [rw] name
|
60
|
-
# @return [String]
|
60
|
+
# @return [::String]
|
61
61
|
# The name of the operation resource.
|
62
62
|
class GetOperationRequest
|
63
|
-
include Google::Protobuf::MessageExts
|
64
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
65
|
end
|
66
66
|
|
67
67
|
# The request message for Operations.ListOperations.
|
68
68
|
# @!attribute [rw] name
|
69
|
-
# @return [String]
|
69
|
+
# @return [::String]
|
70
70
|
# The name of the operation collection.
|
71
71
|
# @!attribute [rw] filter
|
72
|
-
# @return [String]
|
72
|
+
# @return [::String]
|
73
73
|
# The standard list filter.
|
74
74
|
# @!attribute [rw] page_size
|
75
|
-
# @return [Integer]
|
75
|
+
# @return [::Integer]
|
76
76
|
# The standard list page size.
|
77
77
|
# @!attribute [rw] page_token
|
78
|
-
# @return [String]
|
78
|
+
# @return [::String]
|
79
79
|
# The standard list page token.
|
80
80
|
class ListOperationsRequest
|
81
|
-
include Google::Protobuf::MessageExts
|
82
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
83
|
end
|
84
84
|
|
85
85
|
# The response message for Operations.ListOperations.
|
86
86
|
# @!attribute [rw] operations
|
87
|
-
# @return [Array
|
87
|
+
# @return [::Array<::Google::Longrunning::Operation>]
|
88
88
|
# A list of operations that matches the specified filter in the request.
|
89
89
|
# @!attribute [rw] next_page_token
|
90
|
-
# @return [String]
|
90
|
+
# @return [::String]
|
91
91
|
# The standard List next-page token.
|
92
92
|
class ListOperationsResponse
|
93
|
-
include Google::Protobuf::MessageExts
|
94
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
95
|
end
|
96
96
|
|
97
97
|
# The request message for Operations.CancelOperation.
|
98
98
|
# @!attribute [rw] name
|
99
|
-
# @return [String]
|
99
|
+
# @return [::String]
|
100
100
|
# The name of the operation resource to be cancelled.
|
101
101
|
class CancelOperationRequest
|
102
|
-
include Google::Protobuf::MessageExts
|
103
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
104
|
end
|
105
105
|
|
106
106
|
# The request message for Operations.DeleteOperation.
|
107
107
|
# @!attribute [rw] name
|
108
|
-
# @return [String]
|
108
|
+
# @return [::String]
|
109
109
|
# The name of the operation resource to be deleted.
|
110
110
|
class DeleteOperationRequest
|
111
|
-
include Google::Protobuf::MessageExts
|
112
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
113
|
end
|
114
114
|
|
115
115
|
# A message representing the message types used by a long-running operation.
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# };
|
125
125
|
# }
|
126
126
|
# @!attribute [rw] response_type
|
127
|
-
# @return [String]
|
127
|
+
# @return [::String]
|
128
128
|
# Required. The message name of the primary return type for this
|
129
129
|
# long-running operation.
|
130
130
|
# This type will be used to deserialize the LRO's response.
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
#
|
135
135
|
# Note: Altering this value constitutes a breaking change.
|
136
136
|
# @!attribute [rw] metadata_type
|
137
|
-
# @return [String]
|
137
|
+
# @return [::String]
|
138
138
|
# Required. The message name of the metadata type for this long-running
|
139
139
|
# operation.
|
140
140
|
#
|
@@ -143,8 +143,8 @@ module Google
|
|
143
143
|
#
|
144
144
|
# Note: Altering this value constitutes a breaking change.
|
145
145
|
class OperationInfo
|
146
|
-
include Google::Protobuf::MessageExts
|
147
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
148
|
end
|
149
149
|
end
|
150
150
|
end
|