google-api-client 0.42.1 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +6 -12
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  8. data/generated/google/apis/apigee_v1/service.rb +18 -5
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/service.rb +6 -3
  11. data/generated/google/apis/appengine_v1beta.rb +1 -1
  12. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  16. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  17. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  18. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  19. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  20. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  21. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  22. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  23. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +140 -159
  26. data/generated/google/apis/books_v1/service.rb +47 -49
  27. data/generated/google/apis/chat_v1.rb +1 -1
  28. data/generated/google/apis/chat_v1/classes.rb +19 -0
  29. data/generated/google/apis/chat_v1/representations.rb +13 -0
  30. data/generated/google/apis/chat_v1/service.rb +39 -0
  31. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  32. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  33. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  34. data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
  35. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  36. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  37. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  41. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  42. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  43. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  46. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  47. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  49. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  50. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  52. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  53. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  55. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  56. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  57. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  58. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  59. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  61. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  62. data/generated/google/apis/cloudshell_v1.rb +1 -1
  63. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  64. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  66. data/generated/google/apis/content_v2.rb +1 -1
  67. data/generated/google/apis/content_v2/classes.rb +6 -0
  68. data/generated/google/apis/content_v2/representations.rb +1 -0
  69. data/generated/google/apis/content_v2_1.rb +1 -1
  70. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  71. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  72. data/generated/google/apis/customsearch_v1.rb +1 -1
  73. data/generated/google/apis/customsearch_v1/classes.rb +14 -10
  74. data/generated/google/apis/customsearch_v1/service.rb +6 -6
  75. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  76. data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
  77. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  78. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  79. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  83. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
  86. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  87. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  88. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  89. data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
  90. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  91. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
  92. data/generated/google/apis/displayvideo_v1.rb +7 -1
  93. data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
  94. data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
  95. data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  98. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  99. data/generated/google/apis/fcm_v1.rb +1 -1
  100. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  101. data/generated/google/apis/fcm_v1/service.rb +5 -6
  102. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  103. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  104. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  105. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  106. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  111. data/generated/google/apis/games_v1.rb +1 -1
  112. data/generated/google/apis/games_v1/classes.rb +1 -1
  113. data/generated/google/apis/games_v1/service.rb +2 -2
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/classes.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +2 -1
  117. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  118. data/generated/google/apis/monitoring_v1.rb +1 -1
  119. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  120. data/generated/google/apis/monitoring_v3.rb +1 -1
  121. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  122. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  123. data/generated/google/apis/osconfig_v1.rb +1 -1
  124. data/generated/google/apis/osconfig_v1/classes.rb +75 -0
  125. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  126. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  127. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  128. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  129. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  130. data/generated/google/apis/people_v1.rb +1 -1
  131. data/generated/google/apis/people_v1/classes.rb +243 -397
  132. data/generated/google/apis/people_v1/service.rb +156 -384
  133. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
  135. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  136. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
  137. data/generated/google/apis/pubsub_v1.rb +1 -1
  138. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  139. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  140. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  141. data/generated/google/apis/redis_v1.rb +1 -1
  142. data/generated/google/apis/redis_v1/classes.rb +397 -0
  143. data/generated/google/apis/redis_v1/representations.rb +139 -0
  144. data/generated/google/apis/redis_v1beta1.rb +1 -1
  145. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  146. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  147. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  148. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  149. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  150. data/generated/google/apis/run_v1.rb +1 -1
  151. data/generated/google/apis/run_v1/classes.rb +835 -1248
  152. data/generated/google/apis/run_v1/service.rb +195 -245
  153. data/generated/google/apis/run_v1alpha1.rb +1 -1
  154. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  155. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  156. data/generated/google/apis/run_v1beta1.rb +1 -1
  157. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  158. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  159. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  160. data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
  161. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  162. data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
  163. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  164. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
  165. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  166. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
  168. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  169. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  170. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  171. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  172. data/generated/google/apis/serviceusage_v1.rb +1 -1
  173. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  174. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  175. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  176. data/generated/google/apis/spanner_v1.rb +1 -1
  177. data/generated/google/apis/sql_v1beta4.rb +1 -1
  178. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  179. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  180. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  181. data/generated/google/apis/testing_v1.rb +1 -1
  182. data/generated/google/apis/testing_v1/classes.rb +63 -0
  183. data/generated/google/apis/testing_v1/representations.rb +32 -0
  184. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  185. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  186. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  187. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  188. data/generated/google/apis/webfonts_v1.rb +1 -1
  189. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  190. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  191. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  192. data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
  193. data/generated/google/apis/youtube_v3.rb +1 -1
  194. data/generated/google/apis/youtube_v3/classes.rb +6 -0
  195. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  196. data/generated/google/apis/youtube_v3/service.rb +32 -32
  197. data/lib/google/apis/version.rb +1 -1
  198. metadata +7 -7
  199. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  200. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
  201. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -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 = '20200622'
29
+ REVISION = '20200720'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -28,8 +28,8 @@ module Google
28
28
 
29
29
  # A container to reference an id for any resource type. A `resource` in Google
30
30
  # Cloud Platform is a generic term for something you (a developer) may want to
31
- # interact with through one of our API's. Some examples are an App Engine app,
32
- # a Compute Engine instance, a Cloud SQL database, and so on.
31
+ # interact with through one of our API's. Some examples are an App Engine app, a
32
+ # Compute Engine instance, a Cloud SQL database, and so on.
33
33
  # Corresponds to the JSON property `resourceId`
34
34
  # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
35
35
  attr_accessor :resource_id
