google-api-client 0.44.1 → 0.44.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +119 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +6 -4
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  11. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  14. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  15. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  16. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  17. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  19. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  20. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  21. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  22. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  23. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  26. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  27. data/generated/google/apis/appengine_v1.rb +1 -1
  28. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  29. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  30. data/generated/google/apis/appengine_v1beta.rb +1 -1
  31. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  32. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  33. data/generated/google/apis/bigquery_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2/classes.rb +26 -0
  35. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  38. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  39. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  40. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  41. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1/classes.rb +7 -0
  43. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  44. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  45. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +7 -0
  46. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  49. data/generated/google/apis/civicinfo_v2.rb +1 -1
  50. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  51. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  52. data/generated/google/apis/cloudasset_v1.rb +1 -1
  53. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +81 -1
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +22 -0
  58. data/generated/google/apis/cloudbuild_v1/service.rb +217 -3
  59. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  67. data/generated/google/apis/cloudidentity_v1/classes.rb +270 -2
  68. data/generated/google/apis/cloudidentity_v1/representations.rb +139 -0
  69. data/generated/google/apis/cloudidentity_v1/service.rb +759 -0
  70. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +20 -7
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  74. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  77. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  78. data/generated/google/apis/cloudresourcemanager_v1/service.rb +59 -57
  79. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  81. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +23 -22
  83. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  85. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  86. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  88. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  89. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +18 -18
  92. data/generated/google/apis/container_v1.rb +1 -1
  93. data/generated/google/apis/container_v1/classes.rb +57 -2
  94. data/generated/google/apis/container_v1/representations.rb +7 -0
  95. data/generated/google/apis/container_v1beta1.rb +1 -1
  96. data/generated/google/apis/container_v1beta1/classes.rb +52 -8
  97. data/generated/google/apis/container_v1beta1/representations.rb +6 -0
  98. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  99. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  100. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  101. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  102. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  103. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  104. data/generated/google/apis/content_v2.rb +1 -1
  105. data/generated/google/apis/content_v2/classes.rb +2 -1
  106. data/generated/google/apis/content_v2_1.rb +1 -1
  107. data/generated/google/apis/content_v2_1/classes.rb +14 -3
  108. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  109. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  110. data/generated/google/apis/datacatalog_v1beta1/classes.rb +7 -0
  111. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  112. data/generated/google/apis/datafusion_v1.rb +1 -1
  113. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  114. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  115. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  116. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  117. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/dataproc_v1.rb +1 -1
  119. data/generated/google/apis/dataproc_v1/classes.rb +22 -9
  120. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  121. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  122. data/generated/google/apis/dataproc_v1beta2/classes.rb +22 -9
  123. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  124. data/generated/google/apis/dialogflow_v2.rb +1 -1
  125. data/generated/google/apis/dialogflow_v2/classes.rb +42 -26
  126. data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/dialogflow_v2beta1/classes.rb +53 -34
  129. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  130. data/generated/google/apis/dialogflow_v2beta1/service.rb +458 -320
  131. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  132. data/generated/google/apis/dialogflow_v3beta1/classes.rb +42 -33
  133. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -1
  134. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  135. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  136. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  137. data/generated/google/apis/displayvideo_v1.rb +1 -1
  138. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  139. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  140. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  141. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  142. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  143. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  144. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  145. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  146. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  147. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  148. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  149. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  150. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +5 -5
  153. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  154. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  155. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  156. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  157. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  158. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  160. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  161. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  162. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  163. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  164. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  165. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  166. data/generated/google/apis/firebasehosting_v1beta1/service.rb +414 -0
  167. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  168. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  169. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  170. data/generated/google/apis/firestore_v1.rb +1 -1
  171. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  172. data/generated/google/apis/fitness_v1.rb +3 -3
  173. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  174. data/generated/google/apis/games_v1.rb +1 -1
  175. data/generated/google/apis/gameservices_v1.rb +1 -1
  176. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  177. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  178. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  179. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  180. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  181. data/generated/google/apis/healthcare_v1.rb +1 -1
  182. data/generated/google/apis/healthcare_v1/classes.rb +72 -0
  183. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  184. data/generated/google/apis/healthcare_v1/service.rb +182 -16
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/service.rb +231 -16
  187. data/generated/google/apis/homegraph_v1.rb +4 -1
  188. data/generated/google/apis/iam_v1.rb +1 -1
  189. data/generated/google/apis/iam_v1/classes.rb +7 -0
  190. data/generated/google/apis/iam_v1/representations.rb +1 -0
  191. data/generated/google/apis/iap_v1.rb +1 -1
  192. data/generated/google/apis/iap_v1/classes.rb +7 -0
  193. data/generated/google/apis/iap_v1/representations.rb +1 -0
  194. data/generated/google/apis/iap_v1beta1.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  196. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  197. data/generated/google/apis/jobs_v2.rb +1 -1
  198. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  199. data/generated/google/apis/jobs_v2/service.rb +85 -126
  200. data/generated/google/apis/jobs_v3.rb +1 -1
  201. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  202. data/generated/google/apis/jobs_v3/service.rb +101 -139
  203. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  204. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  205. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  206. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  207. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  208. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  209. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  210. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  211. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  212. data/generated/google/apis/ml_v1.rb +1 -1
  213. data/generated/google/apis/ml_v1/classes.rb +7 -0
  214. data/generated/google/apis/ml_v1/representations.rb +1 -0
  215. data/generated/google/apis/ml_v1/service.rb +1 -1
  216. data/generated/google/apis/monitoring_v1.rb +1 -1
  217. data/generated/google/apis/monitoring_v1/classes.rb +9 -5
  218. data/generated/google/apis/osconfig_v1.rb +1 -1
  219. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  220. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  221. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  222. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  223. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  224. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  225. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  226. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  227. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  228. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  229. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  230. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  231. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  234. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  235. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  236. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  237. data/generated/google/apis/secretmanager_v1.rb +1 -1
  238. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  239. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  240. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  241. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  242. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  243. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  244. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  245. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  246. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  247. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  248. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  249. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  250. data/generated/google/apis/sql_v1beta4.rb +1 -1
  251. data/generated/google/apis/storage_v1.rb +1 -1
  252. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  253. data/generated/google/apis/sts_v1.rb +32 -0
  254. data/generated/google/apis/sts_v1/classes.rb +120 -0
  255. data/generated/google/apis/sts_v1/representations.rb +59 -0
  256. data/generated/google/apis/sts_v1/service.rb +90 -0
  257. data/generated/google/apis/sts_v1beta.rb +32 -0
  258. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  259. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  260. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  261. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  262. data/generated/google/apis/tpu_v1.rb +1 -1
  263. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  264. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  265. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  266. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  267. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  268. data/generated/google/apis/vault_v1.rb +1 -1
  269. data/generated/google/apis/vault_v1/classes.rb +80 -103
  270. data/generated/google/apis/vault_v1/service.rb +31 -37
  271. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  272. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  273. data/generated/google/apis/videointelligence_v1.rb +1 -1
  274. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  275. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  276. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  277. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  278. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  279. data/generated/google/apis/vision_v1.rb +1 -1
  280. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  281. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  282. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  283. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  284. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  285. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_v3.rb +1 -1
  288. data/generated/google/apis/youtube_v3/service.rb +78 -78
  289. data/google-api-client.gemspec +2 -1
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +54 -4
@@ -160,6 +160,9 @@ module Google
160
160
  # @param [String] project_id
