google-api-client 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/monitoring/v2beta2/
26
26
  module CloudmonitoringV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20170323'
28
+ REVISION = '20170501'
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'
@@ -26,13 +26,13 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170329'
30
-
31
- # View and manage your data across Google Cloud Platform services
32
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
29
+ REVISION = '20170501'
33
30
 
34
31
  # View your data across Google Cloud Platform services
35
32
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
33
+
34
+ # View and manage your data across Google Cloud Platform services
35
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
38
38
  end
@@ -38,17 +38,6 @@ module Google
38
38
  class Constraint
39
39
  include Google::Apis::Core::Hashable
40
40
 
41
- # A `Constraint` that allows or disallows a list of string values, which are
42
- # configured by an Organization's policy administrator with a `Policy`.
43
- # Corresponds to the JSON property `listConstraint`
44
- # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint]
45
- attr_accessor :list_constraint
46
-
47
- # Version of the `Constraint`. Default version is 0;
48
- # Corresponds to the JSON property `version`
49
- # @return [Fixnum]
50
- attr_accessor :version
51
-
52
41
  # Detailed description of what this `Constraint` controls as well as how and
53
42
  # where it is enforced.
54
43
  # Mutable.
@@ -81,45 +70,30 @@ module Google
81
70
  # @return [String]
82
71
  attr_accessor :name
83
72
 
73
+ # Version of the `Constraint`. Default version is 0;
74
+ # Corresponds to the JSON property `version`
75
+ # @return [Fixnum]
76
+ attr_accessor :version
77
+
78
+ # A `Constraint` that allows or disallows a list of string values, which are
79
+ # configured by an Organization's policy administrator with a `Policy`.
80
+ # Corresponds to the JSON property `listConstraint`
81
+ # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint]
82
+ attr_accessor :list_constraint
83
+
84
84
  def initialize(**args)
85
85
  update!(**args)
86
86
  end
87
87
 
88
88
  # Update properties of this object
89
89
  def update!(**args)
90
- @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
91
- @version = args[:version] if args.key?(:version)
92
90
  @description = args[:description] if args.key?(:description)
93
91
  @display_name = args[:display_name] if args.key?(:display_name)
94
92
  @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint)
95
93
  @constraint_default = args[:constraint_default] if args.key?(:constraint_default)
96
94
  @name = args[:name] if args.key?(:name)
97
- end
98
- end
99
-
100
- # The response message for Liens.ListLiens.
101
- class ListLiensResponse
102
- include Google::Apis::Core::Hashable
103
-
104
- # Token to retrieve the next page of results, or empty if there are no more
105
- # results in the list.
106
- # Corresponds to the JSON property `nextPageToken`
107
- # @return [String]
108
- attr_accessor :next_page_token
109
-
110
- # A list of Liens.
111
- # Corresponds to the JSON property `liens`
112
- # @return [Array<Google::Apis::CloudresourcemanagerV1::Lien>]
113
- attr_accessor :liens
114
-
115
- def initialize(**args)
116
- update!(**args)
117
- end
118
-
119
- # Update properties of this object
120
- def update!(**args)
121
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
122
- @liens = args[:liens] if args.key?(:liens)
95
+ @version = args[:version] if args.key?(:version)
96
+ @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
123
97
  end
124
98
  end
125
99
 
@@ -195,6 +169,32 @@ module Google
195
169
  end
196
170
  end
197
171
 
172
+ # The response message for Liens.ListLiens.
173
+ class ListLiensResponse
174
+ include Google::Apis::Core::Hashable
175
+
176
+ # Token to retrieve the next page of results, or empty if there are no more
177
+ # results in the list.
178
+ # Corresponds to the JSON property `nextPageToken`
179
+ # @return [String]
180
+ attr_accessor :next_page_token
181
+
182
+ # A list of Liens.
183
+ # Corresponds to the JSON property `liens`
184
+ # @return [Array<Google::Apis::CloudresourcemanagerV1::Lien>]
185
+ attr_accessor :liens
186
+
187
+ def initialize(**args)
188
+ update!(**args)
189
+ end
190
+
191
+ # Update properties of this object
192
+ def update!(**args)
193
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
194
+ @liens = args[:liens] if args.key?(:liens)
195
+ end
196
+ end
197
+
198
198
  # Associates `members` with a `role`.