@@ -44,53 +44,21 @@ module Google
44
44
  end
45
45
  end
46
46
 
47
- # Specifies the audit configuration for a service.
48
- # The configuration determines which permission types are logged, and what
49
- # identities, if any, are exempted from logging.
50
- # An AuditConfig must have one or more AuditLogConfigs.
51
- # If there are AuditConfigs for both `allServices` and a specific service,
52
- # the union of the two AuditConfigs is used for that service: the log_types
53
- # specified in each AuditConfig are enabled, and the exempted_members in each
54
- # AuditLogConfig are exempted.
55
- # Example Policy with multiple AuditConfigs:
56
- # `
57
- # "audit_configs": [
58
- # `
59
- # "service": "allServices",
60
- # "audit_log_configs": [
61
- # `
62
- # "log_type": "DATA_READ",
63
- # "exempted_members": [
64
- # "user:jose@example.com"
65
- # ]
66
- # `,
67
- # `
68
- # "log_type": "DATA_WRITE"
69
- # `,
70
- # `
71
- # "log_type": "ADMIN_READ"
72
- # `
73
- # ]
74
- # `,
75
- # `
76
- # "service": "sampleservice.googleapis.com",
77
- # "audit_log_configs": [
78
- # `
79
- # "log_type": "DATA_READ"
80
- # `,
81
- # `
82
- # "log_type": "DATA_WRITE",
83
- # "exempted_members": [
84
- # "user:aliya@example.com"
85
- # ]
86
- # `
87
- # ]
88
- # `
89
- # ]
90
- # `
91
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
92
- # logging. It also exempts jose@example.com from DATA_READ logging, and
93
- # aliya@example.com from DATA_WRITE logging.
47
+ # Specifies the audit configuration for a service. The configuration determines
48
+ # which permission types are logged, and what identities, if any, are exempted
49
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
50
+ # are AuditConfigs for both `allServices` and a specific service, the union of
51
+ # the two AuditConfigs is used for that service: the log_types specified in each
52
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
53
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
54
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
55
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
56
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
57
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
58
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
59
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
60
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
61
+ # DATA_WRITE logging.
94
62
  class AuditConfig
95
63
  include Google::Apis::Core::Hashable
96
64
 
@@ -99,9 +67,9 @@ module Google
99
67
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
100
68
  attr_accessor :audit_log_configs
101
69
 
102
- # Specifies a service that will be enabled for audit logging.
103
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
104
- # `allServices` is a special value that covers all services.
70
+ # Specifies a service that will be enabled for audit logging. For example, `
71
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
72
+ # value that covers all services.
105
73
  # Corresponds to the JSON property `service`
106
74
  # @return [String]
107
75
  attr_accessor :service
@@ -117,28 +85,15 @@ module Google
117
85
  end
118
86
  end
119
87
 
120
- # Provides the configuration for logging a type of permissions.
121
- # Example:
122
- # `
123
- # "audit_log_configs": [
124
- # `
125
- # "log_type": "DATA_READ",
126
- # "exempted_members": [
127
- # "user:jose@example.com"
128
- # ]
129
- # `,
130
- # `
131
- # "log_type": "DATA_WRITE"
132
- # `
133
- # ]
134
- # `
135
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
136
- # jose@example.com from DATA_READ logging.
88
+ # Provides the configuration for logging a type of permissions. Example: ` "
89
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
90
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
91
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
92
+ # DATA_READ logging.
137
93
  class AuditLogConfig
138
94
  include Google::Apis::Core::Hashable
139
95
 
140
- # Specifies the identities that do not cause logging for this type of
141
- # permission.
96
+ # Specifies the identities that do not cause logging for this type of permission.
142
97
  # Follows the same format of Binding.members.
143
98
  # Corresponds to the JSON property `exemptedMembers`
144
99
  # @return [Array<String>]
@@ -164,69 +119,57 @@ module Google
164
119
  class Binding
165
120
  include Google::Apis::Core::Hashable
166
121
 
167
- # Represents a textual expression in the Common Expression Language (CEL)
168
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
169
- # are documented at https://github.com/google/cel-spec.
170
- # Example (Comparison):
171
- # title: "Summary size limit"
172
- # description: "Determines if a summary is less than 100 chars"
173
- # expression: "document.summary.size() < 100"
174
- # Example (Equality):
175
- # title: "Requestor is owner"
176
- # description: "Determines if requestor is the document owner"
177
- # expression: "document.owner == request.auth.claims.email"
178
- # Example (Logic):
179
- # title: "Public documents"
180
- # description: "Determine whether the document should be publicly visible"
181
- # expression: "document.type != 'private' && document.type != 'internal'"
182
- # Example (Data Manipulation):
183
- # title: "Notification string"
184
- # description: "Create a notification string with a timestamp."
185
- # expression: "'New message received at ' + string(document.create_time)"
186
- # The exact variables and functions that may be referenced within an expression
187
- # are determined by the service that evaluates it. See the service
188
- # documentation for additional information.
122
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
123
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
124
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
125
+ # "Summary size limit" description: "Determines if a summary is less than 100
126
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
127
+ # Requestor is owner" description: "Determines if requestor is the document
128
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
129
+ # Logic): title: "Public documents" description: "Determine whether the document
130
+ # should be publicly visible" expression: "document.type != 'private' &&
131
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
132
+ # string" description: "Create a notification string with a timestamp."
133
+ # expression: "'New message received at ' + string(document.create_time)" The
134
+ # exact variables and functions that may be referenced within an expression are
135
+ # determined by the service that evaluates it. See the service documentation for
136
+ # additional information.
189
137
  # Corresponds to the JSON property `condition`
