google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170501'
29
+ REVISION = '20170524'
30
30
 
31
31
  # View your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
@@ -22,6 +22,272 @@ module Google
22
22
  module Apis
23
23
  module CloudresourcemanagerV1beta1
24
24
 
25
+ # A Project is a high-level Google Cloud Platform entity. It is a
26
+ # container for ACLs, APIs, App Engine Apps, VMs, and other
27
+ # Google Cloud Platform resources.
28
+ class Project
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # The number uniquely identifying the project.
32
+ # Example: <code>415104041262</code>
33
+ # Read-only.
34
+ # Corresponds to the JSON property `projectNumber`
35
+ # @return [Fixnum]
36
+ attr_accessor :project_number
37
+
38
+ # A container to reference an id for any resource type. A `resource` in Google
39
+ # Cloud Platform is a generic term for something you (a developer) may want to
40
+ # interact with through one of our API's. Some examples are an App Engine app,
41
+ # a Compute Engine instance, a Cloud SQL database, and so on.
42
+ # Corresponds to the JSON property `parent`
43
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
44
+ attr_accessor :parent
45
+
46
+ # Creation time.
47
+ # Read-only.
48
+ # Corresponds to the JSON property `createTime`
49
+ # @return [String]
50
+ attr_accessor :create_time
51
+
52
+ # The labels associated with this Project.
53
+ # Label keys must be between 1 and 63 characters long and must conform
54
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
55
+ # Label values must be between 0 and 63 characters long and must conform
56
+ # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
57
+ # No more than 256 labels can be associated with a given resource.
58
+ # Clients should store labels in a representation such as JSON that does not
59
+ # depend on specific characters being disallowed.
60
+ # Example: <code>"environment" : "dev"</code>
61
+ # Read-write.
62
+ # Corresponds to the JSON property `labels`
63
+ # @return [Hash<String,String>]
64
+ attr_accessor :labels
65
+
66
+ # The user-assigned display name of the Project.
67
+ # It must be 4 to 30 characters.
68
+ # Allowed characters are: lowercase and uppercase letters, numbers,
69
+ # hyphen, single-quote, double-quote, space, and exclamation point.
70
+ # Example: <code>My Project</code>
71
+ # Read-write.
72
+ # Corresponds to the JSON property `name`
73
+ # @return [String]
74
+ attr_accessor :name
75
+
76
+ # The unique, user-assigned ID of the Project.
77
+ # It must be 6 to 30 lowercase letters, digits, or hyphens.
78
+ # It must start with a letter.
79
+ # Trailing hyphens are prohibited.
80
+ # Example: <code>tokyo-rain-123</code>
81
+ # Read-only after creation.
82
+ # Corresponds to the JSON property `projectId`
83
+ # @return [String]
84
+ attr_accessor :project_id
85
+
86
+ # The Project lifecycle state.
87
+ # Read-only.
88
+ # Corresponds to the JSON property `lifecycleState`
89
+ # @return [String]
90
+ attr_accessor :lifecycle_state
91
+
92
+ def initialize(**args)
93
+ update!(**args)
94
+ end
95
+
96
+ # Update properties of this object
97
+ def update!(**args)
98
+ @project_number = args[:project_number] if args.key?(:project_number)
99
+ @parent = args[:parent] if args.key?(:parent)
100
+ @create_time = args[:create_time] if args.key?(:create_time)
101
+ @labels = args[:labels] if args.key?(:labels)
102
+ @name = args[:name] if args.key?(:name)
103
+ @project_id = args[:project_id] if args.key?(:project_id)
104
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
105
+ end
106
+ end
107
+
108
+ # Request message for `TestIamPermissions` method.
109
+ class TestIamPermissionsRequest
110
+ include Google::Apis::Core::Hashable
111
+
112
+ # The set of permissions to check for the `resource`. Permissions with
113
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
114
+ # information see
115
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
116
+ # Corresponds to the JSON property `permissions`
117
+ # @return [Array<String>]
118
+ attr_accessor :permissions
119
+
120
+ def initialize(**args)
121
+ update!(**args)
122
+ end
123
+
124
+ # Update properties of this object
125
+ def update!(**args)
126
+ @permissions = args[:permissions] if args.key?(:permissions)
127
+ end
128
+ end
129
+
130
+ # Defines an Identity and Access Management (IAM) policy. It is used to
131
+ # specify access control policies for Cloud Platform resources.
132
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
133
+ # `members` to a `role`, where the members can be user accounts, Google groups,
134
+ # Google domains, and service accounts. A `role` is a named list of permissions
135
+ # defined by IAM.
136
+ # **Example**
137
+ # `
138
+ # "bindings": [
139
+ # `
140
+ # "role": "roles/owner",
141
+ # "members": [
142
+ # "user:mike@example.com",
143
+ # "group:admins@example.com",
144
+ # "domain:google.com",
145
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
146
+ # ]
147
+ # `,
148
+ # `
149
+ # "role": "roles/viewer",
150
+ # "members": ["user:sean@example.com"]
151
+ # `
152
+ # ]
153
+ # `
154
+ # For a description of IAM and its features, see the
155
+ # [IAM developer's guide](https://cloud.google.com/iam).
156
+ class Policy
157
+ include Google::Apis::Core::Hashable
158
+
159
+ # `etag` is used for optimistic concurrency control as a way to help
160
+ # prevent simultaneous updates of a policy from overwriting each other.
161
+ # It is strongly suggested that systems make use of the `etag` in the
162
+ # read-modify-write cycle to perform policy updates in order to avoid race
163
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
164
+ # systems are expected to put that etag in the request to `setIamPolicy` to
165
+ # ensure that their change will be applied to the same version of the policy.
166
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
167
+ # policy is overwritten blindly.
168
+ # Corresponds to the JSON property `etag`
169
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
170
+ # @return [String]
171
+ attr_accessor :etag
172
+
173
+ # Version of the `Policy`. The default version is 0.
174
+ # Corresponds to the JSON property `version`
175
+ # @return [Fixnum]
176
+ attr_accessor :version
177
+
178
+ # Specifies cloud audit logging configuration for this policy.
179
+ # Corresponds to the JSON property `auditConfigs`
180
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
181
+ attr_accessor :audit_configs
182
+
183
+ # Associates a list of `members` to a `role`.
184
+ # Multiple `bindings` must not be specified for the same `role`.
185
+ # `bindings` with no members will result in an error.
186
+ # Corresponds to the JSON property `bindings`
187
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
188
+ attr_accessor :bindings
189
+
190
+ def initialize(**args)
191
+ update!(**args)
192
+ end
193
+
194
+ # Update properties of this object
195
+ def update!(**args)
196
+ @etag = args[:etag] if args.key?(:etag)
197
+ @version = args[:version] if args.key?(:version)
198
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
199
+ @bindings = args[:bindings] if args.key?(:bindings)
200
+ end
201
+ end
202
+
203
+ # Metadata describing a long running folder operation
204
+ class FolderOperation
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # The resource name of the folder or organization we are either creating
208
+ # the folder under or moving the folder to.
209
+ # Corresponds to the JSON property `destinationParent`
210
+ # @return [String]
211
+ attr_accessor :destination_parent
212
+
213
+ # The type of this operation.
214
+ # Corresponds to the JSON property `operationType`
215
+ # @return [String]
216
+ attr_accessor :operation_type
217
+
218
+ # The display name of the folder.
219
+ # Corresponds to the JSON property `displayName`
220
+ # @return [String]
221
+ attr_accessor :display_name
222
+
223
+ # The resource name of the folder's parent.
224
+ # Only applicable when the operation_type is MOVE.
225
+ # Corresponds to the JSON property `sourceParent`
226
+ # @return [String]
227
+ attr_accessor :source_parent
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
236
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
237
+ @display_name = args[:display_name] if args.key?(:display_name)
238
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
239
+ end
240
+ end
241
+
242
+ # A classification of the Folder Operation error.
243
+ class FolderOperationError
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # The type of operation error experienced.
247
+ # Corresponds to the JSON property `errorMessageId`
248
+ # @return [String]
249
+ attr_accessor :error_message_id
250
+
251
+ def initialize(**args)
252
+ update!(**args)
253
+ end
254
+
255
+ # Update properties of this object
256
+ def update!(**args)
257
+ @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
258
+ end
259
+ end
260
+
261
+ # A container to reference an id for any resource type. A `resource` in Google
262
+ # Cloud Platform is a generic term for something you (a developer) may want to
263
+ # interact with through one of our API's. Some examples are an App Engine app,
264
+ # a Compute Engine instance, a Cloud SQL database, and so on.
265
+ class ResourceId
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # Required field for the type-specific id. This should correspond to the id
269
+ # used in the type-specific API's.
270
+ # Corresponds to the JSON property `id`
271
+ # @return [String]
272
+ attr_accessor :id
273
+
274
+ # Required field representing the resource type this id is for.
275
+ # At present, the valid types are "project" and "organization".
276
+ # Corresponds to the JSON property `type`
277
+ # @return [String]
278
+ attr_accessor :type
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @id = args[:id] if args.key?(:id)
287
+ @type = args[:type] if args.key?(:type)
288
+ end
289
+ end
290
+
25
291
  # Specifies the audit configuration for a service.
