google-api-client 0.27.0 → 0.27.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -2
  5. data/generated/google/apis/admin_reports_v1.rb +1 -1
  6. data/generated/google/apis/admin_reports_v1/service.rb +15 -3
  7. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  8. data/generated/google/apis/alertcenter_v1beta1/classes.rb +74 -1
  9. data/generated/google/apis/alertcenter_v1beta1/representations.rb +42 -0
  10. data/generated/google/apis/alertcenter_v1beta1/service.rb +67 -0
  11. data/generated/google/apis/appengine_v1.rb +1 -1
  12. data/generated/google/apis/appengine_v1/classes.rb +6 -0
  13. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  14. data/generated/google/apis/appengine_v1beta.rb +1 -1
  15. data/generated/google/apis/appengine_v1beta/classes.rb +6 -0
  16. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  17. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  18. data/generated/google/apis/appengine_v1beta4/classes.rb +6 -0
  19. data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
  20. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  21. data/generated/google/apis/appengine_v1beta5/classes.rb +6 -0
  22. data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
  23. data/generated/google/apis/bigquery_v2.rb +1 -1
  24. data/generated/google/apis/bigquery_v2/classes.rb +44 -6
  25. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  26. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  28. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -2
  29. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  30. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +5 -2
  31. data/generated/google/apis/cloudidentity_v1.rb +31 -0
  32. data/generated/google/apis/cloudidentity_v1/classes.rb +495 -0
  33. data/generated/google/apis/cloudidentity_v1/representations.rb +197 -0
  34. data/generated/google/apis/cloudidentity_v1/service.rb +517 -0
  35. data/generated/google/apis/cloudidentity_v1beta1.rb +31 -0
  36. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +475 -0
  37. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +184 -0
  38. data/generated/google/apis/cloudidentity_v1beta1/service.rb +477 -0
  39. data/generated/google/apis/composer_v1beta1.rb +1 -1
  40. data/generated/google/apis/composer_v1beta1/classes.rb +2 -2
  41. data/generated/google/apis/composer_v1beta1/service.rb +10 -0
  42. data/generated/google/apis/datastore_v1.rb +1 -1
  43. data/generated/google/apis/datastore_v1/classes.rb +1 -2
  44. data/generated/google/apis/dialogflow_v2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2/classes.rb +7 -103
  46. data/generated/google/apis/dialogflow_v2/representations.rb +0 -30
  47. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -103
  49. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -30
  50. data/generated/google/apis/dialogflow_v2beta1/service.rb +0 -228
  51. data/generated/google/apis/dlp_v2.rb +1 -1
  52. data/generated/google/apis/dlp_v2/classes.rb +7 -0
  53. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  54. data/generated/google/apis/drive_v3.rb +1 -1
  55. data/generated/google/apis/drive_v3/classes.rb +12 -0
  56. data/generated/google/apis/drive_v3/representations.rb +2 -0
  57. data/generated/google/apis/logging_v2.rb +1 -1
  58. data/generated/google/apis/logging_v2/service.rb +3 -2
  59. data/generated/google/apis/logging_v2beta1.rb +1 -1
  60. data/generated/google/apis/logging_v2beta1/service.rb +3 -2
  61. data/generated/google/apis/monitoring_v1.rb +33 -0
  62. data/generated/google/apis/monitoring_v1/classes.rb +474 -0
  63. data/generated/google/apis/monitoring_v1/representations.rb +195 -0
  64. data/generated/google/apis/monitoring_v1/service.rb +211 -0
  65. data/generated/google/apis/pubsub_v1.rb +1 -1
  66. data/generated/google/apis/pubsub_v1/classes.rb +3 -2
  67. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  68. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -8
  69. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  70. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  71. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  72. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  73. data/generated/google/apis/servicenetworking_v1beta/classes.rb +22 -9
  74. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  75. data/generated/google/apis/servicenetworking_v1beta/service.rb +1 -1
  76. data/generated/google/apis/serviceusage_v1.rb +1 -1
  77. data/generated/google/apis/serviceusage_v1/classes.rb +12 -8
  78. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  79. data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -8
  80. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  81. data/lib/google/apis/version.rb +1 -1
  82. metadata +14 -2