190
138
  # @return [Google::Apis::CloudresourcemanagerV1beta1::Expr]
191
139
  attr_accessor :condition
192
140
 
193
- # Specifies the identities requesting access for a Cloud Platform resource.
194
- # `members` can have the following values:
195
- # * `allUsers`: A special identifier that represents anyone who is
196
- # on the internet; with or without a Google account.
197
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
198
- # who is authenticated with a Google account or a service account.
199
- # * `user:`emailid``: An email address that represents a specific Google
200
- # account. For example, `alice@example.com` .
201
- # * `serviceAccount:`emailid``: An email address that represents a service
202
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
203
- # * `group:`emailid``: An email address that represents a Google group.
204
- # For example, `admins@example.com`.
205
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
206
- # identifier) representing a user that has been recently deleted. For
207
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
208
- # recovered, this value reverts to `user:`emailid`` and the recovered user
209
- # retains the role in the binding.
210
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
211
- # unique identifier) representing a service account that has been recently
212
- # deleted. For example,
213
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
214
- # If the service account is undeleted, this value reverts to
215
- # `serviceAccount:`emailid`` and the undeleted service account retains the
216
- # role in the binding.
217
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
218
- # identifier) representing a Google group that has been recently
219
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
220
- # the group is recovered, this value reverts to `group:`emailid`` and the
221
- # recovered group retains the role in the binding.
222
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
223
- # users of that domain. For example, `google.com` or `example.com`.
141
+ # Specifies the identities requesting access for a Cloud Platform resource. `
142
+ # members` can have the following values: * `allUsers`: A special identifier
143
+ # that represents anyone who is on the internet; with or without a Google
144
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
145
+ # anyone who is authenticated with a Google account or a service account. * `
146
+ # user:`emailid``: An email address that represents a specific Google account.
147
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
148
+ # address that represents a service account. For example, `my-other-app@appspot.
149
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
150
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
151
+ # `uniqueid``: An email address (plus unique identifier) representing a user
152
+ # that has been recently deleted. For example, `alice@example.com?uid=
153
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
154
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
155
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
156
+ # identifier) representing a service account that has been recently deleted. For
157
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
158
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
159
+ # emailid`` and the undeleted service account retains the role in the binding. *
160
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
161
+ # identifier) representing a Google group that has been recently deleted. For
162
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
163
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
164
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
165
+ # primary) that represents all the users of that domain. For example, `google.
166
+ # com` or `example.com`.
224
167
  # Corresponds to the JSON property `members`
225
168
  # @return [Array<String>]
226
169
  attr_accessor :members
227
170
 
228
- # Role that is assigned to `members`.
229
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
171
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
172
+ # , or `roles/owner`.
230
173
  # Corresponds to the JSON property `role`
231
174
  # @return [String]
232
175
  attr_accessor :role
@@ -243,13 +186,11 @@ module Google
243
186
  end
244
187
  end
245
188
 
246
- # A generic empty message that you can re-use to avoid defining duplicated
247
- # empty messages in your APIs. A typical example is to use it as the request
248
- # or the response type of an API method. For instance:
249
- # service Foo `
250
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
251
- # `
252
- # The JSON representation for `Empty` is empty JSON object ````.
189
+ # A generic empty message that you can re-use to avoid defining duplicated empty
190
+ # messages in your APIs. A typical example is to use it as the request or the
191
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
192
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
193
+ # `Empty` is empty JSON object ````.
253
194
  class Empty
254
195
  include Google::Apis::Core::Hashable
255
196
 
@@ -262,52 +203,43 @@ module Google
262
203
  end
263
204
  end
264
205
 
265
- # Represents a textual expression in the Common Expression Language (CEL)
266
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
267
- # are documented at https://github.com/google/cel-spec.
268
- # Example (Comparison):
269
- # title: "Summary size limit"
270
- # description: "Determines if a summary is less than 100 chars"
271
- # expression: "document.summary.size() < 100"
272
- # Example (Equality):
273
- # title: "Requestor is owner"
274
- # description: "Determines if requestor is the document owner"
275
- # expression: "document.owner == request.auth.claims.email"
276
- # Example (Logic):
277
- # title: "Public documents"
278
- # description: "Determine whether the document should be publicly visible"
279
- # expression: "document.type != 'private' && document.type != 'internal'"
280
- # Example (Data Manipulation):
281
- # title: "Notification string"
282
- # description: "Create a notification string with a timestamp."
283
- # expression: "'New message received at ' + string(document.create_time)"
284
- # The exact variables and functions that may be referenced within an expression
285
- # are determined by the service that evaluates it. See the service
286
- # documentation for additional information.
206
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
207
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
208
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
209
+ # "Summary size limit" description: "Determines if a summary is less than 100
210
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
211
+ # Requestor is owner" description: "Determines if requestor is the document
212
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
213
+ # Logic): title: "Public documents" description: "Determine whether the document
214
+ # should be publicly visible" expression: "document.type != 'private' &&
215
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
216
+ # string" description: "Create a notification string with a timestamp."
217
+ # expression: "'New message received at ' + string(document.create_time)" The
218
+ # exact variables and functions that may be referenced within an expression are
219
+ # determined by the service that evaluates it. See the service documentation for
220
+ # additional information.
287
221
  class Expr
288
222
  include Google::Apis::Core::Hashable
289
223
 
290
- # Optional. Description of the expression. This is a longer text which
291
- # describes the expression, e.g. when hovered over it in a UI.
224
+ # Optional. Description of the expression. This is a longer text which describes
225
+ # the expression, e.g. when hovered over it in a UI.
292
226
  # Corresponds to the JSON property `description`
