google-api-client 0.39.4 → 0.39.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +7 -0
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  8. data/generated/google/apis/apigee_v1/service.rb +9 -1
  9. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  10. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  11. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  12. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  13. data/generated/google/apis/bigquery_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2/classes.rb +12 -1
  15. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  18. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
  20. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  21. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  22. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  23. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  24. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  25. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  30. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  31. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  32. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  33. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  34. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  35. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  37. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  38. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  41. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  42. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  44. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  45. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  46. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  47. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  48. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  49. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +35 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  59. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  60. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  61. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  64. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  65. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  68. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  69. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  70. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  71. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  72. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  73. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  74. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  76. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  77. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  78. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  79. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  80. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  83. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
  86. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  87. data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
  88. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  89. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  90. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
  91. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
  92. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  93. data/generated/google/apis/displayvideo_v1.rb +1 -1
  94. data/generated/google/apis/displayvideo_v1/service.rb +7 -2
  95. data/generated/google/apis/dlp_v2.rb +1 -1
  96. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  97. data/generated/google/apis/dlp_v2/service.rb +79 -142
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v1/classes.rb +160 -261
  100. data/generated/google/apis/dns_v1/representations.rb +17 -0
  101. data/generated/google/apis/dns_v1/service.rb +21 -141
  102. data/generated/google/apis/dns_v1beta2.rb +1 -1
  103. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  104. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  105. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  106. data/generated/google/apis/dns_v2beta1.rb +1 -1
  107. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  108. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  109. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  110. data/generated/google/apis/file_v1.rb +1 -1
  111. data/generated/google/apis/file_v1/classes.rb +31 -0
  112. data/generated/google/apis/file_v1/representations.rb +15 -0
  113. data/generated/google/apis/file_v1beta1.rb +1 -1
  114. data/generated/google/apis/file_v1beta1/classes.rb +31 -0
  115. data/generated/google/apis/file_v1beta1/representations.rb +15 -0
  116. data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
  117. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  118. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  119. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  124. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  125. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  126. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  127. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  128. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  129. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  130. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  131. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  132. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  133. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  134. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  135. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  136. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  137. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  138. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  139. data/generated/google/apis/securitycenter_v1.rb +1 -1
  140. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  141. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  142. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  143. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  145. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  146. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  147. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  148. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  149. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  150. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  152. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  153. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  154. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  156. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  157. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  163. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/tasks_v1.rb +3 -3
  168. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  169. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  170. data/generated/google/apis/tasks_v1/service.rb +79 -128
  171. data/generated/google/apis/translate_v3.rb +1 -1
  172. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  173. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  174. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  175. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  176. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  177. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  178. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  179. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  180. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  181. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  182. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  183. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  184. data/generated/google/apis/youtube_v3.rb +5 -5
  185. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  186. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  187. data/generated/google/apis/youtube_v3/service.rb +1833 -2125
  188. data/lib/google/apis/version.rb +1 -1
  189. metadata +19 -7
  190. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  191. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  192. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200216'
29
+ REVISION = '20200510'
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'
@@ -2219,7 +2219,7 @@ module Google
2219
2219
  # A UTF-8 encoded string value.
2220
2220
  # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500
2221
2221
  # bytes.
2222
- # Otherwise, may be set to at least 1,000,000 bytes.
2222
+ # Otherwise, may be set to at most 1,000,000 bytes.
2223
2223
  # Corresponds to the JSON property `stringValue`
2224
2224
  # @return [String]
2225
2225
  attr_accessor :string_value
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta3
28
28
  VERSION = 'V1beta3'
29
- REVISION = '20200216'
29
+ REVISION = '20200510'
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'
@@ -1854,7 +1854,7 @@ module Google
1854
1854
  # A UTF-8 encoded string value.
1855
1855
  # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500
1856
1856
  # bytes.
1857
- # Otherwise, may be set to at least 1,000,000 bytes.
1857
+ # Otherwise, may be set to at most 1,000,000 bytes.
1858
1858
  # Corresponds to the JSON property `stringValue`
1859
1859
  # @return [String]
1860
1860
  attr_accessor :string_value
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/deployment-manager/
27
27
  module DeploymentmanagerAlpha
28
28
  VERSION = 'Alpha'
29
- REVISION = '20181207'
29
+ REVISION = '20200512'
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'
@@ -56,14 +56,14 @@ module Google
56
56
  # AuditLogConfig are exempted.
57
57
  # Example Policy with multiple AuditConfigs:
58
58
  # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
59
- # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
59
+ # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
60
60
  # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
61
- # fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
62
- # ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
63
- # ] `
64
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
65
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
66
- # com from DATA_WRITE logging.
61
+ # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
62
+ # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
63
+ # ] ` ] ` ] `
64
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
65
+ # logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
66
+ # example.com from DATA_WRITE logging.
67
67
  class AuditConfig
68
68
  include Google::Apis::Core::Hashable
69
69
 
@@ -98,9 +98,9 @@ module Google
98
98
 
99
99
  # Provides the configuration for logging a type of permissions. Example:
100
100
  # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
101
- # user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
102
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
103
- # com from DATA_READ logging.
101
+ # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
102
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
103
+ # example.com from DATA_READ logging.
104
104
  class AuditLogConfig
105
105
  include Google::Apis::Core::Hashable
106
106
 
@@ -110,6 +110,12 @@ module Google
110
110
  # @return [Array<String>]
111
111
  attr_accessor :exempted_members