@@ -0,0 +1,195 @@
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
+ class CancelOperationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class DroppedLabels
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Empty
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Field
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ListOperationsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Operation
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Option
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class SourceContext
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class SpanContext
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Status
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Type
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CancelOperationRequest
92
+ # @private
93
+ class Representation < Google::Apis::Core::JsonRepresentation
94
+ end
95
+ end
96
+
97
+ class DroppedLabels
98
+ # @private
99
+ class Representation < Google::Apis::Core::JsonRepresentation
100
+ hash :label, as: 'label'
101
+ end
102
+ end
103
+
104
+ class Empty
105
+ # @private
106
+ class Representation < Google::Apis::Core::JsonRepresentation
107
+ end
108
+ end
109
+
110
+ class Field
111
+ # @private
112
+ class Representation < Google::Apis::Core::JsonRepresentation
113
+ property :cardinality, as: 'cardinality'
114
+ property :default_value, as: 'defaultValue'
115
+ property :json_name, as: 'jsonName'
116
+ property :kind, as: 'kind'
117
+ property :name, as: 'name'
118
+ property :number, as: 'number'
119
+ property :oneof_index, as: 'oneofIndex'
120
+ collection :options, as: 'options', class: Google::Apis::MonitoringV1::Option, decorator: Google::Apis::MonitoringV1::Option::Representation
121
+
122
+ property :packed, as: 'packed'
123
+ property :type_url, as: 'typeUrl'
124
+ end
125
+ end
126
+
127
+ class ListOperationsResponse
128
+ # @private
129
+ class Representation < Google::Apis::Core::JsonRepresentation
130
+ property :next_page_token, as: 'nextPageToken'
131
+ collection :operations, as: 'operations', class: Google::Apis::MonitoringV1::Operation, decorator: Google::Apis::MonitoringV1::Operation::Representation
132
+
133
+ end
134
+ end
135
+
136
+ class Operation
137
+ # @private
138
+ class Representation < Google::Apis::Core::JsonRepresentation
139
+ property :done, as: 'done'
140
+ property :error, as: 'error', class: Google::Apis::MonitoringV1::Status, decorator: Google::Apis::MonitoringV1::Status::Representation
141
+
142
+ hash :metadata, as: 'metadata'
143
+ property :name, as: 'name'
144
+ hash :response, as: 'response'
145
+ end
146
+ end
147
+
148
+ class Option
149
+ # @private
150
+ class Representation < Google::Apis::Core::JsonRepresentation
151
+ property :name, as: 'name'
152
+ hash :value, as: 'value'
153
+ end
154
+ end
155
+
156
+ class SourceContext
157
+ # @private
158
+ class Representation < Google::Apis::Core::JsonRepresentation
159
+ property :file_name, as: 'fileName'
160
+ end
161
+ end
162
+
163
+ class SpanContext
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ property :span_name, as: 'spanName'
167
+ end
168
+ end
169
+
170
+ class Status
171
+ # @private
172
+ class Representation < Google::Apis::Core::JsonRepresentation
173
+ property :code, as: 'code'
174
+ collection :details, as: 'details'
175
+ property :message, as: 'message'
176
+ end
177
+ end
178
+
179
+ class Type
180
+ # @private
181
+ class Representation < Google::Apis::Core::JsonRepresentation
182
+ collection :fields, as: 'fields', class: Google::Apis::MonitoringV1::Field, decorator: Google::Apis::MonitoringV1::Field::Representation
183
+
184
+ property :name, as: 'name'
185
+ collection :oneofs, as: 'oneofs'
186
+ collection :options, as: 'options', class: Google::Apis::MonitoringV1::Option, decorator: Google::Apis::MonitoringV1::Option::Representation
187
+
188
+ property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV1::SourceContext, decorator: Google::Apis::MonitoringV1::SourceContext::Representation
189
+
190
+ property :syntax, as: 'syntax'
191
+ end
192
+ end
193
+ end
194
+ end
195
+ end
@@ -0,0 +1,211 @@
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/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module MonitoringV1
23
+ # Stackdriver Monitoring API
24
+ #
25
+ # Manages your Stackdriver Monitoring data and configurations. Most projects
26
+ # must be associated with a Stackdriver account, with a few exceptions as noted
27
+ # on the individual method pages.
28
+ #
29
+ # @example
30
+ # require 'google/apis/monitoring_v1'
31
+ #
32
+ # Monitoring = Google::Apis::MonitoringV1 # Alias the module
33
+ # service = Monitoring::MonitoringService.new
34
+ #
35
+ # @see https://cloud.google.com/monitoring/api/
36
+ class MonitoringService < Google::Apis::Core::BaseService
37
+ # @return [String]
38
+ # API key. Your API key identifies your project and provides you with API access,
39
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
40
+ attr_accessor :key
41
+
42
+ # @return [String]
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
45
+ attr_accessor :quota_user
46
+
47
+ def initialize
48
+ super('https://monitoring.googleapis.com/', '')
49
+ @batch_path = 'batch'
50
+ end
51
+
52
+ # Starts asynchronous cancellation on a long-running operation. The server makes
53
+ # a best effort to cancel the operation, but success is not guaranteed. If the
54
+ # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
55
+ # Clients can use Operations.GetOperation or other methods to check whether the
56
+ # cancellation succeeded or whether the operation completed despite cancellation.
57
+ # On successful cancellation, the operation is not deleted; instead, it becomes
58
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to Code.CANCELLED.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::MonitoringV1::CancelOperationRequest] cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::MonitoringV1::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::MonitoringV1::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::MonitoringV1::CancelOperationRequest::Representation
83
+ command.request_object = cancel_operation_request_object
84
+ command.response_representation = Google::Apis::MonitoringV1::Empty::Representation
85
+ command.response_class = Google::Apis::MonitoringV1::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Deletes a long-running operation. This method indicates that the client is no
93
+ # longer interested in the operation result. It does not cancel the operation.
94
+ # If the server doesn't support this method, it returns google.rpc.Code.
95
+ # UNIMPLEMENTED.
96
+ # @param [String] name
97
+ # The name of the operation resource to be deleted.
98
+ # @param [String] fields
99
+ # Selector specifying which fields to include in a partial response.
100
+ # @param [String] quota_user
101
+ # Available to use for quota purposes for server-side applications. Can be any
102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
+ # @param [Google::Apis::RequestOptions] options
104
+ # Request-specific options
105
+ #
106
+ # @yield [result, err] Result & error if block supplied
107
+ # @yieldparam result [Google::Apis::MonitoringV1::Empty] parsed result object
108
+ # @yieldparam err [StandardError] error object if request failed
109
+ #
110
+ # @return [Google::Apis::MonitoringV1::Empty]
111
+ #
112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
115
+ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
116
+ command = make_simple_command(:delete, 'v1/{+name}', options)
117
+ command.response_representation = Google::Apis::MonitoringV1::Empty::Representation
118
+ command.response_class = Google::Apis::MonitoringV1::Empty
119
+ command.params['name'] = name unless name.nil?
120
+ command.query['fields'] = fields unless fields.nil?
121
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
122
+ execute_or_queue_command(command, &block)
123
+ end
124
+
125
+ # Gets the latest state of a long-running operation. Clients can use this method
126
+ # to poll the operation result at intervals as recommended by the API service.
127
+ # @param [String] name
128
+ # The name of the operation resource.
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::MonitoringV1::Operation] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::MonitoringV1::Operation]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1/{+name}', options)
148
+ command.response_representation = Google::Apis::MonitoringV1::Operation::Representation
149
+ command.response_class = Google::Apis::MonitoringV1::Operation
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
156
+ # Lists operations that match the specified filter in the request. If the server
157
+ # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
158
+ # allows API services to override the binding to use different resource name
159
+ # schemes, such as users/*/operations. To override the binding, API services can
160
+ # add a binding such as "/v1/`name=users/*`/operations" to their service
161
+ # configuration. For backwards compatibility, the default name includes the
162
+ # operations collection id, however overriding users must ensure the name
163
+ # binding is the parent resource, without the operations collection id.
164
+ # @param [String] name
165
+ # The name of the operation's parent resource.
166
+ # @param [String] filter
167
+ # The standard list filter.
168
+ # @param [Fixnum] page_size
169
+ # The standard list page size.
170
+ # @param [String] page_token
171
+ # The standard list page token.
172
+ # @param [String] fields
173
+ # Selector specifying which fields to include in a partial response.
174
+ # @param [String] quota_user
175
+ # Available to use for quota purposes for server-side applications. Can be any
176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
177
+ # @param [Google::Apis::RequestOptions] options
178
+ # Request-specific options
179
+ #
180
+ # @yield [result, err] Result & error if block supplied
181
+ # @yieldparam result [Google::Apis::MonitoringV1::ListOperationsResponse] parsed result object
182
+ # @yieldparam err [StandardError] error object if request failed
183
+ #
184
+ # @return [Google::Apis::MonitoringV1::ListOperationsResponse]
185
+ #
186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
189
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
190
+ command = make_simple_command(:get, 'v1/{+name}', options)
191
+ command.response_representation = Google::Apis::MonitoringV1::ListOperationsResponse::Representation
192
+ command.response_class = Google::Apis::MonitoringV1::ListOperationsResponse
193
+ command.params['name'] = name unless name.nil?
194
+ command.query['filter'] = filter unless filter.nil?
195
+ command.query['pageSize'] = page_size unless page_size.nil?
196
+ command.query['pageToken'] = page_token unless page_token.nil?
197
+ command.query['fields'] = fields unless fields.nil?
198
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
199
+ execute_or_queue_command(command, &block)
200
+ end
201
+
202
+ protected
203
+
204
+ def apply_command_defaults(command)
205
+ command.query['key'] = key unless key.nil?
206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
207
+ end
208
+ end
209
+ end
210
+ end
211
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181119'
28
+ REVISION = '20181213'
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'
@@ -365,8 +365,9 @@ module Google
365
365
  # The new ack deadline with respect to the time this request was sent to