199
199
  class Binding
200
200
  include Google::Apis::Core::Hashable
@@ -235,6 +235,25 @@ module Google
235
235
  end
236
236
  end
237
237
 
238
+ # The request sent to the GetOrgPolicy method.
239
+ class GetOrgPolicyRequest
240
+ include Google::Apis::Core::Hashable
241
+
242
+ # Name of the `Constraint` to get the `Policy`.
243
+ # Corresponds to the JSON property `constraint`
244
+ # @return [String]
245
+ attr_accessor :constraint
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @constraint = args[:constraint] if args.key?(:constraint)
254
+ end
255
+ end
256
+
238
257
  # Ignores policies set above this resource and restores the
239
258
  # `constraint_default` enforcement behavior of the specific `Constraint` at
240
259
  # this resource.
@@ -258,25 +277,6 @@ module Google
258
277
  end
259
278
  end
260
279
 
261
- # The request sent to the GetOrgPolicy method.
262
- class GetOrgPolicyRequest
263
- include Google::Apis::Core::Hashable
264
-
265
- # Name of the `Constraint` to get the `Policy`.
266
- # Corresponds to the JSON property `constraint`
267
- # @return [String]
268
- attr_accessor :constraint
269
-
270
- def initialize(**args)
271
- update!(**args)
272
- end
273
-
274
- # Update properties of this object
275
- def update!(**args)
276
- @constraint = args[:constraint] if args.key?(:constraint)
277
- end
278
- end
279
-
280
280
  # The request sent to the UndeleteProject
281
281
  # method.
282
282
  class UndeleteProjectRequest
@@ -491,12 +491,6 @@ module Google
491
491
  # @return [Google::Apis::CloudresourcemanagerV1::ResourceId]
492
492
  attr_accessor :parent
493
493
 
494
- # Creation time.
495
- # Read-only.
496
- # Corresponds to the JSON property `createTime`
497
- # @return [String]
498
- attr_accessor :create_time
499
-
500
494
  # The labels associated with this Project.
501
495
  # Label keys must be between 1 and 63 characters long and must conform
502
496
  # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
@@ -511,6 +505,12 @@ module Google
511
505
  # @return [Hash<String,String>]
512
506
  attr_accessor :labels
513
507
 
508
+ # Creation time.
509
+ # Read-only.
510
+ # Corresponds to the JSON property `createTime`
511
+ # @return [String]
512
+ attr_accessor :create_time
513
+
514
514
  # The user-assigned display name of the Project.
515
515
  # It must be 4 to 30 characters.
516
516
  # Allowed characters are: lowercase and uppercase letters, numbers,
@@ -540,8 +540,8 @@ module Google
540
540
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
541
541
  @project_number = args[:project_number] if args.key?(:project_number)
542
542
  @parent = args[:parent] if args.key?(:parent)
543
- @create_time = args[:create_time] if args.key?(:create_time)
544
543
  @labels = args[:labels] if args.key?(:labels)
544
+ @create_time = args[:create_time] if args.key?(:create_time)
545
545
  @name = args[:name] if args.key?(:name)
546
546
  @project_id = args[:project_id] if args.key?(:project_id)
547
547
  end
@@ -624,69 +624,31 @@ module Google
624
624
  end
625
625
  end
626
626
 