112
112
 
113
+ #
114
+ # Corresponds to the JSON property `ignoreChildExemptions`
115
+ # @return [Boolean]
116
+ attr_accessor :ignore_child_exemptions
117
+ alias_method :ignore_child_exemptions?, :ignore_child_exemptions
118
+
113
119
  # The log type that this config enables.
114
120
  # Corresponds to the JSON property `logType`
115
121
  # @return [String]
@@ -122,6 +128,7 @@ module Google
122
128
  # Update properties of this object
123
129
  def update!(**args)
124
130
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
131
+ @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
125
132
  @log_type = args[:log_type] if args.key?(:log_type)
126
133
  end
127
134
  end
@@ -174,9 +181,26 @@ module Google
174
181
  class Binding
175
182
  include Google::Apis::Core::Hashable
176
183
 
177
- # Represents an expression text. Example:
178
- # title: "User account presence" description: "Determines whether the request
179
- # has a user account" expression: "size(request.user) > 0"
184
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
185
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
186
+ # documented at https://github.com/google/cel-spec.
187
+ # Example (Comparison):
188
+ # title: "Summary size limit" description: "Determines if a summary is less than
189
+ # 100 chars" expression: "document.summary.size() < 100"
190
+ # Example (Equality):
191
+ # title: "Requestor is owner" description: "Determines if requestor is the
192
+ # document owner" expression: "document.owner == request.auth.claims.email"
193
+ # Example (Logic):
194
+ # title: "Public documents" description: "Determine whether the document should
195
+ # be publicly visible" expression: "document.type != 'private' && document.type !
196
+ # = 'internal'"
197
+ # Example (Data Manipulation):
198
+ # title: "Notification string" description: "Create a notification string with a
199
+ # timestamp." expression: "'New message received at ' + string(document.
200
+ # create_time)"
201
+ # The exact variables and functions that may be referenced within an expression
202
+ # are determined by the service that evaluates it. See the service documentation
203
+ # for additional information.
180
204
  # Corresponds to the JSON property `condition`
181
205
  # @return [Google::Apis::DeploymentmanagerAlpha::Expr]
182
206
  attr_accessor :condition
@@ -188,13 +212,29 @@ module Google
188
212
  # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
189
213
  # authenticated with a Google account or a service account.
190
214
  # * `user:`emailid``: An email address that represents a specific Google account.
191
- # For example, `alice@gmail.com` .
215
+ # For example, `alice@example.com` .
192
216
  # * `serviceAccount:`emailid``: An email address that represents a service
193
217
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
194
218
  # * `group:`emailid``: An email address that represents a Google group. For
195
219
  # example, `admins@example.com`.
196
- # * `domain:`domain``: A Google Apps domain name that represents all the users
197
- # of that domain. For example, `google.com` or `example.com`.
220
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
221
+ # identifier) representing a user that has been recently deleted. For example, `
222
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
223
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
224
+ # the binding.
225
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
226
+ # unique identifier) representing a service account that has been recently
227
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
228
+ # 123456789012345678901`. If the service account is undeleted, this value
229
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
230
+ # retains the role in the binding.
231
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
232
+ # identifier) representing a Google group that has been recently deleted. For
233
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
234
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
235
+ # retains the role in the binding.
236
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
237
+ # users of that domain. For example, `google.com` or `example.com`.
198
238
  # Corresponds to the JSON property `members`
199
239
  # @return [Array<String>]
200
240
  attr_accessor :members
@@ -272,24 +312,34 @@ module Google
272
312
 
273
313
  # Map of labels; provided by the client when the resource is created or updated.
274
314
  # Specifically: Label keys must be between 1 and 63 characters long and must
275
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
276
- # values must be between 0 and 63 characters long and must conform to the
277
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
315
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
316
+ # Label values must be between 0 and 63 characters long and must conform to the
317
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
278
318
  # Corresponds to the JSON property `labels`
279
319
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeTypeLabelEntry>]
280
320
  attr_accessor :labels
281
321
 
282
- # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
283
- # [a-z0-9])?.
322
+ # Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]`0,
323
+ # 61`[a-z0-9])?`.
284
324
  # Corresponds to the JSON property `name`
285
325
  # @return [String]
286
326
  attr_accessor :name
287
327
 
288
- # An Operation resource, used to manage asynchronous API requests. (==
289
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
290
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
291
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
292
- # beta.zoneOperations ==)
328
+ # Represents an Operation resource.
329
+ # Google Compute Engine has three Operation resources:
330
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
331
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
332
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
333
+ # You can use an operation resource to manage asynchronous API requests. For
334
+ # more information, read Handling API responses.
335
+ # Operations can be global, regional or zonal.
336
+ # - For global operations, use the `globalOperations` resource.
337
+ # - For regional operations, use the `regionOperations` resource.
338
+ # - For zonal operations, use the `zonalOperations` resource.
339
+ # For more information, read Global, Regional, and Zonal Resources. (==
340
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
341
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
342
+ # zoneOperations ==)
293
343
  # Corresponds to the JSON property `operation`
294
344
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
295
345
  attr_accessor :operation
@@ -403,12 +453,7 @@ module Google
403
453
  # @return [String]
404
454
  attr_accessor :sys
405
455
 
406
- # DEPRECATED. Use 'values' instead.
407
- # Corresponds to the JSON property `value`
408
- # @return [String]
409
- attr_accessor :value
410
-
411
- # The objects of the condition. This is mutually exclusive with 'value'.
456
+ # The objects of the condition.
412
457
  # Corresponds to the JSON property `values`