293
227
  # @return [String]
294
228
  attr_accessor :description
295
229
 
296
- # Textual representation of an expression in Common Expression Language
297
- # syntax.
230
+ # Textual representation of an expression in Common Expression Language syntax.
298
231
  # Corresponds to the JSON property `expression`
299
232
  # @return [String]
300
233
  attr_accessor :expression
301
234
 
302
- # Optional. String indicating the location of the expression for error
303
- # reporting, e.g. a file name and a position in the file.
235
+ # Optional. String indicating the location of the expression for error reporting,
236
+ # e.g. a file name and a position in the file.
304
237
  # Corresponds to the JSON property `location`
305
238
  # @return [String]
306
239
  attr_accessor :location
307
240
 
308
- # Optional. Title for the expression, i.e. a short string describing
309
- # its purpose. This can be used e.g. in UIs which allow to enter the
310
- # expression.
241
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
242
+ # This can be used e.g. in UIs which allow to enter the expression.
311
243
  # Corresponds to the JSON property `title`
312
244
  # @return [String]
313
245
  attr_accessor :title
@@ -329,8 +261,8 @@ module Google
329
261
  class FolderOperation
330
262
  include Google::Apis::Core::Hashable
331
263
 
332
- # The resource name of the folder or organization we are either creating
333
- # the folder under or moving the folder to.
264
+ # The resource name of the folder or organization we are either creating the
265
+ # folder under or moving the folder to.
334
266
  # Corresponds to the JSON property `destinationParent`
335
267
  # @return [String]
336
268
  attr_accessor :destination_parent
@@ -345,8 +277,8 @@ module Google
345
277
  # @return [String]
346
278
  attr_accessor :operation_type
347
279
 
348
- # The resource name of the folder's parent.
349
- # Only applicable when the operation_type is MOVE.
280
+ # The resource name of the folder's parent. Only applicable when the
281
+ # operation_type is MOVE.
350
282
  # Corresponds to the JSON property `sourceParent`
351
283
  # @return [String]
352
284
  attr_accessor :source_parent
@@ -383,9 +315,8 @@ module Google
383
315
  end
384
316
  end
385
317
 
386
- # The request sent to the
387
- # [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetAncestry]
388
- # method.
318
+ # The request sent to the [google.cloudresourcemanager.projects.v1beta1.
319
+ # DeveloperProjects.GetAncestry] method.
389
320
  class GetAncestryRequest
390
321
  include Google::Apis::Core::Hashable
391
322
 
@@ -398,15 +329,12 @@ module Google
398
329
  end
399
330
  end
400
331
 
401
- # Response from the
402
- # projects.getAncestry
403
- # method.
332
+ # Response from the projects.getAncestry method.
404
333
  class GetAncestryResponse
405
334
  include Google::Apis::Core::Hashable
406
335
 
407
- # Ancestors are ordered from bottom to top of the resource hierarchy. The
408
- # first ancestor is the project itself, followed by the project's parent,
409
- # etc.
336
+ # Ancestors are ordered from bottom to top of the resource hierarchy. The first
337
+ # ancestor is the project itself, followed by the project's parent, etc.
410
338
  # Corresponds to the JSON property `ancestor`
411
339
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
412
340
  attr_accessor :ancestor
@@ -444,15 +372,13 @@ module Google
444
372
  class GetPolicyOptions
445
373
  include Google::Apis::Core::Hashable
446
374
 
447
- # Optional. The policy format version to be returned.
448
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
449
- # rejected.
450
- # Requests for policies with any conditional bindings must specify version 3.
451
- # Policies without any conditional bindings may specify any valid value or
452
- # leave the field unset.
453
- # To learn which resources support conditions in their IAM policies, see the
454
- # [IAM
455
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
375
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
376
+ # 3. Requests specifying an invalid value will be rejected. Requests for
377
+ # policies with any conditional bindings must specify version 3. Policies
378
+ # without any conditional bindings may specify any valid value or leave the
379
+ # field unset. To learn which resources support conditions in their IAM policies,
380
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
381
+ # resource-policies).
456
382
  # Corresponds to the JSON property `requestedPolicyVersion`
457
383
  # @return [Fixnum]
458
384
  attr_accessor :requested_policy_version
@@ -472,10 +398,10 @@ module Google
472
398
  include Google::Apis::Core::Hashable
473
399
 
474
400
  # A pagination token to be used to retrieve the next page of results. If the
475
- # result is too large to fit within the page size specified in the request,
476
- # this field will be set with a token that can be used to fetch the next page
477
- # of results. If this field is empty, it indicates that this response
478
- # contains the last page of results.
401
+ # result is too large to fit within the page size specified in the request, this
402
+ # field will be set with a token that can be used to fetch the next page of
403
+ # results. If this field is empty, it indicates that this response contains the
404
+ # last page of results.
479
405
  # Corresponds to the JSON property `nextPageToken`
480
406
  # @return [String]
481
407
  attr_accessor :next_page_token
@@ -496,29 +422,23 @@ module Google
496
422
  end
497
423
  end
498
424
 
499
- # A page of the response received from the
500
- # ListProjects
501
- # method.
502
- # A paginated response where more pages are available has
503
- # `next_page_token` set. This token can be used in a subsequent request to
504
- # retrieve the next request page.
425
+ # A page of the response received from the ListProjects method. A paginated
426
+ # response where more pages are available has `next_page_token` set. This token
427
+ # can be used in a subsequent request to retrieve the next request page.
505
428
  class ListProjectsResponse
