google-api-client 0.11.1 → 0.11.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 (252) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/api_names.yaml +42335 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
  14. data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +61 -61
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  24. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  25. data/generated/google/apis/appengine_v1.rb +6 -5
  26. data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
  27. data/generated/google/apis/appengine_v1/representations.rb +331 -331
  28. data/generated/google/apis/appengine_v1/service.rb +173 -168
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
  37. data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
  38. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  39. data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
  40. data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
  41. data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
  42. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  43. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
  44. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
  45. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
  46. data/generated/google/apis/cloudfunctions_v1.rb +1 -4
  47. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
  48. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
  49. data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
  50. data/generated/google/apis/cloudkms_v1.rb +1 -1
  51. data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
  52. data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
  53. data/generated/google/apis/cloudkms_v1/service.rb +272 -272
  54. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
  63. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
  66. data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +194 -25
  69. data/generated/google/apis/compute_beta/representations.rb +42 -0
  70. data/generated/google/apis/compute_beta/service.rb +196 -100
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +69 -18
  73. data/generated/google/apis/compute_v1/representations.rb +16 -0
  74. data/generated/google/apis/compute_v1/service.rb +84 -26
  75. data/generated/google/apis/container_v1.rb +3 -3
  76. data/generated/google/apis/container_v1/classes.rb +794 -586
  77. data/generated/google/apis/container_v1/representations.rb +202 -118
  78. data/generated/google/apis/container_v1/service.rb +396 -167
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +4 -4
  81. data/generated/google/apis/dataproc_v1.rb +1 -1
  82. data/generated/google/apis/dataproc_v1/classes.rb +487 -484
  83. data/generated/google/apis/dataproc_v1/representations.rb +83 -83
  84. data/generated/google/apis/dataproc_v1/service.rb +299 -297
  85. data/generated/google/apis/datastore_v1.rb +1 -1
  86. data/generated/google/apis/datastore_v1/classes.rb +703 -703
  87. data/generated/google/apis/datastore_v1/representations.rb +148 -148
  88. data/generated/google/apis/datastore_v1/service.rb +62 -62
  89. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  90. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
  91. data/generated/google/apis/dfareporting_v2_6.rb +1 -1
  92. data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
  93. data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
  94. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  95. data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
  96. data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
  97. data/generated/google/apis/dfareporting_v2_8.rb +40 -0
  98. data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
  99. data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
  100. data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
  101. data/generated/google/apis/dns_v1.rb +1 -1
  102. data/generated/google/apis/dns_v2beta1.rb +1 -1
  103. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2.rb +1 -1
  105. data/generated/google/apis/drive_v2/classes.rb +15 -0
  106. data/generated/google/apis/drive_v2/representations.rb +2 -0
  107. data/generated/google/apis/drive_v2/service.rb +2 -1
  108. data/generated/google/apis/drive_v3.rb +1 -1
  109. data/generated/google/apis/drive_v3/classes.rb +16 -0
  110. data/generated/google/apis/drive_v3/representations.rb +2 -0
  111. data/generated/google/apis/drive_v3/service.rb +2 -1
  112. data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
  113. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
  114. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
  115. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
  116. data/generated/google/apis/firebaserules_v1.rb +1 -1
  117. data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
  118. data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
  119. data/generated/google/apis/firebaserules_v1/service.rb +118 -118
  120. data/generated/google/apis/fusiontables_v2.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_v1.rb +1 -1
  124. data/generated/google/apis/genomics_v1.rb +1 -1
  125. data/generated/google/apis/genomics_v1/classes.rb +920 -920
  126. data/generated/google/apis/genomics_v1/representations.rb +202 -202
  127. data/generated/google/apis/genomics_v1/service.rb +1092 -1092
  128. data/generated/google/apis/gmail_v1.rb +1 -1
  129. data/generated/google/apis/iam_v1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +455 -435
  131. data/generated/google/apis/iam_v1/representations.rb +96 -93
  132. data/generated/google/apis/iam_v1/service.rb +157 -157
  133. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  134. data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
  135. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
  136. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  137. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  138. data/generated/google/apis/kgsearch_v1/service.rb +9 -9
  139. data/generated/google/apis/language_v1.rb +1 -1
  140. data/generated/google/apis/language_v1/classes.rb +455 -455
  141. data/generated/google/apis/language_v1/representations.rb +102 -102
  142. data/generated/google/apis/language_v1/service.rb +42 -42
  143. data/generated/google/apis/language_v1beta1.rb +1 -1
  144. data/generated/google/apis/language_v1beta1/classes.rb +216 -215
  145. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  146. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  147. data/generated/google/apis/logging_v2.rb +1 -1
  148. data/generated/google/apis/logging_v2/classes.rb +908 -895
  149. data/generated/google/apis/logging_v2/representations.rb +121 -120
  150. data/generated/google/apis/logging_v2/service.rb +489 -489
  151. data/generated/google/apis/logging_v2beta1.rb +4 -4
  152. data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
  153. data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
  154. data/generated/google/apis/logging_v2beta1/service.rb +249 -249
  155. data/generated/google/apis/manufacturers_v1.rb +1 -1
  156. data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
  157. data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
  158. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  159. data/generated/google/apis/mirror_v1.rb +1 -1
  160. data/generated/google/apis/ml_v1.rb +1 -1
  161. data/generated/google/apis/ml_v1/classes.rb +1186 -1183
  162. data/generated/google/apis/ml_v1/representations.rb +177 -177
  163. data/generated/google/apis/ml_v1/service.rb +244 -244
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +866 -866
  166. data/generated/google/apis/monitoring_v3/representations.rb +163 -163
  167. data/generated/google/apis/monitoring_v3/service.rb +355 -316
  168. data/generated/google/apis/oauth2_v2.rb +1 -1
  169. data/generated/google/apis/partners_v2.rb +1 -1
  170. data/generated/google/apis/partners_v2/classes.rb +1499 -1499
  171. data/generated/google/apis/partners_v2/representations.rb +368 -368
  172. data/generated/google/apis/partners_v2/service.rb +512 -512
  173. data/generated/google/apis/people_v1.rb +10 -10
  174. data/generated/google/apis/people_v1/classes.rb +544 -423
  175. data/generated/google/apis/people_v1/representations.rb +127 -109
  176. data/generated/google/apis/people_v1/service.rb +8 -8
  177. data/generated/google/apis/plus_domains_v1.rb +1 -1
  178. data/generated/google/apis/plus_v1.rb +1 -1
  179. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  180. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
  181. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
  182. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
  183. data/generated/google/apis/pubsub_v1.rb +1 -1
  184. data/generated/google/apis/pubsub_v1/classes.rb +377 -377
  185. data/generated/google/apis/pubsub_v1/representations.rb +82 -82
  186. data/generated/google/apis/pubsub_v1/service.rb +93 -93
  187. data/generated/google/apis/runtimeconfig_v1.rb +6 -4
  188. data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
  189. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  190. data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
  191. data/generated/google/apis/script_v1.rb +14 -14
  192. data/generated/google/apis/script_v1/classes.rb +113 -58
  193. data/generated/google/apis/script_v1/representations.rb +43 -14
  194. data/generated/google/apis/script_v1/service.rb +6 -6
  195. data/generated/google/apis/searchconsole_v1.rb +1 -1
  196. data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
  197. data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
  198. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  199. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
  202. data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
  203. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  204. data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
  205. data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
  206. data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
  207. data/generated/google/apis/serviceuser_v1.rb +4 -4
  208. data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
  209. data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
  210. data/generated/google/apis/serviceuser_v1/service.rb +19 -19
  211. data/generated/google/apis/sheets_v4.rb +4 -1
  212. data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
  213. data/generated/google/apis/sheets_v4/representations.rb +858 -858
  214. data/generated/google/apis/sheets_v4/service.rb +115 -115
  215. data/generated/google/apis/slides_v1.rb +1 -1
  216. data/generated/google/apis/slides_v1/classes.rb +2890 -2890
  217. data/generated/google/apis/slides_v1/representations.rb +638 -638
  218. data/generated/google/apis/slides_v1/service.rb +36 -36
  219. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  220. data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
  221. data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
  222. data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
  223. data/generated/google/apis/spanner_v1.rb +1 -1
  224. data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
  225. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  226. data/generated/google/apis/spanner_v1/service.rb +466 -466
  227. data/generated/google/apis/speech_v1beta1.rb +2 -2
  228. data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
  229. data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
  230. data/generated/google/apis/speech_v1beta1/service.rb +49 -49
  231. data/generated/google/apis/storage_v1.rb +1 -1
  232. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  233. data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
  234. data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
  235. data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
  236. data/generated/google/apis/surveys_v2.rb +1 -1
  237. data/generated/google/apis/surveys_v2/classes.rb +0 -12
  238. data/generated/google/apis/surveys_v2/representations.rb +0 -4
  239. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  240. data/generated/google/apis/vision_v1.rb +1 -1
  241. data/generated/google/apis/vision_v1/classes.rb +1301 -1302
  242. data/generated/google/apis/vision_v1/representations.rb +183 -183
  243. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
  246. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
  247. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  248. data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
  249. data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
  250. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  251. data/lib/google/apis/version.rb +1 -1
  252. metadata +7 -3