26
292
  # The configuration determines which permission types are logged, and what
27
293
  # identities, if any, are exempted from logging.
@@ -265,6 +531,13 @@ module Google
265
531
  class Organization
266
532
  include Google::Apis::Core::Hashable
267
533
 
534
+ # Output Only. The resource name of the organization. This is the
535
+ # organization's relative path in the API. Its format is
536
+ # "organizations/[organization_id]". For example, "organizations/1234".
537
+ # Corresponds to the JSON property `name`
538
+ # @return [String]
539
+ attr_accessor :name
540
+
268
541
  # An immutable id for the Organization that is assigned on creation. This
269
542
  # should be omitted when creating a new Organization.
270
543
  # This field is read-only.
@@ -301,25 +574,18 @@ module Google
301
574
  # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
302
575
  attr_accessor :owner
303
576
 
304
- # Output Only. The resource name of the organization. This is the
305
- # organization's relative path in the API. Its format is
306
- # "organizations/[organization_id]". For example, "organizations/1234".
307
- # Corresponds to the JSON property `name`
308
- # @return [String]
309
- attr_accessor :name
310
-
311
577
  def initialize(**args)
312
578
  update!(**args)
313
579
  end
314
580
 
315
581
  # Update properties of this object
316
582
  def update!(**args)
