google-api-client 0.27.3 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
  5. data/generated/google/apis/analytics_v3.rb +1 -1
  6. data/generated/google/apis/analytics_v3/classes.rb +18 -112
  7. data/generated/google/apis/analytics_v3/representations.rb +0 -36
  8. data/generated/google/apis/analytics_v3/service.rb +18 -18
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +20 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  13. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  14. data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
  15. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  18. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  20. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  21. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
  22. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  23. data/generated/google/apis/composer_v1.rb +1 -1
  24. data/generated/google/apis/composer_v1/classes.rb +59 -0
  25. data/generated/google/apis/composer_v1/representations.rb +30 -0
  26. data/generated/google/apis/composer_v1/service.rb +37 -0
  27. data/generated/google/apis/composer_v1beta1.rb +1 -1
  28. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  29. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  30. data/generated/google/apis/composer_v1beta1/service.rb +37 -0
  31. data/generated/google/apis/dialogflow_v2.rb +1 -1
  32. data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
  33. data/generated/google/apis/dialogflow_v2/service.rb +8 -16
  34. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  35. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
  36. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
  37. data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
  38. data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
  39. data/generated/google/apis/fitness_v1.rb +1 -1
  40. data/generated/google/apis/fitness_v1/classes.rb +7 -6
  41. data/generated/google/apis/iam_v1.rb +1 -1
  42. data/generated/google/apis/iam_v1/classes.rb +37 -0
  43. data/generated/google/apis/iam_v1/representations.rb +15 -0
  44. data/generated/google/apis/iam_v1/service.rb +44 -0
  45. data/generated/google/apis/iap_v1.rb +1 -1
  46. data/generated/google/apis/iap_v1/service.rb +3 -558
  47. data/generated/google/apis/iap_v1beta1.rb +1 -1
  48. data/generated/google/apis/iap_v1beta1/service.rb +3 -568
  49. data/generated/google/apis/jobs_v2.rb +1 -1
  50. data/generated/google/apis/jobs_v2/classes.rb +1 -1
  51. data/generated/google/apis/jobs_v2/service.rb +2 -2
  52. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  53. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
  54. data/generated/google/apis/logging_v2.rb +1 -1
  55. data/generated/google/apis/logging_v2/classes.rb +52 -10
  56. data/generated/google/apis/logging_v2/representations.rb +6 -0
  57. data/generated/google/apis/logging_v2/service.rb +9 -9
  58. data/generated/google/apis/logging_v2beta1.rb +1 -1
  59. data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
  60. data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
  61. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  62. data/generated/google/apis/ml_v1.rb +1 -1
  63. data/generated/google/apis/ml_v1/classes.rb +10 -12
  64. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  65. data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
  66. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
  67. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  68. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
  69. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
  70. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  71. data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
  72. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
  73. data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
  74. data/generated/google/apis/script_v1.rb +1 -1
  75. data/generated/google/apis/script_v1/classes.rb +2 -1
  76. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  77. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  78. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  79. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
  80. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  81. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
  83. data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
  84. data/generated/google/apis/serviceusage_v1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1/service.rb +0 -3
  86. data/generated/google/apis/speech_v1.rb +1 -1
  87. data/generated/google/apis/speech_v1/classes.rb +20 -0
  88. data/generated/google/apis/speech_v1/representations.rb +2 -0
  89. data/generated/google/apis/speech_v1/service.rb +111 -0
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  92. data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
  93. data/generated/google/apis/videointelligence_v1.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
  95. data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
  96. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  97. data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
  98. data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
  99. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  100. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
  101. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
  102. data/generated/google/apis/vision_v1.rb +1 -1
  103. data/generated/google/apis/vision_v1/classes.rb +2 -1
  104. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  105. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  106. data/lib/google/apis/version.rb +1 -1
  107. metadata +2 -6
  108. data/generated/google/apis/monitoring_v1.rb +0 -33
  109. data/generated/google/apis/monitoring_v1/classes.rb +0 -474
  110. data/generated/google/apis/monitoring_v1/representations.rb +0 -195
  111. data/generated/google/apis/monitoring_v1/service.rb +0 -211
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20190111'
28
+ REVISION = '20190114'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -336,7 +336,7 @@ module Google
336
336
  attr_accessor :enable_automatic_punctuation
337
337
  alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
