google-api-client 0.37.2 → 0.37.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +74 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +11 -1
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +1 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +6 -5
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +2 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  10. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  11. data/generated/google/apis/alertcenter_v1beta1/classes.rb +7 -71
  12. data/generated/google/apis/alertcenter_v1beta1/representations.rb +0 -31
  13. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +111 -9
  17. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +56 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +151 -0
  19. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  20. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
  21. data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
  22. data/generated/google/apis/chat_v1.rb +1 -1
  23. data/generated/google/apis/chat_v1/classes.rb +4 -2
  24. data/generated/google/apis/classroom_v1.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  26. data/generated/google/apis/cloudbuild_v1/classes.rb +23 -0
  27. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  28. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  29. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  30. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  31. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
  32. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  34. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  35. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  36. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  37. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  38. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
  39. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
  41. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  42. data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
  43. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  44. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  45. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudtrace_v2.rb +4 -4
  47. data/generated/google/apis/cloudtrace_v2/service.rb +3 -3
  48. data/generated/google/apis/cloudtrace_v2beta1.rb +4 -4
  49. data/generated/google/apis/cloudtrace_v2beta1/service.rb +3 -3
  50. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  51. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
  52. data/generated/google/apis/container_v1.rb +1 -1
  53. data/generated/google/apis/container_v1/classes.rb +224 -66
  54. data/generated/google/apis/container_v1/representations.rb +70 -0
  55. data/generated/google/apis/container_v1/service.rb +116 -116
  56. data/generated/google/apis/container_v1beta1/classes.rb +18 -4
  57. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/content_v2.rb +1 -1
  59. data/generated/google/apis/content_v2/classes.rb +18 -2
  60. data/generated/google/apis/content_v2/service.rb +3 -1
  61. data/generated/google/apis/content_v2_1.rb +1 -1
  62. data/generated/google/apis/content_v2_1/classes.rb +51 -0
  63. data/generated/google/apis/content_v2_1/representations.rb +15 -0
  64. data/generated/google/apis/content_v2_1/service.rb +73 -1
  65. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  66. data/generated/google/apis/datacatalog_v1beta1/classes.rb +27 -0
  67. data/generated/google/apis/datacatalog_v1beta1/representations.rb +15 -0
  68. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -0
  69. data/generated/google/apis/dataproc_v1.rb +1 -1
  70. data/generated/google/apis/dataproc_v1/classes.rb +15 -0
  71. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  72. data/generated/google/apis/dialogflow_v2.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2/classes.rb +11 -3
  74. data/generated/google/apis/dialogflow_v2/service.rb +555 -16
  75. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  76. data/generated/google/apis/dialogflow_v2beta1/classes.rb +11 -3
  77. data/generated/google/apis/dialogflow_v2beta1/service.rb +26 -42
  78. data/generated/google/apis/displayvideo_v1.rb +1 -1
  79. data/generated/google/apis/dlp_v2.rb +1 -1
  80. data/generated/google/apis/dlp_v2/classes.rb +417 -2
  81. data/generated/google/apis/dlp_v2/representations.rb +175 -0
  82. data/generated/google/apis/dlp_v2/service.rb +116 -0
  83. data/generated/google/apis/file_v1.rb +1 -1
  84. data/generated/google/apis/file_v1/classes.rb +1 -145
  85. data/generated/google/apis/file_v1/representations.rb +0 -34
  86. data/generated/google/apis/file_v1beta1.rb +1 -1
  87. data/generated/google/apis/file_v1beta1/classes.rb +1 -145
  88. data/generated/google/apis/file_v1beta1/representations.rb +0 -34
  89. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  90. data/generated/google/apis/firebase_v1beta1/service.rb +3 -3
  91. data/generated/google/apis/firebaserules_v1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  93. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -0
  94. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1.rb +1 -1
  96. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  97. data/generated/google/apis/logging_v2.rb +6 -7
  98. data/generated/google/apis/logging_v2/service.rb +5 -6
  99. data/generated/google/apis/manufacturers_v1.rb +1 -1
  100. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  101. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  102. data/generated/google/apis/ml_v1.rb +1 -1
  103. data/generated/google/apis/ml_v1/classes.rb +966 -21
  104. data/generated/google/apis/ml_v1/representations.rb +477 -0
  105. data/generated/google/apis/ml_v1/service.rb +491 -0
  106. data/generated/google/apis/{toolresults_v1.rb → networkmanagement_v1beta1.rb} +13 -9
  107. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
  108. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  109. data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
  110. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  111. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  112. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  113. data/generated/google/apis/recommender_v1beta1/classes.rb +214 -0
  114. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  115. data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
  116. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  118. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  119. data/generated/google/apis/run_v1.rb +1 -1
  120. data/generated/google/apis/run_v1/classes.rb +84 -0
  121. data/generated/google/apis/run_v1/representations.rb +44 -0
  122. data/generated/google/apis/run_v1/service.rb +138 -0
  123. data/generated/google/apis/run_v1alpha1.rb +1 -1
  124. data/generated/google/apis/securitycenter_v1.rb +1 -1
  125. data/generated/google/apis/securitycenter_v1/classes.rb +154 -6
  126. data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
  127. data/generated/google/apis/securitycenter_v1/service.rb +194 -6
  128. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  129. data/generated/google/apis/securitycenter_v1beta1/classes.rb +171 -0
  130. data/generated/google/apis/securitycenter_v1beta1/representations.rb +52 -0
  131. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  132. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +171 -0
  133. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
  134. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  135. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +183 -6
  136. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
  137. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -6
  138. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  139. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -7
  140. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  141. data/generated/google/apis/servicemanagement_v1/classes.rb +58 -1
  142. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  143. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  144. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  145. data/generated/google/apis/serviceusage_v1.rb +1 -1
  146. data/generated/google/apis/serviceusage_v1/classes.rb +8 -7
  147. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  148. data/generated/google/apis/serviceusage_v1beta1/classes.rb +280 -7
  149. data/generated/google/apis/serviceusage_v1beta1/representations.rb +117 -0
  150. data/generated/google/apis/serviceusage_v1beta1/service.rb +515 -0
  151. data/generated/google/apis/sheets_v4.rb +1 -1
  152. data/generated/google/apis/testing_v1.rb +1 -1
  153. data/generated/google/apis/testing_v1/classes.rb +7 -1
  154. data/generated/google/apis/testing_v1/representations.rb +1 -0
  155. data/generated/google/apis/tpu_v1.rb +1 -1
  156. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  157. data/generated/google/apis/translate_v3.rb +1 -1
  158. data/generated/google/apis/translate_v3/classes.rb +6 -3
  159. data/generated/google/apis/videointelligence_v1.rb +1 -1
  160. data/generated/google/apis/videointelligence_v1/classes.rb +13 -13
  161. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  162. data/generated/google/apis/videointelligence_v1beta2/classes.rb +13 -13
  163. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  164. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +13 -13
  165. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  166. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +13 -13
  167. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  168. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +13 -13
  169. data/generated/google/apis/vision_v1.rb +1 -1
  170. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  171. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  172. data/lib/google/apis/core/api_command.rb +4 -0
  173. data/lib/google/apis/version.rb +1 -1
  174. metadata +7 -7
  175. data/generated/google/apis/toolresults_v1/classes.rb +0 -696
  176. data/generated/google/apis/toolresults_v1/representations.rb +0 -438
  177. data/generated/google/apis/toolresults_v1/service.rb +0 -59
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class Finding
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GetIamPolicyRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudSecuritycenterV1NotificationMessage
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -238,6 +250,12 @@ module Google
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class SecurityMarks
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class SetFindingStateRequest
242
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
261
 
