google-cloud-automl-v1beta1 0.1.0 → 0.1.1
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/automl/v1beta1.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +488 -488
- data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +100 -100
- data/lib/google/cloud/automl/v1beta1/automl/paths.rb +25 -25
- data/lib/google/cloud/automl/v1beta1/prediction_service.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +78 -78
- data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +100 -100
- data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +3 -3
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +13 -13
- data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/classification.rb +43 -43
- data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +49 -49
- data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +65 -65
- data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +23 -23
- data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/detection.rb +32 -32
- data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/image.rb +38 -38
- data/proto_docs/google/cloud/automl/v1beta1/io.rb +85 -85
- data/proto_docs/google/cloud/automl/v1beta1/model.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/operations.rb +56 -56
- data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +41 -41
- data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/regression.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/service.rb +167 -167
- data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +9 -9
- data/proto_docs/google/cloud/automl/v1beta1/tables.rb +47 -47
- data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/text.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +14 -14
- data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/translation.rb +16 -16
- data/proto_docs/google/cloud/automl/v1beta1/video.rb +8 -8
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.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/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -23,20 +23,20 @@ module Google
|
|
23
23
|
module V1beta1
|
24
24
|
# A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding.
|
25
25
|
# @!attribute [rw] content
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Output only. The content of the TextSegment.
|
28
28
|
# @!attribute [rw] start_offset
|
29
|
-
# @return [Integer]
|
29
|
+
# @return [::Integer]
|
30
30
|
# Required. Zero-based character index of the first character of the text
|
31
31
|
# segment (counting characters from the beginning of the text).
|
32
32
|
# @!attribute [rw] end_offset
|
33
|
-
# @return [Integer]
|
33
|
+
# @return [::Integer]
|
34
34
|
# Required. Zero-based character index of the first character past the end of
|
35
35
|
# the text segment (counting character from the beginning of the text).
|
36
36
|
# The character at the end_offset is NOT included in the text segment.
|
37
37
|
class TextSegment
|
38
|
-
include Google::Protobuf::MessageExts
|
39
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module V1beta1
|
24
24
|
# Contains annotation details specific to text sentiment.
|
25
25
|
# @!attribute [rw] sentiment
|
26
|
-
# @return [Integer]
|
26
|
+
# @return [::Integer]
|
27
27
|
# Output only. The sentiment with the semantic, as given to the
|
28
|
-
# {Google::Cloud::AutoML::V1beta1::AutoML::Client#import_data AutoMl.ImportData} when populating the dataset from which the model used
|
28
|
+
# {::Google::Cloud::AutoML::V1beta1::AutoML::Client#import_data AutoMl.ImportData} when populating the dataset from which the model used
|
29
29
|
# for the prediction had been trained.
|
30
30
|
# The sentiment values are between 0 and
|
31
31
|
# Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
|
@@ -37,48 +37,48 @@ module Google
|
|
37
37
|
# The sentiment shouldn't be confused with "score" or "magnitude"
|
38
38
|
# from the previous Natural Language Sentiment Analysis API.
|
39
39
|
class TextSentimentAnnotation
|
40
|
-
include Google::Protobuf::MessageExts
|
41
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
42
|
end
|
43
43
|
|
44
44
|
# Model evaluation metrics for text sentiment problems.
|
45
45
|
# @!attribute [rw] precision
|
46
|
-
# @return [Float]
|
46
|
+
# @return [::Float]
|
47
47
|
# Output only. Precision.
|
48
48
|
# @!attribute [rw] recall
|
49
|
-
# @return [Float]
|
49
|
+
# @return [::Float]
|
50
50
|
# Output only. Recall.
|
51
51
|
# @!attribute [rw] f1_score
|
52
|
-
# @return [Float]
|
52
|
+
# @return [::Float]
|
53
53
|
# Output only. The harmonic mean of recall and precision.
|
54
54
|
# @!attribute [rw] mean_absolute_error
|
55
|
-
# @return [Float]
|
55
|
+
# @return [::Float]
|
56
56
|
# Output only. Mean absolute error. Only set for the overall model
|
57
57
|
# evaluation, not for evaluation of a single annotation spec.
|
58
58
|
# @!attribute [rw] mean_squared_error
|
59
|
-
# @return [Float]
|
59
|
+
# @return [::Float]
|
60
60
|
# Output only. Mean squared error. Only set for the overall model
|
61
61
|
# evaluation, not for evaluation of a single annotation spec.
|
62
62
|
# @!attribute [rw] linear_kappa
|
63
|
-
# @return [Float]
|
63
|
+
# @return [::Float]
|
64
64
|
# Output only. Linear weighted kappa. Only set for the overall model
|
65
65
|
# evaluation, not for evaluation of a single annotation spec.
|
66
66
|
# @!attribute [rw] quadratic_kappa
|
67
|
-
# @return [Float]
|
67
|
+
# @return [::Float]
|
68
68
|
# Output only. Quadratic weighted kappa. Only set for the overall model
|
69
69
|
# evaluation, not for evaluation of a single annotation spec.
|
70
70
|
# @!attribute [rw] confusion_matrix
|
71
|
-
# @return [Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics::ConfusionMatrix]
|
71
|
+
# @return [::Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics::ConfusionMatrix]
|
72
72
|
# Output only. Confusion matrix of the evaluation.
|
73
73
|
# Only set for the overall model evaluation, not for evaluation of a single
|
74
74
|
# annotation spec.
|
75
75
|
# @!attribute [rw] annotation_spec_id
|
76
|
-
# @return [Array
|
76
|
+
# @return [::Array<::String>]
|
77
77
|
# Output only. The annotation spec ids used for this evaluation.
|
78
78
|
# Deprecated .
|
79
79
|
class TextSentimentEvaluationMetrics
|
80
|
-
include Google::Protobuf::MessageExts
|
81
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
80
|
+
include ::Google::Protobuf::MessageExts
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
@@ -23,55 +23,55 @@ module Google
|
|
23
23
|
module V1beta1
|
24
24
|
# Dataset metadata that is specific to translation.
|
25
25
|
# @!attribute [rw] source_language_code
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. The BCP-47 language code of the source language.
|
28
28
|
# @!attribute [rw] target_language_code
|
29
|
-
# @return [String]
|
29
|
+
# @return [::String]
|
30
30
|
# Required. The BCP-47 language code of the target language.
|
31
31
|
class TranslationDatasetMetadata
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
|
36
36
|
# Evaluation metrics for the dataset.
|
37
37
|
# @!attribute [rw] bleu_score
|
38
|
-
# @return [Float]
|
38
|
+
# @return [::Float]
|
39
39
|
# Output only. BLEU score.
|
40
40
|
# @!attribute [rw] base_bleu_score
|
41
|
-
# @return [Float]
|
41
|
+
# @return [::Float]
|
42
42
|
# Output only. BLEU score for base model.
|
43
43
|
class TranslationEvaluationMetrics
|
44
|
-
include Google::Protobuf::MessageExts
|
45
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
46
|
end
|
47
47
|
|
48
48
|
# Model metadata that is specific to translation.
|
49
49
|
# @!attribute [rw] base_model
|
50
|
-
# @return [String]
|
50
|
+
# @return [::String]
|
51
51
|
# The resource name of the model to use as a baseline to train the custom
|
52
52
|
# model. If unset, we use the default base model provided by Google
|
53
53
|
# Translate. Format:
|
54
54
|
# `projects/{project_id}/locations/{location_id}/models/{model_id}`
|
55
55
|
# @!attribute [rw] source_language_code
|
56
|
-
# @return [String]
|
56
|
+
# @return [::String]
|
57
57
|
# Output only. Inferred from the dataset.
|
58
58
|
# The source languge (The BCP-47 language code) that is used for training.
|
59
59
|
# @!attribute [rw] target_language_code
|
60
|
-
# @return [String]
|
60
|
+
# @return [::String]
|
61
61
|
# Output only. The target languge (The BCP-47 language code) that is used for
|
62
62
|
# training.
|
63
63
|
class TranslationModelMetadata
|
64
|
-
include Google::Protobuf::MessageExts
|
65
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
66
|
end
|
67
67
|
|
68
68
|
# Annotation details specific to translation.
|
69
69
|
# @!attribute [rw] translated_content
|
70
|
-
# @return [Google::Cloud::AutoML::V1beta1::TextSnippet]
|
70
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TextSnippet]
|
71
71
|
# Output only . The translated content.
|
72
72
|
class TranslationAnnotation
|
73
|
-
include Google::Protobuf::MessageExts
|
74
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
75
|
end
|
76
76
|
end
|
77
77
|
end
|
@@ -24,26 +24,26 @@ module Google
|
|
24
24
|
# Dataset metadata specific to video classification.
|
25
25
|
# All Video Classification datasets are treated as multi label.
|
26
26
|
class VideoClassificationDatasetMetadata
|
27
|
-
include Google::Protobuf::MessageExts
|
28
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
27
|
+
include ::Google::Protobuf::MessageExts
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
29
29
|
end
|
30
30
|
|
31
31
|
# Dataset metadata specific to video object tracking.
|
32
32
|
class VideoObjectTrackingDatasetMetadata
|
33
|
-
include Google::Protobuf::MessageExts
|
34
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
35
|
end
|
36
36
|
|
37
37
|
# Model metadata specific to video classification.
|
38
38
|
class VideoClassificationModelMetadata
|
39
|
-
include Google::Protobuf::MessageExts
|
40
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
41
|
end
|
42
42
|
|
43
43
|
# Model metadata specific to video object tracking.
|
44
44
|
class VideoObjectTrackingModelMetadata
|
45
|
-
include Google::Protobuf::MessageExts
|
46
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
47
|
end
|
48
48
|
end
|
49
49
|
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
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# "value": "1.212s"
|
100
100
|
# }
|
101
101
|
# @!attribute [rw] type_url
|
102
|
-
# @return [String]
|
102
|
+
# @return [::String]
|
103
103
|
# A URL/resource name that uniquely identifies the type of the serialized
|
104
104
|
# protocol buffer message. This string must contain at least
|
105
105
|
# one "/" character. The last segment of the URL's path must represent
|
@@ -128,11 +128,11 @@ module Google
|
|
128
128
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
129
129
|
# used with implementation specific semantics.
|
130
130
|
# @!attribute [rw] value
|
131
|
-
# @return [String]
|
131
|
+
# @return [::String]
|
132
132
|
# Must be a valid serialized protocol buffer of the above specified type.
|
133
133
|
class Any
|
134
|
-
include Google::Protobuf::MessageExts
|
135
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
136
|
end
|
137
137
|
end
|
138
138
|
end
|
@@ -78,12 +78,12 @@ module Google
|
|
78
78
|
# be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
79
79
|
# microsecond should be expressed in JSON format as "3.000001s".
|
80
80
|
# @!attribute [rw] seconds
|
81
|
-
# @return [Integer]
|
81
|
+
# @return [::Integer]
|
82
82
|
# Signed seconds of the span of time. Must be from -315,576,000,000
|
83
83
|
# to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
84
84
|
# 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
85
85
|
# @!attribute [rw] nanos
|
86
|
-
# @return [Integer]
|
86
|
+
# @return [::Integer]
|
87
87
|
# Signed fractions of a second at nanosecond resolution of the span
|
88
88
|
# of time. Durations less than one second are represented with a 0
|
89
89
|
# `seconds` field and a positive or negative `nanos` field. For durations
|
@@ -91,8 +91,8 @@ module Google
|
|
91
91
|
# of the same sign as the `seconds` field. Must be from -999,999,999
|
92
92
|
# to +999,999,999 inclusive.
|
93
93
|
class Duration
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
#
|
30
30
|
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
31
|
class Empty
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -219,11 +219,11 @@ module Google
|
|
219
219
|
# request should verify the included field paths, and return an
|
220
220
|
# `INVALID_ARGUMENT` error if any path is unmappable.
|
221
221
|
# @!attribute [rw] paths
|
222
|
-
# @return [Array
|
222
|
+
# @return [::Array<::String>]
|
223
223
|
# The set of field mask paths.
|
224
224
|
class FieldMask
|
225
|
-
include Google::Protobuf::MessageExts
|
226
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
227
|
end
|
228
228
|
end
|
229
229
|
end
|
@@ -28,19 +28,19 @@ module Google
|
|
28
28
|
#
|
29
29
|
# The JSON representation for `Struct` is JSON object.
|
30
30
|
# @!attribute [rw] fields
|
31
|
-
# @return [Google::Protobuf::Map{String => Google::Protobuf::Value}]
|
31
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
32
32
|
# Unordered map of dynamically typed values.
|
33
33
|
class Struct
|
34
|
-
include Google::Protobuf::MessageExts
|
35
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
36
|
|
37
37
|
# @!attribute [rw] key
|
38
|
-
# @return [String]
|
38
|
+
# @return [::String]
|
39
39
|
# @!attribute [rw] value
|
40
|
-
# @return [Google::Protobuf::Value]
|
40
|
+
# @return [::Google::Protobuf::Value]
|
41
41
|
class FieldsEntry
|
42
|
-
include Google::Protobuf::MessageExts
|
43
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -51,37 +51,37 @@ module Google
|
|
51
51
|
#
|
52
52
|
# The JSON representation for `Value` is JSON value.
|
53
53
|
# @!attribute [rw] null_value
|
54
|
-
# @return [Google::Protobuf::NullValue]
|
54
|
+
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
56
|
# @!attribute [rw] number_value
|
57
|
-
# @return [Float]
|
57
|
+
# @return [::Float]
|
58
58
|
# Represents a double value.
|
59
59
|
# @!attribute [rw] string_value
|
60
|
-
# @return [String]
|
60
|
+
# @return [::String]
|
61
61
|
# Represents a string value.
|
62
62
|
# @!attribute [rw] bool_value
|
63
|
-
# @return [Boolean]
|
63
|
+
# @return [::Boolean]
|
64
64
|
# Represents a boolean value.
|
65
65
|
# @!attribute [rw] struct_value
|
66
|
-
# @return [Google::Protobuf::Struct]
|
66
|
+
# @return [::Google::Protobuf::Struct]
|
67
67
|
# Represents a structured value.
|
68
68
|
# @!attribute [rw] list_value
|
69
|
-
# @return [Google::Protobuf::ListValue]
|
69
|
+
# @return [::Google::Protobuf::ListValue]
|
70
70
|
# Represents a repeated `Value`.
|
71
71
|
class Value
|
72
|
-
include Google::Protobuf::MessageExts
|
73
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
74
|
end
|
75
75
|
|
76
76
|
# `ListValue` is a wrapper around a repeated field of values.
|
77
77
|
#
|
78
78
|
# The JSON representation for `ListValue` is JSON array.
|
79
79
|
# @!attribute [rw] values
|
80
|
-
# @return [Array
|
80
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
81
81
|
# Repeated field of dynamically typed values.
|
82
82
|
class ListValue
|
83
|
-
include Google::Protobuf::MessageExts
|
84
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
85
|
end
|
86
86
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|