338
338
 
339
- # This needs to be set to true explicitly and `audio_channel_count` > 1
339
+ # This needs to be set to `true` explicitly and `audio_channel_count` > 1
340
340
  # to get each channel recognized separately. The recognition result will
341
341
  # contain a `channel_tag` field to state which channel that result belongs
342
342
  # to. If this is not true, we will only recognize the first channel. The
@@ -126,6 +126,117 @@ module Google
126
126
  execute_or_queue_command(command, &block)
127
127
  end
128
128
 
129
+ # Gets the latest state of a long-running operation. Clients can use this
130
+ # method to poll the operation result at intervals as recommended by the API
131
+ # service.
132
+ # @param [String] name
133
+ # The name of the operation resource.
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
136
+ # @param [String] quota_user
137
+ # Available to use for quota purposes for server-side applications. Can be any
138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
139
+ # @param [Google::Apis::RequestOptions] options
140
+ # Request-specific options
141
+ #
142
+ # @yield [result, err] Result & error if block supplied
143
+ # @yieldparam result [Google::Apis::SpeechV1p1beta1::Operation] parsed result object
144
+ # @yieldparam err [StandardError] error object if request failed
145
+ #
146
+ # @return [Google::Apis::SpeechV1p1beta1::Operation]
147
+ #
148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
151
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
152
+ command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
153
+ command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
154
+ command.response_class = Google::Apis::SpeechV1p1beta1::Operation
155
+ command.params['name'] = name unless name.nil?
156
+ command.query['fields'] = fields unless fields.nil?
157
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
158
+ execute_or_queue_command(command, &block)
159
+ end
160
+
161
+ # Lists operations that match the specified filter in the request. If the
162
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
163
+ # NOTE: the `name` binding allows API services to override the binding
164
+ # to use different resource name schemes, such as `users/*/operations`. To
165
+ # override the binding, API services can add a binding such as
166
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
167
+ # For backwards compatibility, the default name includes the operations
168
+ # collection id, however overriding users must ensure the name binding
169
+ # is the parent resource, without the operations collection id.
170
+ # @param [String] name
171
+ # The name of the operation's parent resource.
172
+ # @param [String] filter
173
+ # The standard list filter.
174
+ # @param [Fixnum] page_size
175
+ # The standard list page size.
176
+ # @param [String] page_token
177
+ # The standard list page token.
178
+ # @param [String] fields
179
+ # Selector specifying which fields to include in a partial response.
180
+ # @param [String] quota_user
181
+ # Available to use for quota purposes for server-side applications. Can be any
182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
+ # @param [Google::Apis::RequestOptions] options
184
+ # Request-specific options
185
+ #
186
+ # @yield [result, err] Result & error if block supplied
187
+ # @yieldparam result [Google::Apis::SpeechV1p1beta1::ListOperationsResponse] parsed result object
188
+ # @yieldparam err [StandardError] error object if request failed
189
+ #
190
+ # @return [Google::Apis::SpeechV1p1beta1::ListOperationsResponse]
191
+ #
192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
195
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
196
+ command = make_simple_command(:get, 'v1p1beta1/{+name}/operations', options)
197
+ command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
198
+ command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
199
+ command.params['name'] = name unless name.nil?
200
+ command.query['filter'] = filter unless filter.nil?
201
+ command.query['pageSize'] = page_size unless page_size.nil?
202
+ command.query['pageToken'] = page_token unless page_token.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
208
+ # Gets the latest state of a long-running operation. Clients can use this
209
+ # method to poll the operation result at intervals as recommended by the API
210
+ # service.
211
+ # @param [String] name
212
+ # The name of the operation resource.
213
+ # @param [String] fields
214
+ # Selector specifying which fields to include in a partial response.
215
+ # @param [String] quota_user
216
+ # Available to use for quota purposes for server-side applications. Can be any
217
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
218
+ # @param [Google::Apis::RequestOptions] options
219
+ # Request-specific options
220
+ #
221
+ # @yield [result, err] Result & error if block supplied
222
+ # @yieldparam result [Google::Apis::SpeechV1p1beta1::Operation] parsed result object
223
+ # @yieldparam err [StandardError] error object if request failed
224
+ #
225
+ # @return [Google::Apis::SpeechV1p1beta1::Operation]
226
+ #
227
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
230
+ def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
231
+ command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
232
+ command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
233
+ command.response_class = Google::Apis::SpeechV1p1beta1::Operation
234
+ command.params['name'] = name unless name.nil?
235
+ command.query['fields'] = fields unless fields.nil?
236
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
237
+ execute_or_queue_command(command, &block)
238
+ end
239
+
129
240
  # Performs asynchronous speech recognition: receive results via the