@@ -331,6 +349,23 @@ module Google
331
349
  end
332
350
  end
333
351
 
352
+ class Finding
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ property :category, as: 'category'
356
+ property :create_time, as: 'createTime'
357
+ property :event_time, as: 'eventTime'
358
+ property :external_uri, as: 'externalUri'
359
+ property :name, as: 'name'
360
+ property :parent, as: 'parent'
361
+ property :resource_name, as: 'resourceName'
362
+ property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1p1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1p1beta1::SecurityMarks::Representation
363
+
364
+ hash :source_properties, as: 'sourceProperties'
365
+ property :state, as: 'state'
366
+ end
367
+ end
368
+
334
369
  class GetIamPolicyRequest
335
370
  # @private
336
371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -346,6 +381,15 @@ module Google
346
381
  end
347
382
  end
348
383
 
384
+ class GoogleCloudSecuritycenterV1NotificationMessage
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::Finding::Representation
388
+
389
+ property :notification_config_name, as: 'notificationConfigName'
390
+ end
391
+ end
392
+
349
393
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
350
394
  # @private
351
395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -639,6 +683,14 @@ module Google
639
683
  end
640
684
  end
641
685
 
686
+ class SecurityMarks
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ hash :marks, as: 'marks'
690
+ property :name, as: 'name'
691
+ end
692
+ end
693
+
642
694
  class SetFindingStateRequest