583
+ @name = args[:name] if args.key?(:name)
317
584
  @organization_id = args[:organization_id] if args.key?(:organization_id)
318
585
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
319
586
  @display_name = args[:display_name] if args.key?(:display_name)
320
587
  @creation_time = args[:creation_time] if args.key?(:creation_time)
321
588
  @owner = args[:owner] if args.key?(:owner)
322
- @name = args[:name] if args.key?(:name)
323
589
  end
324
590
  end
325
591
 
@@ -346,272 +612,21 @@ module Google
346
612
  # True if the project creation process is complete.
347
613
  # Corresponds to the JSON property `ready`
348
614
  # @return [Boolean]
349
- attr_accessor :ready
350
- alias_method :ready?, :ready
351
-
352
- # Creation time of the project creation workflow.
353
- # Corresponds to the JSON property `createTime`
354
- # @return [String]
355
- attr_accessor :create_time
356
-
357
- # True if the project can be retrieved using GetProject. No other operations
358
- # on the project are guaranteed to work until the project creation is
359
- # complete.
360
- # Corresponds to the JSON property `gettable`
361
- # @return [Boolean]
362
- attr_accessor :gettable
363
- alias_method :gettable?, :gettable
364
-
365
- def initialize(**args)
366
- update!(**args)
367
- end
368
-
369
- # Update properties of this object
370
- def update!(**args)
371
- @ready = args[:ready] if args.key?(:ready)
372
- @create_time = args[:create_time] if args.key?(:create_time)
373
- @gettable = args[:gettable] if args.key?(:gettable)
374
- end
375
- end
376
-
377
- # Response message for `TestIamPermissions` method.
378
- class TestIamPermissionsResponse
379
- include Google::Apis::Core::Hashable
380
-
381
- # A subset of `TestPermissionsRequest.permissions` that the caller is
382
- # allowed.
383
- # Corresponds to the JSON property `permissions`
384
- # @return [Array<String>]
385
- attr_accessor :permissions
386
-
387
- def initialize(**args)
388
- update!(**args)
389
- end
390
-
391
- # Update properties of this object
392
- def update!(**args)
393
- @permissions = args[:permissions] if args.key?(:permissions)
394
- end
395
- end
396
-
397
- # Request message for `GetIamPolicy` method.
398
- class GetIamPolicyRequest
399
- include Google::Apis::Core::Hashable
400
-
401
- def initialize(**args)
402
- update!(**args)
403
- end
404
-
405
- # Update properties of this object
406
- def update!(**args)
407
- end
408
- end
409
-
410
- # Response from the GetAncestry method.
411
- class GetAncestryResponse
412
- include Google::Apis::Core::Hashable
413
-
414
- # Ancestors are ordered from bottom to top of the resource hierarchy. The
415
- # first ancestor is the project itself, followed by the project's parent,
416
- # etc.
417
- # Corresponds to the JSON property `ancestor`
418
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
419
- attr_accessor :ancestor
420
-
421
- def initialize(**args)
422
- update!(**args)
423
- end
424
-
425
- # Update properties of this object
426
- def update!(**args)
427
- @ancestor = args[:ancestor] if args.key?(:ancestor)
428
- end
429
- end
430
-
431
- # The entity that owns an Organization. The lifetime of the Organization and
432
- # all of its descendants are bound to the `OrganizationOwner`. If the
433
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
434
- # be deleted.
435
- class OrganizationOwner
436
- include Google::Apis::Core::Hashable
437
-
438
- # The Google for Work customer id used in the Directory API.
439
- # Corresponds to the JSON property `directoryCustomerId`
440
- # @return [String]
441
- attr_accessor :directory_customer_id
442
-
443
- def initialize(**args)
444
- update!(**args)
445
- end
446
-
447
- # Update properties of this object
448
- def update!(**args)
449
- @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
450
- end
451
- end
452
-
453
- # A page of the response received from the
454
- # ListProjects
455
- # method.
456
- # A paginated response where more pages are available has
457
- # `next_page_token` set. This token can be used in a subsequent request to
458
- # retrieve the next request page.
459
- class ListProjectsResponse
460
- include Google::Apis::Core::Hashable
461
-
462
- # The list of Projects that matched the list filter. This list can
463
- # be paginated.
464
- # Corresponds to the JSON property `projects`
465
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
466
- attr_accessor :projects
467
-
468
- # Pagination token.
469
- # If the result set is too large to fit in a single response, this token
470
- # is returned. It encodes the position of the current result cursor.
471
- # Feeding this value into a new list request with the `page_token` parameter
472
- # gives the next page of the results.
473
- # When `next_page_token` is not filled in, there is no next page and
474
- # the list returned is the last page in the result set.
475
- # Pagination tokens have a limited lifetime.
476
- # Corresponds to the JSON property `nextPageToken`
477
- # @return [String]
478
- attr_accessor :next_page_token
479
-
480
- def initialize(**args)
481
- update!(**args)
482
- end
483
-
484
- # Update properties of this object
485
- def update!(**args)
486
- @projects = args[:projects] if args.key?(:projects)
487
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
488
- end
489
- end
490
-
491
- # Provides the configuration for logging a type of permissions.
492
- # Example:
493
- # `
494
- # "audit_log_configs": [
495
- # `
496
- # "log_type": "DATA_READ",
497
- # "exempted_members": [
498
- # "user:foo@gmail.com"
499
- # ]
500
- # `,
501
- # `
502
- # "log_type": "DATA_WRITE",
503
- # `
504
- # ]
505
- # `
506
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
507
- # foo@gmail.com from DATA_READ logging.
508
- class AuditLogConfig
509
- include Google::Apis::Core::Hashable
510
-
511
- # Specifies the identities that do not cause logging for this type of
512
- # permission.
513
- # Follows the same format of Binding.members.
514
- # Corresponds to the JSON property `exemptedMembers`
515
- # @return [Array<String>]
516
- attr_accessor :exempted_members
517
-
518
- # The log type that this config enables.
519
- # Corresponds to the JSON property `logType`
520
- # @return [String]
521
- attr_accessor :log_type
522
-
523
- def initialize(**args)
524
- update!(**args)
525
- end
526
-
527
- # Update properties of this object
528
- def update!(**args)
529
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
530
- @log_type = args[:log_type] if args.key?(:log_type)
531
- end
532
- end
533
-
534
- # The request sent to the
535
- # GetAncestry
536
- # method.
537
- class GetAncestryRequest
538
- include Google::Apis::Core::Hashable
539
-
540
- def initialize(**args)
541
- update!(**args)
542
- end
543
-
544
- # Update properties of this object
545
- def update!(**args)
546
- end
547
- end
548
-
549
- # A Project is a high-level Google Cloud Platform entity. It is a
550
- # container for ACLs, APIs, App Engine Apps, VMs, and other
551
- # Google Cloud Platform resources.
552
- class Project
553
- include Google::Apis::Core::Hashable
554
-
555
- # The number uniquely identifying the project.
556
- # Example: <code>415104041262</code>
557
- # Read-only.
558
- # Corresponds to the JSON property `projectNumber`
559
- # @return [Fixnum]
560
- attr_accessor :project_number
561
-
562
- # A container to reference an id for any resource type. A `resource` in Google
563
- # Cloud Platform is a generic term for something you (a developer) may want to
564
- # interact with through one of our API's. Some examples are an App Engine app,
565
- # a Compute Engine instance, a Cloud SQL database, and so on.
566
- # Corresponds to the JSON property `parent`
567
- # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
568
- attr_accessor :parent
569
-
570
- # The labels associated with this Project.
571
- # Label keys must be between 1 and 63 characters long and must conform
572
- # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
573
- # Label values must be between 0 and 63 characters long and must conform
574
- # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
575
- # No more than 256 labels can be associated with a given resource.
576
- # Clients should store labels in a representation such as JSON that does not
577
- # depend on specific characters being disallowed.
578
- # Example: <code>"environment" : "dev"</code>
579
- # Read-write.
580
- # Corresponds to the JSON property `labels`
581
- # @return [Hash<String,String>]
582
- attr_accessor :labels
615
+ attr_accessor :ready
616
+ alias_method :ready?, :ready
583
617
 