130
241
  # google.longrunning.Operations interface. Returns either an
131
242
  # `Operation.error` or an `Operation.response` which contains
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/video-intelligence/docs/
27
27
  module VideointelligenceV1
28
28
  VERSION = 'V1'
29
- REVISION = '20181027'
29
+ REVISION = '20190112'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2196,6 +2196,9 @@ module Google
2196
2196
  attr_accessor :entity
2197
2197
 
2198
2198
  # Information corresponding to all frames where this object track appears.
2199
+ # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
2200
+ # messages in frames.
2201
+ # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
2199
2202
  # Corresponds to the JSON property `frames`
2200
2203
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
2201
2204
  attr_accessor :frames
@@ -2205,6 +2208,16 @@ module Google
2205
2208
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
2206
2209
  attr_accessor :segment
2207
2210
 
2211
+ # Streaming mode ONLY.
2212
+ # In streaming mode, we do not know the end time of a tracked object
2213
+ # before it is completed. Hence, there is no VideoSegment info returned.
2214
+ # Instead, we provide a unique identifiable integer track_id so that
2215
+ # the customers can correlate the results of the ongoing
2216
+ # ObjectTrackAnnotation of the same track_id over time.
2217
+ # Corresponds to the JSON property `trackId`
2218
+ # @return [Fixnum]
2219
+ attr_accessor :track_id
2220
+
2208
2221
  def initialize(**args)
2209
2222
  update!(**args)
2210
2223
  end
@@ -2215,6 +2228,7 @@ module Google
2215
2228
  @entity = args[:entity] if args.key?(:entity)
2216
2229
  @frames = args[:frames] if args.key?(:frames)
2217
2230
  @segment = args[:segment] if args.key?(:segment)
2231
+ @track_id = args[:track_id] if args.key?(:track_id)
2218
2232
  end
2219
2233
  end
2220
2234
 
@@ -1084,6 +1084,7 @@ module Google
1084
1084
 
1085
1085
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1086
1086
 
1087
+ property :track_id, :numeric_string => true, as: 'trackId'
1087
1088
  end
1088
1089
  end
1089
1090
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/video-intelligence/docs/
27
27
  module VideointelligenceV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20181027'
29
+ REVISION = '20190112'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2196,6 +2196,9 @@ module Google
2196
2196
  attr_accessor :entity
2197
2197
 
2198
2198
  # Information corresponding to all frames where this object track appears.
2199
+ # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
2200
+ # messages in frames.
2201
+ # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
2199
2202
  # Corresponds to the JSON property `frames`
2200
2203
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
2201
2204
  attr_accessor :frames
@@ -2205,6 +2208,16 @@ module Google
2205
2208
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
2206
2209
  attr_accessor :segment
2207
2210
 
2211
+ # Streaming mode ONLY.
2212
+ # In streaming mode, we do not know the end time of a tracked object
2213
+ # before it is completed. Hence, there is no VideoSegment info returned.
2214
+ # Instead, we provide a unique identifiable integer track_id so that
2215
+ # the customers can correlate the results of the ongoing
2216
+ # ObjectTrackAnnotation of the same track_id over time.
2217
+ # Corresponds to the JSON property `trackId`
2218
+ # @return [Fixnum]
2219
+ attr_accessor :track_id
2220
+
2208
2221
  def initialize(**args)
2209
2222
  update!(**args)
2210
2223
  end
@@ -2215,6 +2228,7 @@ module Google
2215
2228
  @entity = args[:entity] if args.key?(:entity)
2216
2229
  @frames = args[:frames] if args.key?(:frames)
2217
2230
  @segment = args[:segment] if args.key?(:segment)
2231
+ @track_id = args[:track_id] if args.key?(:track_id)
2218
2232
  end
2219
2233
  end
2220
2234
 
@@ -1066,6 +1066,7 @@ module Google
1066
1066
 
1067
1067
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1068
1068
 