643
695
  # @private
644
696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1063,12 +1063,18 @@ module Google
1063
1063
  # two times don't affect the result. For example, the results aren't affected
1064
1064
  # if the finding is made inactive and then active again.
1065
1065
  # Possible "state_change" values when compare_duration is specified:
1066
- # * "CHANGED": indicates that the finding was present at the start of
1067
- # compare_duration, but changed its state at read_time.
1068
- # * "UNCHANGED": indicates that the finding was present at the start of
1069
- # compare_duration and did not change state at read_time.
1070
- # * "ADDED": indicates that the finding was not present at the start
1071
- # of compare_duration, but was present at read_time.
1066
+ # * "CHANGED": indicates that the finding was present and matched the given
1067
+ # filter at the start of compare_duration, but changed its
1068
+ # state at read_time.
1069
+ # * "UNCHANGED": indicates that the finding was present and matched the given
1070
+ # filter at the start of compare_duration and did not change
1071
+ # state at read_time.
1072
+ # * "ADDED": indicates that the finding did not match the given filter or
1073
+ # was not present at the start of compare_duration, but was
1074
+ # present at read_time.
1075
+ # * "REMOVED": indicates that the finding was present and matched the
1076
+ # filter at the start of compare_duration, but did not match
1077
+ # the filter at read_time.
1072
1078
  # If compare_duration is not specified, then the only possible state_change
1073
1079
  # is "UNUSED", which will be the state_change set for all findings present at
1074
1080
  # read_time.
@@ -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 = '20200226'
28
+ REVISION = '20200305'
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'
@@ -4057,17 +4057,18 @@ module Google
4057
4057
  # could contain an entry with the key "region" and the value "us-east-1";
4058
4058
  # the override is only applied to quota consumed in that region.
4059
4059
  # This map has the following restrictions:
4060
- # - Keys that are not defined in the limit's unit are not valid keys.
4060
+ # * Keys that are not defined in the limit's unit are not valid keys.
4061
4061
  # Any string appearing in `brackets` in the unit (besides `project` or
4062
4062
  # `user`) is a defined key.
4063
- # - "project" is not a valid key; the project is already specified in
4063
+ # * "project" is not a valid key; the project is already specified in
4064
4064
  # the parent resource name.
4065
- # - "user" is not a valid key; the API does not support quota overrides
4065
+ # * "user" is not a valid key; the API does not support quota overrides
4066
4066
  # that apply only to a specific user.
4067
- # - If "region" appears as a key, its value must be a valid Cloud region.
4068
- # - If "zone" appears as a key, its value must be a valid Cloud zone.
4069
- # - If any valid key other than "region" or "zone" appears in the map, then
4070
- # all valid keys other than "region" or "zone" must also appear in the map.
4067
+ # * If "region" appears as a key, its value must be a valid Cloud region.
4068
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
4069
+ # * If any valid key other than "region" or "zone" appears in the map, then
4070
+ # all valid keys other than "region" or "zone" must also appear in the
4071
+ # map.
4071
4072
  # Corresponds to the JSON property `dimensions`