@@ -50,6 +50,13 @@ module Google
50
50
  end
51
51
 
52
52
  # Lists service operations that match the specified filter in the request.
53
+ # @param [String] name
54
+ # Not used.
55
+ # @param [String] page_token
56
+ # The standard list page token.
57
+ # @param [Fixnum] page_size
58
+ # The maximum number of operations to return. If unspecified, defaults to
59
+ # 50. The maximum value is 100.
53
60
  # @param [String] filter
54
61
  # A string for filtering Operations.
55
62
  # The following filter fields are supported:
@@ -68,18 +75,11 @@ module Google
68
75
  # * `serviceName=`some-service`.googleapis.com AND status=done`
69
76
  # * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>="
70
77
  # 2017-02-01")`
71
- # @param [String] name
72
- # Not used.
73
- # @param [String] page_token
74
- # The standard list page token.
75
- # @param [Fixnum] page_size
76
- # The maximum number of operations to return. If unspecified, defaults to
77
- # 50. The maximum value is 100.
78
+ # @param [String] fields
79
+ # Selector specifying which fields to include in a partial response.
78
80
  # @param [String] quota_user
79
81
  # Available to use for quota purposes for server-side applications. Can be any
80
82
  # arbitrary string assigned to a user, but should not exceed 40 characters.
81
- # @param [String] fields
82
- # Selector specifying which fields to include in a partial response.
83
83
  # @param [Google::Apis::RequestOptions] options
84
84
  # Request-specific options
85
85
  #
@@ -92,16 +92,16 @@ module Google
92
92
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
93
93
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94
94
  # @raise [Google::Apis::AuthorizationError] Authorization is required