627
- # Used in `policy_type` to specify how `boolean_policy` will behave at this
628
- # resource.
629
- class BooleanPolicy
630
- include Google::Apis::Core::Hashable
631
-
632
- # If `true`, then the `Policy` is enforced. If `false`, then any
633
- # configuration is acceptable.
634
- # Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`
635
- # with `constraint_default` set to `ALLOW`. A `Policy` for that
636
- # `Constraint` exhibits the following behavior:
637
- # - If the `Policy` at this resource has enforced set to `false`, serial
638
- # port connection attempts will be allowed.
639
- # - If the `Policy` at this resource has enforced set to `true`, serial
640
- # port connection attempts will be refused.
641
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
642
- # connection attempts will be allowed.
643
- # - If no `Policy` is set at this resource or anywhere higher in the
644
- # resource hierarchy, serial port connection attempts will be allowed.
645
- # - If no `Policy` is set at this resource, but one exists higher in the
646
- # resource hierarchy, the behavior is as if the`Policy` were set at
647
- # this resource.
648
- # The following examples demonstrate the different possible layerings:
649
- # Example 1 (nearest `Constraint` wins):
650
- # `organizations/foo` has a `Policy` with:
651
- # `enforced: false`
652
- # `projects/bar` has no `Policy` set.
653
- # The constraint at `projects/bar` and `organizations/foo` will not be
654
- # enforced.
655
- # Example 2 (enforcement gets replaced):
656
- # `organizations/foo` has a `Policy` with:
657
- # `enforced: false`
658
- # `projects/bar` has a `Policy` with:
659
- # `enforced: true`
660
- # The constraint at `organizations/foo` is not enforced.
661
- # The constraint at `projects/bar` is enforced.
662
- # Example 3 (RestoreDefault):
663
- # `organizations/foo` has a `Policy` with:
664
- # `enforced: true`
665
- # `projects/bar` has a `Policy` with:
666
- # `RestoreDefault: ```
667
- # The constraint at `organizations/foo` is enforced.
668
- # The constraint at `projects/bar` is not enforced, because
669
- # `constraint_default` for the `Constraint` is `ALLOW`.
670
- # Corresponds to the JSON property `enforced`
671
- # @return [Boolean]
672
- attr_accessor :enforced
673
- alias_method :enforced?, :enforced
674
-
675
- def initialize(**args)
676
- update!(**args)
677
- end
678
-
679
- # Update properties of this object
680
- def update!(**args)
681
- @enforced = args[:enforced] if args.key?(:enforced)
682
- end
683
- end
684
-
685
627
  # Defines a Cloud Organization `Policy` which is used to specify `Constraints`
686
628
  # for configurations of Cloud Platform resources.
687
629
  class OrgPolicy
688
630
  include Google::Apis::Core::Hashable
689
631
 
632
+ # Version of the `Policy`. Default version is 0;
633
+ # Corresponds to the JSON property `version`
634
+ # @return [Fixnum]
635
+ attr_accessor :version
636
+
637
+ # Ignores policies set above this resource and restores the
638
+ # `constraint_default` enforcement behavior of the specific `Constraint` at
639
+ # this resource.
640
+ # Suppose that `constraint_default` is set to `ALLOW` for the
641
+ # `Constraint` `constraints/serviceuser.services`. Suppose that organization
642
+ # foo.com sets a `Policy` at their Organization resource node that restricts
643
+ # the allowed service activations to deny all service activations. They
644
+ # could then set a `Policy` with the `policy_type` `restore_default` on
645
+ # several experimental projects, restoring the `constraint_default`
646
+ # enforcement of the `Constraint` for only those projects, allowing those
647
+ # projects to have all services activated.
648
+ # Corresponds to the JSON property `restoreDefault`
649
+ # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault]
650
+ attr_accessor :restore_default
651
+
690
652
  # Used in `policy_type` to specify how `list_policy` behaves at this
691
653
  # resource.
692
654
  # A `ListPolicy` can define specific values that are allowed or denied by
@@ -717,12 +679,6 @@ module Google
717
679
  # @return [String]
718
680
  attr_accessor :etag
719
681
 
720
- # Used in `policy_type` to specify how `boolean_policy` will behave at this
721
- # resource.
722
- # Corresponds to the JSON property `booleanPolicy`
723
- # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy]
724
- attr_accessor :boolean_policy
725
-
726
682
  # The name of the `Constraint` the `Policy` is configuring, for example,
727
683
  # `constraints/serviceuser.services`.
728
684
  # Immutable after creation.
@@ -730,6 +686,12 @@ module Google
730
686
  # @return [String]
731
687
  attr_accessor :constraint
732
688
 
689
+ # Used in `policy_type` to specify how `boolean_policy` will behave at this
690
+ # resource.
691
+ # Corresponds to the JSON property `booleanPolicy`
692
+ # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy]
693
+ attr_accessor :boolean_policy
694
+
733
695
  # The time stamp the `Policy` was previously updated. This is set by the
734
696
  # server, not specified by the caller, and represents the last time a call to
735
697
  # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
@@ -738,39 +700,77 @@ module Google
738
700
  # @return [String]
739
701
  attr_accessor :update_time
740
702
 