4072
4073
  # @return [Hash<String,String>]
4073
4074
  attr_accessor :dimensions
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200221'
30
+ REVISION = '20200228'
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'
@@ -300,6 +300,24 @@ module Google
300
300
  # @return [String]
301
301
  attr_accessor :jwks_uri
302
302
 
303
+ # Defines the locations to extract the JWT.
304
+ # JWT locations can be either from HTTP headers or URL query parameters.
305
+ # The rule is that the first match wins. The checking order is: checking
306
+ # all headers first, then URL query parameters.
307
+ # If not specified, default to use following 3 locations:
308
+ # 1) Authorization: Bearer
309
+ # 2) x-goog-iap-jwt-assertion
310
+ # 3) access_token query parameter
311
+ # Default locations can be specified as followings:
312
+ # jwt_locations:
313
+ # - header: Authorization
314
+ # value_prefix: "Bearer "
315
+ # - header: x-goog-iap-jwt-assertion
316
+ # - query: access_token
317
+ # Corresponds to the JSON property `jwtLocations`
318
+ # @return [Array<Google::Apis::ServicemanagementV1::JwtLocation>]
319
+ attr_accessor :jwt_locations
320
+
303
321
  def initialize(**args)
304
322
  update!(**args)
305
323
  end
@@ -311,6 +329,7 @@ module Google
311
329
  @id = args[:id] if args.key?(:id)
312
330
  @issuer = args[:issuer] if args.key?(:issuer)
313
331
  @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
332
+ @jwt_locations = args[:jwt_locations] if args.key?(:jwt_locations)
314
333
  end
315
334
  end
316
335
 
@@ -2142,6 +2161,43 @@ module Google
2142
2161
  end
2143
2162
  end
2144
2163
 
2164
+ # Specifies a location to extract JWT from an API request.
2165
+ class JwtLocation
2166
+ include Google::Apis::Core::Hashable
2167
+
2168
+ # Specifies HTTP header name to extract JWT token.
2169
+ # Corresponds to the JSON property `header`
2170
+ # @return [String]
2171
+ attr_accessor :header
2172
+
2173
+ # Specifies URL query parameter name to extract JWT token.
2174
+ # Corresponds to the JSON property `query`
2175
+ # @return [String]
2176
+ attr_accessor :query
2177
+
2178
+ # The value prefix. The value format is "value_prefix`token`"
2179
+ # Only applies to "in" header type. Must be empty for "in" query type.
2180
+ # If not empty, the header value has to match (case sensitive) this prefix.
2181
+ # If not matched, JWT will not be extracted. If matched, JWT will be
2182
+ # extracted after the prefix is removed.
2183
+ # For example, for "Authorization: Bearer `JWT`",
2184
+ # value_prefix="Bearer " with a space at the end.
2185
+ # Corresponds to the JSON property `valuePrefix`
2186
+ # @return [String]
2187
+ attr_accessor :value_prefix
2188
+
2189
+ def initialize(**args)
2190
+ update!(**args)
2191
+ end
2192
+
2193
+ # Update properties of this object
2194
+ def update!(**args)
2195
+ @header = args[:header] if args.key?(:header)
2196
+ @query = args[:query] if args.key?(:query)
2197
+ @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
2198
+ end
2199
+ end
2200
+
2145
2201
  # A description of a label.
2146
2202
  class LabelDescriptor
2147
2203
  include Google::Apis::Core::Hashable
@@ -3522,7 +3578,8 @@ module Google
3522
3578
  # @return [String]
3523
3579
  attr_accessor :create_time
3524
3580
 
3525
- # The user who created the Rollout. Readonly.
3581
+ # This field is deprecated and will be deleted. Please remove usage of
3582
+ # this field.
3526
3583
  # Corresponds to the JSON property `createdBy`
3527
3584
  # @return [String]
3528
3585
  attr_accessor :created_by
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class JwtLocation
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class LabelDescriptor
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -605,6 +611,8 @@ module Google
605
611
  property :id, as: 'id'