95
- def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
95
+ def list_operations(name: nil, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
96
96
  command = make_simple_command(:get, 'v1/operations', options)
97
97
  command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation
98
98
  command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse
99
- command.query['filter'] = filter unless filter.nil?
100
99
  command.query['name'] = name unless name.nil?
101
100
  command.query['pageToken'] = page_token unless page_token.nil?
102
101
  command.query['pageSize'] = page_size unless page_size.nil?
103
- command.query['quotaUser'] = quota_user unless quota_user.nil?
102
+ command.query['filter'] = filter unless filter.nil?
104
103
  command.query['fields'] = fields unless fields.nil?
104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
105
105
  execute_or_queue_command(command, &block)
106
106
  end
107
107
 
@@ -110,11 +110,11 @@ module Google
110
110
  # service.
111
111
  # @param [String] name
112
112
  # The name of the operation resource.
113
+ # @param [String] fields
114
+ # Selector specifying which fields to include in a partial response.
113
115
  # @param [String] quota_user
114
116
  # Available to use for quota purposes for server-side applications. Can be any
115
117
  # arbitrary string assigned to a user, but should not exceed 40 characters.
116
- # @param [String] fields
117
- # Selector specifying which fields to include in a partial response.
118
118
  # @param [Google::Apis::RequestOptions] options
119
119
  # Request-specific options
120
120
  #
@@ -127,13 +127,52 @@ module Google
127
127
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
128
128
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
129
129
  # @raise [Google::Apis::AuthorizationError] Authorization is required
130
- def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
130
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
131
131
  command = make_simple_command(:get, 'v1/{+name}', options)
132
132
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
133
133
  command.response_class = Google::Apis::ServicemanagementV1::Operation
134
134
  command.params['name'] = name unless name.nil?
135
+ command.query['fields'] = fields unless fields.nil?
135
136
  command.query['quotaUser'] = quota_user unless quota_user.nil?
137
+ execute_or_queue_command(command, &block)
138
+ end
139
+
140
+ # Generates and returns a report (errors, warnings and changes from
141
+ # existing configurations) associated with
142
+ # GenerateConfigReportRequest.new_value
143
+ # If GenerateConfigReportRequest.old_value is specified,
144
+ # GenerateConfigReportRequest will contain a single ChangeReport based on the
145
+ # comparison between GenerateConfigReportRequest.new_value and
146
+ # GenerateConfigReportRequest.old_value.
147
+ # If GenerateConfigReportRequest.old_value is not specified, this method
148
+ # will compare GenerateConfigReportRequest.new_value with the last pushed
149
+ # service configuration.
150
+ # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object
151
+ # @param [String] fields
152
+ # Selector specifying which fields to include in a partial response.
153
+ # @param [String] quota_user
154
+ # Available to use for quota purposes for server-side applications. Can be any
155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
156
+ # @param [Google::Apis::RequestOptions] options
157
+ # Request-specific options
158
+ #
159
+ # @yield [result, err] Result & error if block supplied
160
+ # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object
161
+ # @yieldparam err [StandardError] error object if request failed
162
+ #
163
+ # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse]
164
+ #
165
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
166
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
167
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
168
+ def generate_service_config_report(generate_config_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
169
+ command = make_simple_command(:post, 'v1/services:generateConfigReport', options)
170
+ command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation
171
+ command.request_object = generate_config_report_request_object
172
+ command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation
173
+ command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse
136
174
  command.query['fields'] = fields unless fields.nil?
175
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
137
176
  execute_or_queue_command(command, &block)
138
177
  end
139
178
 
@@ -142,11 +181,11 @@ module Google
142
181
  # @param [String] service_name
143
182
  # The name of the service. See the `ServiceManager` overview for naming
144
183
  # requirements. For example: `example.googleapis.com`.
184
+ # @param [String] fields
185
+ # Selector specifying which fields to include in a partial response.
145
186
  # @param [String] quota_user
146
187
  # Available to use for quota purposes for server-side applications. Can be any
147
188
  # arbitrary string assigned to a user, but should not exceed 40 characters.
148
- # @param [String] fields
149
- # Selector specifying which fields to include in a partial response.
150
189
  # @param [Google::Apis::RequestOptions] options
151
190
  # Request-specific options
152
191
  #
@@ -159,13 +198,13 @@ module Google
159
198
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160
199
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161
200
  # @raise [Google::Apis::AuthorizationError] Authorization is required
162
- def get_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
201
+ def get_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
163
202
  command = make_simple_command(:get, 'v1/services/{serviceName}', options)
164
203
  command.response_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
165
204
  command.response_class = Google::Apis::ServicemanagementV1::ManagedService
166
205
  command.params['serviceName'] = service_name unless service_name.nil?
167
- command.query['quotaUser'] = quota_user unless quota_user.nil?
168
206
  command.query['fields'] = fields unless fields.nil?
207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
169
208
  execute_or_queue_command(command, &block)
170
209
  end
171
210
 
@@ -179,11 +218,11 @@ module Google
179
218
  # REQUIRED: The resource for which the policy detail is being requested.
180
219
  # See the operation documentation for the appropriate value for this field.
181
220
  # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
221
+ # @param [String] fields
222
+ # Selector specifying which fields to include in a partial response.
182
223
  # @param [String] quota_user
183
224
  # Available to use for quota purposes for server-side applications. Can be any
184
225
  # arbitrary string assigned to a user, but should not exceed 40 characters.
185
- # @param [String] fields
186
- # Selector specifying which fields to include in a partial response.
187
226
  # @param [Google::Apis::RequestOptions] options
188
227
  # Request-specific options
189
228
  #
@@ -196,15 +235,15 @@ module Google
196
235
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
197
236
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
198
237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
199
- def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
238
+ def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
200
239
  command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
201
240
  command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
202
241
  command.request_object = test_iam_permissions_request_object
203
242
  command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
204
243
  command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
205
244
  command.params['resource'] = resource unless resource.nil?
206
- command.query['quotaUser'] = quota_user unless quota_user.nil?
207
245
  command.query['fields'] = fields unless fields.nil?
246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
208
247
  execute_or_queue_command(command, &block)
209
248
  end
210
249
 
@@ -217,11 +256,11 @@ module Google
217
256
  # @param [String] view
218
257
  # Specifies which parts of the Service Config should be returned in the
219
258
  # response.
259
+ # @param [String] fields
260
+ # Selector specifying which fields to include in a partial response.
220
261
  # @param [String] quota_user
221
262
  # Available to use for quota purposes for server-side applications. Can be any
222
263
  # arbitrary string assigned to a user, but should not exceed 40 characters.
223
- # @param [String] fields
224
- # Selector specifying which fields to include in a partial response.
225
264
  # @param [Google::Apis::RequestOptions] options
226
265
  # Request-specific options
227
266
  #
@@ -234,15 +273,15 @@ module Google
234
273
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
274
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
275
  # @raise [Google::Apis::AuthorizationError] Authorization is required
237
- def get_service_configuration(service_name, config_id: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
276
+ def get_service_configuration(service_name, config_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
238
277
  command = make_simple_command(:get, 'v1/services/{serviceName}/config', options)
239
278
  command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
240
279
  command.response_class = Google::Apis::ServicemanagementV1::Service
241
280
  command.params['serviceName'] = service_name unless service_name.nil?
242
281
  command.query['configId'] = config_id unless config_id.nil?
243
282
  command.query['view'] = view unless view.nil?
244
- command.query['quotaUser'] = quota_user unless quota_user.nil?
245
283
  command.query['fields'] = fields unless fields.nil?
284
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
246
285
  execute_or_queue_command(command, &block)
247
286
  end
248
287
 
@@ -254,11 +293,11 @@ module Google
254
293
  # @param [String] service_name
255
294
  # The name of the service. See the [overview](/service-management/overview)
256
295
  # for naming requirements. For example: `example.googleapis.com`.
296
+ # @param [String] fields
297
+ # Selector specifying which fields to include in a partial response.
257
298
  # @param [String] quota_user
258
299
  # Available to use for quota purposes for server-side applications. Can be any
259
300
  # arbitrary string assigned to a user, but should not exceed 40 characters.
260
- # @param [String] fields
261
- # Selector specifying which fields to include in a partial response.
262
301
  # @param [Google::Apis::RequestOptions] options
263
302
  # Request-specific options
264
303
  #
@@ -271,13 +310,13 @@ module Google
271
310
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
272
311
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
312
  # @raise [Google::Apis::AuthorizationError] Authorization is required
274
- def delete_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
313
+ def delete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
275
314
  command = make_simple_command(:delete, 'v1/services/{serviceName}', options)
276
315
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
277
316
  command.response_class = Google::Apis::ServicemanagementV1::Operation
278
317
  command.params['serviceName'] = service_name unless service_name.nil?
279
- command.query['quotaUser'] = quota_user unless quota_user.nil?
280
318
  command.query['fields'] = fields unless fields.nil?
319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
320
  execute_or_queue_command(command, &block)
282
321
  end
283
322
 
@@ -290,11 +329,11 @@ module Google
290
329
  # Name of the service to enable. Specifying an unknown service name will
291
330
  # cause the request to fail.
292
331
  # @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
332
+ # @param [String] fields
333
+ # Selector specifying which fields to include in a partial response.
293
334
  # @param [String] quota_user
294
335
  # Available to use for quota purposes for server-side applications. Can be any
295
336
  # arbitrary string assigned to a user, but should not exceed 40 characters.
296
- # @param [String] fields
297
- # Selector specifying which fields to include in a partial response.
298
337
  # @param [Google::Apis::RequestOptions] options
299
338
  # Request-specific options
300
339
  #
@@ -307,15 +346,15 @@ module Google
307
346
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
347
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
348
  # @raise [Google::Apis::AuthorizationError] Authorization is required
310
- def enable_service(service_name, enable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
349
+ def enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
311
350
  command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
312
351
  command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
313
352
  command.request_object = enable_service_request_object
314
353
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
315
354
  command.response_class = Google::Apis::ServicemanagementV1::Operation
316
355
  command.params['serviceName'] = service_name unless service_name.nil?
317
- command.query['quotaUser'] = quota_user unless quota_user.nil?
318
356
  command.query['fields'] = fields unless fields.nil?
357
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
319
358
  execute_or_queue_command(command, &block)
320
359
  end
321
360
 
@@ -325,11 +364,11 @@ module Google
325
364
  # REQUIRED: The resource for which the policy is being specified.
326
365
  # See the operation documentation for the appropriate value for this field.
327
366
  # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
367
+ # @param [String] fields
368
+ # Selector specifying which fields to include in a partial response.
328
369
  # @param [String] quota_user
329
370
  # Available to use for quota purposes for server-side applications. Can be any
330
371
  # arbitrary string assigned to a user, but should not exceed 40 characters.
331
- # @param [String] fields
332
- # Selector specifying which fields to include in a partial response.
333
372
  # @param [Google::Apis::RequestOptions] options
334
373
  # Request-specific options
335
374
  #
@@ -342,15 +381,15 @@ module Google
342
381
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
343
382
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
344
383
  # @raise [Google::Apis::AuthorizationError] Authorization is required
345
- def set_service_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
384
+ def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
346
385
  command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
347
386
  command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
348
387
  command.request_object = set_iam_policy_request_object
349
388
  command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
350
389
  command.response_class = Google::Apis::ServicemanagementV1::Policy
351
390
  command.params['resource'] = resource unless resource.nil?
352
- command.query['quotaUser'] = quota_user unless quota_user.nil?
353
391
  command.query['fields'] = fields unless fields.nil?
392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
354
393
  execute_or_queue_command(command, &block)
355
394
  end
356
395
 
@@ -362,11 +401,11 @@ module Google
362
401
  # Name of the service to disable. Specifying an unknown service name
363
402
  # will cause the request to fail.
364
403
  # @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_request_object
404
+ # @param [String] fields
405
+ # Selector specifying which fields to include in a partial response.
365
406
  # @param [String] quota_user
366
407
  # Available to use for quota purposes for server-side applications. Can be any
367
408
  # arbitrary string assigned to a user, but should not exceed 40 characters.
368
- # @param [String] fields
369
- # Selector specifying which fields to include in a partial response.
370
409
  # @param [Google::Apis::RequestOptions] options
371
410
  # Request-specific options
372
411
  #
@@ -379,15 +418,15 @@ module Google
379
418
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
380
419
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
381
420
  # @raise [Google::Apis::AuthorizationError] Authorization is required
382
- def disable_service(service_name, disable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
421
+ def disable_service(service_name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
383
422
  command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options)
384
423
  command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation
385
424
  command.request_object = disable_service_request_object
386
425
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
387
426
  command.response_class = Google::Apis::ServicemanagementV1::Operation
388
427
  command.params['serviceName'] = service_name unless service_name.nil?
389
- command.query['quotaUser'] = quota_user unless quota_user.nil?
390
428
  command.query['fields'] = fields unless fields.nil?
429
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
391
430
  execute_or_queue_command(command, &block)
392
431
  end
393
432
 
@@ -398,11 +437,11 @@ module Google
398
437
  # REQUIRED: The resource for which the policy is being requested.
399
438
  # See the operation documentation for the appropriate value for this field.
400
439
  # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
440
+ # @param [String] fields
441
+ # Selector specifying which fields to include in a partial response.
401
442
  # @param [String] quota_user
402
443
  # Available to use for quota purposes for server-side applications. Can be any
403
444
  # arbitrary string assigned to a user, but should not exceed 40 characters.
404
- # @param [String] fields
405
- # Selector specifying which fields to include in a partial response.
406
445
  # @param [Google::Apis::RequestOptions] options
407
446
  # Request-specific options
408
447
  #
@@ -415,15 +454,15 @@ module Google
415
454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
418
- def get_service_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
457
+ def get_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
419
458
  command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
420
459
  command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
421
460
  command.request_object = get_iam_policy_request_object
422
461
  command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
423
462
  command.response_class = Google::Apis::ServicemanagementV1::Policy
424
463
  command.params['resource'] = resource unless resource.nil?
425
- command.query['quotaUser'] = quota_user unless quota_user.nil?
426
464
  command.query['fields'] = fields unless fields.nil?
465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
427
466
  execute_or_queue_command(command, &block)
428
467
  end
429
468
 
@@ -435,11 +474,11 @@ module Google
435
474
  # @param [String] service_name
436
475
  # The name of the service. See the [overview](/service-management/overview)
437
476
  # for naming requirements. For example: `example.googleapis.com`.
477
+ # @param [String] fields
478
+ # Selector specifying which fields to include in a partial response.
438
479
  # @param [String] quota_user
439
480
  # Available to use for quota purposes for server-side applications. Can be any
440
481
  # arbitrary string assigned to a user, but should not exceed 40 characters.
441
- # @param [String] fields
442
- # Selector specifying which fields to include in a partial response.
443
482
  # @param [Google::Apis::RequestOptions] options
444
483
  # Request-specific options
445
484
  #
@@ -452,13 +491,13 @@ module Google
452
491
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
453
492
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
454
493
  # @raise [Google::Apis::AuthorizationError] Authorization is required
455
- def undelete_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
494
+ def undelete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
456
495
  command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options)
457
496
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
458
497
  command.response_class = Google::Apis::ServicemanagementV1::Operation
459
498
  command.params['serviceName'] = service_name unless service_name.nil?
460
- command.query['quotaUser'] = quota_user unless quota_user.nil?
461
499
  command.query['fields'] = fields unless fields.nil?
500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
462
501
  execute_or_queue_command(command, &block)
463
502
  end
464
503
 
@@ -481,11 +520,11 @@ module Google
481
520
  # Requested size of the next page of data.
482
521
  # @param [String] producer_project_id
483
522
  # Include services produced by the specified project.
523
+ # @param [String] fields
524
+ # Selector specifying which fields to include in a partial response.
484
525
  # @param [String] quota_user
485
526
  # Available to use for quota purposes for server-side applications. Can be any
486
527
  # arbitrary string assigned to a user, but should not exceed 40 characters.
487
- # @param [String] fields
488
- # Selector specifying which fields to include in a partial response.
489
528
  # @param [Google::Apis::RequestOptions] options
490
529
  # Request-specific options
491
530
  #
@@ -498,7 +537,7 @@ module Google
498
537
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
499
538
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
500
539
  # @raise [Google::Apis::AuthorizationError] Authorization is required
501
- def list_services(consumer_id: nil, page_token: nil, page_size: nil, producer_project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
540
+ def list_services(consumer_id: nil, page_token: nil, page_size: nil, producer_project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
502
541
  command = make_simple_command(:get, 'v1/services', options)
503
542
  command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation
504
543
  command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse
@@ -506,8 +545,8 @@ module Google
506
545
  command.query['pageToken'] = page_token unless page_token.nil?
507
546
  command.query['pageSize'] = page_size unless page_size.nil?
508
547
  command.query['producerProjectId'] = producer_project_id unless producer_project_id.nil?
509
- command.query['quotaUser'] = quota_user unless quota_user.nil?
510
548
  command.query['fields'] = fields unless fields.nil?
549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
511
550
  execute_or_queue_command(command, &block)
512
551
  end
513
552
 
@@ -515,11 +554,11 @@ module Google
515
554
  # Please note one producer project can own no more than 20 services.
516
555
  # Operation<response: ManagedService>
517
556
  # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object
557
+ # @param [String] fields
558
+ # Selector specifying which fields to include in a partial response.
518
559
  # @param [String] quota_user
519
560
  # Available to use for quota purposes for server-side applications. Can be any
520
561
  # arbitrary string assigned to a user, but should not exceed 40 characters.
521
- # @param [String] fields
522
- # Selector specifying which fields to include in a partial response.
523
562
  # @param [Google::Apis::RequestOptions] options
524
563
  # Request-specific options
525
564
  #
@@ -532,53 +571,14 @@ module Google
532
571
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
533
572
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
534
573
  # @raise [Google::Apis::AuthorizationError] Authorization is required
535
- def create_service(managed_service_object = nil, quota_user: nil, fields: nil, options: nil, &block)
574
+ def create_service(managed_service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
536
575
  command = make_simple_command(:post, 'v1/services', options)
537
576
  command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
538
577
  command.request_object = managed_service_object
539
578
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
540
579
  command.response_class = Google::Apis::ServicemanagementV1::Operation
541
- command.query['quotaUser'] = quota_user unless quota_user.nil?
542
580
  command.query['fields'] = fields unless fields.nil?
543
- execute_or_queue_command(command, &block)
544
- end
545
-
546
- # Generates and returns a report (errors, warnings and changes from
547
- # existing configurations) associated with
548
- # GenerateConfigReportRequest.new_value
549
- # If GenerateConfigReportRequest.old_value is specified,
550
- # GenerateConfigReportRequest will contain a single ChangeReport based on the
551
- # comparison between GenerateConfigReportRequest.new_value and
552
- # GenerateConfigReportRequest.old_value.
553
- # If GenerateConfigReportRequest.old_value is not specified, this method
554
- # will compare GenerateConfigReportRequest.new_value with the last pushed
555
- # service configuration.
556
- # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object
557
- # @param [String] quota_user
558
- # Available to use for quota purposes for server-side applications. Can be any
559
- # arbitrary string assigned to a user, but should not exceed 40 characters.
560
- # @param [String] fields
561
- # Selector specifying which fields to include in a partial response.
562
- # @param [Google::Apis::RequestOptions] options
563
- # Request-specific options
564
- #
565
- # @yield [result, err] Result & error if block supplied
566
- # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object
567
- # @yieldparam err [StandardError] error object if request failed
568
- #
569
- # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse]
570
- #
571
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
572
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
573
- # @raise [Google::Apis::AuthorizationError] Authorization is required
574
- def generate_service_config_report(generate_config_report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
575
- command = make_simple_command(:post, 'v1/services:generateConfigReport', options)
576
- command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation
577
- command.request_object = generate_config_report_request_object
578
- command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation
579
- command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse
580
581
  command.query['quotaUser'] = quota_user unless quota_user.nil?
581
- command.query['fields'] = fields unless fields.nil?
582
582
  execute_or_queue_command(command, &block)
583
583
  end
584
584
 
@@ -591,11 +591,11 @@ module Google
591
591
  # The token of the page to retrieve.
592
592
  # @param [Fixnum] page_size
593
593
  # The max number of items to include in the response list.
594
+ # @param [String] fields
595
+ # Selector specifying which fields to include in a partial response.
594
596
  # @param [String] quota_user
595
597
  # Available to use for quota purposes for server-side applications. Can be any
596
598
  # arbitrary string assigned to a user, but should not exceed 40 characters.
597
- # @param [String] fields
598
- # Selector specifying which fields to include in a partial response.
599
599
  # @param [Google::Apis::RequestOptions] options
600
600
  # Request-specific options
601
601
  #
@@ -608,15 +608,15 @@ module Google
608
608
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
609
609
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
610
610
  # @raise [Google::Apis::AuthorizationError] Authorization is required
611
- def list_service_configs(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
611
+ def list_service_configs(service_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
612
612
  command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options)
613
613
  command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation
614
614
  command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse
615
615
  command.params['serviceName'] = service_name unless service_name.nil?
616
616
  command.query['pageToken'] = page_token unless page_token.nil?
617
617
  command.query['pageSize'] = page_size unless page_size.nil?
618
- command.query['quotaUser'] = quota_user unless quota_user.nil?
619
618
  command.query['fields'] = fields unless fields.nil?
619
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
620
620
  execute_or_queue_command(command, &block)
621
621
  end
622
622
 
@@ -629,11 +629,11 @@ module Google
629
629
  # @param [String] view
630
630
  # Specifies which parts of the Service Config should be returned in the
631
631
  # response.
632
+ # @param [String] fields
633
+ # Selector specifying which fields to include in a partial response.
632
634
  # @param [String] quota_user
633
635
  # Available to use for quota purposes for server-side applications. Can be any
634
636
  # arbitrary string assigned to a user, but should not exceed 40 characters.
635
- # @param [String] fields
636
- # Selector specifying which fields to include in a partial response.
637
637
  # @param [Google::Apis::RequestOptions] options
638
638
  # Request-specific options
639
639
  #
@@ -646,15 +646,15 @@ module Google
646
646
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
647
647
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
648
648
  # @raise [Google::Apis::AuthorizationError] Authorization is required
649
- def get_service_config(service_name, config_id, view: nil, quota_user: nil, fields: nil, options: nil, &block)
649
+ def get_service_config(service_name, config_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
650
650
  command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options)
651
651
  command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
652
652
  command.response_class = Google::Apis::ServicemanagementV1::Service
653
653
  command.params['serviceName'] = service_name unless service_name.nil?
654
654
  command.params['configId'] = config_id unless config_id.nil?
655
655
  command.query['view'] = view unless view.nil?
656
- command.query['quotaUser'] = quota_user unless quota_user.nil?
657
656
  command.query['fields'] = fields unless fields.nil?
657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
658
658
  execute_or_queue_command(command, &block)
659
659
  end
660
660
 
@@ -666,11 +666,11 @@ module Google
666
666
  # The name of the service. See the [overview](/service-management/overview)
667
667
  # for naming requirements. For example: `example.googleapis.com`.
668
668
  # @param [Google::Apis::ServicemanagementV1::Service] service_object
669
+ # @param [String] fields
670
+ # Selector specifying which fields to include in a partial response.
669
671
  # @param [String] quota_user
670
672
  # Available to use for quota purposes for server-side applications. Can be any
671
673
  # arbitrary string assigned to a user, but should not exceed 40 characters.
672
- # @param [String] fields
673
- # Selector specifying which fields to include in a partial response.
674
674
  # @param [Google::Apis::RequestOptions] options
675
675
  # Request-specific options
676
676
  #
@@ -683,15 +683,15 @@ module Google
683
683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
686
- def create_service_config(service_name, service_object = nil, quota_user: nil, fields: nil, options: nil, &block)
686
+ def create_service_config(service_name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
687
687
  command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options)
688
688
  command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation
689
689
  command.request_object = service_object
690
690
  command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
691
691
  command.response_class = Google::Apis::ServicemanagementV1::Service
692
692
  command.params['serviceName'] = service_name unless service_name.nil?
693
- command.query['quotaUser'] = quota_user unless quota_user.nil?
694
693
  command.query['fields'] = fields unless fields.nil?
694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
695
695
  execute_or_queue_command(command, &block)
696
696
  end
697
697
 
@@ -707,11 +707,11 @@ module Google
707
707
  # The name of the service. See the [overview](/service-management/overview)
708
708
  # for naming requirements. For example: `example.googleapis.com`.
709
709
  # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object
710
+ # @param [String] fields
711
+ # Selector specifying which fields to include in a partial response.
710
712
  # @param [String] quota_user
711
713
  # Available to use for quota purposes for server-side applications. Can be any
712
714
  # arbitrary string assigned to a user, but should not exceed 40 characters.
713
- # @param [String] fields
714
- # Selector specifying which fields to include in a partial response.
715
715
  # @param [Google::Apis::RequestOptions] options
716
716
  # Request-specific options
717
717
  #
@@ -724,87 +724,125 @@ module Google
724
724
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
725
725
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
726
726
  # @raise [Google::Apis::AuthorizationError] Authorization is required
727
- def submit_config_source(service_name, submit_config_source_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
727
+ def submit_config_source(service_name, submit_config_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
728
728
  command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options)
729
729
  command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation
730
730
  command.request_object = submit_config_source_request_object
731
731
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
732
732
  command.response_class = Google::Apis::ServicemanagementV1::Operation
733
733
  command.params['serviceName'] = service_name unless service_name.nil?
734
- command.query['quotaUser'] = quota_user unless quota_user.nil?
735
734
  command.query['fields'] = fields unless fields.nil?
735
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
736
736
  execute_or_queue_command(command, &block)
737
737
  end
738
738
 
739
- # Lists the history of the service configuration rollouts for a managed
740
- # service, from the newest to the oldest.
741
- # @param [String] service_name
742
- # The name of the service. See the [overview](/service-management/overview)
743
- # for naming requirements. For example: `example.googleapis.com`.
744
- # @param [String] page_token
745
- # The token of the page to retrieve.
746
- # @param [Fixnum] page_size
747
- # The max number of items to include in the response list.
739
+ # Gets the access control policy for a resource.
740
+ # Returns an empty policy if the resource exists and does not have a policy
741
+ # set.
742
+ # @param [String] resource
743
+ # REQUIRED: The resource for which the policy is being requested.
744
+ # See the operation documentation for the appropriate value for this field.
745
+ # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
746
+ # @param [String] fields
747
+ # Selector specifying which fields to include in a partial response.
748
748
  # @param [String] quota_user
749
749
  # Available to use for quota purposes for server-side applications. Can be any
750
750
  # arbitrary string assigned to a user, but should not exceed 40 characters.
751
- # @param [String] fields
752
- # Selector specifying which fields to include in a partial response.
753
751
  # @param [Google::Apis::RequestOptions] options
754
752
  # Request-specific options
755
753
  #
756
754
  # @yield [result, err] Result & error if block supplied
757
- # @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object
755
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
758
756
  # @yieldparam err [StandardError] error object if request failed
759
757
  #
760
- # @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse]
758
+ # @return [Google::Apis::ServicemanagementV1::Policy]
761
759
  #
762
760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- def list_service_rollouts(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
766
- command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
767
- command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
768
- command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
769
- command.params['serviceName'] = service_name unless service_name.nil?
770
- command.query['pageToken'] = page_token unless page_token.nil?
771
- command.query['pageSize'] = page_size unless page_size.nil?
772
- command.query['quotaUser'] = quota_user unless quota_user.nil?
763
+ def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
764
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
765
+ command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
766
+ command.request_object = get_iam_policy_request_object
767
+ command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
768
+ command.response_class = Google::Apis::ServicemanagementV1::Policy
769
+ command.params['resource'] = resource unless resource.nil?
773
770
  command.query['fields'] = fields unless fields.nil?
771
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
774
772
  execute_or_queue_command(command, &block)
775
773
  end
776
774
 
777
- # Gets a service configuration rollout.
778
- # @param [String] service_name
779
- # The name of the service. See the [overview](/service-management/overview)
780
- # for naming requirements. For example: `example.googleapis.com`.
781
- # @param [String] rollout_id
782
- # The id of the rollout resource.
775
+ # Sets the access control policy on the specified resource. Replaces any
776
+ # existing policy.
777
+ # @param [String] resource
778
+ # REQUIRED: The resource for which the policy is being specified.
779
+ # See the operation documentation for the appropriate value for this field.
780
+ # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
781
+ # @param [String] fields
782
+ # Selector specifying which fields to include in a partial response.
783
783
  # @param [String] quota_user
784
784
  # Available to use for quota purposes for server-side applications. Can be any
785
785
  # arbitrary string assigned to a user, but should not exceed 40 characters.
786
+ # @param [Google::Apis::RequestOptions] options
787
+ # Request-specific options
788
+ #
789
+ # @yield [result, err] Result & error if block supplied
790
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
791
+ # @yieldparam err [StandardError] error object if request failed
792
+ #
793
+ # @return [Google::Apis::ServicemanagementV1::Policy]
794
+ #
795
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
796
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
797
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
798
+ def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
799
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
800
+ command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
801
+ command.request_object = set_iam_policy_request_object
802
+ command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
803
+ command.response_class = Google::Apis::ServicemanagementV1::Policy
804
+ command.params['resource'] = resource unless resource.nil?
805
+ command.query['fields'] = fields unless fields.nil?
806
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
807
+ execute_or_queue_command(command, &block)
808
+ end
809
+
810
+ # Returns permissions that a caller has on the specified resource.
811
+ # If the resource does not exist, this will return an empty set of
812
+ # permissions, not a NOT_FOUND error.
813
+ # Note: This operation is designed to be used for building permission-aware
814
+ # UIs and command-line tools, not for authorization checking. This operation
815
+ # may "fail open" without warning.
816
+ # @param [String] resource
817
+ # REQUIRED: The resource for which the policy detail is being requested.
818
+ # See the operation documentation for the appropriate value for this field.
819
+ # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
786
820
  # @param [String] fields
787
821
  # Selector specifying which fields to include in a partial response.
822
+ # @param [String] quota_user
823
+ # Available to use for quota purposes for server-side applications. Can be any
824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
788
825
  # @param [Google::Apis::RequestOptions] options
789
826
  # Request-specific options
790
827
  #
791
828
  # @yield [result, err] Result & error if block supplied
792
- # @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object
829
+ # @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
793
830
  # @yieldparam err [StandardError] error object if request failed
794
831
  #
795
- # @return [Google::Apis::ServicemanagementV1::Rollout]
832
+ # @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
796
833
  #
797
834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
798
835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
799
836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
800
- def get_service_rollout(service_name, rollout_id, quota_user: nil, fields: nil, options: nil, &block)
801
- command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options)
802
- command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
803
- command.response_class = Google::Apis::ServicemanagementV1::Rollout
804
- command.params['serviceName'] = service_name unless service_name.nil?
805
- command.params['rolloutId'] = rollout_id unless rollout_id.nil?
806
- command.query['quotaUser'] = quota_user unless quota_user.nil?
837
+ def test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
838
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
839
+ command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
840
+ command.request_object = test_iam_permissions_request_object
841
+ command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
842
+ command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
843
+ command.params['resource'] = resource unless resource.nil?
807
844
  command.query['fields'] = fields unless fields.nil?
845
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
808
846
  execute_or_queue_command(command, &block)
809
847
  end
810
848
 
@@ -820,11 +858,11 @@ module Google
820
858
  # The name of the service. See the [overview](/service-management/overview)
821
859
  # for naming requirements. For example: `example.googleapis.com`.
822
860
  # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
861
+ # @param [String] fields
862
+ # Selector specifying which fields to include in a partial response.
823
863
  # @param [String] quota_user
824
864
  # Available to use for quota purposes for server-side applications. Can be any
825
865
  # arbitrary string assigned to a user, but should not exceed 40 characters.
826
- # @param [String] fields
827
- # Selector specifying which fields to include in a partial response.
828
866
  # @param [Google::Apis::RequestOptions] options
829
867
  # Request-specific options
830
868
  #
@@ -837,15 +875,87 @@ module Google
837
875
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
838
876
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
839
877
  # @raise [Google::Apis::AuthorizationError] Authorization is required
840
- def create_service_rollout(service_name, rollout_object = nil, quota_user: nil, fields: nil, options: nil, &block)
878
+ def create_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
841
879
  command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options)
842
880
  command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
843
881
  command.request_object = rollout_object
844
882
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
845
883
  command.response_class = Google::Apis::ServicemanagementV1::Operation
846
884
  command.params['serviceName'] = service_name unless service_name.nil?
885
+ command.query['fields'] = fields unless fields.nil?
886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
887
+ execute_or_queue_command(command, &block)
888
+ end
889
+
890
+ # Lists the history of the service configuration rollouts for a managed
891
+ # service, from the newest to the oldest.
892
+ # @param [String] service_name
893
+ # The name of the service. See the [overview](/service-management/overview)
894
+ # for naming requirements. For example: `example.googleapis.com`.
895
+ # @param [String] page_token
896
+ # The token of the page to retrieve.
897
+ # @param [Fixnum] page_size
898
+ # The max number of items to include in the response list.
899
+ # @param [String] fields
900
+ # Selector specifying which fields to include in a partial response.
901
+ # @param [String] quota_user
902
+ # Available to use for quota purposes for server-side applications. Can be any
903
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
904
+ # @param [Google::Apis::RequestOptions] options
905
+ # Request-specific options
906
+ #
907
+ # @yield [result, err] Result & error if block supplied
908
+ # @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object
909
+ # @yieldparam err [StandardError] error object if request failed
910
+ #
911
+ # @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse]
912
+ #
913
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
916
+ def list_service_rollouts(service_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
917
+ command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
918
+ command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
919
+ command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
920
+ command.params['serviceName'] = service_name unless service_name.nil?
921
+ command.query['pageToken'] = page_token unless page_token.nil?
922
+ command.query['pageSize'] = page_size unless page_size.nil?
923
+ command.query['fields'] = fields unless fields.nil?
847
924
  command.query['quotaUser'] = quota_user unless quota_user.nil?
925
+ execute_or_queue_command(command, &block)
926
+ end
927
+
928
+ # Gets a service configuration rollout.
929
+ # @param [String] service_name
930
+ # The name of the service. See the [overview](/service-management/overview)
931
+ # for naming requirements. For example: `example.googleapis.com`.
932
+ # @param [String] rollout_id
933
+ # The id of the rollout resource.
934
+ # @param [String] fields
935
+ # Selector specifying which fields to include in a partial response.
936
+ # @param [String] quota_user
937
+ # Available to use for quota purposes for server-side applications. Can be any
938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
939
+ # @param [Google::Apis::RequestOptions] options
940
+ # Request-specific options
941
+ #
942
+ # @yield [result, err] Result & error if block supplied
943
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object
944
+ # @yieldparam err [StandardError] error object if request failed
945
+ #
946
+ # @return [Google::Apis::ServicemanagementV1::Rollout]
947
+ #
948
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
949
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
950
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
951
+ def get_service_rollout(service_name, rollout_id, fields: nil, quota_user: nil, options: nil, &block)
952
+ command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options)
953
+ command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
954
+ command.response_class = Google::Apis::ServicemanagementV1::Rollout
955
+ command.params['serviceName'] = service_name unless service_name.nil?
956
+ command.params['rolloutId'] = rollout_id unless rollout_id.nil?
848
957
  command.query['fields'] = fields unless fields.nil?
958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
849
959
  execute_or_queue_command(command, &block)
850
960
  end
851
961