google-api-client 0.30.1 → 0.30.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
  8. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +8 -64
  14. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  15. data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +12 -4
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
  23. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
  25. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
  27. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
  29. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
  33. data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
  34. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
  38. data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +6 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  44. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
  45. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +6 -0
  49. data/generated/google/apis/content_v2/representations.rb +2 -0
  50. data/generated/google/apis/content_v2_1.rb +1 -1
  51. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  52. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
  57. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  58. data/generated/google/apis/dlp_v2.rb +1 -1
  59. data/generated/google/apis/dlp_v2/classes.rb +8 -74
  60. data/generated/google/apis/docs_v1.rb +1 -1
  61. data/generated/google/apis/docs_v1/classes.rb +10 -0
  62. data/generated/google/apis/fcm_v1.rb +1 -1
  63. data/generated/google/apis/fcm_v1/classes.rb +56 -0
  64. data/generated/google/apis/fcm_v1/representations.rb +31 -0
  65. data/generated/google/apis/file_v1.rb +1 -1
  66. data/generated/google/apis/file_v1/classes.rb +6 -6
  67. data/generated/google/apis/file_v1/representations.rb +1 -1
  68. data/generated/google/apis/file_v1beta1.rb +1 -1
  69. data/generated/google/apis/file_v1beta1/classes.rb +6 -6
  70. data/generated/google/apis/file_v1beta1/representations.rb +1 -1
  71. data/generated/google/apis/genomics_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1/classes.rb +8 -74
  73. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  74. data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
  75. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  76. data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +10 -2
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
  85. data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
  86. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  87. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
  88. data/generated/google/apis/language_v1.rb +1 -1
  89. data/generated/google/apis/language_v1/classes.rb +4 -37
  90. data/generated/google/apis/language_v1beta1.rb +1 -1
  91. data/generated/google/apis/language_v1beta1/classes.rb +4 -37
  92. data/generated/google/apis/language_v1beta2.rb +1 -1
  93. data/generated/google/apis/language_v1beta2/classes.rb +4 -37
  94. data/generated/google/apis/logging_v2.rb +5 -2
  95. data/generated/google/apis/logging_v2/service.rb +4 -1
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +27 -77
  98. data/generated/google/apis/ml_v1/representations.rb +2 -0
  99. data/generated/google/apis/monitoring_v3.rb +5 -2
  100. data/generated/google/apis/monitoring_v3/classes.rb +13 -97
  101. data/generated/google/apis/monitoring_v3/service.rb +4 -1
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +12 -78
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
  107. data/generated/google/apis/redis_v1beta1/service.rb +2 -2
  108. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  109. data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
  110. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
  112. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  113. data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
  114. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  115. data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
  116. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  117. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
  118. data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
  119. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
  120. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
  121. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  124. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  125. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
  126. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
  128. data/generated/google/apis/serviceusage_v1.rb +1 -1
  129. data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
  130. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
  132. data/generated/google/apis/storage_v1.rb +1 -1
  133. data/generated/google/apis/storage_v1/classes.rb +0 -7
  134. data/generated/google/apis/storage_v1/representations.rb +0 -1
  135. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  136. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
  137. data/generated/google/apis/vision_v1.rb +1 -1
  138. data/generated/google/apis/vision_v1/classes.rb +36 -333
  139. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  140. data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
  141. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
  143. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  145. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  146. data/lib/google/apis/version.rb +1 -1
  147. metadata +6 -2