606
612
  property :issuer, as: 'issuer'
607
613
  property :jwks_uri, as: 'jwksUri'
614
+ collection :jwt_locations, as: 'jwtLocations', class: Google::Apis::ServicemanagementV1::JwtLocation, decorator: Google::Apis::ServicemanagementV1::JwtLocation::Representation
615
+
608
616
  end
609
617
  end
610
618
 
@@ -980,6 +988,15 @@ module Google
980
988
  end
981
989
  end
982
990
 
991
+ class JwtLocation
992
+ # @private
993
+ class Representation < Google::Apis::Core::JsonRepresentation
994
+ property :header, as: 'header'
995
+ property :query, as: 'query'
996
+ property :value_prefix, as: 'valuePrefix'
997
+ end
998
+ end
999
+
983
1000
  class LabelDescriptor
984
1001
  # @private
985
1002
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20200226'
29
+ REVISION = '20200305'
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'
@@ -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 = '20200226'
29
+ REVISION = '20200305'
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'
@@ -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 = '20200226'
30
+ REVISION = '20200305'
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'
@@ -3674,17 +3674,18 @@ module Google
3674
3674
  # could contain an entry with the key "region" and the value "us-east-1";
3675
3675
  # the override is only applied to quota consumed in that region.
3676
3676
  # This map has the following restrictions:
3677
- # - Keys that are not defined in the limit's unit are not valid keys.
3677
+ # * Keys that are not defined in the limit's unit are not valid keys.
3678
3678
  # Any string appearing in `brackets` in the unit (besides `project` or
3679
3679
  # `user`) is a defined key.
3680
- # - "project" is not a valid key; the project is already specified in
3680
+ # * "project" is not a valid key; the project is already specified in
3681
3681
  # the parent resource name.
3682
- # - "user" is not a valid key; the API does not support quota overrides
3682
+ # * "user" is not a valid key; the API does not support quota overrides
3683
3683
  # that apply only to a specific user.
3684
- # - If "region" appears as a key, its value must be a valid Cloud region.
3685
- # - If "zone" appears as a key, its value must be a valid Cloud zone.
3686
- # - If any valid key other than "region" or "zone" appears in the map, then
3687
- # all valid keys other than "region" or "zone" must also appear in the map.
3684
+ # * If "region" appears as a key, its value must be a valid Cloud region.
3685
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
3686
+ # * If any valid key other than "region" or "zone" appears in the map, then
3687
+ # all valid keys other than "region" or "zone" must also appear in the
3688
+ # map.
3688
3689
  # Corresponds to the JSON property `dimensions`
3689
3690
  # @return [Hash<String,String>]
3690
3691
  attr_accessor :dimensions
@@ -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 = '20200226'
30
+ REVISION = '20200308'
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'
@@ -623,6 +623,116 @@ module Google
623
623
  end
624
624
  end
625
625
 