413
458
  # @return [Array<String>]
414
459
  attr_accessor :values
@@ -423,7 +468,6 @@ module Google
423
468
  @op = args[:op] if args.key?(:op)
424
469
  @svc = args[:svc] if args.key?(:svc)
425
470
  @sys = args[:sys] if args.key?(:sys)
426
- @value = args[:value] if args.key?(:value)
427
471
  @values = args[:values] if args.key?(:values)
428
472
  end
429
473
  end
@@ -533,14 +577,14 @@ module Google
533
577
  # @return [String]
534
578
  attr_accessor :description
535
579
 
536
- # Provides a fingerprint to use in requests to modify a deployment, such as
537
- # update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
538
- # generated value that must be provided with update(), stop(), and cancelPreview(
539
- # ) requests to perform optimistic locking. This ensures optimistic concurrency
540
- # so that only one request happens at a time.
580
+ # Provides a fingerprint to use in requests to modify a deployment, such as `
581
+ # update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
582
+ # randomly generated value that must be provided with `update()`, `stop()`, and `
583
+ # cancelPreview()` requests to perform optimistic locking. This ensures
584
+ # optimistic concurrency so that only one request happens at a time.
541
585
  # The fingerprint is initially generated by Deployment Manager and changes after
542
- # every request to modify data. To get the latest fingerprint value, perform a
543
- # get() request to a deployment.
586
+ # every request to modify data. To get the latest fingerprint value, perform a `
587
+ # get()` request to a deployment.
544
588
  # Corresponds to the JSON property `fingerprint`
545
589
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
546
590
  # @return [String]
@@ -558,41 +602,52 @@ module Google
558
602
 
559
603
  # Map of labels; provided by the client when the resource is created or updated.
560
604
  # Specifically: Label keys must be between 1 and 63 characters long and must
561
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
562
- # values must be between 0 and 63 characters long and must conform to the
563
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
605
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
606
+ # Label values must be between 0 and 63 characters long and must conform to the
607
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
564
608
  # Corresponds to the JSON property `labels`
565
609
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry>]
566
610
  attr_accessor :labels
567
611
 
568
612
  # Output only. URL of the manifest representing the last manifest that was
569
- # successfully deployed.
613
+ # successfully deployed. If no manifest has been successfully deployed, this
614
+ # field will be absent.
570
615
  # Corresponds to the JSON property `manifest`
571
616
  # @return [String]
572
617
  attr_accessor :manifest
573
618
 
574
619
  # Name of the resource; provided by the client when the resource is created. The
575
620
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
576
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
577
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
621
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
622
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
578
623
  # and all following characters must be a dash, lowercase letter, or digit,
579
624
  # except the last character, which cannot be a dash.
580
625
  # Corresponds to the JSON property `name`
581
626
  # @return [String]
582
627
  attr_accessor :name
583
628
 
584
- # An Operation resource, used to manage asynchronous API requests. (==
585
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
586
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
587
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
588
- # beta.zoneOperations ==)
629
+ # Represents an Operation resource.
630
+ # Google Compute Engine has three Operation resources:
631
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
632
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
633
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
634
+ # You can use an operation resource to manage asynchronous API requests. For
635
+ # more information, read Handling API responses.
636
+ # Operations can be global, regional or zonal.
637
+ # - For global operations, use the `globalOperations` resource.
638
+ # - For regional operations, use the `regionOperations` resource.
639
+ # - For zonal operations, use the `zonalOperations` resource.
640
+ # For more information, read Global, Regional, and Zonal Resources. (==
641
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
642
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
643
+ # zoneOperations ==)
589
644
  # Corresponds to the JSON property `operation`
590
645
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
591
646
  attr_accessor :operation
592
647
 
593
- # Output only. Map of outputs from the last manifest that deployed successfully.
648
+ # Output only. List of outputs from the last manifest that deployed successfully.
594
649
  # Corresponds to the JSON property `outputs`
595
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry>]
650
+ # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry>]
596
651
  attr_accessor :outputs
597
652
 
598
653
  # Output only. Server defined URL for the resource.
@@ -663,16 +718,16 @@ module Google
663
718
  end
664
719
  end
665
720
 
666
- #
667
- class DeploymentOutputsEntry
721
+ # Output object for Deployments
722
+ class DeploymentOutputEntry
668
723
  include Google::Apis::Core::Hashable
669
724
 
670
- #
725
+ # Key of the output
671
726
  # Corresponds to the JSON property `key`
672
727
  # @return [String]
673
728
  attr_accessor :key
674
729
 
675
- #
730
+ # Value of the label
676
731
  # Corresponds to the JSON property `value`
677
732
  # @return [String]
678
733
  attr_accessor :value
@@ -706,9 +761,9 @@ module Google
706
761
 
707
762
  # Output only. Map of labels; provided by the client when the resource is
708
763
  # created or updated. Specifically: Label keys must be between 1 and 63
709
- # characters long and must conform to the following regular expression: [a-z]([-
710
- # a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
711
- # must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
764
+ # characters long and must conform to the following regular expression: `[a-z]([-
765
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
766
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
712
767
  # Corresponds to the JSON property `labels`
713
768
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentUpdateLabelEntry>]
714
769
  attr_accessor :labels
@@ -761,15 +816,15 @@ module Google
761
816
  class DeploymentsCancelPreviewRequest