506
429
  include Google::Apis::Core::Hashable
507
430
 
508
- # Pagination token.
509
- # If the result set is too large to fit in a single response, this token
510
- # is returned. It encodes the position of the current result cursor.
431
+ # Pagination token. If the result set is too large to fit in a single response,
432
+ # this token is returned. It encodes the position of the current result cursor.
511
433
  # Feeding this value into a new list request with the `page_token` parameter
512
- # gives the next page of the results.
513
- # When `next_page_token` is not filled in, there is no next page and
514
- # the list returned is the last page in the result set.
434
+ # gives the next page of the results. When `next_page_token` is not filled in,
435
+ # there is no next page and the list returned is the last page in the result set.
515
436
  # Pagination tokens have a limited lifetime.
516
437
  # Corresponds to the JSON property `nextPageToken`
517
438
  # @return [String]
518
439
  attr_accessor :next_page_token
519
440
 
520
- # The list of Projects that matched the list filter. This list can
521
- # be paginated.
441
+ # The list of Projects that matched the list filter. This list can be paginated.
522
442
  # Corresponds to the JSON property `projects`
523
443
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
524
444
  attr_accessor :projects
@@ -534,8 +454,8 @@ module Google
534
454
  end
535
455
  end
536
456
 
537
- # The root node in the resource hierarchy to which a particular entity's
538
- # (e.g., company) resources belong.
457
+ # The root node in the resource hierarchy to which a particular entity's (e.g.,
458
+ # company) resources belong.
539
459
  class Organization
540
460
  include Google::Apis::Core::Hashable
541
461
 
@@ -544,10 +464,10 @@ module Google
544
464
  # @return [String]
545
465
  attr_accessor :creation_time
546
466
 
547
- # A human-readable string that refers to the Organization in the
548
- # GCP Console UI. This string is set by the server and cannot be
549
- # changed. The string will be set to the primary domain (for example,
550
- # "google.com") of the G Suite customer that owns the organization.
467
+ # A human-readable string that refers to the Organization in the GCP Console UI.
468
+ # This string is set by the server and cannot be changed. The string will be set
469
+ # to the primary domain (for example, "google.com") of the G Suite customer that
470
+ # owns the organization.
551
471
  # Corresponds to the JSON property `displayName`
552
472
  # @return [String]
553
473
  attr_accessor :display_name
@@ -557,23 +477,22 @@ module Google
557
477
  # @return [String]
558
478
  attr_accessor :lifecycle_state
559
479
 
560
- # Output only. The resource name of the organization. This is the
561
- # organization's relative path in the API. Its format is
562
- # "organizations/[organization_id]". For example, "organizations/1234".
480
+ # Output only. The resource name of the organization. This is the organization's
481
+ # relative path in the API. Its format is "organizations/[organization_id]". For
482
+ # example, "organizations/1234".
563
483
  # Corresponds to the JSON property `name`
564
484
  # @return [String]
565
485
  attr_accessor :name
566
486
 
567
- # An immutable id for the Organization that is assigned on creation. This
568
- # should be omitted when creating a new Organization.
569
- # This field is read-only.
487
+ # An immutable id for the Organization that is assigned on creation. This should
488
+ # be omitted when creating a new Organization. This field is read-only.
570
489
  # Corresponds to the JSON property `organizationId`
571
490
  # @return [String]
572
491
  attr_accessor :organization_id
573
492
 
574
- # The entity that owns an Organization. The lifetime of the Organization and
575
- # all of its descendants are bound to the `OrganizationOwner`. If the
576
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
493
+ # The entity that owns an Organization. The lifetime of the Organization and all
494
+ # of its descendants are bound to the `OrganizationOwner`. If the `
495
+ # OrganizationOwner` is deleted, the Organization and all its descendants will
577
496
  # be deleted.
578
497
  # Corresponds to the JSON property `owner`
579
498
  # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
@@ -594,9 +513,9 @@ module Google
594
513
  end
595
514
  end
596
515
 
597
- # The entity that owns an Organization. The lifetime of the Organization and
598
- # all of its descendants are bound to the `OrganizationOwner`. If the
599
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
516
+ # The entity that owns an Organization. The lifetime of the Organization and all
517
+ # of its descendants are bound to the `OrganizationOwner`. If the `
518
+ # OrganizationOwner` is deleted, the Organization and all its descendants will
600
519
  # be deleted.
601
520
  class OrganizationOwner
602
521
  include Google::Apis::Core::Hashable
@@ -617,66 +536,32 @@ module Google
617
536
  end
618
537
 
619
538
  # An Identity and Access Management (IAM) policy, which specifies access