584
- # Creation time.
585
- # Read-only.
618
+ # Creation time of the project creation workflow.
586
619
  # Corresponds to the JSON property `createTime`
587
620
  # @return [String]
588
621
  attr_accessor :create_time
589
622
 
590
- # The user-assigned display name of the Project.
591
- # It must be 4 to 30 characters.
592
- # Allowed characters are: lowercase and uppercase letters, numbers,
593
- # hyphen, single-quote, double-quote, space, and exclamation point.
594
- # Example: <code>My Project</code>
595
- # Read-write.
596
- # Corresponds to the JSON property `name`
597
- # @return [String]
598
- attr_accessor :name
599
-
600
- # The unique, user-assigned ID of the Project.
601
- # It must be 6 to 30 lowercase letters, digits, or hyphens.
602
- # It must start with a letter.
603
- # Trailing hyphens are prohibited.
604
- # Example: <code>tokyo-rain-123</code>
605
- # Read-only after creation.
606
- # Corresponds to the JSON property `projectId`
607
- # @return [String]
608
- attr_accessor :project_id
609
-
610
- # The Project lifecycle state.
611
- # Read-only.
612
- # Corresponds to the JSON property `lifecycleState`
613
- # @return [String]
614
- attr_accessor :lifecycle_state
623
+ # True if the project can be retrieved using GetProject. No other operations
624
+ # on the project are guaranteed to work until the project creation is
625
+ # complete.
626
+ # Corresponds to the JSON property `gettable`
627
+ # @return [Boolean]
628
+ attr_accessor :gettable
629
+ alias_method :gettable?, :gettable
615
630
 