762
817
  include Google::Apis::Core::Hashable
763
818
 
764
- # Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
765
- # randomly generated value that must be provided in cancelPreview() requests to
766
- # perform optimistic locking. This ensures optimistic concurrency so that the
819
+ # Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a
820
+ # randomly generated value that must be provided in `cancelPreview()` requests
821
+ # to perform optimistic locking. This ensures optimistic concurrency so that the
767
822
  # deployment does not have conflicting requests (e.g. if someone attempts to
768
823
  # make a new update request while another user attempts to cancel a preview,
769
824
  # this would prevent one of the requests).
770
825
  # The fingerprint is initially generated by Deployment Manager and changes after
771
826
  # every request to modify a deployment. To get the latest fingerprint value,
772
- # perform a get() request on the deployment.
827
+ # perform a `get()` request on the deployment.
773
828
  # Corresponds to the JSON property `fingerprint`
774
829
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
775
830
  # @return [String]
@@ -815,15 +870,15 @@ module Google
815
870
  class DeploymentsStopRequest
816
871
  include Google::Apis::Core::Hashable
817
872
 
818
- # Specifies a fingerprint for stop() requests. A fingerprint is a randomly
819
- # generated value that must be provided in stop() requests to perform optimistic
820
- # locking. This ensures optimistic concurrency so that the deployment does not
821
- # have conflicting requests (e.g. if someone attempts to make a new update
822
- # request while another user attempts to stop an ongoing update request, this
823
- # would prevent a collision).
873
+ # Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly
874
+ # generated value that must be provided in `stop()` requests to perform
875
+ # optimistic locking. This ensures optimistic concurrency so that the deployment
876
+ # does not have conflicting requests (e.g. if someone attempts to make a new
877
+ # update request while another user attempts to stop an ongoing update request,
878
+ # this would prevent a collision).
824
879
  # The fingerprint is initially generated by Deployment Manager and changes after
825
880
  # every request to modify a deployment. To get the latest fingerprint value,
826
- # perform a get() request on the deployment.
881
+ # perform a `get()` request on the deployment.
827
882
  # Corresponds to the JSON property `fingerprint`
828
883
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
829
884
  # @return [String]
@@ -865,33 +920,48 @@ module Google
865
920
  end
866
921
  end
867
922
 
868
- # Represents an expression text. Example:
869
- # title: "User account presence" description: "Determines whether the request
870
- # has a user account" expression: "size(request.user) > 0"
923
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
924
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
925
+ # documented at https://github.com/google/cel-spec.
926
+ # Example (Comparison):
927
+ # title: "Summary size limit" description: "Determines if a summary is less than
928
+ # 100 chars" expression: "document.summary.size() < 100"
929
+ # Example (Equality):
930
+ # title: "Requestor is owner" description: "Determines if requestor is the
931
+ # document owner" expression: "document.owner == request.auth.claims.email"
932
+ # Example (Logic):
933
+ # title: "Public documents" description: "Determine whether the document should
934
+ # be publicly visible" expression: "document.type != 'private' && document.type !
935
+ # = 'internal'"
936
+ # Example (Data Manipulation):
937
+ # title: "Notification string" description: "Create a notification string with a
938
+ # timestamp." expression: "'New message received at ' + string(document.
939
+ # create_time)"
940
+ # The exact variables and functions that may be referenced within an expression
941
+ # are determined by the service that evaluates it. See the service documentation
942
+ # for additional information.
871
943
  class Expr
872
944
  include Google::Apis::Core::Hashable
873
945
 
874
- # An optional description of the expression. This is a longer text which
875
- # describes the expression, e.g. when hovered over it in a UI.
946
+ # Optional. Description of the expression. This is a longer text which describes
947
+ # the expression, e.g. when hovered over it in a UI.
876
948
  # Corresponds to the JSON property `description`
877
949
  # @return [String]
878
950
  attr_accessor :description
879
951
 
880
952
  # Textual representation of an expression in Common Expression Language syntax.
881
- # The application context of the containing message determines which well-known
882
- # feature set of CEL is supported.
883
953
  # Corresponds to the JSON property `expression`
884
954
  # @return [String]
885
955
  attr_accessor :expression
886
956
 
887
- # An optional string indicating the location of the expression for error
888
- # reporting, e.g. a file name and a position in the file.
957
+ # Optional. String indicating the location of the expression for error reporting,
958
+ # e.g. a file name and a position in the file.
889
959
  # Corresponds to the JSON property `location`
890
960
  # @return [String]
891
961
  attr_accessor :location
892
962
 
893
- # An optional title for the expression, i.e. a short string describing its
894
- # purpose. This can be used e.g. in UIs which allow to enter the expression.
963
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
964
+ # This can be used e.g. in UIs which allow to enter the expression.
895
965
  # Corresponds to the JSON property `title`
896
966
  # @return [String]
897
967
  attr_accessor :title
@@ -926,23 +996,36 @@ module Google
926
996
  # @return [String]
927
997
  attr_accessor :etag
928
998
 