366
366
  # the Pub/Sub system. For example, if the value is 10, the new
367
367
  # ack deadline will expire 10 seconds after the `ModifyAckDeadline` call
368
- # was made. Specifying zero may immediately make the message available for
369
- # another pull request.
368
+ # was made. Specifying zero might immediately make the message available for
369
+ # delivery to another subscriber client. This typically results in an
370
+ # increase in the rate of message redeliveries (that is, duplicates).
370
371
  # The minimum deadline you can specify is 0 seconds.
371
372
  # The maximum deadline you can specify is 600 seconds (10 minutes).
372
373
  # Corresponds to the JSON property `ackDeadlineSeconds`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181213'
28
+ REVISION = '20181217'
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'
@@ -2242,17 +2242,21 @@ module Google
2242
2242
  include Google::Apis::Core::Hashable
2243
2243
 
2244
2244
  # Monitoring configurations for sending metrics to the consumer project.
2245
- # There can be multiple consumer destinations, each one must have a
2246
- # different monitored resource type. A metric can be used in at most
2247
- # one consumer destination.
2245
+ # There can be multiple consumer destinations. A monitored resouce type may
2246
+ # appear in multiple monitoring destinations if different aggregations are
2247
+ # needed for different sets of metrics associated with that monitored
2248
+ # resource type. A monitored resource and metric pair may only be used once
2249
+ # in the Monitoring configuration.
2248
2250
  # Corresponds to the JSON property `consumerDestinations`