741
- # Version of the `Policy`. Default version is 0;
742
- # Corresponds to the JSON property `version`
743
- # @return [Fixnum]
744
- attr_accessor :version
745
-
746
- # Ignores policies set above this resource and restores the
747
- # `constraint_default` enforcement behavior of the specific `Constraint` at
748
- # this resource.
749
- # Suppose that `constraint_default` is set to `ALLOW` for the
750
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
751
- # foo.com sets a `Policy` at their Organization resource node that restricts
752
- # the allowed service activations to deny all service activations. They
753
- # could then set a `Policy` with the `policy_type` `restore_default` on
754
- # several experimental projects, restoring the `constraint_default`
755
- # enforcement of the `Constraint` for only those projects, allowing those
756
- # projects to have all services activated.
757
- # Corresponds to the JSON property `restoreDefault`
758
- # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault]
759
- attr_accessor :restore_default
760
-
761
703
  def initialize(**args)
762
704
  update!(**args)
763
705
  end
764
706
 
765
707
  # Update properties of this object
766
708
  def update!(**args)
709
+ @version = args[:version] if args.key?(:version)
710
+ @restore_default = args[:restore_default] if args.key?(:restore_default)
767
711
  @list_policy = args[:list_policy] if args.key?(:list_policy)
768
712
  @etag = args[:etag] if args.key?(:etag)
769
- @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy)
770
713
  @constraint = args[:constraint] if args.key?(:constraint)
714
+ @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy)
771
715
  @update_time = args[:update_time] if args.key?(:update_time)
772
- @version = args[:version] if args.key?(:version)
773
- @restore_default = args[:restore_default] if args.key?(:restore_default)
716
+ end
717
+ end
718
+
719
+ # Used in `policy_type` to specify how `boolean_policy` will behave at this
720
+ # resource.
721
+ class BooleanPolicy
722
+ include Google::Apis::Core::Hashable
723
+
724
+ # If `true`, then the `Policy` is enforced. If `false`, then any
725
+ # configuration is acceptable.
726
+ # Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`
727
+ # with `constraint_default` set to `ALLOW`. A `Policy` for that
728
+ # `Constraint` exhibits the following behavior:
729
+ # - If the `Policy` at this resource has enforced set to `false`, serial
730
+ # port connection attempts will be allowed.
731
+ # - If the `Policy` at this resource has enforced set to `true`, serial
732
+ # port connection attempts will be refused.
733
+ # - If the `Policy` at this resource is `RestoreDefault`, serial port
734
+ # connection attempts will be allowed.
735
+ # - If no `Policy` is set at this resource or anywhere higher in the
736
+ # resource hierarchy, serial port connection attempts will be allowed.
737
+ # - If no `Policy` is set at this resource, but one exists higher in the
738
+ # resource hierarchy, the behavior is as if the`Policy` were set at
739
+ # this resource.
740
+ # The following examples demonstrate the different possible layerings:
741
+ # Example 1 (nearest `Constraint` wins):
742
+ # `organizations/foo` has a `Policy` with:
743
+ # `enforced: false`
744
+ # `projects/bar` has no `Policy` set.
745
+ # The constraint at `projects/bar` and `organizations/foo` will not be
746
+ # enforced.
747
+ # Example 2 (enforcement gets replaced):
748
+ # `organizations/foo` has a `Policy` with:
749
+ # `enforced: false`
750
+ # `projects/bar` has a `Policy` with:
751
+ # `enforced: true`
752
+ # The constraint at `organizations/foo` is not enforced.
753
+ # The constraint at `projects/bar` is enforced.
754
+ # Example 3 (RestoreDefault):
755
+ # `organizations/foo` has a `Policy` with:
756
+ # `enforced: true`
757
+ # `projects/bar` has a `Policy` with:
758
+ # `RestoreDefault: ```
759
+ # The constraint at `organizations/foo` is enforced.
760
+ # The constraint at `projects/bar` is not enforced, because
761
+ # `constraint_default` for the `Constraint` is `ALLOW`.
762
+ # Corresponds to the JSON property `enforced`
763
+ # @return [Boolean]
764
+ attr_accessor :enforced
765
+ alias_method :enforced?, :enforced
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ @enforced = args[:enforced] if args.key?(:enforced)
774
774
  end
775
775
  end
776
776
 
@@ -1475,26 +1475,26 @@ module Google
1475
1475
  class ResourceId