929
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
930
- # access control policies for Cloud Platform resources.
931
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
932
- # members` to a `role`, where the members can be user accounts, Google groups,
933
- # Google domains, and service accounts. A `role` is a named list of permissions
934
- # defined by IAM.
935
- # **JSON Example**
936
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
937
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
938
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
939
- # sean@example.com"] ` ] `
940
- # **YAML Example**
999
+ # An Identity and Access Management (IAM) policy, which specifies access
1000
+ # controls for Google Cloud resources.
1001
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1002
+ # members` to a single `role`. Members can be user accounts, service accounts,
1003
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1004
+ # permissions; each `role` can be an IAM predefined role or a user-created
1005
+ # custom role.
1006
+ # For some types of Google Cloud resources, a `binding` can also specify a `
1007
+ # condition`, which is a logical expression that allows access to a resource
1008
+ # only if the expression evaluates to `true`. A condition can add constraints
1009
+ # based on attributes of the request, the resource, or both. To learn which
1010
+ # resources support conditions in their IAM policies, see the [IAM documentation]
1011
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
1012
+ # **JSON example:**
1013
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1014
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1015
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1016
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1017
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1018
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1019
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1020
+ # **YAML example:**
941
1021
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
942
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
943
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
944
- # For a description of IAM and its features, see the [IAM developer's guide](
945
- # https://cloud.google.com/iam/docs).
1022
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1023
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1024
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1025
+ # access description: Does not grant access after Sep 2020 expression: request.
1026
+ # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1027
+ # For a description of IAM and its features, see the [IAM documentation](https://
1028
+ # cloud.google.com/iam/docs/).
946
1029
  # Corresponds to the JSON property `policy`
947
1030
  # @return [Google::Apis::DeploymentmanagerAlpha::Policy]
948
1031
  attr_accessor :policy
@@ -1043,10 +1126,8 @@ module Google
1043
1126
  # a representation of IAMContext.principal even if a token or authority selector
1044
1127
  # is present; or - "" (empty string), resulting in a counter with no fields.
1045
1128
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
1046
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
1047
- # of IAMContext.principal]`
1048
- # At this time we do not support multiple field names (though this may be
1049
- # supported in the future).
1129
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1130
+ # IAMContext.principal]`
1050
1131
  # Corresponds to the JSON property `counter`
1051
1132
  # @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions]
1052
1133
  attr_accessor :counter
@@ -1105,13 +1186,16 @@ module Google
1105
1186
  # a representation of IAMContext.principal even if a token or authority selector
1106
1187
  # is present; or - "" (empty string), resulting in a counter with no fields.
1107
1188
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
1108
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
1109
- # of IAMContext.principal]`
1110
- # At this time we do not support multiple field names (though this may be
1111
- # supported in the future).
1189
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1190
+ # IAMContext.principal]`
1112
1191
  class LogConfigCounterOptions
1113
1192
  include Google::Apis::Core::Hashable
1114
1193
 
1194
+ # Custom fields.
1195
+ # Corresponds to the JSON property `customFields`
1196
+ # @return [Array<Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField>]
1197
+ attr_accessor :custom_fields
1198
+
1115
1199
  # The field value to attribute.
1116
1200
  # Corresponds to the JSON property `field`
1117
1201
  # @return [String]
@@ -1128,21 +1212,45 @@ module Google
1128
1212
 
1129
1213
  # Update properties of this object
1130
1214
  def update!(**args)
1215
+ @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
1131
1216
  @field = args[:field] if args.key?(:field)
1132
1217
  @metric = args[:metric] if args.key?(:metric)
1133
1218
  end
1134
1219
  end
1135
1220
 
1221
+ # Custom fields. These can be used to create a counter with arbitrary field/
1222
+ # value pairs. See: go/rpcsp-custom-fields.
1223
+ class LogConfigCounterOptionsCustomField
1224
+ include Google::Apis::Core::Hashable
1225
+
1226
+ # Name is the field name.
1227
+ # Corresponds to the JSON property `name`
1228
+ # @return [String]
1229
+ attr_accessor :name
1230
+
1231
+ # Value is the field value. It is important that in contrast to the
1232
+ # CounterOptions.field, the value here is a constant that is not derived from
1233
+ # the IAMContext.
1234
+ # Corresponds to the JSON property `value`
1235
+ # @return [String]
1236
+ attr_accessor :value
1237
+
1238
+ def initialize(**args)
1239
+ update!(**args)
1240
+ end
1241
+
1242
+ # Update properties of this object
1243
+ def update!(**args)
1244
+ @name = args[:name] if args.key?(:name)
1245
+ @value = args[:value] if args.key?(:value)
1246
+ end
1247
+ end
1248
+
1136
1249
  # Write a Data Access (Gin) log
1137
1250
  class LogConfigDataAccessOptions
1138
1251
  include Google::Apis::Core::Hashable
1139
1252
 
1140
- # Whether Gin logging should happen in a fail-closed manner at the caller. This
1141
- # is relevant only in the LocalIAM implementation, for now.
1142
- # NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
1143
- # work is being done to satisfy the requirements of go/345. Currently, setting
1144
- # LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
1145
- # active work being done to support it (b/115874152).
1253
+ #
1146
1254
  # Corresponds to the JSON property `logMode`
1147
1255
  # @return [String]
1148
1256
  attr_accessor :log_mode
@@ -1291,11 +1399,21 @@ module Google
1291
1399
  end
1292
1400
  end
1293
1401
 