@@ -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 SecuritycenterV1p1alpha1
23
+ # Cloud Security Command Center API
24
+ #
25
+ # Cloud Security Command Center API provides access to temporal views of assets
26
+ # and findings within an organization.
27
+ #
28
+ # @example
29
+ # require 'google/apis/securitycenter_v1p1alpha1'
30
+ #
31
+ # Securitycenter = Google::Apis::SecuritycenterV1p1alpha1 # Alias the module
32
+ # service = Securitycenter::SecurityCommandCenterService.new
33
+ #
34
+ # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
35
+ class SecurityCommandCenterService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://securitycenter.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
+ end
50
+
51
+ # Starts asynchronous cancellation on a long-running operation. The server
52
+ # makes a best effort to cancel the operation, but success is not
53
+ # guaranteed. If the server doesn't support this method, it returns
54
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
55
+ # Operations.GetOperation or
56
+ # other methods to check whether the cancellation succeeded or whether the
57
+ # operation completed despite cancellation. On successful cancellation,
58
+ # the operation is not deleted; instead, it becomes an operation with
59
+ # an Operation.error value with a google.rpc.Status.code of 1,
60
+ # corresponding to `Code.CANCELLED`.
61
+ # @param [String] name
62
+ # The name of the operation resource to be cancelled.
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::SecuritycenterV1p1alpha1::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::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_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1p1alpha1/{+name}:cancel', options)
82
+ command.response_representation = Google::Apis::SecuritycenterV1p1alpha1::Empty::Representation
83
+ command.response_class = Google::Apis::SecuritycenterV1p1alpha1::Empty
84
+ command.params['name'] = name unless name.nil?
85
+ command.query['fields'] = fields unless fields.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ execute_or_queue_command(command, &block)
88
+ end
89
+
90
+ # Deletes a long-running operation. This method indicates that the client is
91
+ # no longer interested in the operation result. It does not cancel the
92
+ # operation. If the server doesn't support this method, it returns
93
+ # `google.rpc.Code.UNIMPLEMENTED`.
94
+ # @param [String] name
95
+ # The name of the operation resource to be deleted.
96
+ # @param [String] fields
97
+ # Selector specifying which fields to include in a partial response.
98
+ # @param [String] quota_user
99
+ # Available to use for quota purposes for server-side applications. Can be any
100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
101
+ # @param [Google::Apis::RequestOptions] options
102
+ # Request-specific options
103
+ #
104
+ # @yield [result, err] Result & error if block supplied
105
+ # @yieldparam result [Google::Apis::SecuritycenterV1p1alpha1::Empty] parsed result object
106
+ # @yieldparam err [StandardError] error object if request failed
107
+ #
108
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::Empty]
109
+ #
110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
113
+ def delete_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
114
+ command = make_simple_command(:delete, 'v1p1alpha1/{+name}', options)
115
+ command.response_representation = Google::Apis::SecuritycenterV1p1alpha1::Empty::Representation
116
+ command.response_class = Google::Apis::SecuritycenterV1p1alpha1::Empty
117
+ command.params['name'] = name unless name.nil?
118
+ command.query['fields'] = fields unless fields.nil?
119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
120
+ execute_or_queue_command(command, &block)
121
+ end
122
+
123
+ # Gets the latest state of a long-running operation. Clients can use this
124
+ # method to poll the operation result at intervals as recommended by the API
125
+ # service.
126
+ # @param [String] name
127
+ # The name of the operation resource.
128
+ # @param [String] fields
129
+ # Selector specifying which fields to include in a partial response.
130
+ # @param [String] quota_user
131
+ # Available to use for quota purposes for server-side applications. Can be any
132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
133
+ # @param [Google::Apis::RequestOptions] options
134
+ # Request-specific options
135
+ #
136
+ # @yield [result, err] Result & error if block supplied
137
+ # @yieldparam result [Google::Apis::SecuritycenterV1p1alpha1::Operation] parsed result object
138
+ # @yieldparam err [StandardError] error object if request failed
139
+ #
140
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::Operation]
141
+ #
142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
145
+ def get_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
146
+ command = make_simple_command(:get, 'v1p1alpha1/{+name}', options)
147
+ command.response_representation = Google::Apis::SecuritycenterV1p1alpha1::Operation::Representation
148
+ command.response_class = Google::Apis::SecuritycenterV1p1alpha1::Operation
149
+ command.params['name'] = name unless name.nil?
150
+ command.query['fields'] = fields unless fields.nil?
151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
152
+ execute_or_queue_command(command, &block)
153
+ end
154
+
155
+ # Lists operations that match the specified filter in the request. If the
156
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
157
+ # NOTE: the `name` binding allows API services to override the binding
158
+ # to use different resource name schemes, such as `users/*/operations`. To
159
+ # override the binding, API services can add a binding such as
160
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
161
+ # For backwards compatibility, the default name includes the operations
162
+ # collection id, however overriding users must ensure the name binding
163
+ # 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::SecuritycenterV1p1alpha1::ListOperationsResponse] parsed result object
182
+ # @yieldparam err [StandardError] error object if request failed
183
+ #
184
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::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_organization_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
190
+ command = make_simple_command(:get, 'v1p1alpha1/{+name}', options)
191
+ command.response_representation = Google::Apis::SecuritycenterV1p1alpha1::ListOperationsResponse::Representation
192
+ command.response_class = Google::Apis::SecuritycenterV1p1alpha1::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/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190530'
28
+ REVISION = '20190604'
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'
@@ -2138,6 +2138,7 @@ module Google
2138
2138
  # Different APIs can support different monitored resource types. APIs generally
2139
2139
  # provide a `list` method that returns the monitored resource descriptors used
2140
2140
  # by the API.
2141
+ # Next ID: 10
2141
2142
  class MonitoredResourceDescriptor
2142
2143
  include Google::Apis::Core::Hashable
2143
2144
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190530'
29
+ REVISION = '20190604'
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'
@@ -2153,6 +2153,7 @@ module Google
2153
2153
  # Different APIs can support different monitored resource types. APIs generally