620
- # controls for Google Cloud resources.
621
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
622
- # `members` to a single `role`. Members can be user accounts, service accounts,
623
- # Google groups, and domains (such as G Suite). A `role` is a named list of
624
- # permissions; each `role` can be an IAM predefined role or a user-created
625
- # custom role.
626
- # For some types of Google Cloud resources, a `binding` can also specify a
627
- # `condition`, which is a logical expression that allows access to a resource
628
- # only if the expression evaluates to `true`. A condition can add constraints
629
- # based on attributes of the request, the resource, or both. To learn which
630
- # resources support conditions in their IAM policies, see the
631
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
632
- # policies).
633
- # **JSON example:**
634
- # `
635
- # "bindings": [
636
- # `
637
- # "role": "roles/resourcemanager.organizationAdmin",
638
- # "members": [
639
- # "user:mike@example.com",
640
- # "group:admins@example.com",
641
- # "domain:google.com",
642
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
643
- # ]
644
- # `,
645
- # `
646
- # "role": "roles/resourcemanager.organizationViewer",
647
- # "members": [
648
- # "user:eve@example.com"
649
- # ],
650
- # "condition": `
651
- # "title": "expirable access",
652
- # "description": "Does not grant access after Sep 2020",
653
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
654
- # ",
655
- # `
656
- # `
657
- # ],
658
- # "etag": "BwWWja0YfJA=",
659
- # "version": 3
660
- # `
661
- # **YAML example:**
662
- # bindings:
663
- # - members:
664
- # - user:mike@example.com
665
- # - group:admins@example.com
666
- # - domain:google.com
667
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
668
- # role: roles/resourcemanager.organizationAdmin
669
- # - members:
670
- # - user:eve@example.com
671
- # role: roles/resourcemanager.organizationViewer
672
- # condition:
673
- # title: expirable access
674
- # description: Does not grant access after Sep 2020
675
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
676
- # - etag: BwWWja0YfJA=
677
- # - version: 3
678
- # For a description of IAM and its features, see the
679
- # [IAM documentation](https://cloud.google.com/iam/docs/).
539
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
540
+ # A `binding` binds one or more `members` to a single `role`. Members can be
541
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
542
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
543
+ # role or a user-created custom role. For some types of Google Cloud resources,
544
+ # a `binding` can also specify a `condition`, which is a logical expression that
545
+ # allows access to a resource only if the expression evaluates to `true`. A
546
+ # condition can add constraints based on attributes of the request, the resource,
547
+ # or both. To learn which resources support conditions in their IAM policies,
548
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
549
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
550
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
551
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
552
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
553
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
554
+ # title": "expirable access", "description": "Does not grant access after Sep
555
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
556
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
557
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
558
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
559
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
560
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
561
+ # description: Does not grant access after Sep 2020 expression: request.time <
562
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
563
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
564
+ # google.com/iam/docs/).
680
565
  class Policy
681
566
  include Google::Apis::Core::Hashable
682
567
 
@@ -685,48 +570,44 @@ module Google
685
570
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
686
571
  attr_accessor :audit_configs
687
572
 
688
- # Associates a list of `members` to a `role`. Optionally, may specify a
689
- # `condition` that determines how and when the `bindings` are applied. Each
690
- # of the `bindings` must contain at least one member.
573
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
574
+ # condition` that determines how and when the `bindings` are applied. Each of
575
+ # the `bindings` must contain at least one member.
691
576
  # Corresponds to the JSON property `bindings`
692
577
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
693
578
  attr_accessor :bindings
694
579
 
695
- # `etag` is used for optimistic concurrency control as a way to help
696
- # prevent simultaneous updates of a policy from overwriting each other.
697
- # It is strongly suggested that systems make use of the `etag` in the
698
- # read-modify-write cycle to perform policy updates in order to avoid race
699
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
700
- # systems are expected to put that etag in the request to `setIamPolicy` to
701
- # ensure that their change will be applied to the same version of the policy.
702
- # **Important:** If you use IAM Conditions, you must include the `etag` field
703
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
704
- # you to overwrite a version `3` policy with a version `1` policy, and all of
705
- # the conditions in the version `3` policy are lost.
580
+ # `etag` is used for optimistic concurrency control as a way to help prevent
581
+ # simultaneous updates of a policy from overwriting each other. It is strongly
582
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
583
+ # to perform policy updates in order to avoid race conditions: An `etag` is
584
+ # returned in the response to `getIamPolicy`, and systems are expected to put
585
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
586
+ # applied to the same version of the policy. **Important:** If you use IAM
587
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
588
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
589
+ # with a version `1` policy, and all of the conditions in the version `3` policy
590
+ # are lost.
706
591
  # Corresponds to the JSON property `etag`
707
592
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
708
593
  # @return [String]
709
594
  attr_accessor :etag
710
595
 
711
- # Specifies the format of the policy.
712
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
713
- # are rejected.
714
- # Any operation that affects conditional role bindings must specify version
715
- # `3`. This requirement applies to the following operations:
716
- # * Getting a policy that includes a conditional role binding
717
- # * Adding a conditional role binding to a policy
718
- # * Changing a conditional role binding in a policy
719
- # * Removing any role binding, with or without a condition, from a policy
720
- # that includes conditions
721
- # **Important:** If you use IAM Conditions, you must include the `etag` field
722
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
723
- # you to overwrite a version `3` policy with a version `1` policy, and all of
724
- # the conditions in the version `3` policy are lost.
725
- # If a policy does not include any conditions, operations on that policy may
726
- # specify any valid version or leave the field unset.
727
- # To learn which resources support conditions in their IAM policies, see the
728
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
729
- # policies).
596
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
597
+ # Requests that specify an invalid value are rejected. Any operation that
598
+ # affects conditional role bindings must specify version `3`. This requirement
599
+ # applies to the following operations: * Getting a policy that includes a
600
+ # conditional role binding * Adding a conditional role binding to a policy *
601
+ # Changing a conditional role binding in a policy * Removing any role binding,
602
+ # with or without a condition, from a policy that includes conditions **
603
+ # Important:** If you use IAM Conditions, you must include the `etag` field
604
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
605
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
606
+ # conditions in the version `3` policy are lost. If a policy does not include
607
+ # any conditions, operations on that policy may specify any valid version or
608
+ # leave the field unset. To learn which resources support conditions in their
609
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
610
+ # conditions/resource-policies).
730
611
  # Corresponds to the JSON property `version`