2249
2251
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::MonitoringDestination>]
2250
2252
  attr_accessor :consumer_destinations
2251
2253
 
2252
2254
  # Monitoring configurations for sending metrics to the producer project.
2253
- # There can be multiple producer destinations, each one must have a
2254
- # different monitored resource type. A metric can be used in at most
2255
- # one producer destination.
2255
+ # There can be multiple producer destinations. A monitored resouce type may
2256
+ # appear in multiple monitoring destinations if different aggregations are
2257
+ # needed for different sets of metrics associated with that monitored
2258
+ # resource type. A monitored resource and metric pair may only be used once
2259
+ # in the Monitoring configuration.
2256
2260
  # Corresponds to the JSON property `producerDestinations`
2257
2261
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::MonitoringDestination>]
2258
2262
  attr_accessor :producer_destinations
@@ -2273,8 +2277,8 @@ module Google
2273
2277
  class MonitoringDestination
2274
2278
  include Google::Apis::Core::Hashable
2275
2279
 
2276
- # Names of the metrics to report to this monitoring destination.
2277
- # Each name must be defined in Service.metrics section.
2280
+ # Types of the metrics to report to this monitoring destination.
2281
+ # Each type must be defined in Service.metrics section.
2278
2282
  # Corresponds to the JSON property `metrics`
2279
2283
  # @return [Array<String>]
2280
2284
  attr_accessor :metrics