1069
+ property :track_id, :numeric_string => true, as: 'trackId'
1069
1070
  end
1070
1071
  end
1071
1072
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/video-intelligence/docs/
27
27
  module VideointelligenceV1p1beta1
28
28
  VERSION = 'V1p1beta1'
29
- REVISION = '20181027'
29
+ REVISION = '20190112'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2196,6 +2196,9 @@ module Google
2196
2196
  attr_accessor :entity
2197
2197
 
2198
2198
  # Information corresponding to all frames where this object track appears.
2199
+ # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
2200
+ # messages in frames.
2201
+ # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
2199
2202
  # Corresponds to the JSON property `frames`
2200
2203
  # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
2201
2204
  attr_accessor :frames
@@ -2205,6 +2208,16 @@ module Google
2205
2208
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
2206
2209
  attr_accessor :segment
2207
2210
 
2211
+ # Streaming mode ONLY.
2212
+ # In streaming mode, we do not know the end time of a tracked object
2213
+ # before it is completed. Hence, there is no VideoSegment info returned.
2214
+ # Instead, we provide a unique identifiable integer track_id so that
2215
+ # the customers can correlate the results of the ongoing
2216
+ # ObjectTrackAnnotation of the same track_id over time.
2217
+ # Corresponds to the JSON property `trackId`
2218
+ # @return [Fixnum]
2219
+ attr_accessor :track_id
2220
+
2208
2221
  def initialize(**args)
2209
2222
  update!(**args)
2210
2223
  end
@@ -2215,6 +2228,7 @@ module Google
2215
2228
  @entity = args[:entity] if args.key?(:entity)
2216
2229
  @frames = args[:frames] if args.key?(:frames)
2217
2230
  @segment = args[:segment] if args.key?(:segment)
2231
+ @track_id = args[:track_id] if args.key?(:track_id)
2218
2232
  end
2219
2233
  end
2220
2234
 
@@ -1066,6 +1066,7 @@ module Google
1066
1066
 
1067
1067
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1068
1068
 
1069
+ property :track_id, :numeric_string => true, as: 'trackId'
1069
1070
  end
1070
1071
  end
1071
1072
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20181130'
30
+ REVISION = '20190111'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -7732,7 +7732,8 @@ module Google
7732
7732
 
7733
7733
  # Output only. The time at which this ProductSet was last indexed. Query
7734
7734
  # results will reflect all updates before this time. If this ProductSet has
7735
- # never been indexed, this field is 0.
7735
+ # never been indexed, this timestamp is the default value
7736
+ # "1970-01-01T00:00:00Z".
7736
7737
  # This field is ignored when creating a ProductSet.
7737
7738
  # Corresponds to the JSON property `indexTime`
7738
7739
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20181112'
30
+ REVISION = '20190111'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20181112'
30
+ REVISION = '20190111'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.27.3'.freeze
18
+ VERSION = '0.28.0'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.3
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-01-14 00:00:00.000000000 Z
14
+ date: 2019-01-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -782,10 +782,6 @@ files:
782
782
  - generated/google/apis/ml_v1/classes.rb
783
783
  - generated/google/apis/ml_v1/representations.rb
784
784
  - generated/google/apis/ml_v1/service.rb
785
- - generated/google/apis/monitoring_v1.rb
786
- - generated/google/apis/monitoring_v1/classes.rb
787
- - generated/google/apis/monitoring_v1/representations.rb
788
- - generated/google/apis/monitoring_v1/service.rb
789
785
  - generated/google/apis/monitoring_v3.rb
790
786
  - generated/google/apis/monitoring_v3/classes.rb
791
787
  - generated/google/apis/monitoring_v3/representations.rb