1476
1476
  include Google::Apis::Core::Hashable
1477
1477
 
1478
- # Required field for the type-specific id. This should correspond to the id
1479
- # used in the type-specific API's.
1480
- # Corresponds to the JSON property `id`
1481
- # @return [String]
1482
- attr_accessor :id
1483
-
1484
1478
  # Required field representing the resource type this id is for.
1485
1479
  # At present, the valid types are: "organization"
1486
1480
  # Corresponds to the JSON property `type`
1487
1481
  # @return [String]
1488
1482
  attr_accessor :type
1489
1483
 
1484
+ # Required field for the type-specific id. This should correspond to the id
1485
+ # used in the type-specific API's.
1486
+ # Corresponds to the JSON property `id`
1487
+ # @return [String]
1488
+ attr_accessor :id
1489
+
1490
1490
  def initialize(**args)
1491
1491
  update!(**args)
1492
1492
  end
1493
1493
 
1494
1494
  # Update properties of this object
1495
1495
  def update!(**args)
1496
- @id = args[:id] if args.key?(:id)
1497
1496
  @type = args[:type] if args.key?(:type)
1497
+ @id = args[:id] if args.key?(:id)
1498
1498
  end
1499
1499
  end
1500
1500
 
@@ -1545,93 +1545,11 @@ module Google
1545
1545
  end
1546
1546
  end
1547
1547
 
1548
- # Specifies the audit configuration for a service.
1549
- # The configuration determines which permission types are logged, and what
1550
- # identities, if any, are exempted from logging.
1551
- # An AuditConifg must have one or more AuditLogConfigs.
1552
- # If there are AuditConfigs for both `allServices` and a specific service,
1553
- # the union of the two AuditConfigs is used for that service: the log_types
1554
- # specified in each AuditConfig are enabled, and the exempted_members in each
1555
- # AuditConfig are exempted.
1556
- # Example Policy with multiple AuditConfigs:
1557
- # `
1558
- # "audit_configs": [
1559
- # `
1560
- # "service": "allServices"
1561
- # "audit_log_configs": [
1562
- # `
1563
- # "log_type": "DATA_READ",
1564
- # "exempted_members": [
1565
- # "user:foo@gmail.com"
1566
- # ]
1567
- # `,
1568
- # `
1569
- # "log_type": "DATA_WRITE",
1570
- # `,
1571
- # `
1572
- # "log_type": "ADMIN_READ",
1573
- # `
1574
- # ]
1575
- # `,
1576
- # `
1577
- # "service": "fooservice@googleapis.com"
1578
- # "audit_log_configs": [
1579
- # `
1580
- # "log_type": "DATA_READ",
1581
- # `,
1582
- # `
1583
- # "log_type": "DATA_WRITE",
1584
- # "exempted_members": [
1585
- # "user:bar@gmail.com"
1586
- # ]
1587
- # `
1588
- # ]
1589
- # `
1590
- # ]
1591
- # `
1592
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1593
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and
1594
- # bar@gmail.com from DATA_WRITE logging.
1595
- class AuditConfig
1596
- include Google::Apis::Core::Hashable
1597
-
1598
- # Specifies a service that will be enabled for audit logging.
1599
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
1600
- # `allServices` is a special value that covers all services.
1601
- # Corresponds to the JSON property `service`
1602
- # @return [String]
1603
- attr_accessor :service
1604
-
1605
- # The configuration for logging of each type of permission.
1606
- # Next ID: 4
1607
- # Corresponds to the JSON property `auditLogConfigs`
1608
- # @return [Array<Google::Apis::CloudresourcemanagerV1::AuditLogConfig>]
1609
- attr_accessor :audit_log_configs
1610
-
1611
- def initialize(**args)
1612
- update!(**args)
1613
- end
1614
-
1615
- # Update properties of this object
1616
- def update!(**args)
1617
- @service = args[:service] if args.key?(:service)
1618
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
1619
- end
1620
- end
1621
-
1622
1548
  # This resource represents a long-running operation that is the result of a
1623
1549
  # network API call.
1624
1550
  class Operation
1625
1551
  include Google::Apis::Core::Hashable
1626
1552
 