616
631
  def initialize(**args)
617
632
  update!(**args)
@@ -619,24 +634,18 @@ module Google
619
634
 
620
635
  # Update properties of this object
621
636
  def update!(**args)
622
- @project_number = args[:project_number] if args.key?(:project_number)
623
- @parent = args[:parent] if args.key?(:parent)
624
- @labels = args[:labels] if args.key?(:labels)
637
+ @ready = args[:ready] if args.key?(:ready)
625
638
  @create_time = args[:create_time] if args.key?(:create_time)
626
- @name = args[:name] if args.key?(:name)
627
- @project_id = args[:project_id] if args.key?(:project_id)
628
- @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
639
+ @gettable = args[:gettable] if args.key?(:gettable)
629
640
  end
630
641
  end
631
642
 
632
- # Request message for `TestIamPermissions` method.
633
- class TestIamPermissionsRequest
643
+ # Response message for `TestIamPermissions` method.
644
+ class TestIamPermissionsResponse
634
645
  include Google::Apis::Core::Hashable
635
646
 
636
- # The set of permissions to check for the `resource`. Permissions with
637
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
638
- # information see
639
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
647
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
648
+ # allowed.
640
649
  # Corresponds to the JSON property `permissions`
641
650
  # @return [Array<String>]
642
651
  attr_accessor :permissions