731
612
  # @return [Fixnum]
732
613
  attr_accessor :version
@@ -744,69 +625,56 @@ module Google
744
625
  end
745
626
  end
746
627
 
747
- # A Project is a high-level Google Cloud Platform entity. It is a
748
- # container for ACLs, APIs, App Engine Apps, VMs, and other
749
- # Google Cloud Platform resources.
628
+ # A Project is a high-level Google Cloud Platform entity. It is a container for
629
+ # ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
750
630
  class Project
751
631
  include Google::Apis::Core::Hashable
752
632
 
753
- # Creation time.
754
- # Read-only.
633
+ # Creation time. Read-only.
755
634
  # Corresponds to the JSON property `createTime`
756
635
  # @return [String]
757
636
  attr_accessor :create_time
758
637
 
759
- # The labels associated with this Project.
760
- # Label keys must be between 1 and 63 characters long and must conform
761
- # to the following regular expression: a-z`0,62`.
762
- # Label values must be between 0 and 63 characters long and must conform
763
- # to the regular expression [a-z0-9_-]`0,63`. A label value can be empty.
764
- # No more than 256 labels can be associated with a given resource.
765
- # Clients should store labels in a representation such as JSON that does not
766
- # depend on specific characters being disallowed.
767
- # Example: <code>"environment" : "dev"</code>
768
- # Read-write.
638
+ # The labels associated with this Project. Label keys must be between 1 and 63
639
+ # characters long and must conform to the following regular expression: a-z`0,62`
640
+ # . Label values must be between 0 and 63 characters long and must conform to
641
+ # the regular expression [a-z0-9_-]`0,63`. A label value can be empty. No more
642
+ # than 256 labels can be associated with a given resource. Clients should store
643
+ # labels in a representation such as JSON that does not depend on specific
644
+ # characters being disallowed. Example: "environment" : "dev" Read-write.
769
645
  # Corresponds to the JSON property `labels`
770
646
  # @return [Hash<String,String>]
771
647
  attr_accessor :labels
772
648
 
773
- # The Project lifecycle state.
774
- # Read-only.
649
+ # The Project lifecycle state. Read-only.
775
650
  # Corresponds to the JSON property `lifecycleState`
776
651
  # @return [String]
777
652
  attr_accessor :lifecycle_state
778
653
 
779
- # The optional user-assigned display name of the Project.
780
- # When present it must be between 4 to 30 characters.
781
- # Allowed characters are: lowercase and uppercase letters, numbers,
782
- # hyphen, single-quote, double-quote, space, and exclamation point.
783
- # Example: <code>My Project</code>
784
- # Read-write.
654
+ # The optional user-assigned display name of the Project. When present it must
655
+ # be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
656
+ # letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
657
+ # point. Example: My Project Read-write.
785
658
  # Corresponds to the JSON property `name`
786
659
  # @return [String]
787
660
  attr_accessor :name
788
661
 
789
662
  # A container to reference an id for any resource type. A `resource` in Google
790
663
  # Cloud Platform is a generic term for something you (a developer) may want to
791
- # interact with through one of our API's. Some examples are an App Engine app,
792
- # a Compute Engine instance, a Cloud SQL database, and so on.
664
+ # interact with through one of our API's. Some examples are an App Engine app, a
665
+ # Compute Engine instance, a Cloud SQL database, and so on.
793
666
  # Corresponds to the JSON property `parent`
794
667
  # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
795
668
  attr_accessor :parent
796
669
 
797
- # The unique, user-assigned ID of the Project.
798
- # It must be 6 to 30 lowercase letters, digits, or hyphens.
799
- # It must start with a letter.
800
- # Trailing hyphens are prohibited.
801
- # Example: <code>tokyo-rain-123</code>
802
- # Read-only after creation.
670
+ # The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase
671
+ # letters, digits, or hyphens. It must start with a letter. Trailing hyphens are
672
+ # prohibited. Example: tokyo-rain-123 Read-only after creation.
803
673
  # Corresponds to the JSON property `projectId`
804
674
  # @return [String]
805
675
  attr_accessor :project_id
806
676
 
807
- # The number uniquely identifying the project.
808
- # Example: <code>415104041262</code>
809
- # Read-only.
677
+ # The number uniquely identifying the project. Example: 415104041262 Read-only.
810
678
  # Corresponds to the JSON property `projectNumber`
811
679
  # @return [Fixnum]
812
680
  attr_accessor :project_number
@@ -838,9 +706,8 @@ module Google
838
706
  # @return [String]
839
707
  attr_accessor :create_time
840
708
 
841
- # True if the project can be retrieved using GetProject. No other operations
842
- # on the project are guaranteed to work until the project creation is
843
- # complete.
709
+ # True if the project can be retrieved using GetProject. No other operations on
710
+ # the project are guaranteed to work until the project creation is complete.
844
711
  # Corresponds to the JSON property `gettable`
845
712
  # @return [Boolean]
846
713
  attr_accessor :gettable
@@ -866,19 +733,19 @@ module Google
866
733
 
867
734
  # A container to reference an id for any resource type. A `resource` in Google
868
735
  # Cloud Platform is a generic term for something you (a developer) may want to
869
- # interact with through one of our API's. Some examples are an App Engine app,
870
- # a Compute Engine instance, a Cloud SQL database, and so on.
736
+ # interact with through one of our API's. Some examples are an App Engine app, a
737
+ # Compute Engine instance, a Cloud SQL database, and so on.
871
738
  class ResourceId
872
739
  include Google::Apis::Core::Hashable