1294
- # An Operation resource, used to manage asynchronous API requests. (==
1295
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
1296
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
1297
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
1298
- # beta.zoneOperations ==)
1402
+ # Represents an Operation resource.
1403
+ # Google Compute Engine has three Operation resources:
1404
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
1405
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
1406
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
1407
+ # You can use an operation resource to manage asynchronous API requests. For
1408
+ # more information, read Handling API responses.
1409
+ # Operations can be global, regional or zonal.
1410
+ # - For global operations, use the `globalOperations` resource.
1411
+ # - For regional operations, use the `regionOperations` resource.
1412
+ # - For zonal operations, use the `zonalOperations` resource.
1413
+ # For more information, read Global, Regional, and Zonal Resources. (==
1414
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
1415
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
1416
+ # zoneOperations ==)
1299
1417
  class Operation
1300
1418
  include Google::Apis::Core::Hashable
1301
1419
 
@@ -1329,19 +1447,19 @@ module Google
1329
1447
  attr_accessor :error
1330
1448
 
1331
1449
  # [Output Only] If the operation fails, this field contains the HTTP error
1332
- # message that was returned, such as NOT FOUND.
1450
+ # message that was returned, such as `NOT FOUND`.
1333
1451
  # Corresponds to the JSON property `httpErrorMessage`
1334
1452
  # @return [String]
1335
1453
  attr_accessor :http_error_message
1336
1454
 
1337
1455
  # [Output Only] If the operation fails, this field contains the HTTP error
1338
- # status code that was returned. For example, a 404 means the resource was not
1456
+ # status code that was returned. For example, a `404` means the resource was not
1339
1457
  # found.
1340
1458
  # Corresponds to the JSON property `httpErrorStatusCode`
1341
1459
  # @return [Fixnum]
1342
1460
  attr_accessor :http_error_status_code
1343
1461
 
1344
- # [Output Only] The unique identifier for the resource. This identifier is
1462
+ # [Output Only] The unique identifier for the operation. This identifier is
1345
1463
  # defined by the server.
1346
1464
  # Corresponds to the JSON property `id`
1347
1465
  # @return [Fixnum]
@@ -1353,19 +1471,19 @@ module Google
1353
1471
  # @return [String]
1354
1472
  attr_accessor :insert_time
1355
1473
 
1356
- # [Output Only] Type of the resource. Always compute#operation for Operation
1474
+ # [Output Only] Type of the resource. Always `compute#operation` for Operation
1357
1475
  # resources.
1358
1476
  # Corresponds to the JSON property `kind`
1359
1477
  # @return [String]
1360
1478
  attr_accessor :kind
1361
1479
 
1362
- # [Output Only] Name of the resource.
1480
+ # [Output Only] Name of the operation.
1363
1481
  # Corresponds to the JSON property `name`
1364
1482
  # @return [String]
1365
1483
  attr_accessor :name
1366
1484
 
1367
- # [Output Only] The type of operation, such as insert, update, or delete, and so
1368
- # on.
1485
+ # [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
1486
+ # and so on.
1369
1487
  # Corresponds to the JSON property `operationType`
1370
1488
  # @return [String]
1371
1489
  attr_accessor :operation_type
@@ -1379,9 +1497,7 @@ module Google
1379
1497
  attr_accessor :progress
1380
1498
 
1381
1499
  # [Output Only] The URL of the region where the operation resides. Only
1382
- # available when performing regional operations. You must specify this field as
1383
- # part of the HTTP request URL. It is not settable as a field in the request
1384
- # body.
1500
+ # applicable when performing regional operations.
1385
1501
  # Corresponds to the JSON property `region`
1386
1502
  # @return [String]
1387
1503
  attr_accessor :region
@@ -1391,14 +1507,19 @@ module Google
1391
1507
  # @return [String]
1392
1508
  attr_accessor :self_link
1393
1509
 
1510
+ # [Output Only] Server-defined URL for this resource with the resource id.
1511
+ # Corresponds to the JSON property `selfLinkWithId`
1512
+ # @return [String]
1513
+ attr_accessor :self_link_with_id
1514
+
1394
1515
  # [Output Only] The time that this operation was started by the server. This
1395
1516
  # value is in RFC3339 text format.
1396
1517
  # Corresponds to the JSON property `startTime`
1397
1518
  # @return [String]
1398
1519
  attr_accessor :start_time
1399
1520
 
1400
- # [Output Only] The status of the operation, which can be one of the following:
1401
- # PENDING, RUNNING, or DONE.
1521
+ # [Output Only] The status of the operation, which can be one of the following: `
1522
+ # PENDING`, `RUNNING`, or `DONE`.
1402
1523
  # Corresponds to the JSON property `status`
1403
1524
  # @return [String]
1404
1525
  attr_accessor :status
@@ -1422,7 +1543,8 @@ module Google
1422
1543
  # @return [String]
1423
1544
  attr_accessor :target_link
1424
1545
 
1425
- # [Output Only] User who requested the operation, for example: user@example.com.
1546
+ # [Output Only] User who requested the operation, for example: `user@example.com`
1547
+ # .
1426
1548
  # Corresponds to the JSON property `user`
1427
1549
  # @return [String]
1428
1550
  attr_accessor :user
@@ -1433,9 +1555,8 @@ module Google
1433
1555
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Warning>]
1434
1556
  attr_accessor :warnings
1435
1557
 
1436
- # [Output Only] The URL of the zone where the operation resides. Only available
1437
- # when performing per-zone operations. You must specify this field as part of
1438
- # the HTTP request URL. It is not settable as a field in the request body.
1558
+ # [Output Only] The URL of the zone where the operation resides. Only applicable
1559
+ # when performing per-zone operations.
1439
1560
  # Corresponds to the JSON property `zone`
1440
1561
  # @return [String]
1441
1562
  attr_accessor :zone