626
+ # Consumer quota settings for a quota limit.
627
+ class ConsumerQuotaLimit
628
+ include Google::Apis::Core::Hashable
629
+
630
+ # Whether admin overrides are allowed on this limit
631
+ # Corresponds to the JSON property `allowsAdminOverrides`
632
+ # @return [Boolean]
633
+ attr_accessor :allows_admin_overrides
634
+ alias_method :allows_admin_overrides?, :allows_admin_overrides
635
+
636
+ # Whether this limit is precise or imprecise.
637
+ # Corresponds to the JSON property `isPrecise`
638
+ # @return [Boolean]
639
+ attr_accessor :is_precise
640
+ alias_method :is_precise?, :is_precise
641
+
642
+ # The name of the parent metric of this limit.
643
+ # An example name would be:
644
+ # `compute.googleapis.com/cpus`
645
+ # Corresponds to the JSON property `metric`
646
+ # @return [String]
647
+ attr_accessor :metric
648
+
649
+ # The resource name of the quota limit.
650
+ # An example name would be:
651
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
652
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
653
+ # The resource name is intended to be opaque and should not be parsed for
654
+ # its component strings, since its representation could change in the future.
655
+ # Corresponds to the JSON property `name`
656
+ # @return [String]
657
+ attr_accessor :name
658
+
659
+ # Summary of the enforced quota buckets, organized by quota dimension,
660
+ # ordered from least specific to most specific (for example, the global
661
+ # default bucket, with no quota dimensions, will always appear first).
662
+ # Corresponds to the JSON property `quotaBuckets`
663
+ # @return [Array<Google::Apis::ServiceusageV1beta1::QuotaBucket>]
664
+ attr_accessor :quota_buckets
665
+
666
+ # The limit unit.
667
+ # An example unit would be
668
+ # `1/`project`/`region``
669
+ # Note that ``project`` and ``region`` are not placeholders in this example;
670
+ # the literal characters ``` and ``` occur in the string.
671
+ # Corresponds to the JSON property `unit`
672
+ # @return [String]
673
+ attr_accessor :unit
674
+
675
+ def initialize(**args)
676
+ update!(**args)
677
+ end
678
+
679
+ # Update properties of this object
680
+ def update!(**args)
681
+ @allows_admin_overrides = args[:allows_admin_overrides] if args.key?(:allows_admin_overrides)
682
+ @is_precise = args[:is_precise] if args.key?(:is_precise)
683
+ @metric = args[:metric] if args.key?(:metric)
684
+ @name = args[:name] if args.key?(:name)
685
+ @quota_buckets = args[:quota_buckets] if args.key?(:quota_buckets)
686
+ @unit = args[:unit] if args.key?(:unit)
687
+ end
688
+ end
689
+
690
+ # Consumer quota settings for a quota metric.
691
+ class ConsumerQuotaMetric
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # The consumer quota for each quota limit defined on the metric.
695
+ # Corresponds to the JSON property `consumerQuotaLimits`
696
+ # @return [Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaLimit>]
697
+ attr_accessor :consumer_quota_limits
698
+
699
+ # The display name of the metric.
700
+ # An example name would be:
701
+ # "CPUs"
702
+ # Corresponds to the JSON property `displayName`
703
+ # @return [String]
704
+ attr_accessor :display_name
705
+
706
+ # The name of the metric.
707
+ # An example name would be:
708
+ # `compute.googleapis.com/cpus`
709
+ # Corresponds to the JSON property `metric`
710
+ # @return [String]
711
+ attr_accessor :metric
712
+
713
+ # The resource name of the quota settings on this metric for this consumer.
714
+ # An example name would be:
715
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
716
+ # googleapis.com%2Fcpus
717
+ # The resource name is intended to be opaque and should not be parsed for
718
+ # its component strings, since its representation could change in the future.
719
+ # Corresponds to the JSON property `name`
720
+ # @return [String]
721
+ attr_accessor :name
722
+
723
+ def initialize(**args)
724
+ update!(**args)
725
+ end
726
+
727
+ # Update properties of this object
728
+ def update!(**args)
729
+ @consumer_quota_limits = args[:consumer_quota_limits] if args.key?(:consumer_quota_limits)
730
+ @display_name = args[:display_name] if args.key?(:display_name)
731
+ @metric = args[:metric] if args.key?(:metric)
732
+ @name = args[:name] if args.key?(:name)
733
+ end
734
+ end
735
+
626
736
  # `Context` defines which contexts an API requests.
627
737
  # Example:
628
738
  # context:
@@ -2518,6 +2628,84 @@ module Google
2518
2628
  end
2519
2629
  end
2520
2630
 