2154
2154
  # provide a `list` method that returns the monitored resource descriptors used
2155
2155
  # by the API.
2156
+ # Next ID: 10
2156
2157
  class MonitoredResourceDescriptor
2157
2158
  include Google::Apis::Core::Hashable
2158
2159
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20190530'
29
+ REVISION = '20190604'
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'
@@ -2093,6 +2093,7 @@ module Google
2093
2093
  # Different APIs can support different monitored resource types. APIs generally
2094
2094
  # provide a `list` method that returns the monitored resource descriptors used
2095
2095
  # by the API.
2096
+ # Next ID: 10
2096
2097
  class MonitoredResourceDescriptor
2097
2098
  include Google::Apis::Core::Hashable
2098
2099
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190530'
30
+ REVISION = '20190605'
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'
@@ -2847,6 +2847,7 @@ module Google
2847
2847
  # Different APIs can support different monitored resource types. APIs generally
2848
2848
  # provide a `list` method that returns the monitored resource descriptors used
2849
2849
  # by the API.
2850
+ # Next ID: 10
2850
2851
  class MonitoredResourceDescriptor
2851
2852
  include Google::Apis::Core::Hashable
2852
2853
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190530'
30
+ REVISION = '20190605'
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'
@@ -2823,6 +2823,7 @@ module Google
2823
2823
  # Different APIs can support different monitored resource types. APIs generally
2824
2824
  # provide a `list` method that returns the monitored resource descriptors used
2825
2825
  # by the API.
2826
+ # Next ID: 10
2826
2827
  class MonitoredResourceDescriptor
2827
2828
  include Google::Apis::Core::Hashable
2828
2829
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190426'
28
+ REVISION = '20190523'
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'
@@ -987,12 +987,6 @@ module Google
987
987
  # @return [String]
988
988
  attr_accessor :expression
989
989
 
990
- # The kind of item this is. For storage, this is always storage#expr. This field
991
- # is ignored on input.
992
- # Corresponds to the JSON property `kind`
993
- # @return [String]
994
- attr_accessor :kind
995
-
996
990
  # An optional string indicating the location of the expression for error
997
991
  # reporting, e.g. a file name and a position in the file.
998
992
  # Corresponds to the JSON property `location`
@@ -1013,7 +1007,6 @@ module Google
1013
1007
  def update!(**args)
1014
1008
  @description = args[:description] if args.key?(:description)
1015
1009
  @expression = args[:expression] if args.key?(:expression)
1016
- @kind = args[:kind] if args.key?(:kind)
1017
1010
  @location = args[:location] if args.key?(:location)
1018
1011
  @title = args[:title] if args.key?(:title)
1019
1012
  end
@@ -529,7 +529,6 @@ module Google
529
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
530
  property :description, as: 'description'
531
531
  property :expression, as: 'expression'
532
- property :kind, as: 'kind'
533
532
  property :location, as: 'location'
534
533
  property :title, as: 'title'
535
534
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190513'
29
+ REVISION = '20190603'
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'
@@ -392,9 +392,10 @@ module Google
392
392
  # If specified, only objects with a `lastModificationTime` on or after
393
393
  # `NOW` - `maxTimeElapsedSinceLastModification` and objects that don't have
394
394
  # a `lastModificationTime` are transferred.
395
- # Note that `NOW` refers to the creation time of the transfer job, and
395
+ # Note that, for each `TransferOperation` started by this `TransferJob`,
396
+ # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
396
397
  # `lastModificationTime` refers to the time of the last change to the
397
- # object's content or metadata. Specifically, this would be the `updated`
398
+ # object's content or metadata - specifically, this would be the `updated`
398
399
  # property of GCS objects and the `LastModified` field of S3 objects.
399
400
  # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
400
401
  # @return [String]
@@ -403,9 +404,10 @@ module Google
403
404
  # If specified, only objects with a `lastModificationTime` before
404
405
  # `NOW` - `minTimeElapsedSinceLastModification` and objects that don't have a
405
406
  # `lastModificationTime` are transferred.
406
- # Note that `NOW` refers to the creation time of the transfer job, and
407
+ # Note that, for each `TransferOperation` started by this `TransferJob`,
408
+ # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
407
409
  # `lastModificationTime` refers to the time of the last change to the
408
- # object's content or metadata. Specifically, this would be the `updated`
410
+ # object's content or metadata - specifically, this would be the `updated`
409
411
  # property of GCS objects and the `LastModified` field of S3 objects.
410
412
  # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
411
413
  # @return [String]
@@ -439,43 +441,10 @@ module Google
439
441
 
440
442
  # The `Status` type defines a logical error model that is suitable for