@@ -1461,6 +1582,7 @@ module Google
1461
1582
  @progress = args[:progress] if args.key?(:progress)
1462
1583
  @region = args[:region] if args.key?(:region)
1463
1584
  @self_link = args[:self_link] if args.key?(:self_link)
1585
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
1464
1586
  @start_time = args[:start_time] if args.key?(:start_time)
1465
1587
  @status = args[:status] if args.key?(:status)
1466
1588
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -1653,23 +1775,36 @@ module Google
1653
1775
  end
1654
1776
  end
1655
1777
 
1656
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
1657
- # access control policies for Cloud Platform resources.
1658
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
1659
- # members` to a `role`, where the members can be user accounts, Google groups,
1660
- # Google domains, and service accounts. A `role` is a named list of permissions
1661
- # defined by IAM.
1662
- # **JSON Example**
1663
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
1664
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
1665
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
1666
- # sean@example.com"] ` ] `
1667
- # **YAML Example**
1778
+ # An Identity and Access Management (IAM) policy, which specifies access
1779
+ # controls for Google Cloud resources.
1780
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1781
+ # members` to a single `role`. Members can be user accounts, service accounts,
1782
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1783
+ # permissions; each `role` can be an IAM predefined role or a user-created
1784
+ # custom role.
1785
+ # For some types of Google Cloud resources, a `binding` can also specify a `
1786
+ # condition`, which is a logical expression that allows access to a resource
1787
+ # only if the expression evaluates to `true`. A condition can add constraints
1788
+ # based on attributes of the request, the resource, or both. To learn which
1789
+ # resources support conditions in their IAM policies, see the [IAM documentation]
1790
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
1791
+ # **JSON example:**
1792
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1793
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1794
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1795
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1796
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1797
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1798
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1799
+ # **YAML example:**
1668
1800
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
1669
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
1670
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
1671
- # For a description of IAM and its features, see the [IAM developer's guide](
1672
- # https://cloud.google.com/iam/docs).
1801
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1802
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1803
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1804
+ # access description: Does not grant access after Sep 2020 expression: request.
1805
+ # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1806
+ # For a description of IAM and its features, see the [IAM documentation](https://
1807
+ # cloud.google.com/iam/docs/).
1673
1808
  class Policy
1674
1809
  include Google::Apis::Core::Hashable
1675
1810
 
@@ -1678,8 +1813,9 @@ module Google
1678
1813
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::AuditConfig>]
1679
1814
  attr_accessor :audit_configs
1680
1815
 
1681
- # Associates a list of `members` to a `role`. `bindings` with no members will
1682
- # result in an error.
1816
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1817
+ # condition` that determines how and when the `bindings` are applied. Each of
1818
+ # the `bindings` must contain at least one member.
1683
1819
  # Corresponds to the JSON property `bindings`
1684
1820
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Binding>]
1685
1821
  attr_accessor :bindings
@@ -1691,8 +1827,10 @@ module Google
1691
1827
  # returned in the response to `getIamPolicy`, and systems are expected to put
1692
1828
  # that etag in the request to `setIamPolicy` to ensure that their change will be
1693
1829
  # applied to the same version of the policy.
1694
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1695
- # policy is overwritten blindly.
1830
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1831
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1832
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1833
+ # conditions in the version `3` policy are lost.
1696
1834
  # Corresponds to the JSON property `etag`
1697
1835
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1698
1836
  # @return [String]
@@ -1715,7 +1853,24 @@ module Google
1715
1853
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
1716
1854
  attr_accessor :rules
1717
1855
 
1718
- # Deprecated.
1856
+ # Specifies the format of the policy.
1857
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
1858
+ # rejected.
1859
+ # Any operation that affects conditional role bindings must specify version `3`.
1860
+ # This requirement applies to the following operations:
1861
+ # * Getting a policy that includes a conditional role binding * Adding a
1862
+ # conditional role binding to a policy * Changing a conditional role binding in
1863
+ # a policy * Removing any role binding, with or without a condition, from a
1864
+ # policy that includes conditions
1865
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1866
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1867
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1868
+ # conditions in the version `3` policy are lost.
1869
+ # If a policy does not include any conditions, operations on that policy may
1870
+ # specify any valid version or leave the field unset.
1871
+ # To learn which resources support conditions in their IAM policies, see the [
1872
+ # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1873
+ # policies).
1719
1874
  # Corresponds to the JSON property `version`
1720
1875
  # @return [Fixnum]
1721
1876
  attr_accessor :version
@@ -1834,8 +1989,8 @@ module Google
1834
1989
  # @return [Array<String>]
1835
1990
  attr_accessor :runtime_policies
1836
1991
 
1837
- # Output only. The type of the resource, for example compute.v1.instance, or
1838
- # cloudfunctions.v1beta1.function.
1992
+ # Output only. The type of the resource, for example `compute.v1.instance`, or `
1993
+ # cloudfunctions.v1beta1.function`.
1839
1994
  # Corresponds to the JSON property `type`
1840
1995
  # @return [String]
1841
1996
  attr_accessor :type
@@ -1994,7 +2149,7 @@ module Google
1994
2149
  # @return [String]
1995
2150
  attr_accessor :final_properties
1996
2151
 
1997
- # Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
2152
+ # Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
1998
2153
  # Corresponds to the JSON property `intent`
1999
2154
  # @return [String]
2000
2155
  attr_accessor :intent
@@ -2406,9 +2561,9 @@ module Google
2406
2561
 