@@ -651,65 +660,29 @@ module Google
651
660
  end
652
661
  end
653
662
 
654
- # Defines an Identity and Access Management (IAM) policy. It is used to
655
- # specify access control policies for Cloud Platform resources.
656
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
657
- # `members` to a `role`, where the members can be user accounts, Google groups,
658
- # Google domains, and service accounts. A `role` is a named list of permissions
659
- # defined by IAM.
660
- # **Example**
661
- # `
662
- # "bindings": [
663
- # `
664
- # "role": "roles/owner",
665
- # "members": [
666
- # "user:mike@example.com",
667
- # "group:admins@example.com",
668
- # "domain:google.com",
669
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
670
- # ]
671
- # `,
672
- # `
673
- # "role": "roles/viewer",
674
- # "members": ["user:sean@example.com"]
675
- # `
676
- # ]
677
- # `
678
- # For a description of IAM and its features, see the
679
- # [IAM developer's guide](https://cloud.google.com/iam).
680
- class Policy
663
+ # Request message for `GetIamPolicy` method.
664
+ class GetIamPolicyRequest
681
665
  include Google::Apis::Core::Hashable
682
666
 
683
- # Version of the `Policy`. The default version is 0.
684
- # Corresponds to the JSON property `version`
685
- # @return [Fixnum]
686
- attr_accessor :version
667
+ def initialize(**args)
668
+ update!(**args)
669
+ end
687
670
 
688
- # Specifies cloud audit logging configuration for this policy.
689
- # Corresponds to the JSON property `auditConfigs`
690
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
691
- attr_accessor :audit_configs
671
+ # Update properties of this object
672
+ def update!(**args)
673
+ end
674
+ end
692
675
 