873
740
 
874
- # Required field for the type-specific id. This should correspond to the id
875
- # used in the type-specific API's.
741
+ # Required field for the type-specific id. This should correspond to the id used
742
+ # in the type-specific API's.
876
743
  # Corresponds to the JSON property `id`
877
744
  # @return [String]
878
745
  attr_accessor :id
879
746
 
880
- # Required field representing the resource type this id is for.
881
- # At present, the valid types are "project", "folder", and "organization".
747
+ # Required field representing the resource type this id is for. At present, the
748
+ # valid types are "project", "folder", and "organization".
882
749
  # Corresponds to the JSON property `type`
883
750
  # @return [String]
884
751
  attr_accessor :type
@@ -899,74 +766,39 @@ module Google
899
766
  include Google::Apis::Core::Hashable
900
767
 
901
768
  # An Identity and Access Management (IAM) policy, which specifies access
902
- # controls for Google Cloud resources.
903
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
904
- # `members` to a single `role`. Members can be user accounts, service accounts,
905
- # Google groups, and domains (such as G Suite). A `role` is a named list of
906
- # permissions; each `role` can be an IAM predefined role or a user-created
907
- # custom role.
908
- # For some types of Google Cloud resources, a `binding` can also specify a
909
- # `condition`, which is a logical expression that allows access to a resource
910
- # only if the expression evaluates to `true`. A condition can add constraints
911
- # based on attributes of the request, the resource, or both. To learn which
912
- # resources support conditions in their IAM policies, see the
913
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
914
- # policies).
915
- # **JSON example:**
916
- # `
917
- # "bindings": [
918
- # `
919
- # "role": "roles/resourcemanager.organizationAdmin",
920
- # "members": [
921
- # "user:mike@example.com",
922
- # "group:admins@example.com",
923
- # "domain:google.com",
924
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
925
- # ]
926
- # `,
927
- # `
928
- # "role": "roles/resourcemanager.organizationViewer",
929
- # "members": [
930
- # "user:eve@example.com"
931
- # ],
932
- # "condition": `
933
- # "title": "expirable access",
934
- # "description": "Does not grant access after Sep 2020",
935
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
936
- # ",
937
- # `
938
- # `
939
- # ],
940
- # "etag": "BwWWja0YfJA=",
941
- # "version": 3
942
- # `
943
- # **YAML example:**
944
- # bindings:
945
- # - members:
946
- # - user:mike@example.com
947
- # - group:admins@example.com
948
- # - domain:google.com
949
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
950
- # role: roles/resourcemanager.organizationAdmin
951
- # - members:
952
- # - user:eve@example.com
953
- # role: roles/resourcemanager.organizationViewer
954
- # condition:
955
- # title: expirable access
956
- # description: Does not grant access after Sep 2020
957
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
958
- # - etag: BwWWja0YfJA=
959
- # - version: 3
960
- # For a description of IAM and its features, see the
961
- # [IAM documentation](https://cloud.google.com/iam/docs/).
769
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
770
+ # A `binding` binds one or more `members` to a single `role`. Members can be
771
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
772
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
773
+ # role or a user-created custom role. For some types of Google Cloud resources,
774
+ # a `binding` can also specify a `condition`, which is a logical expression that
775
+ # allows access to a resource only if the expression evaluates to `true`. A
776
+ # condition can add constraints based on attributes of the request, the resource,
777
+ # or both. To learn which resources support conditions in their IAM policies,
778
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
779
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
780
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
781
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
782
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
783
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
784
+ # title": "expirable access", "description": "Does not grant access after Sep
785
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
786
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
787
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
788
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
789
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
790
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
791
+ # description: Does not grant access after Sep 2020 expression: request.time <
792
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
793
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
794
+ # google.com/iam/docs/).
962
795
  # Corresponds to the JSON property `policy`
963
796
  # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
964
797
  attr_accessor :policy
965
798
 
966
799
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
967
- # the fields in the mask will be modified. If no mask is provided, the
968
- # following default mask is used:
969
- # `paths: "bindings, etag"`
800
+ # the fields in the mask will be modified. If no mask is provided, the following
801
+ # default mask is used: `paths: "bindings, etag"`
970
802
  # Corresponds to the JSON property `updateMask`
971
803
  # @return [String]
972
804
  attr_accessor :update_mask
@@ -986,10 +818,9 @@ module Google
986
818
  class TestIamPermissionsRequest
987
819
  include Google::Apis::Core::Hashable
988
820
 
989
- # The set of permissions to check for the `resource`. Permissions with
990
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
991
- # information see
992
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
821
+ # The set of permissions to check for the `resource`. Permissions with wildcards
822
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
823
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
993
824
  # Corresponds to the JSON property `permissions`
994
825
  # @return [Array<String>]
995
826
  attr_accessor :permissions
@@ -1008,8 +839,7 @@ module Google
1008
839
  class TestIamPermissionsResponse
1009
840
  include Google::Apis::Core::Hashable
1010
841
 
1011
- # A subset of `TestPermissionsRequest.permissions` that the caller is
1012
- # allowed.
842
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1013
843
  # Corresponds to the JSON property `permissions`
1014
844
  # @return [Array<String>]
1015
845
  attr_accessor :permissions
@@ -1024,8 +854,7 @@ module Google
1024
854
  end
1025
855
  end
1026
856
 
1027
- # The request sent to the UndeleteProject
1028
- # method.
857
+ # The request sent to the UndeleteProject method.
1029
858
  class UndeleteProjectRequest
1030
859
  include Google::Apis::Core::Hashable
1031
860