@@ -1,33 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/monitoring_v1/service.rb'
16
- require 'google/apis/monitoring_v1/classes.rb'
17
- require 'google/apis/monitoring_v1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Stackdriver Monitoring API
22
- #
23
- # Manages your Stackdriver Monitoring data and configurations. Most projects
24
- # must be associated with a Stackdriver account, with a few exceptions as noted
25
- # on the individual method pages.
26
- #
27
- # @see https://cloud.google.com/monitoring/api/
28
- module MonitoringV1
29
- VERSION = 'V1'
30
- REVISION = '20181217'
31
- end
32
- end
33
- end
@@ -1,474 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module MonitoringV1
24
-
25
- # The request message for Operations.CancelOperation.
26
- class CancelOperationRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- def initialize(**args)
30
- update!(**args)
31
- end
32
-
33
- # Update properties of this object
34
- def update!(**args)
35
- end
36
- end
37
-
38
- # A set of (label, value) pairs which were dropped during aggregation, attached
39
- # to google.api.Distribution.Exemplars in google.api.Distribution values during
40
- # aggregation.These values are used in combination with the label values that
41
- # remain on the aggregated Distribution timeseries to construct the full label
42
- # set for the exemplar values. The resulting full label set may be used to
43
- # identify the specific task/job/instance (for example) which may be
44
- # contributing to a long-tail, while allowing the storage savings of only
45
- # storing aggregated distribution values for a large group.Note that there are
46
- # no guarantees on ordering of the labels from exemplar-to-exemplar and from
47
- # distribution-to-distribution in the same stream, and there may be duplicates.
48
- # It is up to clients to resolve any ambiguities.
49
- class DroppedLabels
50
- include Google::Apis::Core::Hashable
51
-
52
- # Map from label to its value, for all labels dropped in any aggregation.
53
- # Corresponds to the JSON property `label`
54
- # @return [Hash<String,String>]
55
- attr_accessor :label
56
-
57
- def initialize(**args)
58
- update!(**args)
59
- end
60
-
61
- # Update properties of this object
62
- def update!(**args)
63
- @label = args[:label] if args.key?(:label)
64
- end
65
- end
66
-
67
- # A generic empty message that you can re-use to avoid defining duplicated empty
68
- # messages in your APIs. A typical example is to use it as the request or the
69
- # response type of an API method. For instance:
70
- # service Foo `
71
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
72
- # `
73
- # The JSON representation for Empty is empty JSON object ``.
74
- class Empty
75
- include Google::Apis::Core::Hashable
76
-
77
- def initialize(**args)
78
- update!(**args)
79
- end
80
-
81
- # Update properties of this object
82
- def update!(**args)
83
- end
84
- end
85
-
86
- # A single field of a message type.
87
- class Field
88
- include Google::Apis::Core::Hashable
89
-
90
- # The field cardinality.
91
- # Corresponds to the JSON property `cardinality`
92
- # @return [String]
93
- attr_accessor :cardinality
94
-
95
- # The string value of the default value of this field. Proto2 syntax only.
96
- # Corresponds to the JSON property `defaultValue`
97
- # @return [String]
98
- attr_accessor :default_value
99
-
100
- # The field JSON name.
101
- # Corresponds to the JSON property `jsonName`
102
- # @return [String]
103
- attr_accessor :json_name
104
-
105
- # The field type.
106
- # Corresponds to the JSON property `kind`
107
- # @return [String]
108
- attr_accessor :kind
109
-
110
- # The field name.
111
- # Corresponds to the JSON property `name`
112
- # @return [String]
113
- attr_accessor :name
114
-
115
- # The field number.
116
- # Corresponds to the JSON property `number`
117
- # @return [Fixnum]
118
- attr_accessor :number
119
-
120
- # The index of the field type in Type.oneofs, for message or enumeration types.
121
- # The first type has index 1; zero means the type is not in the list.
122
- # Corresponds to the JSON property `oneofIndex`
123
- # @return [Fixnum]
124
- attr_accessor :oneof_index
125
-
126
- # The protocol buffer options.
127
- # Corresponds to the JSON property `options`
128
- # @return [Array<Google::Apis::MonitoringV1::Option>]
129
- attr_accessor :options
130
-
131
- # Whether to use alternative packed wire representation.
132
- # Corresponds to the JSON property `packed`
133
- # @return [Boolean]
134
- attr_accessor :packed
135
- alias_method :packed?, :packed
136
-
137
- # The field type URL, without the scheme, for message or enumeration types.
138
- # Example: "type.googleapis.com/google.protobuf.Timestamp".
139
- # Corresponds to the JSON property `typeUrl`
140
- # @return [String]
141
- attr_accessor :type_url
142
-
143
- def initialize(**args)
144
- update!(**args)
145
- end
146
-
147
- # Update properties of this object
148
- def update!(**args)
149
- @cardinality = args[:cardinality] if args.key?(:cardinality)
150
- @default_value = args[:default_value] if args.key?(:default_value)
151
- @json_name = args[:json_name] if args.key?(:json_name)
152
- @kind = args[:kind] if args.key?(:kind)
153
- @name = args[:name] if args.key?(:name)
154
- @number = args[:number] if args.key?(:number)
155
- @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
156
- @options = args[:options] if args.key?(:options)
157
- @packed = args[:packed] if args.key?(:packed)
158
- @type_url = args[:type_url] if args.key?(:type_url)
159
- end
160
- end
161
-
162
- # The response message for Operations.ListOperations.
163
- class ListOperationsResponse
164
- include Google::Apis::Core::Hashable
165
-
166
- # The standard List next-page token.
167
- # Corresponds to the JSON property `nextPageToken`
168
- # @return [String]
169
- attr_accessor :next_page_token
170
-
171
- # A list of operations that matches the specified filter in the request.
172
- # Corresponds to the JSON property `operations`
173
- # @return [Array<Google::Apis::MonitoringV1::Operation>]
174
- attr_accessor :operations
175
-
176
- def initialize(**args)
177
- update!(**args)
178
- end
179
-
180
- # Update properties of this object
181
- def update!(**args)
182
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
183
- @operations = args[:operations] if args.key?(:operations)
184
- end
185
- end
186
-
187
- # This resource represents a long-running operation that is the result of a
188
- # network API call.
189
- class Operation
190
- include Google::Apis::Core::Hashable
191
-
192
- # If the value is false, it means the operation is still in progress. If true,
193
- # the operation is completed, and either error or response is available.
194
- # Corresponds to the JSON property `done`
195
- # @return [Boolean]
196
- attr_accessor :done
197
- alias_method :done?, :done
198
-
199
- # The Status type defines a logical error model that is suitable for different
200
- # programming environments, including REST APIs and RPC APIs. It is used by gRPC
201
- # (https://github.com/grpc). The error model is designed to be:
202
- # Simple to use and understand for most users
203
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
204
- # three pieces of data: error code, error message, and error details. The error
205
- # code should be an enum value of google.rpc.Code, but it may accept additional
206
- # error codes if needed. The error message should be a developer-facing English
207
- # message that helps developers understand and resolve the error. If a localized
208
- # user-facing error message is needed, put the localized message in the error
209
- # details or localize it in the client. The optional error details may contain
210
- # arbitrary information about the error. There is a predefined set of error
211
- # detail types in the package google.rpc that can be used for common error
212
- # conditions.Language mappingThe Status message is the logical representation of
213
- # the error model, but it is not necessarily the actual wire format. When the
214
- # Status message is exposed in different client libraries and different wire
215
- # protocols, it can be mapped differently. For example, it will likely be mapped
216
- # to some exceptions in Java, but more likely mapped to some error codes in C.
217
- # Other usesThe error model and the Status message can be used in a variety of
218
- # environments, either with or without APIs, to provide a consistent developer
219
- # experience across different environments.Example uses of this error model
220
- # include:
221
- # Partial errors. If a service needs to return partial errors to the client, it
222
- # may embed the Status in the normal response to indicate the partial errors.
223
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
224
- # Status message for error reporting.
225
- # Batch operations. If a client uses batch request and batch response, the
226
- # Status message should be used directly inside batch response, one for each
227
- # error sub-response.
228
- # Asynchronous operations. If an API call embeds asynchronous operation results
229
- # in its response, the status of those operations should be represented directly
230
- # using the Status message.
231
- # Logging. If some API errors are stored in logs, the message Status could be
232
- # used directly after any stripping needed for security/privacy reasons.
233
- # Corresponds to the JSON property `error`
234
- # @return [Google::Apis::MonitoringV1::Status]
235
- attr_accessor :error
236
-
237
- # Service-specific metadata associated with the operation. It typically contains
238
- # progress information and common metadata such as create time. Some services
239
- # might not provide such metadata. Any method that returns a long-running
240
- # operation should document the metadata type, if any.
241
- # Corresponds to the JSON property `metadata`
242
- # @return [Hash<String,Object>]
243
- attr_accessor :metadata
244
-
245
- # The server-assigned name, which is only unique within the same service that
246
- # originally returns it. If you use the default HTTP mapping, the name should
247
- # have the format of operations/some/unique/name.
248
- # Corresponds to the JSON property `name`
249
- # @return [String]
250
- attr_accessor :name
251
-
252
- # The normal response of the operation in case of success. If the original
253
- # method returns no data on success, such as Delete, the response is google.
254
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
255
- # response should be the resource. For other methods, the response should have
256
- # the type XxxResponse, where Xxx is the original method name. For example, if
257
- # the original method name is TakeSnapshot(), the inferred response type is
258
- # TakeSnapshotResponse.
259
- # Corresponds to the JSON property `response`
260
- # @return [Hash<String,Object>]
261
- attr_accessor :response
262
-
263
- def initialize(**args)
264
- update!(**args)
265
- end
266
-
267
- # Update properties of this object
268
- def update!(**args)
269
- @done = args[:done] if args.key?(:done)
270
- @error = args[:error] if args.key?(:error)
271
- @metadata = args[:metadata] if args.key?(:metadata)
272
- @name = args[:name] if args.key?(:name)
273
- @response = args[:response] if args.key?(:response)
274
- end
275
- end
276
-
277
- # A protocol buffer option, which can be attached to a message, field,
278
- # enumeration, etc.
279
- class Option
280
- include Google::Apis::Core::Hashable
281
-
282
- # The option's name. For protobuf built-in options (options defined in
283
- # descriptor.proto), this is the short name. For example, "map_entry". For
284
- # custom options, it should be the fully-qualified name. For example, "google.
285
- # api.http".
286
- # Corresponds to the JSON property `name`
287
- # @return [String]
288
- attr_accessor :name
289
-
290
- # The option's value packed in an Any message. If the value is a primitive, the
291
- # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
292
- # used. If the value is an enum, it should be stored as an int32 value using the
293
- # google.protobuf.Int32Value type.
294
- # Corresponds to the JSON property `value`
295
- # @return [Hash<String,Object>]
296
- attr_accessor :value
297
-
298
- def initialize(**args)
299
- update!(**args)
300
- end
301
-
302
- # Update properties of this object
303
- def update!(**args)
304
- @name = args[:name] if args.key?(:name)
305
- @value = args[:value] if args.key?(:value)
306
- end
307
- end
308
-
309
- # SourceContext represents information about the source of a protobuf element,
310
- # like the file in which it is defined.
311
- class SourceContext
312
- include Google::Apis::Core::Hashable
313
-
314
- # The path-qualified name of the .proto file that contained the associated
315
- # protobuf element. For example: "google/protobuf/source_context.proto".
316
- # Corresponds to the JSON property `fileName`
317
- # @return [String]
318
- attr_accessor :file_name
319
-
320
- def initialize(**args)
321
- update!(**args)
322
- end
323
-
324
- # Update properties of this object
325
- def update!(**args)
326
- @file_name = args[:file_name] if args.key?(:file_name)
327
- end
328
- end
329
-
330
- # The context of a span, attached to google.api.Distribution.Exemplars in google.
331
- # api.Distribution values during aggregation.It contains the name of a span with
332
- # format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID
333
- class SpanContext
334
- include Google::Apis::Core::Hashable
335
-
336
- # The resource name of the span in the following format:
337
- # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
338
- # TRACE_ID is a unique identifier for a trace within a project; it is a 32-
339
- # character hexadecimal encoding of a 16-byte array.SPAN_ID is a unique
340
- # identifier for a span within a trace; it is a 16-character hexadecimal
341
- # encoding of an 8-byte array.
342
- # Corresponds to the JSON property `spanName`
343
- # @return [String]
344
- attr_accessor :span_name
345
-
346
- def initialize(**args)
347
- update!(**args)
348
- end
349
-
350
- # Update properties of this object
351
- def update!(**args)
352
- @span_name = args[:span_name] if args.key?(:span_name)
353
- end
354
- end
355
-
356
- # The Status type defines a logical error model that is suitable for different
357
- # programming environments, including REST APIs and RPC APIs. It is used by gRPC
358
- # (https://github.com/grpc). The error model is designed to be:
359
- # Simple to use and understand for most users
360
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
361
- # three pieces of data: error code, error message, and error details. The error
362
- # code should be an enum value of google.rpc.Code, but it may accept additional
363
- # error codes if needed. The error message should be a developer-facing English
364
- # message that helps developers understand and resolve the error. If a localized
365
- # user-facing error message is needed, put the localized message in the error
366
- # details or localize it in the client. The optional error details may contain
367
- # arbitrary information about the error. There is a predefined set of error
368
- # detail types in the package google.rpc that can be used for common error
369
- # conditions.Language mappingThe Status message is the logical representation of
370
- # the error model, but it is not necessarily the actual wire format. When the
371
- # Status message is exposed in different client libraries and different wire
372
- # protocols, it can be mapped differently. For example, it will likely be mapped
373
- # to some exceptions in Java, but more likely mapped to some error codes in C.
374
- # Other usesThe error model and the Status message can be used in a variety of
375
- # environments, either with or without APIs, to provide a consistent developer
376
- # experience across different environments.Example uses of this error model
377
- # include:
378
- # Partial errors. If a service needs to return partial errors to the client, it
379
- # may embed the Status in the normal response to indicate the partial errors.
380
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
381
- # Status message for error reporting.
382
- # Batch operations. If a client uses batch request and batch response, the
383
- # Status message should be used directly inside batch response, one for each
384
- # error sub-response.
385
- # Asynchronous operations. If an API call embeds asynchronous operation results
386
- # in its response, the status of those operations should be represented directly
387
- # using the Status message.
388
- # Logging. If some API errors are stored in logs, the message Status could be
389
- # used directly after any stripping needed for security/privacy reasons.
390
- class Status
391
- include Google::Apis::Core::Hashable
392
-
393
- # The status code, which should be an enum value of google.rpc.Code.
394
- # Corresponds to the JSON property `code`
395
- # @return [Fixnum]
396
- attr_accessor :code
397
-
398
- # A list of messages that carry the error details. There is a common set of
399
- # message types for APIs to use.
400
- # Corresponds to the JSON property `details`
401
- # @return [Array<Hash<String,Object>>]
402
- attr_accessor :details
403
-
404
- # A developer-facing error message, which should be in English. Any user-facing
405
- # error message should be localized and sent in the google.rpc.Status.details
406
- # field, or localized by the client.
407
- # Corresponds to the JSON property `message`
408
- # @return [String]
409
- attr_accessor :message
410
-
411
- def initialize(**args)
412
- update!(**args)
413
- end
414
-
415
- # Update properties of this object
416
- def update!(**args)
417
- @code = args[:code] if args.key?(:code)
418
- @details = args[:details] if args.key?(:details)
419
- @message = args[:message] if args.key?(:message)
420
- end
421
- end
422
-
423
- # A protocol buffer message type.
424
- class Type
425
- include Google::Apis::Core::Hashable
426
-
427
- # The list of fields.
428
- # Corresponds to the JSON property `fields`
429
- # @return [Array<Google::Apis::MonitoringV1::Field>]
430
- attr_accessor :fields
431
-
432
- # The fully qualified message name.
433
- # Corresponds to the JSON property `name`
434
- # @return [String]
435
- attr_accessor :name
436
-
437
- # The list of types appearing in oneof definitions in this type.
438
- # Corresponds to the JSON property `oneofs`
439
- # @return [Array<String>]
440
- attr_accessor :oneofs
441
-
442
- # The protocol buffer options.
443
- # Corresponds to the JSON property `options`
444
- # @return [Array<Google::Apis::MonitoringV1::Option>]
445
- attr_accessor :options
446
-
447
- # SourceContext represents information about the source of a protobuf element,
448
- # like the file in which it is defined.
449
- # Corresponds to the JSON property `sourceContext`
450
- # @return [Google::Apis::MonitoringV1::SourceContext]
451
- attr_accessor :source_context
452
-
453
- # The source syntax.
454
- # Corresponds to the JSON property `syntax`
455
- # @return [String]
456
- attr_accessor :syntax
457
-
458
- def initialize(**args)
459
- update!(**args)
460
- end
461
-
462
- # Update properties of this object
463
- def update!(**args)
464
- @fields = args[:fields] if args.key?(:fields)
465
- @name = args[:name] if args.key?(:name)
466
- @oneofs = args[:oneofs] if args.key?(:oneofs)
467
- @options = args[:options] if args.key?(:options)
468
- @source_context = args[:source_context] if args.key?(:source_context)
469
- @syntax = args[:syntax] if args.key?(:syntax)
470
- end
471
- end
472
- end
473
- end
474
- end