2631
+ # Response message for ListAdminOverrides.
2632
+ class ListAdminOverridesResponse
2633
+ include Google::Apis::Core::Hashable
2634
+
2635
+ # Token identifying which result to start with; returned by a previous list
2636
+ # call.
2637
+ # Corresponds to the JSON property `nextPageToken`
2638
+ # @return [String]
2639
+ attr_accessor :next_page_token
2640
+
2641
+ # Admin overrides on this limit.
2642
+ # Corresponds to the JSON property `overrides`
2643
+ # @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
2644
+ attr_accessor :overrides
2645
+
2646
+ def initialize(**args)
2647
+ update!(**args)
2648
+ end
2649
+
2650
+ # Update properties of this object
2651
+ def update!(**args)
2652
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2653
+ @overrides = args[:overrides] if args.key?(:overrides)
2654
+ end
2655
+ end
2656
+
2657
+ # Response message for ListConsumerOverrides.
2658
+ class ListConsumerOverridesResponse
2659
+ include Google::Apis::Core::Hashable
2660
+
2661
+ # Token identifying which result to start with; returned by a previous list
2662
+ # call.
2663
+ # Corresponds to the JSON property `nextPageToken`
2664
+ # @return [String]
2665
+ attr_accessor :next_page_token
2666
+
2667
+ # Consumer overrides on this limit.
2668
+ # Corresponds to the JSON property `overrides`
2669
+ # @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
2670
+ attr_accessor :overrides
2671
+
2672
+ def initialize(**args)
2673
+ update!(**args)
2674
+ end
2675
+
2676
+ # Update properties of this object
2677
+ def update!(**args)
2678
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2679
+ @overrides = args[:overrides] if args.key?(:overrides)
2680
+ end
2681
+ end
2682
+
2683
+ # Response message for ListConsumerQuotaMetrics
2684
+ class ListConsumerQuotaMetricsResponse
2685
+ include Google::Apis::Core::Hashable
2686
+
2687
+ # Quota settings for the consumer, organized by quota metric.
2688
+ # Corresponds to the JSON property `metrics`
2689
+ # @return [Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaMetric>]
2690
+ attr_accessor :metrics
2691
+
2692
+ # Token identifying which result to start with; returned by a previous list
2693
+ # call.
2694
+ # Corresponds to the JSON property `nextPageToken`
2695
+ # @return [String]
2696
+ attr_accessor :next_page_token
2697
+
2698
+ def initialize(**args)
2699
+ update!(**args)
2700
+ end
2701
+
2702
+ # Update properties of this object
2703
+ def update!(**args)
2704
+ @metrics = args[:metrics] if args.key?(:metrics)
2705
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2706
+ end
2707
+ end
2708
+
2521
2709
  # The response message for Operations.ListOperations.
2522
2710
  class ListOperationsResponse
2523
2711
  include Google::Apis::Core::Hashable
@@ -2543,6 +2731,32 @@ module Google
2543
2731
  end
2544
2732
  end
2545
2733
 
2734
+ # Response message for ListProducerOverrides.
2735
+ class ListProducerOverridesResponse
2736
+ include Google::Apis::Core::Hashable
2737
+
2738
+ # Token identifying which result to start with; returned by a previous list
2739
+ # call.
2740
+ # Corresponds to the JSON property `nextPageToken`
2741
+ # @return [String]
2742
+ attr_accessor :next_page_token
2743
+
2744
+ # Producer overrides on this limit.
2745
+ # Corresponds to the JSON property `overrides`
2746
+ # @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
2747
+ attr_accessor :overrides
2748
+
2749
+ def initialize(**args)
2750
+ update!(**args)
2751
+ end
2752
+
2753
+ # Update properties of this object
2754
+ def update!(**args)
2755
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2756
+ @overrides = args[:overrides] if args.key?(:overrides)
2757
+ end
2758
+ end
2759
+
2546
2760
  # Response message for the `ListServices` method.
2547
2761
  class ListServicesResponse
2548
2762
  include Google::Apis::Core::Hashable
@@ -3529,6 +3743,64 @@ module Google
3529
3743
  end
3530
3744
  end
3531
3745
 