693
- # Associates a list of `members` to a `role`.
694
- # Multiple `bindings` must not be specified for the same `role`.
695
- # `bindings` with no members will result in an error.
696
- # Corresponds to the JSON property `bindings`
697
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
698
- attr_accessor :bindings
676
+ # Response from the GetAncestry method.
677
+ class GetAncestryResponse
678
+ include Google::Apis::Core::Hashable
699
679
 
700
- # `etag` is used for optimistic concurrency control as a way to help
701
- # prevent simultaneous updates of a policy from overwriting each other.
702
- # It is strongly suggested that systems make use of the `etag` in the
703
- # read-modify-write cycle to perform policy updates in order to avoid race
704
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
705
- # systems are expected to put that etag in the request to `setIamPolicy` to
706
- # ensure that their change will be applied to the same version of the policy.
707
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
708
- # policy is overwritten blindly.
709
- # Corresponds to the JSON property `etag`
710
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
711
- # @return [String]
712
- attr_accessor :etag
680
+ # Ancestors are ordered from bottom to top of the resource hierarchy. The
681
+ # first ancestor is the project itself, followed by the project's parent,
682
+ # etc.
683
+ # Corresponds to the JSON property `ancestor`
684
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
685
+ attr_accessor :ancestor
713
686
 
714
687
  def initialize(**args)
715
688
  update!(**args)
@@ -717,38 +690,58 @@ module Google
717
690
 
718
691
  # Update properties of this object
719
692
  def update!(**args)
720
- @version = args[:version] if args.key?(:version)
721
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
722
- @bindings = args[:bindings] if args.key?(:bindings)
723
- @etag = args[:etag] if args.key?(:etag)
693
+ @ancestor = args[:ancestor] if args.key?(:ancestor)
724
694
  end
725
695
  end
726
696
 
727
- # Metadata describing a long running folder operation
728
- class FolderOperation
697
+ # The entity that owns an Organization. The lifetime of the Organization and
698
+ # all of its descendants are bound to the `OrganizationOwner`. If the
699
+ # `OrganizationOwner` is deleted, the Organization and all its descendants will
700
+ # be deleted.
701
+ class OrganizationOwner
729
702
  include Google::Apis::Core::Hashable
730
703
 
731
- # The display name of the folder.
732
- # Corresponds to the JSON property `displayName`
704
+ # The Google for Work customer id used in the Directory API.
705
+ # Corresponds to the JSON property `directoryCustomerId`
733
706
  # @return [String]
734
- attr_accessor :display_name
707
+ attr_accessor :directory_customer_id
735
708
 
736
- # The resource name of the folder's parent.
737
- # Only applicable when the operation_type is MOVE.
738
- # Corresponds to the JSON property `sourceParent`
739
- # @return [String]
740
- attr_accessor :source_parent
709
+ def initialize(**args)
710
+ update!(**args)
711
+ end
741
712
 
742
- # The resource name of the folder or organization we are either creating
743
- # the folder under or moving the folder to.
744
- # Corresponds to the JSON property `destinationParent`
745
- # @return [String]
746
- attr_accessor :destination_parent
713
+ # Update properties of this object
714
+ def update!(**args)
715
+ @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
716
+ end
717
+ end
747
718
 
748
- # The type of this operation.
749
- # Corresponds to the JSON property `operationType`
719
+ # A page of the response received from the
720
+ # ListProjects
721
+ # method.
722
+ # A paginated response where more pages are available has
723
+ # `next_page_token` set. This token can be used in a subsequent request to
724
+ # retrieve the next request page.
725
+ class ListProjectsResponse
726
+ include Google::Apis::Core::Hashable
727
+
728
+ # The list of Projects that matched the list filter. This list can
729
+ # be paginated.
730
+ # Corresponds to the JSON property `projects`
731
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
732
+ attr_accessor :projects
733
+
734
+ # Pagination token.
735
+ # If the result set is too large to fit in a single response, this token
736
+ # is returned. It encodes the position of the current result cursor.
737
+ # Feeding this value into a new list request with the `page_token` parameter
738
+ # gives the next page of the results.
739
+ # When `next_page_token` is not filled in, there is no next page and
740
+ # the list returned is the last page in the result set.
741
+ # Pagination tokens have a limited lifetime.
742
+ # Corresponds to the JSON property `nextPageToken`
750
743
  # @return [String]
