google-api-client 0.30.5 → 0.30.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +261 -145
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +261 -145
- data/generated/google/apis/compute_beta/service.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +242 -125
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +0 -6
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1/service.rb +0 -216
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2/service.rb +47 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +29 -0
- data/generated/google/apis/fcm_v1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +12 -12
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
- data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +11 -11
- data/generated/google/apis/ml_v1/service.rb +14 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +21 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
- data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
- data/generated/google/apis/run_v1alpha1/service.rb +7 -1
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +98 -0
- data/generated/google/apis/run_v1beta1/representations.rb +58 -0
- data/generated/google/apis/run_v1beta1/service.rb +99 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
- data/generated/google/apis/servicebroker_v1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
- data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -104
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1/representations.rb +1711 -843
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/cloud-messaging
|
27
27
|
module FcmV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190711'
|
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'
|
@@ -170,6 +170,13 @@ module Google
|
|
170
170
|
# @return [String]
|
171
171
|
attr_accessor :icon
|
172
172
|
|
173
|
+
# Contains the URL of an image that is going to be displayed in a
|
174
|
+
# notification. If present, it will override
|
175
|
+
# google.firebase.fcm.v1.Notification.image.
|
176
|
+
# Corresponds to the JSON property `image`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :image
|
179
|
+
|
173
180
|
# The sound to play when the device receives the notification.
|
174
181
|
# Supports "default" or the filename of a sound resource bundled in the app.
|
175
182
|
# Sound files must reside in /res/raw/.
|
@@ -220,6 +227,7 @@ module Google
|
|
220
227
|
@click_action = args[:click_action] if args.key?(:click_action)
|
221
228
|
@color = args[:color] if args.key?(:color)
|
222
229
|
@icon = args[:icon] if args.key?(:icon)
|
230
|
+
@image = args[:image] if args.key?(:image)
|
223
231
|
@sound = args[:sound] if args.key?(:sound)
|
224
232
|
@tag = args[:tag] if args.key?(:tag)
|
225
233
|
@title = args[:title] if args.key?(:title)
|
@@ -273,6 +281,13 @@ module Google
|
|
273
281
|
# @return [String]
|
274
282
|
attr_accessor :analytics_label
|
275
283
|
|
284
|
+
# Contains the URL of an image that is going to be displayed in a
|
285
|
+
# notification. If present, it will override
|
286
|
+
# google.firebase.fcm.v1.Notification.image.
|
287
|
+
# Corresponds to the JSON property `image`
|
288
|
+
# @return [String]
|
289
|
+
attr_accessor :image
|
290
|
+
|
276
291
|
def initialize(**args)
|
277
292
|
update!(**args)
|
278
293
|
end
|
@@ -280,6 +295,7 @@ module Google
|
|
280
295
|
# Update properties of this object
|
281
296
|
def update!(**args)
|
282
297
|
@analytics_label = args[:analytics_label] if args.key?(:analytics_label)
|
298
|
+
@image = args[:image] if args.key?(:image)
|
283
299
|
end
|
284
300
|
end
|
285
301
|
|
@@ -388,6 +404,18 @@ module Google
|
|
388
404
|
# @return [String]
|
389
405
|
attr_accessor :body
|
390
406
|
|
407
|
+
# Contains the URL of an image that is going to be downloaded on the device
|
408
|
+
# and displayed in a notification.
|
409
|
+
# JPEG, PNG, BMP have full support across platforms. Animated GIF and video
|
410
|
+
# only work on iOS. WebP and HEIF have varying levels of support across
|
411
|
+
# platforms and platform versions.
|
412
|
+
# Android has 1MB image size limit.
|
413
|
+
# Quota usage and implications/costs for hosting image on Firebase Storage:
|
414
|
+
# https://firebase.google.com/pricing
|
415
|
+
# Corresponds to the JSON property `image`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :image
|
418
|
+
|
391
419
|
# The notification's title.
|
392
420
|
# Corresponds to the JSON property `title`
|
393
421
|
# @return [String]
|
@@ -400,6 +428,7 @@ module Google
|
|
400
428
|
# Update properties of this object
|
401
429
|
def update!(**args)
|
402
430
|
@body = args[:body] if args.key?(:body)
|
431
|
+
@image = args[:image] if args.key?(:image)
|
403
432
|
@title = args[:title] if args.key?(:title)
|
404
433
|
end
|
405
434
|
end
|
@@ -120,6 +120,7 @@ module Google
|
|
120
120
|
property :click_action, as: 'clickAction'
|
121
121
|
property :color, as: 'color'
|
122
122
|
property :icon, as: 'icon'
|
123
|
+
property :image, as: 'image'
|
123
124
|
property :sound, as: 'sound'
|
124
125
|
property :tag, as: 'tag'
|
125
126
|
property :title, as: 'title'
|
@@ -142,6 +143,7 @@ module Google
|
|
142
143
|
# @private
|
143
144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
144
145
|
property :analytics_label, as: 'analyticsLabel'
|
146
|
+
property :image, as: 'image'
|
145
147
|
end
|
146
148
|
end
|
147
149
|
|
@@ -177,6 +179,7 @@ module Google
|
|
177
179
|
# @private
|
178
180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
179
181
|
property :body, as: 'body'
|
182
|
+
property :image, as: 'image'
|
180
183
|
property :title, as: 'title'
|
181
184
|
end
|
182
185
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190708'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -139,7 +139,7 @@ module Google
|
|
139
139
|
# `
|
140
140
|
# "log_type": "DATA_READ",
|
141
141
|
# "exempted_members": [
|
142
|
-
# "user:
|
142
|
+
# "user:jose@example.com"
|
143
143
|
# ]
|
144
144
|
# `,
|
145
145
|
# `
|
@@ -151,7 +151,7 @@ module Google
|
|
151
151
|
# ]
|
152
152
|
# `,
|
153
153
|
# `
|
154
|
-
# "service": "
|
154
|
+
# "service": "sampleservice.googleapis.com"
|
155
155
|
# "audit_log_configs": [
|
156
156
|
# `
|
157
157
|
# "log_type": "DATA_READ",
|
@@ -159,16 +159,16 @@ module Google
|
|
159
159
|
# `
|
160
160
|
# "log_type": "DATA_WRITE",
|
161
161
|
# "exempted_members": [
|
162
|
-
# "user:
|
162
|
+
# "user:aliya@example.com"
|
163
163
|
# ]
|
164
164
|
# `
|
165
165
|
# ]
|
166
166
|
# `
|
167
167
|
# ]
|
168
168
|
# `
|
169
|
-
# For
|
170
|
-
# logging. It also exempts
|
171
|
-
#
|
169
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
170
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
171
|
+
# aliya@example.com from DATA_WRITE logging.
|
172
172
|
class AuditConfig
|
173
173
|
include Google::Apis::Core::Hashable
|
174
174
|
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# `
|
203
203
|
# "log_type": "DATA_READ",
|
204
204
|
# "exempted_members": [
|
205
|
-
# "user:
|
205
|
+
# "user:jose@example.com"
|
206
206
|
# ]
|
207
207
|
# `,
|
208
208
|
# `
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
# ]
|
212
212
|
# `
|
213
213
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
214
|
-
#
|
214
|
+
# jose@example.com from DATA_READ logging.
|
215
215
|
class AuditLogConfig
|
216
216
|
include Google::Apis::Core::Hashable
|
217
217
|
|
@@ -222,6 +222,14 @@ module Google
|
|
222
222
|
# @return [Array<String>]
|
223
223
|
attr_accessor :exempted_members
|
224
224
|
|
225
|
+
# Specifies whether principals can be exempted for the same LogType in
|
226
|
+
# lower-level resource policies. If true, any lower-level exemptions will
|
227
|
+
# be ignored.
|
228
|
+
# Corresponds to the JSON property `ignoreChildExemptions`
|
229
|
+
# @return [Boolean]
|
230
|
+
attr_accessor :ignore_child_exemptions
|
231
|
+
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
232
|
+
|
225
233
|
# The log type that this config enables.
|
226
234
|
# Corresponds to the JSON property `logType`
|
227
235
|
# @return [String]
|
@@ -234,6 +242,7 @@ module Google
|
|
234
242
|
# Update properties of this object
|
235
243
|
def update!(**args)
|
236
244
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
245
|
+
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
237
246
|
@log_type = args[:log_type] if args.key?(:log_type)
|
238
247
|
end
|
239
248
|
end
|
@@ -257,7 +266,7 @@ module Google
|
|
257
266
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
258
267
|
# who is authenticated with a Google account or a service account.
|
259
268
|
# * `user:`emailid``: An email address that represents a specific Google
|
260
|
-
# account. For example, `alice@
|
269
|
+
# account. For example, `alice@example.com` .
|
261
270
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
262
271
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
263
272
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -2369,7 +2378,7 @@ module Google
|
|
2369
2378
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2370
2379
|
# ensure that their change will be applied to the same version of the policy.
|
2371
2380
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
2372
|
-
# policy is overwritten
|
2381
|
+
# policy is overwritten.
|
2373
2382
|
# Corresponds to the JSON property `etag`
|
2374
2383
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2375
2384
|
# @return [String]
|
@@ -594,6 +594,7 @@ module Google
|
|
594
594
|
# @private
|
595
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
596
596
|
collection :exempted_members, as: 'exemptedMembers'
|
597
|
+
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
597
598
|
property :log_type, as: 'logType'
|
598
599
|
end
|
599
600
|
end
|
@@ -560,7 +560,8 @@ module Google
|
|
560
560
|
# the resource does not exist. Returns an empty policy if the resource exists
|
561
561
|
# but does not have a policy set.
|
562
562
|
# Authorization requires the Google IAM permission
|
563
|
-
# `healthcare.AnnotationStores.getIamPolicy` on the specified
|
563
|
+
# `healthcare.AnnotationStores.getIamPolicy` on the specified
|
564
|
+
# resource
|
564
565
|
# @param [String] resource
|
565
566
|
# REQUIRED: The resource for which the policy is being requested.
|
566
567
|
# See the operation documentation for the appropriate value for this field.
|
@@ -681,7 +682,8 @@ module Google
|
|
681
682
|
# Sets the access control policy for a resource. Replaces any existing
|
682
683
|
# policy.
|
683
684
|
# Authorization requires the Google IAM permission
|
684
|
-
#
|
685
|
+
# `healthcare.annotationStores.setIamPolicy` on the specified
|
686
|
+
# resource
|
685
687
|
# @param [String] resource
|
686
688
|
# REQUIRED: The resource for which the policy is being specified.
|
687
689
|
# See the operation documentation for the appropriate value for this field.
|
@@ -2256,8 +2258,8 @@ module Google
|
|
2256
2258
|
# FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns
|
2257
2259
|
# an empty policy if the resource exists but does not have a policy set.
|
2258
2260
|
# Authorization requires the Google IAM permission
|
2259
|
-
#
|
2260
|
-
#
|
2261
|
+
# `healthcare.fhirStores.getIamPolicy` for a FHIR store or
|
2262
|
+
# `healthcare.securityLabels.getIamPolicy` for a security label
|
2261
2263
|
# @param [String] resource
|
2262
2264
|
# REQUIRED: The resource for which the policy is being requested.
|
2263
2265
|
# See the operation documentation for the appropriate value for this field.
|
@@ -2438,8 +2440,8 @@ module Google
|
|
2438
2440
|
# Sets the access control policy for a FHIR store or security label within a
|
2439
2441
|
# FHIR store. Replaces any existing policy.
|
2440
2442
|
# Authorization requires the Google IAM permission
|
2441
|
-
#
|
2442
|
-
#
|
2443
|
+
# `healthcare.fhirStores.setIamPolicy` for a FHIR store or
|
2444
|
+
# `healthcare.securityLabels.setIamPolicy` for a security label
|
2443
2445
|
# @param [String] resource
|
2444
2446
|
# REQUIRED: The resource for which the policy is being specified.
|
2445
2447
|
# See the operation documentation for the appropriate value for this field.
|
@@ -3298,8 +3300,8 @@ module Google
|
|
3298
3300
|
# FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns
|
3299
3301
|
# an empty policy if the resource exists but does not have a policy set.
|
3300
3302
|
# Authorization requires the Google IAM permission
|
3301
|
-
#
|
3302
|
-
#
|
3303
|
+
# `healthcare.fhirStores.getIamPolicy` for a FHIR store or
|
3304
|
+
# `healthcare.securityLabels.getIamPolicy` for a security label
|
3303
3305
|
# @param [String] resource
|
3304
3306
|
# REQUIRED: The resource for which the policy is being requested.
|
3305
3307
|
# See the operation documentation for the appropriate value for this field.
|
@@ -3339,8 +3341,8 @@ module Google
|
|
3339
3341
|
# Sets the access control policy for a FHIR store or security label within a
|
3340
3342
|
# FHIR store. Replaces any existing policy.
|
3341
3343
|
# Authorization requires the Google IAM permission
|
3342
|
-
#
|
3343
|
-
#
|
3344
|
+
# `healthcare.fhirStores.setIamPolicy` for a FHIR store or
|
3345
|
+
# `healthcare.securityLabels.setIamPolicy` for a security label
|
3344
3346
|
# @param [String] resource
|
3345
3347
|
# REQUIRED: The resource for which the policy is being specified.
|
3346
3348
|
# See the operation documentation for the appropriate value for this field.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190708'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -39,7 +39,7 @@ module Google
|
|
39
39
|
# `
|
40
40
|
# "log_type": "DATA_READ",
|
41
41
|
# "exempted_members": [
|
42
|
-
# "user:
|
42
|
+
# "user:jose@example.com"
|
43
43
|
# ]
|
44
44
|
# `,
|
45
45
|
# `
|
@@ -51,7 +51,7 @@ module Google
|
|
51
51
|
# ]
|
52
52
|
# `,
|
53
53
|
# `
|
54
|
-
# "service": "
|
54
|
+
# "service": "sampleservice.googleapis.com"
|
55
55
|
# "audit_log_configs": [
|
56
56
|
# `
|
57
57
|
# "log_type": "DATA_READ",
|
@@ -59,16 +59,16 @@ module Google
|
|
59
59
|
# `
|
60
60
|
# "log_type": "DATA_WRITE",
|
61
61
|
# "exempted_members": [
|
62
|
-
# "user:
|
62
|
+
# "user:aliya@example.com"
|
63
63
|
# ]
|
64
64
|
# `
|
65
65
|
# ]
|
66
66
|
# `
|
67
67
|
# ]
|
68
68
|
# `
|
69
|
-
# For
|
70
|
-
# logging. It also exempts
|
71
|
-
#
|
69
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
70
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
71
|
+
# aliya@example.com from DATA_WRITE logging.
|
72
72
|
class AuditConfig
|
73
73
|
include Google::Apis::Core::Hashable
|
74
74
|
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# `
|
103
103
|
# "log_type": "DATA_READ",
|
104
104
|
# "exempted_members": [
|
105
|
-
# "user:
|
105
|
+
# "user:jose@example.com"
|
106
106
|
# ]
|
107
107
|
# `,
|
108
108
|
# `
|
@@ -111,7 +111,7 @@ module Google
|
|
111
111
|
# ]
|
112
112
|
# `
|
113
113
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
114
|
-
#
|
114
|
+
# jose@example.com from DATA_READ logging.
|
115
115
|
class AuditLogConfig
|
116
116
|
include Google::Apis::Core::Hashable
|
117
117
|
|
@@ -122,6 +122,14 @@ module Google
|
|
122
122
|
# @return [Array<String>]
|
123
123
|
attr_accessor :exempted_members
|
124
124
|
|
125
|
+
# Specifies whether principals can be exempted for the same LogType in
|
126
|
+
# lower-level resource policies. If true, any lower-level exemptions will
|
127
|
+
# be ignored.
|
128
|
+
# Corresponds to the JSON property `ignoreChildExemptions`
|
129
|
+
# @return [Boolean]
|
130
|
+
attr_accessor :ignore_child_exemptions
|
131
|
+
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
132
|
+
|
125
133
|
# The log type that this config enables.
|
126
134
|
# Corresponds to the JSON property `logType`
|
127
135
|
# @return [String]
|
@@ -134,6 +142,7 @@ module Google
|
|
134
142
|
# Update properties of this object
|
135
143
|
def update!(**args)
|
136
144
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
145
|
+
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
137
146
|
@log_type = args[:log_type] if args.key?(:log_type)
|
138
147
|
end
|
139
148
|
end
|
@@ -157,7 +166,7 @@ module Google
|
|
157
166
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
158
167
|
# who is authenticated with a Google account or a service account.
|
159
168
|
# * `user:`emailid``: An email address that represents a specific Google
|
160
|
-
# account. For example, `alice@
|
169
|
+
# account. For example, `alice@example.com` .
|
161
170
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
162
171
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
163
172
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -1995,7 +2004,7 @@ module Google
|
|
1995
2004
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1996
2005
|
# ensure that their change will be applied to the same version of the policy.
|
1997
2006
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
1998
|
-
# policy is overwritten
|
2007
|
+
# policy is overwritten.
|
1999
2008
|
# Corresponds to the JSON property `etag`
|
2000
2009
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2001
2010
|
# @return [String]
|
@@ -443,6 +443,7 @@ module Google
|
|
443
443
|
# @private
|
444
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
445
445
|
collection :exempted_members, as: 'exemptedMembers'
|
446
|
+
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
446
447
|
property :log_type, as: 'logType'
|
447
448
|
end
|
448
449
|
end
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190704'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
# `
|
62
62
|
# "log_type": "DATA_READ",
|
63
63
|
# "exempted_members": [
|
64
|
-
# "user:
|
64
|
+
# "user:jose@example.com"
|
65
65
|
# ]
|
66
66
|
# `,
|
67
67
|
# `
|
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# ]
|
74
74
|
# `,
|
75
75
|
# `
|
76
|
-
# "service": "
|
76
|
+
# "service": "sampleservice.googleapis.com"
|
77
77
|
# "audit_log_configs": [
|
78
78
|
# `
|
79
79
|
# "log_type": "DATA_READ",
|
@@ -81,16 +81,16 @@ module Google
|
|
81
81
|
# `
|
82
82
|
# "log_type": "DATA_WRITE",
|
83
83
|
# "exempted_members": [
|
84
|
-
# "user:
|
84
|
+
# "user:aliya@example.com"
|
85
85
|
# ]
|
86
86
|
# `
|
87
87
|
# ]
|
88
88
|
# `
|
89
89
|
# ]
|
90
90
|
# `
|
91
|
-
# For
|
92
|
-
# logging. It also exempts
|
93
|
-
#
|
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.
|
94
94
|
class AuditConfig
|
95
95
|
include Google::Apis::Core::Hashable
|
96
96
|
|
@@ -145,7 +145,7 @@ module Google
|
|
145
145
|
# `
|
146
146
|
# "log_type": "DATA_READ",
|
147
147
|
# "exempted_members": [
|
148
|
-
# "user:
|
148
|
+
# "user:jose@example.com"
|
149
149
|
# ]
|
150
150
|
# `,
|
151
151
|
# `
|
@@ -154,7 +154,7 @@ module Google
|
|
154
154
|
# ]
|
155
155
|
# `
|
156
156
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
157
|
-
#
|
157
|
+
# jose@example.com from DATA_READ logging.
|
158
158
|
class AuditLogConfig
|
159
159
|
include Google::Apis::Core::Hashable
|
160
160
|
|
@@ -220,7 +220,7 @@ module Google
|
|
220
220
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
221
221
|
# who is authenticated with a Google account or a service account.
|
222
222
|
# * `user:`emailid``: An email address that represents a specific Google
|
223
|
-
# account. For example, `alice@
|
223
|
+
# account. For example, `alice@example.com` .
|
224
224
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
225
225
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
226
226
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -922,7 +922,7 @@ module Google
|
|
922
922
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
923
923
|
# ensure that their change will be applied to the same version of the policy.
|
924
924
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
925
|
-
# policy is overwritten
|
925
|
+
# policy is overwritten.
|
926
926
|
# Corresponds to the JSON property `etag`
|
927
927
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
928
928
|
# @return [String]
|
@@ -1147,7 +1147,7 @@ module Google
|
|
1147
1147
|
attr_accessor :deleted
|
1148
1148
|
alias_method :deleted?, :deleted
|
1149
1149
|
|
1150
|
-
# Optional.
|
1150
|
+
# Optional. A human-readable description for the role.
|
1151
1151
|
# Corresponds to the JSON property `description`
|
1152
1152
|
# @return [String]
|
1153
1153
|
attr_accessor :description
|
@@ -1179,7 +1179,7 @@ module Google
|
|
1179
1179
|
# @return [String]
|
1180
1180
|
attr_accessor :stage
|
1181
1181
|
|
1182
|
-
# Optional.
|
1182
|
+
# Optional. A human-readable title for the role. Typically this
|
1183
1183
|
# is limited to 100 UTF-8 bytes.
|
1184
1184
|
# Corresponds to the JSON property `title`
|
1185
1185
|
# @return [String]
|