google-api-client 0.37.1 → 0.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +105 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1/classes.rb +2 -2
  7. data/generated/google/apis/accesscontextmanager_v1/service.rb +10 -8
  8. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -38
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -16
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v3/classes.rb +193 -0
  14. data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
  15. data/generated/google/apis/appengine_v1.rb +1 -1
  16. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta.rb +1 -1
  18. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  20. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +15 -14
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +86 -0
  26. data/generated/google/apis/books_v1/representations.rb +37 -0
  27. data/generated/google/apis/classroom_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  30. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  31. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  32. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  33. data/generated/google/apis/cloudiot_v1.rb +1 -1
  34. data/generated/google/apis/cloudkms_v1.rb +1 -1
  35. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  36. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -2
  37. data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
  38. data/generated/google/apis/cloudshell_v1.rb +1 -1
  39. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  41. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  42. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  43. data/generated/google/apis/composer_v1beta1.rb +1 -1
  44. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  45. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +30 -26
  49. data/generated/google/apis/content_v2_1.rb +1 -1
  50. data/generated/google/apis/content_v2_1/classes.rb +30 -26
  51. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  52. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -37
  53. data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -15
  54. data/generated/google/apis/datacatalog_v1beta1/service.rb +0 -43
  55. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  56. data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -0
  57. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  58. data/generated/google/apis/datastore_v1.rb +1 -1
  59. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  60. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  61. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  62. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -7
  63. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -1
  64. data/generated/google/apis/dialogflow_v2.rb +1 -1
  65. data/generated/google/apis/dialogflow_v2/classes.rb +20 -231
  66. data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
  67. data/generated/google/apis/dialogflow_v2/service.rb +26 -390
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -235
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +68 -804
  72. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  73. data/generated/google/apis/displayvideo_v1.rb +38 -0
  74. data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
  75. data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
  76. data/generated/google/apis/displayvideo_v1/service.rb +176 -0
  77. data/generated/google/apis/dlp_v2.rb +1 -1
  78. data/generated/google/apis/dlp_v2/classes.rb +31 -0
  79. data/generated/google/apis/dlp_v2/representations.rb +5 -0
  80. data/generated/google/apis/docs_v1.rb +1 -1
  81. data/generated/google/apis/docs_v1/classes.rb +22 -0
  82. data/generated/google/apis/docs_v1/representations.rb +3 -0
  83. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  84. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  85. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  86. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  87. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  88. data/generated/google/apis/firestore_v1.rb +1 -1
  89. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  90. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  91. data/generated/google/apis/fitness_v1.rb +1 -1
  92. data/generated/google/apis/fitness_v1/service.rb +13 -9
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  95. data/generated/google/apis/iam_v1.rb +1 -1
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta1.rb +1 -1
  98. data/generated/google/apis/language_v1beta2.rb +1 -1
  99. data/generated/google/apis/logging_v2.rb +1 -1
  100. data/generated/google/apis/logging_v2/classes.rb +22 -35
  101. data/generated/google/apis/logging_v2/representations.rb +0 -2
  102. data/generated/google/apis/logging_v2/service.rb +14 -14
  103. data/generated/google/apis/managedidentities_v1.rb +35 -0
  104. data/generated/google/apis/managedidentities_v1/classes.rb +1662 -0
  105. data/generated/google/apis/managedidentities_v1/representations.rb +576 -0
  106. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  107. data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
  108. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1661 -0
  109. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +576 -0
  110. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  111. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  112. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1659 -0
  113. data/generated/google/apis/managedidentities_v1beta1/representations.rb +576 -0
  114. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  115. data/generated/google/apis/ml_v1.rb +1 -1
  116. data/generated/google/apis/ml_v1/classes.rb +23 -43
  117. data/generated/google/apis/oauth2_v2.rb +1 -1
  118. data/generated/google/apis/oauth2_v2/classes.rb +0 -68
  119. data/generated/google/apis/oauth2_v2/representations.rb +0 -32
  120. data/generated/google/apis/oauth2_v2/service.rb +0 -30
  121. data/generated/google/apis/pubsub_v1.rb +1 -1
  122. data/generated/google/apis/pubsub_v1/classes.rb +16 -12
  123. data/generated/google/apis/pubsub_v1/service.rb +22 -21
  124. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  126. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  127. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  128. data/generated/google/apis/run_v1.rb +1 -1
  129. data/generated/google/apis/run_v1/classes.rb +48 -0
  130. data/generated/google/apis/run_v1/representations.rb +17 -0
  131. data/generated/google/apis/run_v1/service.rb +208 -0
  132. data/generated/google/apis/run_v1alpha1.rb +1 -1
  133. data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
  134. data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
  135. data/generated/google/apis/run_v1alpha1/service.rb +874 -448
  136. data/generated/google/apis/run_v1beta1.rb +1 -1
  137. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  138. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  139. data/generated/google/apis/secretmanager_v1.rb +3 -3
  140. data/generated/google/apis/secretmanager_v1/service.rb +2 -2
  141. data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
  142. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -2
  143. data/generated/google/apis/securitycenter_v1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  145. data/generated/google/apis/securitycenter_v1beta1/classes.rb +98 -98
  146. data/generated/google/apis/securitycenter_v1beta1/representations.rb +37 -37
  147. data/generated/google/apis/securitycenter_v1beta1/service.rb +36 -36
  148. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  149. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  150. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  151. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +56 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  153. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  154. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  156. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -0
  157. data/generated/google/apis/servicenetworking_v1/representations.rb +17 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +56 -0
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -0
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +56 -0
  163. data/generated/google/apis/serviceusage_v1/representations.rb +17 -0
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +56 -0
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +17 -0
  167. data/generated/google/apis/spanner_v1.rb +1 -1
  168. data/generated/google/apis/spanner_v1/classes.rb +38 -11
  169. data/generated/google/apis/spanner_v1/representations.rb +15 -0
  170. data/generated/google/apis/speech_v1.rb +1 -1
  171. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  172. data/generated/google/apis/speech_v2beta1.rb +1 -1
  173. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  174. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  175. data/generated/google/apis/texttospeech_v1.rb +1 -1
  176. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  177. data/generated/google/apis/toolresults_v1.rb +1 -1
  178. data/generated/google/apis/toolresults_v1/service.rb +1 -1
  179. data/generated/google/apis/translate_v3.rb +1 -1
  180. data/generated/google/apis/translate_v3beta1.rb +1 -1
  181. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  182. data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
  183. data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
  184. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  185. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
  186. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtube_v3.rb +1 -1
  189. data/generated/google/apis/youtube_v3/classes.rb +72 -33
  190. data/generated/google/apis/youtube_v3/representations.rb +32 -4
  191. data/lib/google/apis/version.rb +1 -1
  192. metadata +19 -3