1627
- # If the value is `false`, it means the operation is still in progress.
1628
- # If true, the operation is completed, and either `error` or `response` is
1629
- # available.
1630
- # Corresponds to the JSON property `done`
1631
- # @return [Boolean]
1632
- attr_accessor :done
1633
- alias_method :done?, :done
1634
-
1635
1553
  # The normal response of the operation in case of success. If the original
1636
1554
  # method returns no data on success, such as `Delete`, the response is
1637
1555
  # `google.protobuf.Empty`. If the original method is standard
@@ -1702,17 +1620,99 @@ module Google
1702
1620
  # @return [Hash<String,Object>]
1703
1621
  attr_accessor :metadata
1704
1622
 
1623
+ # If the value is `false`, it means the operation is still in progress.
1624
+ # If true, the operation is completed, and either `error` or `response` is
1625
+ # available.
1626
+ # Corresponds to the JSON property `done`
1627
+ # @return [Boolean]
1628
+ attr_accessor :done
1629
+ alias_method :done?, :done
1630
+
1705
1631
  def initialize(**args)
1706
1632
  update!(**args)
1707
1633
  end
1708
1634
 
1709
1635
  # Update properties of this object
1710
1636
  def update!(**args)
1711
- @done = args[:done] if args.key?(:done)
1712
1637
  @response = args[:response] if args.key?(:response)
1713
1638
  @name = args[:name] if args.key?(:name)
1714
1639
  @error = args[:error] if args.key?(:error)
1715
1640
  @metadata = args[:metadata] if args.key?(:metadata)
1641
+ @done = args[:done] if args.key?(:done)
1642
+ end
1643
+ end
1644
+
1645
+ # Specifies the audit configuration for a service.
1646
+ # The configuration determines which permission types are logged, and what
1647
+ # identities, if any, are exempted from logging.
1648
+ # An AuditConfig must have one or more AuditLogConfigs.
1649
+ # If there are AuditConfigs for both `allServices` and a specific service,
1650
+ # the union of the two AuditConfigs is used for that service: the log_types
1651
+ # specified in each AuditConfig are enabled, and the exempted_members in each
1652
+ # AuditConfig are exempted.
1653
+ # Example Policy with multiple AuditConfigs:
1654
+ # `
1655
+ # "audit_configs": [
1656
+ # `
1657
+ # "service": "allServices"
1658
+ # "audit_log_configs": [
1659
+ # `
1660
+ # "log_type": "DATA_READ",
1661
+ # "exempted_members": [
1662
+ # "user:foo@gmail.com"
1663
+ # ]
1664
+ # `,
1665
+ # `
1666
+ # "log_type": "DATA_WRITE",
1667
+ # `,
1668
+ # `
1669
+ # "log_type": "ADMIN_READ",
1670
+ # `
1671
+ # ]
1672
+ # `,
1673
+ # `
1674
+ # "service": "fooservice.googleapis.com"
1675
+ # "audit_log_configs": [
1676
+ # `
1677
+ # "log_type": "DATA_READ",
1678
+ # `,
1679
+ # `
1680
+ # "log_type": "DATA_WRITE",
1681
+ # "exempted_members": [
1682
+ # "user:bar@gmail.com"
1683
+ # ]
1684
+ # `
1685
+ # ]
1686
+ # `
1687
+ # ]
1688
+ # `
1689
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1690
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
1691
+ # bar@gmail.com from DATA_WRITE logging.
1692
+ class AuditConfig
1693
+ include Google::Apis::Core::Hashable
1694
+
1695
+ # Specifies a service that will be enabled for audit logging.
1696
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
1697
+ # `allServices` is a special value that covers all services.
1698
+ # Corresponds to the JSON property `service`
1699
+ # @return [String]
1700
+ attr_accessor :service
1701
+
1702
+ # The configuration for logging of each type of permission.
1703
+ # Next ID: 4
1704
+ # Corresponds to the JSON property `auditLogConfigs`
1705
+ # @return [Array<Google::Apis::CloudresourcemanagerV1::AuditLogConfig>]
1706
+ attr_accessor :audit_log_configs
1707
+
1708
+ def initialize(**args)
1709
+ update!(**args)
1710
+ end
1711
+
1712
+ # Update properties of this object
1713
+ def update!(**args)
1714
+ @service = args[:service] if args.key?(:service)
1715
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
1716
1716
  end
1717
1717
  end
1718
1718
  end