441
443
  # different programming environments, including REST APIs and RPC APIs. It is
442
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
443
- # - Simple to use and understand for most users
444
- # - Flexible enough to meet unexpected needs
445
- # # Overview
446
- # The `Status` message contains three pieces of data: error code, error
447
- # message, and error details. The error code should be an enum value of
448
- # google.rpc.Code, but it may accept additional error codes if needed. The
449
- # error message should be a developer-facing English message that helps
450
- # developers *understand* and *resolve* the error. If a localized user-facing
451
- # error message is needed, put the localized message in the error details or
452
- # localize it in the client. The optional error details may contain arbitrary
453
- # information about the error. There is a predefined set of error detail types
454
- # in the package `google.rpc` that can be used for common error conditions.
455
- # # Language mapping
456
- # The `Status` message is the logical representation of the error model, but it
457
- # is not necessarily the actual wire format. When the `Status` message is
458
- # exposed in different client libraries and different wire protocols, it can be
459
- # mapped differently. For example, it will likely be mapped to some exceptions
460
- # in Java, but more likely mapped to some error codes in C.
461
- # # Other uses
462
- # The error model and the `Status` message can be used in a variety of
463
- # environments, either with or without APIs, to provide a
464
- # consistent developer experience across different environments.
465
- # Example uses of this error model include:
466
- # - Partial errors. If a service needs to return partial errors to the client,
467
- # it may embed the `Status` in the normal response to indicate the partial
468
- # errors.
469
- # - Workflow errors. A typical workflow has multiple steps. Each step may
470
- # have a `Status` message for error reporting.
471
- # - Batch operations. If a client uses batch request and batch response, the
472
- # `Status` message should be used directly inside batch response, one for
473
- # each error sub-response.
474
- # - Asynchronous operations. If an API call embeds asynchronous operation
475
- # results in its response, the status of those operations should be
476
- # represented directly using the `Status` message.
477
- # - Logging. If some API errors are stored in logs, the message `Status` could
478
- # be used directly after any stripping needed for security/privacy reasons.
444
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
445
+ # three pieces of data: error code, error message, and error details.
446
+ # You can find out more about this error model and how to work with it in the
447
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
479
448
  # Corresponds to the JSON property `error`
480
449
  # @return [Google::Apis::StoragetransferV1::Status]
481
450
  attr_accessor :error
@@ -593,43 +562,10 @@ module Google
593
562
 
594
563
  # The `Status` type defines a logical error model that is suitable for
595
564
  # different programming environments, including REST APIs and RPC APIs. It is
596
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
597
- # - Simple to use and understand for most users
598
- # - Flexible enough to meet unexpected needs
599
- # # Overview
600
- # The `Status` message contains three pieces of data: error code, error
601
- # message, and error details. The error code should be an enum value of
602
- # google.rpc.Code, but it may accept additional error codes if needed. The
603
- # error message should be a developer-facing English message that helps
604
- # developers *understand* and *resolve* the error. If a localized user-facing
605
- # error message is needed, put the localized message in the error details or
606
- # localize it in the client. The optional error details may contain arbitrary
607
- # information about the error. There is a predefined set of error detail types
608
- # in the package `google.rpc` that can be used for common error conditions.
609
- # # Language mapping
610
- # The `Status` message is the logical representation of the error model, but it
611
- # is not necessarily the actual wire format. When the `Status` message is
612
- # exposed in different client libraries and different wire protocols, it can be
613
- # mapped differently. For example, it will likely be mapped to some exceptions
614
- # in Java, but more likely mapped to some error codes in C.
615
- # # Other uses
616
- # The error model and the `Status` message can be used in a variety of
617
- # environments, either with or without APIs, to provide a
618
- # consistent developer experience across different environments.
619
- # Example uses of this error model include:
620
- # - Partial errors. If a service needs to return partial errors to the client,
621
- # it may embed the `Status` in the normal response to indicate the partial
622
- # errors.
623
- # - Workflow errors. A typical workflow has multiple steps. Each step may
624
- # have a `Status` message for error reporting.
625
- # - Batch operations. If a client uses batch request and batch response, the
626
- # `Status` message should be used directly inside batch response, one for
627
- # each error sub-response.
628
- # - Asynchronous operations. If an API call embeds asynchronous operation
629
- # results in its response, the status of those operations should be
630
- # represented directly using the `Status` message.
631
- # - Logging. If some API errors are stored in logs, the message `Status` could
632
- # be used directly after any stripping needed for security/privacy reasons.
565
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
566
+ # three pieces of data: error code, error message, and error details.
567
+ # You can find out more about this error model and how to work with it in the
568
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
633
569
  class Status
634
570
  include Google::Apis::Core::Hashable
635
571