3746
+ # A quota bucket is a quota provisioning unit for a specific set of dimensions.
3747
+ class QuotaBucket
3748
+ include Google::Apis::Core::Hashable
3749
+
3750
+ # A quota override
3751
+ # Corresponds to the JSON property `adminOverride`
3752
+ # @return [Google::Apis::ServiceusageV1beta1::QuotaOverride]
3753
+ attr_accessor :admin_override
3754
+
3755
+ # A quota override
3756
+ # Corresponds to the JSON property `consumerOverride`
3757
+ # @return [Google::Apis::ServiceusageV1beta1::QuotaOverride]
3758
+ attr_accessor :consumer_override
3759
+
3760
+ # The default limit of this quota bucket, as specified by the service
3761
+ # configuration.
3762
+ # Corresponds to the JSON property `defaultLimit`
3763
+ # @return [Fixnum]
3764
+ attr_accessor :default_limit
3765
+
3766
+ # The dimensions of this quota bucket.
3767
+ # If this map is empty, this is the global bucket, which is the default quota
3768
+ # value applied to all requests that do not have a more specific override.
3769
+ # If this map is nonempty, the default limit, effective limit, and quota
3770
+ # overrides apply only to requests that have the dimensions given in the map.
3771
+ # For example, if the map has key "region" and value "us-east-1", then the
3772
+ # specified effective limit is only effective in that region, and the
3773
+ # specified overrides apply only in that region.
3774
+ # Corresponds to the JSON property `dimensions`
3775
+ # @return [Hash<String,String>]
3776
+ attr_accessor :dimensions
3777
+
3778
+ # The effective limit of this quota bucket. Equal to default_limit if there
3779
+ # are no overrides.
3780
+ # Corresponds to the JSON property `effectiveLimit`
3781
+ # @return [Fixnum]
3782
+ attr_accessor :effective_limit
3783
+
3784
+ # A quota override
3785
+ # Corresponds to the JSON property `producerOverride`
3786
+ # @return [Google::Apis::ServiceusageV1beta1::QuotaOverride]
3787
+ attr_accessor :producer_override
3788
+
3789
+ def initialize(**args)
3790
+ update!(**args)
3791
+ end
3792
+
3793
+ # Update properties of this object
3794
+ def update!(**args)
3795
+ @admin_override = args[:admin_override] if args.key?(:admin_override)
3796
+ @consumer_override = args[:consumer_override] if args.key?(:consumer_override)
3797
+ @default_limit = args[:default_limit] if args.key?(:default_limit)
3798
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3799
+ @effective_limit = args[:effective_limit] if args.key?(:effective_limit)
3800
+ @producer_override = args[:producer_override] if args.key?(:producer_override)
3801
+ end
3802
+ end
3803
+
3532
3804
  # `QuotaLimit` defines a specific limit that applies over a specified duration
3533
3805
  # for a limit type. There can be at most one limit for a duration and limit
3534
3806
  # type combination defined within a `QuotaGroup`.
@@ -3652,17 +3924,18 @@ module Google
3652
3924
  # could contain an entry with the key "region" and the value "us-east-1";
3653
3925
  # the override is only applied to quota consumed in that region.
3654
3926
  # This map has the following restrictions:
3655
- # - Keys that are not defined in the limit's unit are not valid keys.
3927
+ # * Keys that are not defined in the limit's unit are not valid keys.
3656
3928
  # Any string appearing in `brackets` in the unit (besides `project` or
3657
3929
  # `user`) is a defined key.
3658
- # - "project" is not a valid key; the project is already specified in
3930
+ # * "project" is not a valid key; the project is already specified in
3659
3931
  # the parent resource name.
3660
- # - "user" is not a valid key; the API does not support quota overrides
3932
+ # * "user" is not a valid key; the API does not support quota overrides
3661
3933
  # that apply only to a specific user.
3662
- # - If "region" appears as a key, its value must be a valid Cloud region.
3663
- # - If "zone" appears as a key, its value must be a valid Cloud zone.
3664
- # - If any valid key other than "region" or "zone" appears in the map, then
3665
- # all valid keys other than "region" or "zone" must also appear in the map.
3934
+ # * If "region" appears as a key, its value must be a valid Cloud region.
3935
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
3936
+ # * If any valid key other than "region" or "zone" appears in the map, then
3937
+ # all valid keys other than "region" or "zone" must also appear in the
3938
+ # map.
3666
3939
  # Corresponds to the JSON property `dimensions`
3667
3940
  # @return [Hash<String,String>]
3668
3941
  attr_accessor :dimensions