2407
2562
  # Map of labels; provided by the client when the resource is created or updated.
2408
2563
  # Specifically: Label keys must be between 1 and 63 characters long and must
2409
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2410
- # values must be between 0 and 63 characters long and must conform to the
2411
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2564
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2565
+ # Label values must be between 0 and 63 characters long and must conform to the
2566
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2412
2567
  # Corresponds to the JSON property `labels`
2413
2568
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeLabelEntry>]
2414
2569
  attr_accessor :labels
@@ -2418,11 +2573,21 @@ module Google
2418
2573
  # @return [String]
2419
2574
  attr_accessor :name
2420
2575
 
2421
- # An Operation resource, used to manage asynchronous API requests. (==
2422
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
2423
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
2424
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
2425
- # beta.zoneOperations ==)
2576
+ # Represents an Operation resource.
2577
+ # Google Compute Engine has three Operation resources:
2578
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2579
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2580
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2581
+ # You can use an operation resource to manage asynchronous API requests. For
2582
+ # more information, read Handling API responses.
2583
+ # Operations can be global, regional or zonal.
2584
+ # - For global operations, use the `globalOperations` resource.
2585
+ # - For regional operations, use the `regionOperations` resource.
2586
+ # - For zonal operations, use the `zonalOperations` resource.
2587
+ # For more information, read Global, Regional, and Zonal Resources. (==
2588
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2589
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
2590
+ # zoneOperations ==)
2426
2591
  # Corresponds to the JSON property `operation`
2427
2592
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
2428
2593
  attr_accessor :operation
@@ -2465,7 +2630,7 @@ module Google
2465
2630
  # @return [String]
2466
2631
  attr_accessor :documentation_link
2467
2632
 
2468
- # Output only. Type of the output. Always deploymentManager#TypeInfo for
2633
+ # Output only. Type of the output. Always `deploymentManager#TypeInfo` for
2469
2634
  # TypeInfo.
2470
2635
  # Corresponds to the JSON property `kind`
2471
2636
  # @return [String]
@@ -2575,6 +2740,16 @@ module Google
2575
2740
  # @return [Google::Apis::DeploymentmanagerAlpha::Credential]
2576
2741
  attr_accessor :credential
2577
2742
 
2743
+ # List of up to 2 custom certificate authority roots to use for TLS
2744
+ # authentication when making calls on behalf of this type provider. If set, TLS
2745
+ # authentication will exclusively use these roots instead of relying on publicly
2746
+ # trusted certificate authorities when validating TLS certificate authenticity.
2747
+ # The certificates must be in base64-encoded PEM format. The maximum size of
2748
+ # each certificate must not exceed 10KB.
2749
+ # Corresponds to the JSON property `customCertificateAuthorityRoots`
2750
+ # @return [Array<String>]
2751
+ attr_accessor :custom_certificate_authority_roots
2752
+
2578
2753
  # An optional textual description of the resource; provided by the client when
2579
2754
  # the resource is created.
2580
2755
  # Corresponds to the JSON property `description`
@@ -2598,28 +2773,38 @@ module Google
2598
2773
 
2599
2774
  # Map of labels; provided by the client when the resource is created or updated.
2600
2775
  # Specifically: Label keys must be between 1 and 63 characters long and must
2601
- # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2602
- # values must be between 0 and 63 characters long and must conform to the
2603
- # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2776
+ # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2777
+ # Label values must be between 0 and 63 characters long and must conform to the
2778
+ # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2604
2779
  # Corresponds to the JSON property `labels`
2605
2780
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>]
2606
2781
  attr_accessor :labels
2607
2782
 
2608
2783
  # Name of the resource; provided by the client when the resource is created. The
2609
2784
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
2610
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
2611
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
2785
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
2786
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
2612
2787
  # and all following characters must be a dash, lowercase letter, or digit,
2613
2788
  # except the last character, which cannot be a dash.
2614
2789
  # Corresponds to the JSON property `name`
2615
2790
  # @return [String]
2616
2791
  attr_accessor :name
2617
2792
 
2618
- # An Operation resource, used to manage asynchronous API requests. (==
2619
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
2620
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
2621
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
2622
- # beta.zoneOperations ==)
2793
+ # Represents an Operation resource.
2794
+ # Google Compute Engine has three Operation resources:
2795
+ # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2796
+ # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2797
+ # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2798
+ # You can use an operation resource to manage asynchronous API requests. For
2799
+ # more information, read Handling API responses.
2800
+ # Operations can be global, regional or zonal.
2801
+ # - For global operations, use the `globalOperations` resource.
2802
+ # - For regional operations, use the `regionOperations` resource.
2803
+ # - For zonal operations, use the `zonalOperations` resource.
2804
+ # For more information, read Global, Regional, and Zonal Resources. (==
2805
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2806
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
2807
+ # zoneOperations ==)
2623
2808
  # Corresponds to the JSON property `operation`
2624
2809
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
2625
2810
  attr_accessor :operation
@@ -2642,6 +2827,7 @@ module Google
2642
2827
  def update!(**args)
2643
2828
  @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
2644
2829
  @credential = args[:credential] if args.key?(:credential)
2830
+ @custom_certificate_authority_roots = args[:custom_certificate_authority_roots] if args.key?(:custom_certificate_authority_roots)
2645
2831
  @description = args[:description] if args.key?(:description)
2646
2832
  @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
2647
2833
  @id = args[:id] if args.key?(:id)