751
- attr_accessor :operation_type
744
+ attr_accessor :next_page_token
752
745
 
753
746
  def initialize(**args)
754
747
  update!(**args)
@@ -756,21 +749,42 @@ module Google
756
749
 
757
750
  # Update properties of this object
758
751
  def update!(**args)
759
- @display_name = args[:display_name] if args.key?(:display_name)
760
- @source_parent = args[:source_parent] if args.key?(:source_parent)
761
- @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
762
- @operation_type = args[:operation_type] if args.key?(:operation_type)
752
+ @projects = args[:projects] if args.key?(:projects)
753
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
763
754
  end
764
755
  end
765
756
 
766
- # A classification of the Folder Operation error.
767
- class FolderOperationError
757
+ # Provides the configuration for logging a type of permissions.
758
+ # Example:
759
+ # `
760
+ # "audit_log_configs": [
761
+ # `
762
+ # "log_type": "DATA_READ",
763
+ # "exempted_members": [
764
+ # "user:foo@gmail.com"
765
+ # ]
766
+ # `,
767
+ # `
768
+ # "log_type": "DATA_WRITE",
769
+ # `
770
+ # ]
771
+ # `
772
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
773
+ # foo@gmail.com from DATA_READ logging.
774
+ class AuditLogConfig
768
775
  include Google::Apis::Core::Hashable
769
776
 
770
- # The type of operation error experienced.
771
- # Corresponds to the JSON property `errorMessageId`
777
+ # Specifies the identities that do not cause logging for this type of
778
+ # permission.
779
+ # Follows the same format of Binding.members.
780
+ # Corresponds to the JSON property `exemptedMembers`
781
+ # @return [Array<String>]
782
+ attr_accessor :exempted_members
783
+
784
+ # The log type that this config enables.
785
+ # Corresponds to the JSON property `logType`
772
786
  # @return [String]
773
- attr_accessor :error_message_id
787
+ attr_accessor :log_type
774
788
 
775
789
  def initialize(**args)
776
790
  update!(**args)
@@ -778,37 +792,23 @@ module Google
778
792
 
779
793
  # Update properties of this object
780
794
  def update!(**args)
781
- @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
795
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
796
+ @log_type = args[:log_type] if args.key?(:log_type)
782
797
  end
783
798
  end
784
799
 
785
- # A container to reference an id for any resource type. A `resource` in Google
786
- # Cloud Platform is a generic term for something you (a developer) may want to
787
- # interact with through one of our API's. Some examples are an App Engine app,
788
- # a Compute Engine instance, a Cloud SQL database, and so on.
789
- class ResourceId
800
+ # The request sent to the
801
+ # GetAncestry
802
+ # method.
803
+ class GetAncestryRequest
790
804
  include Google::Apis::Core::Hashable
791
805
 
792
- # Required field representing the resource type this id is for.
793
- # At present, the valid types are "project" and "organization".
794
- # Corresponds to the JSON property `type`
795
- # @return [String]
796
- attr_accessor :type
797
-
798
- # Required field for the type-specific id. This should correspond to the id
799
- # used in the type-specific API's.
800
- # Corresponds to the JSON property `id`
801
- # @return [String]
802
- attr_accessor :id
803
-
804
806
  def initialize(**args)
805
807
  update!(**args)
806
808
  end
807
809
 
808
810
  # Update properties of this object
809
811
  def update!(**args)
810
- @type = args[:type] if args.key?(:type)
811
- @id = args[:id] if args.key?(:id)
812
812
  end
813
813
  end
814
814
  end