google-api-client 0.29.0 → 0.29.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +0 -914
- data/generated/google/apis/bigquery_v2/representations.rb +0 -365
- data/generated/google/apis/bigquery_v2/service.rb +0 -162
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +8 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -3
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +5 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +78 -26
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +54 -18
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +23 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +6 -0
- 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 +6 -0
- 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 +6 -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 +6 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +48 -6
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190501'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -189,17 +189,17 @@ module Google
|
|
189
189
|
class TeamDriveTheme
|
190
190
|
include Google::Apis::Core::Hashable
|
191
191
|
|
192
|
-
#
|
192
|
+
# Deprecated - use driveThemes/backgroundImageLink instead.
|
193
193
|
# Corresponds to the JSON property `backgroundImageLink`
|
194
194
|
# @return [String]
|
195
195
|
attr_accessor :background_image_link
|
196
196
|
|
197
|
-
#
|
197
|
+
# Deprecated - use driveThemes/colorRgb instead.
|
198
198
|
# Corresponds to the JSON property `colorRgb`
|
199
199
|
# @return [String]
|
200
200
|
attr_accessor :color_rgb
|
201
201
|
|
202
|
-
#
|
202
|
+
# Deprecated - use driveThemes/id instead.
|
203
203
|
# Corresponds to the JSON property `id`
|
204
204
|
# @return [String]
|
205
205
|
attr_accessor :id
|
@@ -259,7 +259,7 @@ module Google
|
|
259
259
|
attr_accessor :removed
|
260
260
|
alias_method :removed?, :removed
|
261
261
|
|
262
|
-
#
|
262
|
+
# Deprecated: use the drive collection instead.
|
263
263
|
# Corresponds to the JSON property `teamDrive`
|
264
264
|
# @return [Google::Apis::DriveV3::TeamDrive]
|
265
265
|
attr_accessor :team_drive
|
@@ -2099,34 +2099,23 @@ module Google
|
|
2099
2099
|
class TeamDrivePermissionDetail
|
2100
2100
|
include Google::Apis::Core::Hashable
|
2101
2101
|
|
2102
|
-
#
|
2103
|
-
# an output-only field.
|
2102
|
+
# Deprecated - use permissionDetails/inherited instead.
|
2104
2103
|
# Corresponds to the JSON property `inherited`
|
2105
2104
|
# @return [Boolean]
|
2106
2105
|
attr_accessor :inherited
|
2107
2106
|
alias_method :inherited?, :inherited
|
2108
2107
|
|
2109
|
-
#
|
2110
|
-
# only field and is only populated for members of the Team Drive.
|
2108
|
+
# Deprecated - use permissionDetails/inheritedFrom instead.
|
2111
2109
|
# Corresponds to the JSON property `inheritedFrom`
|
2112
2110
|
# @return [String]
|
2113
2111
|
attr_accessor :inherited_from
|
2114
2112
|
|
2115
|
-
#
|
2116
|
-
# the following are currently possible:
|
2117
|
-
# - organizer
|
2118
|
-
# - fileOrganizer
|
2119
|
-
# - writer
|
2120
|
-
# - commenter
|
2121
|
-
# - reader
|
2113
|
+
# Deprecated - use permissionDetails/role instead.
|
2122
2114
|
# Corresponds to the JSON property `role`
|
2123
2115
|
# @return [String]
|
2124
2116
|
attr_accessor :role
|
2125
2117
|
|
2126
|
-
#
|
2127
|
-
# future, the following are currently possible:
|
2128
|
-
# - file
|
2129
|
-
# - member
|
2118
|
+
# Deprecated - use permissionDetails/permissionType instead.
|
2130
2119
|
# Corresponds to the JSON property `teamDrivePermissionType`
|
2131
2120
|
# @return [String]
|
2132
2121
|
attr_accessor :team_drive_permission_type
|
@@ -2457,7 +2446,7 @@ module Google
|
|
2457
2446
|
end
|
2458
2447
|
end
|
2459
2448
|
|
2460
|
-
#
|
2449
|
+
# Deprecated: use the drive collection instead.
|
2461
2450
|
class TeamDrive
|
2462
2451
|
include Google::Apis::Core::Hashable
|
2463
2452
|
|
@@ -87,7 +87,9 @@ module Google
|
|
87
87
|
# The ID of the shared drive for which the starting pageToken for listing future
|
88
88
|
# changes from that shared drive will be returned.
|
89
89
|
# @param [Boolean] supports_all_drives
|
90
|
-
# Whether the requesting application supports both My Drives and
|
90
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
91
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
92
|
+
# Afterwards all applications are assumed to support shared drives.
|
91
93
|
# @param [Boolean] supports_team_drives
|
92
94
|
# Deprecated use supportsAllDrives instead.
|
93
95
|
# @param [String] team_drive_id
|
@@ -140,7 +142,9 @@ module Google
|
|
140
142
|
# removed from the list of changes and there will be no further change entries
|
141
143
|
# for this file.
|
142
144
|
# @param [Boolean] include_items_from_all_drives
|
143
|
-
# Whether both My Drive and shared drive items should be included
|
145
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
146
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
147
|
+
# Afterwards shared drive items will be included in the results.
|
144
148
|
# @param [Boolean] include_removed
|
145
149
|
# Whether to include changes indicating that items have been removed from the
|
146
150
|
# list of changes, for example by deletion or loss of access.
|
@@ -156,7 +160,9 @@ module Google
|
|
156
160
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
157
161
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
158
162
|
# @param [Boolean] supports_all_drives
|
159
|
-
# Whether the requesting application supports both My Drives and
|
163
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
164
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
165
|
+
# Afterwards all applications are assumed to support shared drives.
|
160
166
|
# @param [Boolean] supports_team_drives
|
161
167
|
# Deprecated use supportsAllDrives instead.
|
162
168
|
# @param [String] team_drive_id
|
@@ -218,7 +224,9 @@ module Google
|
|
218
224
|
# removed from the list of changes and there will be no further change entries
|
219
225
|
# for this file.
|
220
226
|
# @param [Boolean] include_items_from_all_drives
|
221
|
-
# Whether both My Drive and shared drive items should be included
|
227
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
228
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
229
|
+
# Afterwards shared drive items will be included in the results.
|
222
230
|
# @param [Boolean] include_removed
|
223
231
|
# Whether to include changes indicating that items have been removed from the
|
224
232
|
# list of changes, for example by deletion or loss of access.
|
@@ -234,7 +242,9 @@ module Google
|
|
234
242
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
235
243
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
236
244
|
# @param [Boolean] supports_all_drives
|
237
|
-
# Whether the requesting application supports both My Drives and
|
245
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
246
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
247
|
+
# Afterwards all applications are assumed to support shared drives.
|
238
248
|
# @param [Boolean] supports_team_drives
|
239
249
|
# Deprecated use supportsAllDrives instead.
|
240
250
|
# @param [String] team_drive_id
|
@@ -786,7 +796,9 @@ module Google
|
|
786
796
|
# @param [String] ocr_language
|
787
797
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
788
798
|
# @param [Boolean] supports_all_drives
|
789
|
-
# Whether the requesting application supports both My Drives and
|
799
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
800
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
801
|
+
# Afterwards all applications are assumed to support shared drives.
|
790
802
|
# @param [Boolean] supports_team_drives
|
791
803
|
# Deprecated use supportsAllDrives instead.
|
792
804
|
# @param [String] fields
|
@@ -839,7 +851,9 @@ module Google
|
|
839
851
|
# @param [String] ocr_language
|
840
852
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
841
853
|
# @param [Boolean] supports_all_drives
|
842
|
-
# Whether the requesting application supports both My Drives and
|
854
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
855
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
856
|
+
# Afterwards all applications are assumed to support shared drives.
|
843
857
|
# @param [Boolean] supports_team_drives
|
844
858
|
# Deprecated use supportsAllDrives instead.
|
845
859
|
# @param [Boolean] use_content_as_indexable_text
|
@@ -898,7 +912,9 @@ module Google
|
|
898
912
|
# @param [String] file_id
|
899
913
|
# The ID of the file.
|
900
914
|
# @param [Boolean] supports_all_drives
|
901
|
-
# Whether the requesting application supports both My Drives and
|
915
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
916
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
917
|
+
# Afterwards all applications are assumed to support shared drives.
|
902
918
|
# @param [Boolean] supports_team_drives
|
903
919
|
# Deprecated use supportsAllDrives instead.
|
904
920
|
# @param [String] fields
|
@@ -1045,7 +1061,9 @@ module Google
|
|
1045
1061
|
# Whether the user is acknowledging the risk of downloading known malware or
|
1046
1062
|
# other abusive files. This is only applicable when alt=media.
|
1047
1063
|
# @param [Boolean] supports_all_drives
|
1048
|
-
# Whether the requesting application supports both My Drives and
|
1064
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1065
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1066
|
+
# Afterwards all applications are assumed to support shared drives.
|
1049
1067
|
# @param [Boolean] supports_team_drives
|
1050
1068
|
# Deprecated use supportsAllDrives instead.
|
1051
1069
|
# @param [String] fields
|
@@ -1098,7 +1116,9 @@ module Google
|
|
1098
1116
|
# @param [String] drive_id
|
1099
1117
|
# ID of the shared drive to search.
|
1100
1118
|
# @param [Boolean] include_items_from_all_drives
|
1101
|
-
# Whether both My Drive and shared drive items should be included
|
1119
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
1120
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
1121
|
+
# Afterwards shared drive items will be included in the results.
|
1102
1122
|
# @param [Boolean] include_team_drive_items
|
1103
1123
|
# Deprecated use includeItemsFromAllDrives instead.
|
1104
1124
|
# @param [String] order_by
|
@@ -1122,7 +1142,9 @@ module Google
|
|
1122
1142
|
# A comma-separated list of spaces to query within the corpus. Supported values
|
1123
1143
|
# are 'drive', 'appDataFolder' and 'photos'.
|
1124
1144
|
# @param [Boolean] supports_all_drives
|
1125
|
-
# Whether the requesting application supports both My Drives and
|
1145
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1146
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1147
|
+
# Afterwards all applications are assumed to support shared drives.
|
1126
1148
|
# @param [Boolean] supports_team_drives
|
1127
1149
|
# Deprecated use supportsAllDrives instead.
|
1128
1150
|
# @param [String] team_drive_id
|
@@ -1183,7 +1205,9 @@ module Google
|
|
1183
1205
|
# @param [String] remove_parents
|
1184
1206
|
# A comma-separated list of parent IDs to remove.
|
1185
1207
|
# @param [Boolean] supports_all_drives
|
1186
|
-
# Whether the requesting application supports both My Drives and
|
1208
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1209
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1210
|
+
# Afterwards all applications are assumed to support shared drives.
|
1187
1211
|
# @param [Boolean] supports_team_drives
|
1188
1212
|
# Deprecated use supportsAllDrives instead.
|
1189
1213
|
# @param [Boolean] use_content_as_indexable_text
|
@@ -1245,7 +1269,9 @@ module Google
|
|
1245
1269
|
# Whether the user is acknowledging the risk of downloading known malware or
|
1246
1270
|
# other abusive files. This is only applicable when alt=media.
|
1247
1271
|
# @param [Boolean] supports_all_drives
|
1248
|
-
# Whether the requesting application supports both My Drives and
|
1272
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1273
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1274
|
+
# Afterwards all applications are assumed to support shared drives.
|
1249
1275
|
# @param [Boolean] supports_team_drives
|
1250
1276
|
# Deprecated use supportsAllDrives instead.
|
1251
1277
|
# @param [String] fields
|
@@ -1301,7 +1327,9 @@ module Google
|
|
1301
1327
|
# defaults to true for users and groups, and is not allowed for other requests.
|
1302
1328
|
# It must not be disabled for ownership transfers.
|
1303
1329
|
# @param [Boolean] supports_all_drives
|
1304
|
-
# Whether the requesting application supports both My Drives and
|
1330
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1331
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1332
|
+
# Afterwards all applications are assumed to support shared drives.
|
1305
1333
|
# @param [Boolean] supports_team_drives
|
1306
1334
|
# Deprecated use supportsAllDrives instead.
|
1307
1335
|
# @param [Boolean] transfer_ownership
|
@@ -1357,7 +1385,9 @@ module Google
|
|
1357
1385
|
# @param [String] permission_id
|
1358
1386
|
# The ID of the permission.
|
1359
1387
|
# @param [Boolean] supports_all_drives
|
1360
|
-
# Whether the requesting application supports both My Drives and
|
1388
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1389
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1390
|
+
# Afterwards all applications are assumed to support shared drives.
|
1361
1391
|
# @param [Boolean] supports_team_drives
|
1362
1392
|
# Deprecated use supportsAllDrives instead.
|
1363
1393
|
# @param [Boolean] use_domain_admin_access
|
@@ -1403,7 +1433,9 @@ module Google
|
|
1403
1433
|
# @param [String] permission_id
|
1404
1434
|
# The ID of the permission.
|
1405
1435
|
# @param [Boolean] supports_all_drives
|
1406
|
-
# Whether the requesting application supports both My Drives and
|
1436
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1437
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1438
|
+
# Afterwards all applications are assumed to support shared drives.
|
1407
1439
|
# @param [Boolean] supports_team_drives
|
1408
1440
|
# Deprecated use supportsAllDrives instead.
|
1409
1441
|
# @param [Boolean] use_domain_admin_access
|
@@ -1456,7 +1488,9 @@ module Google
|
|
1456
1488
|
# The token for continuing a previous list request on the next page. This should
|
1457
1489
|
# be set to the value of 'nextPageToken' from the previous response.
|
1458
1490
|
# @param [Boolean] supports_all_drives
|
1459
|
-
# Whether the requesting application supports both My Drives and
|
1491
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1492
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1493
|
+
# Afterwards all applications are assumed to support shared drives.
|
1460
1494
|
# @param [Boolean] supports_team_drives
|
1461
1495
|
# Deprecated use supportsAllDrives instead.
|
1462
1496
|
# @param [Boolean] use_domain_admin_access
|
@@ -1508,7 +1542,9 @@ module Google
|
|
1508
1542
|
# @param [Boolean] remove_expiration
|
1509
1543
|
# Whether to remove the expiration date.
|
1510
1544
|
# @param [Boolean] supports_all_drives
|
1511
|
-
# Whether the requesting application supports both My Drives and
|
1545
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1546
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1547
|
+
# Afterwards all applications are assumed to support shared drives.
|
1512
1548
|
# @param [Boolean] supports_team_drives
|
1513
1549
|
# Deprecated use supportsAllDrives instead.
|
1514
1550
|
# @param [Boolean] transfer_ownership
|
@@ -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 = '20190429'
|
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'
|
@@ -22,6 +22,28 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
# Audit log information specific to Cloud IAM admin APIs. This message is
|
26
|
+
# serialized as an `Any` type in the `ServiceData` message of an
|
27
|
+
# `AuditLog` message.
|
28
|
+
class AdminAuditData
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# A PermissionDelta message to record the added_permissions and
|
32
|
+
# removed_permissions inside a role.
|
33
|
+
# Corresponds to the JSON property `permissionDelta`
|
34
|
+
# @return [Google::Apis::IamV1::PermissionDelta]
|
35
|
+
attr_accessor :permission_delta
|
36
|
+
|
37
|
+
def initialize(**args)
|
38
|
+
update!(**args)
|
39
|
+
end
|
40
|
+
|
41
|
+
# Update properties of this object
|
42
|
+
def update!(**args)
|
43
|
+
@permission_delta = args[:permission_delta] if args.key?(:permission_delta)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
25
47
|
# Specifies the audit configuration for a service.
|
26
48
|
# The configuration determines which permission types are logged, and what
|
27
49
|
# identities, if any, are exempted from logging.
|
@@ -815,6 +837,32 @@ module Google
|
|
815
837
|
end
|
816
838
|
end
|
817
839
|
|
840
|
+
# A PermissionDelta message to record the added_permissions and
|
841
|
+
# removed_permissions inside a role.
|
842
|
+
class PermissionDelta
|
843
|
+
include Google::Apis::Core::Hashable
|
844
|
+
|
845
|
+
# Added permissions.
|
846
|
+
# Corresponds to the JSON property `addedPermissions`
|
847
|
+
# @return [Array<String>]
|
848
|
+
attr_accessor :added_permissions
|
849
|
+
|
850
|
+
# Removed permissions.
|
851
|
+
# Corresponds to the JSON property `removedPermissions`
|
852
|
+
# @return [Array<String>]
|
853
|
+
attr_accessor :removed_permissions
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@added_permissions = args[:added_permissions] if args.key?(:added_permissions)
|
862
|
+
@removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions)
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
818
866
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
819
867
|
# specify access control policies for Cloud Platform resources.
|
820
868
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
class AdminAuditData
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -148,6 +154,12 @@ module Google
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
149
155
|
end
|
150
156
|
|
157
|
+
class PermissionDelta
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class Policy
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -274,6 +286,14 @@ module Google
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
275
287
|
end
|
276
288
|
|
289
|
+
class AdminAuditData
|
290
|
+
# @private
|
291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
+
property :permission_delta, as: 'permissionDelta', class: Google::Apis::IamV1::PermissionDelta, decorator: Google::Apis::IamV1::PermissionDelta::Representation
|
293
|
+
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
277
297
|
class AuditConfig
|
278
298
|
# @private
|
279
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -464,6 +484,14 @@ module Google
|
|
464
484
|
end
|
465
485
|
end
|
466
486
|
|
487
|
+
class PermissionDelta
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
collection :added_permissions, as: 'addedPermissions'
|
491
|
+
collection :removed_permissions, as: 'removedPermissions'
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
467
495
|
class Policy
|
468
496
|
# @private
|
469
497
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -691,8 +691,20 @@ module Google
|
|
691
691
|
execute_or_queue_command(command, &block)
|
692
692
|
end
|
693
693
|
|
694
|
-
#
|
695
|
-
#
|
694
|
+
# DisableServiceAccount is currently in the alpha launch stage.
|
695
|
+
# Disables a ServiceAccount,
|
696
|
+
# which immediately prevents the service account from authenticating and
|
697
|
+
# gaining access to APIs.
|
698
|
+
# Disabled service accounts can be safely restored by using
|
699
|
+
# EnableServiceAccount at any point. Deleted service accounts cannot be
|
700
|
+
# restored using this method.
|
701
|
+
# Disabling a service account that is bound to VMs, Apps, Functions, or
|
702
|
+
# other jobs will cause those jobs to lose access to resources if they are
|
703
|
+
# using the disabled service account.
|
704
|
+
# To improve reliability of your services and avoid unexpected outages, it
|
705
|
+
# is recommended to first disable a service account rather than delete it.
|
706
|
+
# After disabling the service account, wait at least 24 hours to verify there
|
707
|
+
# are no unintended consequences, and then delete the service account.
|
696
708
|
# @param [String] name
|
697
709
|
# The resource name of the service account in the following format:
|
698
710
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
@@ -729,8 +741,14 @@ module Google
|
|
729
741
|
execute_or_queue_command(command, &block)
|
730
742
|
end
|
731
743
|
|
732
|
-
#
|
733
|
-
#
|
744
|
+
# EnableServiceAccount is currently in the alpha launch stage.
|
745
|
+
# Restores a disabled ServiceAccount
|
746
|
+
# that has been manually disabled by using DisableServiceAccount. Service
|
747
|
+
# accounts that have been disabled by other means or for other reasons,
|
748
|
+
# such as abuse, cannot be restored using this method.
|
749
|
+
# EnableServiceAccount will have no effect on a service account that is
|
750
|
+
# not disabled. Enabling an already enabled service account will have no
|
751
|
+
# effect.
|
734
752
|
# @param [String] name
|
735
753
|
# The resource name of the service account in the following format:
|
736
754
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
|
@@ -1139,8 +1157,7 @@ module Google
|
|
1139
1157
|
# PatchServiceAccount instead.
|
1140
1158
|
# Updates a ServiceAccount.
|
1141
1159
|
# Currently, only the following fields are updatable:
|
1142
|
-
# `display_name`
|
1143
|
-
# The `etag` is mandatory.
|
1160
|
+
# `display_name` and `description`.
|
1144
1161
|
# @param [String] name
|
1145
1162
|
# The resource name of the service account in the following format:
|
1146
1163
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|