161
161
  # Required. ID of the project.
162
162
  # @param [Google::Apis::CloudbuildV1::Build] build_object
163
+ # @param [String] parent
164
+ # The parent resource where this build will be created. Format: `projects/`
165
+ # project`/locations/`location``
163
166
  # @param [String] fields
164
167
  # Selector specifying which fields to include in a partial response.
165
168
  # @param [String] quota_user
@@ -177,13 +180,14 @@ module Google
177
180
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
181
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
182
  # @raise [Google::Apis::AuthorizationError] Authorization is required
180
- def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
183
+ def create_project_build(project_id, build_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
181
184
  command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
182
185
  command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
183
186
  command.request_object = build_object
184
187
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
185
188
  command.response_class = Google::Apis::CloudbuildV1::Operation
186
189
  command.params['projectId'] = project_id unless project_id.nil?
190
+ command.query['parent'] = parent unless parent.nil?
187
191
  command.query['fields'] = fields unless fields.nil?
188
192
  command.query['quotaUser'] = quota_user unless quota_user.nil?
189
193
  execute_or_queue_command(command, &block)
@@ -196,6 +200,9 @@ module Google
196
200
  # Required. ID of the project.
197
201
  # @param [String] id
198
202
  # Required. ID of the build.
203
+ # @param [String] name
204
+ # The name of the `Build` to retrieve. Format: `projects/`project`/locations/`
205
+ # location`/builds/`build``
199
206
  # @param [String] fields
200
207
  # Selector specifying which fields to include in a partial response.
201
208
  # @param [String] quota_user
@@ -213,12 +220,13 @@ module Google
213
220
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
214
221
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
215
222
  # @raise [Google::Apis::AuthorizationError] Authorization is required
216
- def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
223
+ def get_project_build(project_id, id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
217
224
  command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
218
225
  command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
219
226
  command.response_class = Google::Apis::CloudbuildV1::Build
220
227
  command.params['projectId'] = project_id unless project_id.nil?
221
228
  command.params['id'] = id unless id.nil?
229
+ command.query['name'] = name unless name.nil?
222
230
  command.query['fields'] = fields unless fields.nil?
223
231
  command.query['quotaUser'] = quota_user unless quota_user.nil?
224
232
  execute_or_queue_command(command, &block)
@@ -234,6 +242,9 @@ module Google
234
242
  # Number of results to return in the list.
235
243
  # @param [String] page_token
236
244
  # Token to provide to skip to a particular spot in the list.
245
+ # @param [String] parent
246
+ # The parent of the collection of `Builds`. Format: `projects/`project`/
247
+ # locations/location`
237
248
  # @param [String] fields
238
249
  # Selector specifying which fields to include in a partial response.
239
250
  # @param [String] quota_user
@@ -251,7 +262,7 @@ module Google
251
262
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
263
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
264
  # @raise [Google::Apis::AuthorizationError] Authorization is required
254
- def list_project_builds(project_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
265
+ def list_project_builds(project_id, filter: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
255
266
  command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
256
267
  command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
257
268
  command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
@@ -259,6 +270,7 @@ module Google
259
270
  command.query['filter'] = filter unless filter.nil?
260
271
  command.query['pageSize'] = page_size unless page_size.nil?
261
272
  command.query['pageToken'] = page_token unless page_token.nil?
273
+ command.query['parent'] = parent unless parent.nil?
262
274
  command.query['fields'] = fields unless fields.nil?
263
275
  command.query['quotaUser'] = quota_user unless quota_user.nil?
264
276
  execute_or_queue_command(command, &block)
@@ -315,6 +327,208 @@ module Google
315
327
  execute_or_queue_command(command, &block)
316
328
  end
317
329
 
330
+ # Cancels a build in progress.
331
+ # @param [String] name
332
+ # The name of the `Build` to retrieve. Format: `projects/`project`/locations/`
333
+ # location`/builds/`build``
334
+ # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
335
+ # @param [String] fields
336
+ # Selector specifying which fields to include in a partial response.
337
+ # @param [String] quota_user
338
+ # Available to use for quota purposes for server-side applications. Can be any
339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
340
+ # @param [Google::Apis::RequestOptions] options
341
+ # Request-specific options
342
+ #
343
+ # @yield [result, err] Result & error if block supplied
344
+ # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
345
+ # @yieldparam err [StandardError] error object if request failed
346
+ #
347
+ # @return [Google::Apis::CloudbuildV1::Build]
348
+ #
349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
352
+ def cancel_project_location_build(name, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
353
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
354
+ command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
355
+ command.request_object = cancel_build_request_object
356
+ command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
357
+ command.response_class = Google::Apis::CloudbuildV1::Build
358
+ command.params['name'] = name unless name.nil?
359
+ command.query['fields'] = fields unless fields.nil?
360
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
361
+ execute_or_queue_command(command, &block)
362
+ end
363
+
364
+ # Starts a build with the specified configuration. This method returns a long-
365
+ # running `Operation`, which includes the build ID. Pass the build ID to `
366
+ # GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).
367
+ # @param [String] parent
368
+ # The parent resource where this build will be created. Format: `projects/`
369
+ # project`/locations/`location``
370
+ # @param [Google::Apis::CloudbuildV1::CreateBuildRequest] create_build_request_object
371
+ # @param [String] fields
372
+ # Selector specifying which fields to include in a partial response.
373
+ # @param [String] quota_user
374
+ # Available to use for quota purposes for server-side applications. Can be any
375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
376
+ # @param [Google::Apis::RequestOptions] options
377
+ # Request-specific options
378
+ #
379
+ # @yield [result, err] Result & error if block supplied
380
+ # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
381
+ # @yieldparam err [StandardError] error object if request failed
382
+ #
383
+ # @return [Google::Apis::CloudbuildV1::Operation]
384
+ #
385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
388
+ def create_build(parent, create_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
389
+ command = make_simple_command(:post, 'v1/{+parent}/builds', options)
390
+ command.request_representation = Google::Apis::CloudbuildV1::CreateBuildRequest::Representation
391
+ command.request_object = create_build_request_object
392
+ command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
393
+ command.response_class = Google::Apis::CloudbuildV1::Operation
394
+ command.params['parent'] = parent unless parent.nil?
395
+ command.query['fields'] = fields unless fields.nil?
396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
397
+ execute_or_queue_command(command, &block)
398
+ end
399
+
400
+ # Returns information about a previously requested build. The `Build` that is
401
+ # returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and
402
+ # timing information.
403
+ # @param [String] name
404
+ # The name of the `Build` to retrieve. Format: `projects/`project`/locations/`
405
+ # location`/builds/`build``
406
+ # @param [String] id
407
+ # Required. ID of the build.
408
+ # @param [String] project_id
409
+ # Required. ID of the project.
410
+ # @param [String] fields
411
+ # Selector specifying which fields to include in a partial response.
412
+ # @param [String] quota_user
413
+ # Available to use for quota purposes for server-side applications. Can be any
414
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
415
+ # @param [Google::Apis::RequestOptions] options
416
+ # Request-specific options
417
+ #
418
+ # @yield [result, err] Result & error if block supplied
419
+ # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
420
+ # @yieldparam err [StandardError] error object if request failed
421
+ #
422
+ # @return [Google::Apis::CloudbuildV1::Build]
423
+ #
424
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
425
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
426
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
427
+ def get_project_location_build(name, id: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
428
+ command = make_simple_command(:get, 'v1/{+name}', options)
429
+ command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
430
+ command.response_class = Google::Apis::CloudbuildV1::Build
431
+ command.params['name'] = name unless name.nil?
432
+ command.query['id'] = id unless id.nil?
433
+ command.query['projectId'] = project_id unless project_id.nil?
434
+ command.query['fields'] = fields unless fields.nil?
435
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
436
+ execute_or_queue_command(command, &block)
437
+ end
438
+
439
+ # Lists previously requested builds. Previously requested builds may still be in-
440
+ # progress, or may have finished successfully or unsuccessfully.
441
+ # @param [String] parent
442
+ # The parent of the collection of `Builds`. Format: `projects/`project`/
443
+ # locations/location`
444
+ # @param [String] filter
445
+ # The raw filter text to constrain the results.
446
+ # @param [Fixnum] page_size
447
+ # Number of results to return in the list.
448
+ # @param [String] page_token
449
+ # Token to provide to skip to a particular spot in the list.
450
+ # @param [String] project_id
451
+ # Required. ID of the project.
452
+ # @param [String] fields
453
+ # Selector specifying which fields to include in a partial response.
454
+ # @param [String] quota_user
455
+ # Available to use for quota purposes for server-side applications. Can be any
456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
457
+ # @param [Google::Apis::RequestOptions] options
458
+ # Request-specific options
459
+ #
460
+ # @yield [result, err] Result & error if block supplied
461
+ # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object
462
+ # @yieldparam err [StandardError] error object if request failed
463
+ #
464
+ # @return [Google::Apis::CloudbuildV1::ListBuildsResponse]
465
+ #
466
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
467
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
468
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
469
+ def list_project_location_builds(parent, filter: nil, page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
470
+ command = make_simple_command(:get, 'v1/{+parent}/builds', options)
471
+ command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
472
+ command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
473
+ command.params['parent'] = parent unless parent.nil?
474
+ command.query['filter'] = filter unless filter.nil?
475
+ command.query['pageSize'] = page_size unless page_size.nil?
476
+ command.query['pageToken'] = page_token unless page_token.nil?
477
+ command.query['projectId'] = project_id unless project_id.nil?
478
+ command.query['fields'] = fields unless fields.nil?
479
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
480
+ execute_or_queue_command(command, &block)
481
+ end
482
+
483
+ # Creates a new build based on the specified build. This method creates a new
484
+ # build using the original build request, which may or may not result in an
485
+ # identical build. For triggered builds: * Triggered builds resolve to a precise
486
+ # revision; therefore a retry of a triggered build will result in a build that
487
+ # uses the same revision. For non-triggered builds that specify `RepoSource`: *
488
+ # If the original build built from the tip of a branch, the retried build will
489
+ # build from the tip of that branch, which may not be the same revision as the
490
+ # original build. * If the original build specified a commit sha or revision ID,
491
+ # the retried build will use the identical source. For builds that specify `
492
+ # StorageSource`: * If the original build pulled source from Google Cloud
493
+ # Storage without specifying the generation of the object, the new build will
494
+ # use the current object, which may be different from the original build source.
495
+ # * If the original build pulled source from Cloud Storage and specified the
496
+ # generation of the object, the new build will attempt to use the same object,
497
+ # which may or may not be available depending on the bucket's lifecycle
498
+ # management settings.
499
+ # @param [String] name
500
+ # The name of the `Build` to retry. Format: `projects/`project`/locations/`
501
+ # location`/builds/`build``
502
+ # @param [Google::Apis::CloudbuildV1::RetryBuildRequest] retry_build_request_object
503
+ # @param [String] fields
504
+ # Selector specifying which fields to include in a partial response.
505
+ # @param [String] quota_user
506
+ # Available to use for quota purposes for server-side applications. Can be any
507
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
508
+ # @param [Google::Apis::RequestOptions] options
509
+ # Request-specific options
510
+ #
511
+ # @yield [result, err] Result & error if block supplied
512
+ # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
513
+ # @yieldparam err [StandardError] error object if request failed
514
+ #
515
+ # @return [Google::Apis::CloudbuildV1::Operation]
516
+ #
517
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
518
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
520
+ def retry_project_location_build(name, retry_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
+ command = make_simple_command(:post, 'v1/{+name}:retry', options)
522
+ command.request_representation = Google::Apis::CloudbuildV1::RetryBuildRequest::Representation
523
+ command.request_object = retry_build_request_object
524
+ command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
525
+ command.response_class = Google::Apis::CloudbuildV1::Operation
526
+ command.params['name'] = name unless name.nil?
527
+ command.query['fields'] = fields unless fields.nil?
528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
529
+ execute_or_queue_command(command, &block)
530
+ end
531
+
318
532
  # Starts asynchronous cancellation on a long-running operation. The server makes
319
533
  # a best effort to cancel the operation, but success is not guaranteed. If the
320
534
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20200824'
28
+ REVISION = '20200831'
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'
@@ -177,6 +177,13 @@ module Google
177
177
  # @return [String]
178
178
  attr_accessor :logs_bucket
179
179
 
180
+ # Output only. The 'Build' name with format: `projects/`project`/locations/`
181
+ # location`/builds/`build``, where `build` is a unique identifier generated by
182
+ # the service.
183
+ # Corresponds to the JSON property `name`
184
+ # @return [String]
185
+ attr_accessor :name
186
+
180
187
  # Optional arguments to enable specific features of builds.
181
188
  # Corresponds to the JSON property `options`
182
189
  # @return [Google::Apis::CloudbuildV1alpha1::BuildOptions]
@@ -283,6 +290,7 @@ module Google
283
290
  @images = args[:images] if args.key?(:images)
284
291
  @log_url = args[:log_url] if args.key?(:log_url)
285
292
  @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
293
+ @name = args[:name] if args.key?(:name)
286
294
  @options = args[:options] if args.key?(:options)
287
295
  @project_id = args[:project_id] if args.key?(:project_id)
288
296
  @queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl)
@@ -272,6 +272,7 @@ module Google
272
272
  collection :images, as: 'images'
273
273
  property :log_url, as: 'logUrl'
274
274
  property :logs_bucket, as: 'logsBucket'
275
+ property :name, as: 'name'
275
276
  property :options, as: 'options', class: Google::Apis::CloudbuildV1alpha1::BuildOptions, decorator: Google::Apis::CloudbuildV1alpha1::BuildOptions::Representation
276
277
 
277
278
  property :project_id, as: 'projectId'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20200824'
28
+ REVISION = '20200831'
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'
@@ -177,6 +177,13 @@ module Google
177
177
  # @return [String]
178
178
  attr_accessor :logs_bucket
179
179
 
180
+ # Output only. The 'Build' name with format: `projects/`project`/locations/`
181
+ # location`/builds/`build``, where `build` is a unique identifier generated by
182
+ # the service.
183
+ # Corresponds to the JSON property `name`
184
+ # @return [String]
185
+ attr_accessor :name
186
+
180
187
  # Optional arguments to enable specific features of builds.
181
188
  # Corresponds to the JSON property `options`
182
189
  # @return [Google::Apis::CloudbuildV1alpha2::BuildOptions]
@@ -283,6 +290,7 @@ module Google
283
290
  @images = args[:images] if args.key?(:images)
284
291
  @log_url = args[:log_url] if args.key?(:log_url)
285
292
  @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
293
+ @name = args[:name] if args.key?(:name)
286
294
  @options = args[:options] if args.key?(:options)
287
295
  @project_id = args[:project_id] if args.key?(:project_id)
288
296
  @queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl)
@@ -272,6 +272,7 @@ module Google
272
272
  collection :images, as: 'images'
273
273
  property :log_url, as: 'logUrl'
274
274
  property :logs_bucket, as: 'logsBucket'
275
+ property :name, as: 'name'
275
276
  property :options, as: 'options', class: Google::Apis::CloudbuildV1alpha2::BuildOptions, decorator: Google::Apis::CloudbuildV1alpha2::BuildOptions::Representation
276
277
 
277
278
  property :project_id, as: 'projectId'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/error-reporting/
27
27
  module ClouderrorreportingV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200806'
29
+ REVISION = '20200827'
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,10 @@ module Google
25
25
  # @see https://cloud.google.com/identity/
26
26
  module CloudidentityV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200814'
28
+ REVISION = '20200908'
29
+
30
+ # See your device details
31
+ AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
29
32
 
30
33
  # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
31
34
  AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
@@ -97,6 +97,29 @@ module Google
97
97
  end
98
98
  end
99
99
 
100
+ # Request message for approving the device to access user data.
101
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
102
+ include Google::Apis::Core::Hashable
103
+
104
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
105
+ # of the customer. If you're using this API for your own organization, use `
106
+ # customers/my_customer` If you're using this API to manage another organization,
107
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
108
+ # device belongs.
109
+ # Corresponds to the JSON property `customer`
110
+ # @return [String]
111
+ attr_accessor :customer
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ @customer = args[:customer] if args.key?(:customer)
120
+ end
121
+ end
122
+
100
123
  # Response message for approving the device to access user data.
101
124
  class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
102
125
  include Google::Apis::Core::Hashable
@@ -117,6 +140,29 @@ module Google
117
140
  end
118
141
  end
119
142
 
143
+ # Request message for blocking account on device.
144
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
145
+ include Google::Apis::Core::Hashable
146
+
147
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
148
+ # of the customer. If you're using this API for your own organization, use `
149
+ # customers/my_customer` If you're using this API to manage another organization,
150
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
151
+ # device belongs.
152
+ # Corresponds to the JSON property `customer`
153
+ # @return [String]
154
+ attr_accessor :customer
155
+
156
+ def initialize(**args)
157
+ update!(**args)
158
+ end
159
+
160
+ # Update properties of this object
161
+ def update!(**args)
162
+ @customer = args[:customer] if args.key?(:customer)
163
+ end
164
+ end
165
+
120
166
  # Response message for blocking the device from accessing user data.
121
167
  class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
122
168
  include Google::Apis::Core::Hashable
@@ -137,6 +183,29 @@ module Google
137
183
  end
138
184
  end
139
185
 
186
+ # Request message for cancelling an unfinished device wipe.
187
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
188
+ include Google::Apis::Core::Hashable
189
+
190
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
191
+ # of the customer. If you're using this API for your own organization, use `
192
+ # customers/my_customer` If you're using this API to manage another organization,
193
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
194
+ # device belongs.
195
+ # Corresponds to the JSON property `customer`
196
+ # @return [String]
197
+ attr_accessor :customer
198
+
199
+ def initialize(**args)
200
+ update!(**args)
201
+ end
202
+
203
+ # Update properties of this object
204
+ def update!(**args)
205
+ @customer = args[:customer] if args.key?(:customer)
206
+ end
207
+ end
208
+
140
209
  # Response message for cancelling an unfinished device wipe.
141
210
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
142
211
  include Google::Apis::Core::Hashable
@@ -158,6 +227,29 @@ module Google
158
227
  end
159
228
  end
160
229
 
230
+ # Request message for cancelling an unfinished user account wipe.
231
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
232
+ include Google::Apis::Core::Hashable
233
+
234
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
235
+ # of the customer. If you're using this API for your own organization, use `
236
+ # customers/my_customer` If you're using this API to manage another organization,
237
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
238
+ # device belongs.
239
+ # Corresponds to the JSON property `customer`
240
+ # @return [String]
241
+ attr_accessor :customer
242
+
243
+ def initialize(**args)
244
+ update!(**args)
245
+ end
246
+
247
+ # Update properties of this object
248
+ def update!(**args)
249
+ @customer = args[:customer] if args.key?(:customer)
250
+ end
251
+ end
252
+
161
253
  # Response message for cancelling an unfinished user account wipe.
162
254
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
163
255
  include Google::Apis::Core::Hashable
@@ -210,7 +302,10 @@ module Google
210
302
  # @return [String]
211
303
  attr_accessor :etag
212
304
 
213
- # The Health score of the resource
305
+ # The Health score of the resource. The Health score is the callers
306
+ # specification of the condition of the device from a usability point of view.
307
+ # For example, a third-party device management provider may specify a health
308
+ # score based on its compliance with organizational policies.
214
309
  # Corresponds to the JSON property `healthScore`
215
310
  # @return [String]
216
311
  attr_accessor :health_score
@@ -235,7 +330,17 @@ module Google
235
330
  # Output only. [Resource name](https://cloud.google.com/apis/design/
236
331
  # resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
237
332
  # `device_user_id`/clientState/`partner_id``, where partner_id corresponds to
238
- # the partner storing the data.
333
+ # the partner storing the data. For partners belonging to the "BeyondCorp
334
+ # Alliance", this is the partner ID specified to you by Google. For all other
335
+ # callers, this is a string of the form: ``customer_id`-suffix`, where `
336
+ # customer_id` is your customer ID. The *suffix* is any string the caller
337
+ # specifies. This string will be displayed verbatim in the administration
338
+ # console. This suffix is used in setting up Custom Access Levels in Context-
339
+ # Aware Access. Your organization's customer ID can be obtained from the URL: `
340
+ # GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `
341
+ # id` field in the response contains the customer ID starting with the letter 'C'
342
+ # . The customer ID to be used in this API is the string after the letter 'C' (
343
+ # not including 'C')
239
344
  # Corresponds to the JSON property `name`
240
345
  # @return [String]
241
346
  attr_accessor :name
@@ -572,6 +677,140 @@ module Google
572
677
  end
573
678
  end
574
679
 
680
+ # Response message that is returned in ListClientStates.
681
+ class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
682
+ include Google::Apis::Core::Hashable
683
+
684
+ # Client states meeting the list restrictions.
685
+ # Corresponds to the JSON property `clientStates`
686
+ # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState>]
687
+ attr_accessor :client_states
688
+
689
+ # Token to retrieve the next page of results. Empty if there are no more results.
690
+ # Corresponds to the JSON property `nextPageToken`
691
+ # @return [String]
692
+ attr_accessor :next_page_token
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @client_states = args[:client_states] if args.key?(:client_states)
701
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
702
+ end
703
+ end
704
+
705
+ # Response message that is returned from the ListDeviceUsers method.
706
+ class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
707
+ include Google::Apis::Core::Hashable
708
+
709
+ # Devices meeting the list restrictions.
710
+ # Corresponds to the JSON property `deviceUsers`
711
+ # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser>]
712
+ attr_accessor :device_users
713
+
714
+ # Token to retrieve the next page of results. Empty if there are no more results.
715
+ # Corresponds to the JSON property `nextPageToken`
716
+ # @return [String]
717
+ attr_accessor :next_page_token
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ def update!(**args)
725
+ @device_users = args[:device_users] if args.key?(:device_users)
726
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
727
+ end
728
+ end
729
+
730
+ # Response message that is returned from the ListDevices method.
731
+ class GoogleAppsCloudidentityDevicesV1ListDevicesResponse
732
+ include Google::Apis::Core::Hashable
733
+
734
+ # Devices meeting the list restrictions.
735
+ # Corresponds to the JSON property `devices`
736
+ # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device>]
737
+ attr_accessor :devices
738
+
739
+ # Token to retrieve the next page of results. Empty if there are no more results.
740
+ # Corresponds to the JSON property `nextPageToken`
741
+ # @return [String]
742
+ attr_accessor :next_page_token
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @devices = args[:devices] if args.key?(:devices)
751
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
752
+ end
753
+ end
754
+
755
+ # Response containing resource names of the DeviceUsers associated with the
756
+ # caller's credentials.
757
+ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
758
+ include Google::Apis::Core::Hashable
759
+
760
+ # The obfuscated customer Id that may be passed back to other Devices API
761
+ # methods such as List, Get, etc.
762
+ # Corresponds to the JSON property `customer`
763
+ # @return [String]
764
+ attr_accessor :customer
765
+
766
+ # [Resource names](https://cloud.google.com/apis/design/resource_names) of the
767
+ # DeviceUsers in the format: `devices/`device_id`/deviceUsers/`user_resource_id``
768
+ # , where device_id is the unique ID assigned to a Device and user_resource_id
769
+ # is the unique user ID
770
+ # Corresponds to the JSON property `names`
771
+ # @return [Array<String>]
772
+ attr_accessor :names
773
+
774
+ # Token to retrieve the next page of results. Empty if there are no more results.
775
+ # Corresponds to the JSON property `nextPageToken`
776
+ # @return [String]
777
+ attr_accessor :next_page_token
778
+
779
+ def initialize(**args)
780
+ update!(**args)
781
+ end
782
+
783
+ # Update properties of this object
784
+ def update!(**args)
785
+ @customer = args[:customer] if args.key?(:customer)
786
+ @names = args[:names] if args.key?(:names)
787
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
788
+ end
789
+ end
790
+
791
+ # Request message for wiping all data on the device.
792
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
793
+ include Google::Apis::Core::Hashable
794
+
795
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
796
+ # of the customer. If you're using this API for your own organization, use `
797
+ # customers/my_customer` If you're using this API to manage another organization,
798
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
799
+ # device belongs.
800
+ # Corresponds to the JSON property `customer`
801
+ # @return [String]
802
+ attr_accessor :customer
803
+
804
+ def initialize(**args)
805
+ update!(**args)
806
+ end
807
+
808
+ # Update properties of this object
809
+ def update!(**args)
810
+ @customer = args[:customer] if args.key?(:customer)
811
+ end
812
+ end
813
+
575
814
  # Response message for wiping all data on the device.
576
815
  class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
577
816
  include Google::Apis::Core::Hashable
@@ -593,6 +832,29 @@ module Google
593
832
  end
594
833
  end
595
834
 
835
+ # Request message for starting an account wipe on device.
836
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
837
+ include Google::Apis::Core::Hashable
838
+
839
+ # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
840
+ # of the customer. If you're using this API for your own organization, use `
841
+ # customers/my_customer` If you're using this API to manage another organization,
842
+ # use `customers/`customer_id``, where customer_id is the customer to whom the
843
+ # device belongs.
844
+ # Corresponds to the JSON property `customer`
845
+ # @return [String]
846
+ attr_accessor :customer
847
+
848
+ def initialize(**args)
849
+ update!(**args)
850
+ end
851
+
852
+ # Update properties of this object
853
+ def update!(**args)
854
+ @customer = args[:customer] if args.key?(:customer)
855
+ end
856
+ end
857
+
596
858
  # Response message for wiping the user's account from the device.
597
859
  class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
598
860
  include Google::Apis::Core::Hashable
@@ -812,6 +1074,11 @@ module Google
812
1074
  # @return [Array<Google::Apis::CloudidentityV1::MembershipRole>]
813
1075
  attr_accessor :roles
814
1076
 
1077
+ # Output only. The type of the membership.
1078
+ # Corresponds to the JSON property `type`
1079
+ # @return [String]
1080
+ attr_accessor :type
1081
+
815
1082
  # Output only. Last updated timestamp of the Membership. Output only.
816
1083
  # Corresponds to the JSON property `updateTime`
817
1084
  # @return [String]
@@ -827,6 +1094,7 @@ module Google
827
1094
  @name = args[:name] if args.key?(:name)
828
1095
  @preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
829
1096
  @roles = args[:roles] if args.key?(:roles)
1097
+ @type = args[:type] if args.key?(:type)
830
1098
  @update_time = args[:update_time] if args.key?(:update_time)
831
1099
  end
832
1100
  end