@@ -305,7 +305,7 @@ module Google
305
305
  # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
306
306
  # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
307
307
  # securityMarks".
308
- # @param [Google::Apis::SecuritycenterV1beta1::SecurityMarks] security_marks_object
308
+ # @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] google_cloud_securitycenter_v1beta1_security_marks_object
309
309
  # @param [String] start_time
310
310
  # The time at which the updated SecurityMarks take effect.
311
311
  # @param [String] update_mask
@@ -319,20 +319,20 @@ module Google
319
319
  # Request-specific options
320
320
  #
321
321
  # @yield [result, err] Result & error if block supplied
322
- # @yieldparam result [Google::Apis::SecuritycenterV1beta1::SecurityMarks] parsed result object
322
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] parsed result object
323
323
  # @yieldparam err [StandardError] error object if request failed
324
324
  #
325
- # @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
325
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
326
326
  #
327
327
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
328
328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
329
329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
330
- def update_organization_asset_security_marks(name, security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
330
+ def update_organization_asset_security_marks(name, google_cloud_securitycenter_v1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
331
331
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
332
- command.request_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
333
- command.request_object = security_marks_object
334
- command.response_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
335
- command.response_class = Google::Apis::SecuritycenterV1beta1::SecurityMarks
332
+ command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
333
+ command.request_object = google_cloud_securitycenter_v1beta1_security_marks_object
334
+ command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
335
+ command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks
336
336
  command.params['name'] = name unless name.nil?
337
337
  command.query['startTime'] = start_time unless start_time.nil?
338
338
  command.query['updateMask'] = update_mask unless update_mask.nil?
@@ -746,7 +746,7 @@ module Google
746
746
  # @param [String] parent
747
747
  # Required. Resource name of the new finding's parent. Its format should be
748
748
  # "organizations/[organization_id]/sources/[source_id]".
749
- # @param [Google::Apis::SecuritycenterV1beta1::Finding] finding_object
749
+ # @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] google_cloud_securitycenter_v1beta1_finding_object
750
750
  # @param [String] finding_id
751
751
  # Required. Unique identifier provided by the client within the parent scope.
752
752
  # It must be alphanumeric and less than or equal to 32 characters and
@@ -760,20 +760,20 @@ module Google
760
760
  # Request-specific options
761
761
  #
762
762
  # @yield [result, err] Result & error if block supplied
763
- # @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
763
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
764
764
  # @yieldparam err [StandardError] error object if request failed
765
765
  #
766
- # @return [Google::Apis::SecuritycenterV1beta1::Finding]
766
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
767
767
  #
768
768
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
769
769
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
770
770
  # @raise [Google::Apis::AuthorizationError] Authorization is required
771
- def create_organization_source_finding(parent, finding_object = nil, finding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
771
+ def create_organization_source_finding(parent, google_cloud_securitycenter_v1beta1_finding_object = nil, finding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
772
772
  command = make_simple_command(:post, 'v1beta1/{+parent}/findings', options)
773
- command.request_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
774
- command.request_object = finding_object
775
- command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
776
- command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
773
+ command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
774
+ command.request_object = google_cloud_securitycenter_v1beta1_finding_object
775
+ command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
776
+ command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
777
777
  command.params['parent'] = parent unless parent.nil?
778
778
  command.query['findingId'] = finding_id unless finding_id.nil?
779
779
  command.query['fields'] = fields unless fields.nil?
@@ -912,7 +912,7 @@ module Google
912
912
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
913
913
  # Example:
914
914
  # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
915
- # @param [Google::Apis::SecuritycenterV1beta1::Finding] finding_object
915
+ # @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] google_cloud_securitycenter_v1beta1_finding_object
916
916
  # @param [String] update_mask
917
917
  # The FieldMask to use when updating the finding resource. This field should
918
918
  # not be specified when creating a finding.
@@ -925,20 +925,20 @@ module Google
925
925
  # Request-specific options
926
926
  #
927
927
  # @yield [result, err] Result & error if block supplied
928
- # @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
928
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
929
929
  # @yieldparam err [StandardError] error object if request failed
930
930
  #
931
- # @return [Google::Apis::SecuritycenterV1beta1::Finding]
931
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
932
932
  #
933
933
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
934
934
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
935
935
  # @raise [Google::Apis::AuthorizationError] Authorization is required
936
- def patch_organization_source_finding(name, finding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
936
+ def patch_organization_source_finding(name, google_cloud_securitycenter_v1beta1_finding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
937
937
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
938
- command.request_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
939
- command.request_object = finding_object
940
- command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
941
- command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
938
+ command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
939
+ command.request_object = google_cloud_securitycenter_v1beta1_finding_object
940
+ command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
941
+ command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
942
942
  command.params['name'] = name unless name.nil?
943
943
  command.query['updateMask'] = update_mask unless update_mask.nil?
944
944
  command.query['fields'] = fields unless fields.nil?
@@ -962,10 +962,10 @@ module Google
962
962
  # Request-specific options
963
963
  #
964
964
  # @yield [result, err] Result & error if block supplied
965
- # @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
965
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
966
966
  # @yieldparam err [StandardError] error object if request failed
967
967
  #
968
- # @return [Google::Apis::SecuritycenterV1beta1::Finding]
968
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
969
969
  #
970
970
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
971
971
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -974,8 +974,8 @@ module Google
974
974
  command = make_simple_command(:post, 'v1beta1/{+name}:setState', options)
975
975
  command.request_representation = Google::Apis::SecuritycenterV1beta1::SetFindingStateRequest::Representation
976
976
  command.request_object = set_finding_state_request_object
977
- command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
978
- command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
977
+ command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
978
+ command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
979
979
  command.params['name'] = name unless name.nil?
980
980
  command.query['fields'] = fields unless fields.nil?
981
981
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -990,7 +990,7 @@ module Google
990
990
  # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
991
991
  # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
992
992
  # securityMarks".
993
- # @param [Google::Apis::SecuritycenterV1beta1::SecurityMarks] security_marks_object
993
+ # @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] google_cloud_securitycenter_v1beta1_security_marks_object
994
994
  # @param [String] start_time
995
995
  # The time at which the updated SecurityMarks take effect.
996
996
  # @param [String] update_mask
@@ -1004,20 +1004,20 @@ module Google
1004
1004
  # Request-specific options
1005
1005
  #
1006
1006
  # @yield [result, err] Result & error if block supplied
1007
- # @yieldparam result [Google::Apis::SecuritycenterV1beta1::SecurityMarks] parsed result object
1007
+ # @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] parsed result object
1008
1008
  # @yieldparam err [StandardError] error object if request failed
1009
1009
  #
1010
- # @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
1010
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
1011
1011
  #
1012
1012
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1013
1013
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
1014
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
- def update_organization_source_finding_security_marks(name, security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1015
+ def update_organization_source_finding_security_marks(name, google_cloud_securitycenter_v1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1016
1016
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1017
- command.request_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
1018
- command.request_object = security_marks_object
1019
- command.response_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
1020
- command.response_class = Google::Apis::SecuritycenterV1beta1::SecurityMarks
1017
+ command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
1018
+ command.request_object = google_cloud_securitycenter_v1beta1_security_marks_object
1019
+ command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
1020
+ command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks
1021
1021
  command.params['name'] = name unless name.nil?
1022
1022
  command.query['startTime'] = start_time unless start_time.nil?
1023
1023
  command.query['updateMask'] = update_mask unless update_mask.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1p1alpha1
28
28
  VERSION = 'V1p1alpha1'
29
- REVISION = '20200131'
29
+ REVISION = '20200224'
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://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1p1beta1
28
28
  VERSION = 'V1p1beta1'
29
- REVISION = '20200131'
29
+ REVISION = '20200224'
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'
@@ -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 = '20200215'
28
+ REVISION = '20200226'
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'
@@ -257,6 +257,24 @@ module Google
257
257
  # @return [String]
258
258
  attr_accessor :jwks_uri
259
259
 
260
+ # Defines the locations to extract the JWT.
261
+ # JWT locations can be either from HTTP headers or URL query parameters.
262
+ # The rule is that the first match wins. The checking order is: checking
263
+ # all headers first, then URL query parameters.
264
+ # If not specified, default to use following 3 locations:
265
+ # 1) Authorization: Bearer
266
+ # 2) x-goog-iap-jwt-assertion
267
+ # 3) access_token query parameter
268
+ # Default locations can be specified as followings:
269
+ # jwt_locations:
270
+ # - header: Authorization
271
+ # value_prefix: "Bearer "
272
+ # - header: x-goog-iap-jwt-assertion
273
+ # - query: access_token
274
+ # Corresponds to the JSON property `jwtLocations`
275
+ # @return [Array<Google::Apis::ServiceconsumermanagementV1::JwtLocation>]
276
+ attr_accessor :jwt_locations
277
+
260
278
  def initialize(**args)
261
279
  update!(**args)
262
280
  end
@@ -268,6 +286,7 @@ module Google
268
286
  @id = args[:id] if args.key?(:id)
269
287
  @issuer = args[:issuer] if args.key?(:issuer)
270
288
  @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
289
+ @jwt_locations = args[:jwt_locations] if args.key?(:jwt_locations)
271
290
  end
272
291
  end
273
292
 
@@ -1623,6 +1642,43 @@ module Google
1623
1642
  end
1624
1643
  end
1625
1644
 
1645
+ # Specifies a location to extract JWT from an API request.
1646
+ class JwtLocation
1647
+ include Google::Apis::Core::Hashable
1648
+
1649
+ # Specifies HTTP header name to extract JWT token.
1650
+ # Corresponds to the JSON property `header`
1651
+ # @return [String]
1652
+ attr_accessor :header
1653
+
1654
+ # Specifies URL query parameter name to extract JWT token.
1655
+ # Corresponds to the JSON property `query`
1656
+ # @return [String]
1657
+ attr_accessor :query
1658
+
1659
+ # The value prefix. The value format is "value_prefix`token`"
1660
+ # Only applies to "in" header type. Must be empty for "in" query type.
1661
+ # If not empty, the header value has to match (case sensitive) this prefix.
1662
+ # If not matched, JWT will not be extracted. If matched, JWT will be
1663
+ # extracted after the prefix is removed.
1664
+ # For example, for "Authorization: Bearer `JWT`",
1665
+ # value_prefix="Bearer " with a space at the end.
1666
+ # Corresponds to the JSON property `valuePrefix`
1667
+ # @return [String]
1668
+ attr_accessor :value_prefix
1669
+
1670
+ def initialize(**args)
1671
+ update!(**args)
1672
+ end
1673
+
1674
+ # Update properties of this object
1675
+ def update!(**args)
1676
+ @header = args[:header] if args.key?(:header)
1677
+ @query = args[:query] if args.key?(:query)
1678
+ @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
1679
+ end
1680
+ end
1681
+
1626
1682
  # A description of a label.
1627
1683
  class LabelDescriptor
1628
1684
  include Google::Apis::Core::Hashable
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class JwtLocation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class LabelDescriptor
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -602,6 +608,8 @@ module Google
602
608
  property :id, as: 'id'
603
609
  property :issuer, as: 'issuer'
604
610
  property :jwks_uri, as: 'jwksUri'
611
+ collection :jwt_locations, as: 'jwtLocations', class: Google::Apis::ServiceconsumermanagementV1::JwtLocation, decorator: Google::Apis::ServiceconsumermanagementV1::JwtLocation::Representation
612
+
605
613
  end
606
614
  end
607
615
 
@@ -861,6 +869,15 @@ module Google
861
869
  end
862
870
  end
863
871
 
872
+ class JwtLocation
873
+ # @private
874
+ class Representation < Google::Apis::Core::JsonRepresentation
875
+ property :header, as: 'header'
876
+ property :query, as: 'query'
877
+ property :value_prefix, as: 'valuePrefix'
878
+ end
879
+ end
880
+
864
881
  class LabelDescriptor
865
882
  # @private
866
883
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200210'
29
+ REVISION = '20200224'
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-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200218'
30
+ REVISION = '20200221'
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'
@@ -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 = '20200215'
29
+ REVISION = '20200226'
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'
@@ -253,6 +253,24 @@ module Google
253
253
  # @return [String]
254
254
  attr_accessor :jwks_uri
255
255
 
256
+ # Defines the locations to extract the JWT.
257
+ # JWT locations can be either from HTTP headers or URL query parameters.
258
+ # The rule is that the first match wins. The checking order is: checking
259
+ # all headers first, then URL query parameters.
260
+ # If not specified, default to use following 3 locations:
261
+ # 1) Authorization: Bearer
262
+ # 2) x-goog-iap-jwt-assertion
263
+ # 3) access_token query parameter
264
+ # Default locations can be specified as followings:
265
+ # jwt_locations:
266
+ # - header: Authorization
267
+ # value_prefix: "Bearer "
268
+ # - header: x-goog-iap-jwt-assertion
269
+ # - query: access_token
270
+ # Corresponds to the JSON property `jwtLocations`
271
+ # @return [Array<Google::Apis::ServicenetworkingV1::JwtLocation>]
272
+ attr_accessor :jwt_locations
273
+
256
274
  def initialize(**args)
257
275
  update!(**args)
258
276
  end
@@ -264,6 +282,7 @@ module Google
264
282
  @id = args[:id] if args.key?(:id)
265
283
  @issuer = args[:issuer] if args.key?(:issuer)
266
284
  @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
285
+ @jwt_locations = args[:jwt_locations] if args.key?(:jwt_locations)
267
286
  end
268
287
  end
269
288
 
@@ -1718,6 +1737,43 @@ module Google
1718
1737
  end
1719
1738
  end
1720
1739
 
1740
+ # Specifies a location to extract JWT from an API request.
1741
+ class JwtLocation
1742
+ include Google::Apis::Core::Hashable
1743
+
1744
+ # Specifies HTTP header name to extract JWT token.
1745
+ # Corresponds to the JSON property `header`
1746
+ # @return [String]
1747
+ attr_accessor :header
1748
+
1749
+ # Specifies URL query parameter name to extract JWT token.
1750
+ # Corresponds to the JSON property `query`
1751
+ # @return [String]
1752
+ attr_accessor :query
1753
+
1754
+ # The value prefix. The value format is "value_prefix`token`"
1755
+ # Only applies to "in" header type. Must be empty for "in" query type.
1756
+ # If not empty, the header value has to match (case sensitive) this prefix.
1757
+ # If not matched, JWT will not be extracted. If matched, JWT will be
1758
+ # extracted after the prefix is removed.
1759
+ # For example, for "Authorization: Bearer `JWT`",
1760
+ # value_prefix="Bearer " with a space at the end.
1761
+ # Corresponds to the JSON property `valuePrefix`
1762
+ # @return [String]
1763
+ attr_accessor :value_prefix
1764
+
1765
+ def initialize(**args)
1766
+ update!(**args)
1767
+ end
1768
+
1769
+ # Update properties of this object
1770
+ def update!(**args)
1771
+ @header = args[:header] if args.key?(:header)
1772
+ @query = args[:query] if args.key?(:query)
1773
+ @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
1774
+ end
1775
+ end
1776
+
1721
1777
  # A description of a label.
1722
1778
  class LabelDescriptor
1723
1779
  include Google::Apis::Core::Hashable
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class JwtLocation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class LabelDescriptor
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -470,6 +476,8 @@ module Google
470
476
  property :id, as: 'id'
471
477
  property :issuer, as: 'issuer'
472
478
  property :jwks_uri, as: 'jwksUri'
479
+ collection :jwt_locations, as: 'jwtLocations', class: Google::Apis::ServicenetworkingV1::JwtLocation, decorator: Google::Apis::ServicenetworkingV1::JwtLocation::Representation
480
+
473
481
  end
474
482
  end
475
483
 
@@ -749,6 +757,15 @@ module Google
749
757
  end
750
758
  end
751
759
 
760
+ class JwtLocation
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :header, as: 'header'
764
+ property :query, as: 'query'
765
+ property :value_prefix, as: 'valuePrefix'
766
+ end
767
+ end
768
+
752
769
  class LabelDescriptor
753
770
  # @private
754
771
  class Representation < Google::Apis::Core::JsonRepresentation