google-api-client 0.23.5 → 0.23.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 +21 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1.rb +4 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -1
- data/generated/google/apis/cloudtrace_v2.rb +4 -2
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +6 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -1
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +174 -0
- data/generated/google/apis/content_v2/representations.rb +73 -0
- data/generated/google/apis/content_v2/service.rb +100 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/service.rb +2 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -7
- data/generated/google/apis/dlp_v2/service.rb +2 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +72 -6
- data/generated/google/apis/drive_v2/representations.rb +8 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +72 -6
- data/generated/google/apis/drive_v3/representations.rb +8 -0
- data/generated/google/apis/firestore_v1.rb +3 -2
- data/generated/google/apis/firestore_v1/service.rb +2 -1
- data/generated/google/apis/firestore_v1beta1.rb +3 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -1
- data/generated/google/apis/firestore_v1beta2.rb +3 -2
- data/generated/google/apis/firestore_v1beta2/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +47 -0
- data/generated/google/apis/gmail_v1/representations.rb +28 -0
- data/generated/google/apis/gmail_v1/service.rb +165 -0
- data/generated/google/apis/jobs_v2.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +4 -1
- data/generated/google/apis/jobs_v2/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +38 -0
- data/generated/google/apis/jobs_v3/classes.rb +2587 -0
- data/generated/google/apis/jobs_v3/representations.rb +872 -0
- data/generated/google/apis/jobs_v3/service.rb +652 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +7 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -731,10 +731,15 @@ module Google
|
|
731
731
|
property :can_comment, as: 'canComment'
|
732
732
|
property :can_copy, as: 'canCopy'
|
733
733
|
property :can_delete, as: 'canDelete'
|
734
|
+
property :can_delete_children, as: 'canDeleteChildren'
|
734
735
|
property :can_download, as: 'canDownload'
|
735
736
|
property :can_edit, as: 'canEdit'
|
736
737
|
property :can_list_children, as: 'canListChildren'
|
738
|
+
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
|
739
|
+
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
|
737
740
|
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
|
741
|
+
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
|
742
|
+
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
|
738
743
|
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
|
739
744
|
property :can_read_revisions, as: 'canReadRevisions'
|
740
745
|
property :can_read_team_drive, as: 'canReadTeamDrive'
|
@@ -742,6 +747,7 @@ module Google
|
|
742
747
|
property :can_rename, as: 'canRename'
|
743
748
|
property :can_share, as: 'canShare'
|
744
749
|
property :can_trash, as: 'canTrash'
|
750
|
+
property :can_trash_children, as: 'canTrashChildren'
|
745
751
|
property :can_untrash, as: 'canUntrash'
|
746
752
|
end
|
747
753
|
end
|
@@ -1029,6 +1035,7 @@ module Google
|
|
1029
1035
|
property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction'
|
1030
1036
|
property :can_comment, as: 'canComment'
|
1031
1037
|
property :can_copy, as: 'canCopy'
|
1038
|
+
property :can_delete_children, as: 'canDeleteChildren'
|
1032
1039
|
property :can_delete_team_drive, as: 'canDeleteTeamDrive'
|
1033
1040
|
property :can_download, as: 'canDownload'
|
1034
1041
|
property :can_edit, as: 'canEdit'
|
@@ -1039,6 +1046,7 @@ module Google
|
|
1039
1046
|
property :can_rename, as: 'canRename'
|
1040
1047
|
property :can_rename_team_drive, as: 'canRenameTeamDrive'
|
1041
1048
|
property :can_share, as: 'canShare'
|
1049
|
+
property :can_trash_children, as: 'canTrashChildren'
|
1042
1050
|
end
|
1043
1051
|
end
|
1044
1052
|
|
@@ -954,6 +954,13 @@ module Google
|
|
954
954
|
attr_accessor :can_delete
|
955
955
|
alias_method :can_delete?, :can_delete
|
956
956
|
|
957
|
+
# Whether the current user can delete children of this folder. This is false
|
958
|
+
# when the item is not a folder. Only populated for Team Drive items.
|
959
|
+
# Corresponds to the JSON property `canDeleteChildren`
|
960
|
+
# @return [Boolean]
|
961
|
+
attr_accessor :can_delete_children
|
962
|
+
alias_method :can_delete_children?, :can_delete_children
|
963
|
+
|
957
964
|
# Whether the current user can download this file.
|
958
965
|
# Corresponds to the JSON property `canDownload`
|
959
966
|
# @return [Boolean]
|
@@ -973,6 +980,22 @@ module Google
|
|
973
980
|
attr_accessor :can_list_children
|
974
981
|
alias_method :can_list_children?, :can_list_children
|
975
982
|
|
983
|
+
# Whether the current user can move children of this folder outside of the Team
|
984
|
+
# Drive. This is false when the item is not a folder. Only populated for Team
|
985
|
+
# Drive items.
|
986
|
+
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
|
987
|
+
# @return [Boolean]
|
988
|
+
attr_accessor :can_move_children_out_of_team_drive
|
989
|
+
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
|
990
|
+
|
991
|
+
# Whether the current user can move children of this folder within the Team
|
992
|
+
# Drive. This is false when the item is not a folder. Only populated for Team
|
993
|
+
# Drive items.
|
994
|
+
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
|
995
|
+
# @return [Boolean]
|
996
|
+
attr_accessor :can_move_children_within_team_drive
|
997
|
+
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
|
998
|
+
|
976
999
|
# Whether the current user can move this item into a Team Drive. If the item is
|
977
1000
|
# in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
|
978
1001
|
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
|
@@ -980,10 +1003,25 @@ module Google
|
|
980
1003
|
attr_accessor :can_move_item_into_team_drive
|
981
1004
|
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
|
982
1005
|
|
983
|
-
# Whether the current user can move this Team Drive item
|
984
|
-
# Note that a request to change the parent
|
985
|
-
# depending on the new parent that is being added. Only
|
986
|
-
#
|
1006
|
+
# Whether the current user can move this Team Drive item outside of this Team
|
1007
|
+
# Drive by changing its parent. Note that a request to change the parent of the
|
1008
|
+
# item may still fail depending on the new parent that is being added. Only
|
1009
|
+
# populated for Team Drive items.
|
1010
|
+
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
|
1011
|
+
# @return [Boolean]
|
1012
|
+
attr_accessor :can_move_item_out_of_team_drive
|
1013
|
+
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
|
1014
|
+
|
1015
|
+
# Whether the current user can move this Team Drive item within this Team Drive.
|
1016
|
+
# Note that a request to change the parent of the item may still fail depending
|
1017
|
+
# on the new parent that is being added. Only populated for Team Drive items.
|
1018
|
+
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
|
1019
|
+
# @return [Boolean]
|
1020
|
+
attr_accessor :can_move_item_within_team_drive
|
1021
|
+
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
|
1022
|
+
|
1023
|
+
# Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
|
1024
|
+
# instead.
|
987
1025
|
# Corresponds to the JSON property `canMoveTeamDriveItem`
|
988
1026
|
# @return [Boolean]
|
989
1027
|
attr_accessor :can_move_team_drive_item
|
@@ -1005,7 +1043,8 @@ module Google
|
|
1005
1043
|
alias_method :can_read_team_drive?, :can_read_team_drive
|
1006
1044
|
|
1007
1045
|
# Whether the current user can remove children from this folder. This is always
|
1008
|
-
# false when the item is not a folder.
|
1046
|
+
# false when the item is not a folder. For Team Drive items, use
|
1047
|
+
# canDeleteChildren or canTrashChildren instead.
|
1009
1048
|
# Corresponds to the JSON property `canRemoveChildren`
|
1010
1049
|
# @return [Boolean]
|
1011
1050
|
attr_accessor :can_remove_children
|
@@ -1029,6 +1068,13 @@ module Google
|
|
1029
1068
|
attr_accessor :can_trash
|
1030
1069
|
alias_method :can_trash?, :can_trash
|
1031
1070
|
|
1071
|
+
# Whether the current user can trash children of this folder. This is false when
|
1072
|
+
# the item is not a folder. Only populated for Team Drive items.
|
1073
|
+
# Corresponds to the JSON property `canTrashChildren`
|
1074
|
+
# @return [Boolean]
|
1075
|
+
attr_accessor :can_trash_children
|
1076
|
+
alias_method :can_trash_children?, :can_trash_children
|
1077
|
+
|
1032
1078
|
# Whether the current user can restore this file from trash.
|
1033
1079
|
# Corresponds to the JSON property `canUntrash`
|
1034
1080
|
# @return [Boolean]
|
@@ -1047,10 +1093,15 @@ module Google
|
|
1047
1093
|
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
1048
1094
|
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
1049
1095
|
@can_delete = args[:can_delete] if args.key?(:can_delete)
|
1096
|
+
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
1050
1097
|
@can_download = args[:can_download] if args.key?(:can_download)
|
1051
1098
|
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
1052
1099
|
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
|
1100
|
+
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
|
1101
|
+
@can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
|
1053
1102
|
@can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
|
1103
|
+
@can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
|
1104
|
+
@can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
|
1054
1105
|
@can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
|
1055
1106
|
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
|
1056
1107
|
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
|
@@ -1058,6 +1109,7 @@ module Google
|
|
1058
1109
|
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
1059
1110
|
@can_share = args[:can_share] if args.key?(:can_share)
|
1060
1111
|
@can_trash = args[:can_trash] if args.key?(:can_trash)
|
1112
|
+
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
1061
1113
|
@can_untrash = args[:can_untrash] if args.key?(:can_untrash)
|
1062
1114
|
end
|
1063
1115
|
end
|
@@ -2047,6 +2099,12 @@ module Google
|
|
2047
2099
|
attr_accessor :can_copy
|
2048
2100
|
alias_method :can_copy?, :can_copy
|
2049
2101
|
|
2102
|
+
# Whether the current user can delete children from folders in this Team Drive.
|
2103
|
+
# Corresponds to the JSON property `canDeleteChildren`
|
2104
|
+
# @return [Boolean]
|
2105
|
+
attr_accessor :can_delete_children
|
2106
|
+
alias_method :can_delete_children?, :can_delete_children
|
2107
|
+
|
2050
2108
|
# Whether the current user can delete this Team Drive. Attempting to delete the
|
2051
2109
|
# Team Drive may still fail if there are untrashed items inside the Team Drive.
|
2052
2110
|
# Corresponds to the JSON property `canDeleteTeamDrive`
|
@@ -2086,7 +2144,7 @@ module Google
|
|
2086
2144
|
attr_accessor :can_read_revisions
|
2087
2145
|
alias_method :can_read_revisions?, :can_read_revisions
|
2088
2146
|
|
2089
|
-
#
|
2147
|
+
# Deprecated - use canDeleteChildren or canTrashChildren instead.
|
2090
2148
|
# Corresponds to the JSON property `canRemoveChildren`
|
2091
2149
|
# @return [Boolean]
|
2092
2150
|
attr_accessor :can_remove_children
|
@@ -2110,6 +2168,12 @@ module Google
|
|
2110
2168
|
attr_accessor :can_share
|
2111
2169
|
alias_method :can_share?, :can_share
|
2112
2170
|
|
2171
|
+
# Whether the current user can trash children from folders in this Team Drive.
|
2172
|
+
# Corresponds to the JSON property `canTrashChildren`
|
2173
|
+
# @return [Boolean]
|
2174
|
+
attr_accessor :can_trash_children
|
2175
|
+
alias_method :can_trash_children?, :can_trash_children
|
2176
|
+
|
2113
2177
|
def initialize(**args)
|
2114
2178
|
update!(**args)
|
2115
2179
|
end
|
@@ -2123,6 +2187,7 @@ module Google
|
|
2123
2187
|
@can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_members_only_restriction)
|
2124
2188
|
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
2125
2189
|
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
2190
|
+
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
2126
2191
|
@can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive)
|
2127
2192
|
@can_download = args[:can_download] if args.key?(:can_download)
|
2128
2193
|
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
@@ -2133,6 +2198,7 @@ module Google
|
|
2133
2198
|
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
2134
2199
|
@can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive)
|
2135
2200
|
@can_share = args[:can_share] if args.key?(:can_share)
|
2201
|
+
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
2136
2202
|
end
|
2137
2203
|
end
|
2138
2204
|
|
@@ -428,10 +428,15 @@ module Google
|
|
428
428
|
property :can_comment, as: 'canComment'
|
429
429
|
property :can_copy, as: 'canCopy'
|
430
430
|
property :can_delete, as: 'canDelete'
|
431
|
+
property :can_delete_children, as: 'canDeleteChildren'
|
431
432
|
property :can_download, as: 'canDownload'
|
432
433
|
property :can_edit, as: 'canEdit'
|
433
434
|
property :can_list_children, as: 'canListChildren'
|
435
|
+
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
|
436
|
+
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
|
434
437
|
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
|
438
|
+
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
|
439
|
+
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
|
435
440
|
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
|
436
441
|
property :can_read_revisions, as: 'canReadRevisions'
|
437
442
|
property :can_read_team_drive, as: 'canReadTeamDrive'
|
@@ -439,6 +444,7 @@ module Google
|
|
439
444
|
property :can_rename, as: 'canRename'
|
440
445
|
property :can_share, as: 'canShare'
|
441
446
|
property :can_trash, as: 'canTrash'
|
447
|
+
property :can_trash_children, as: 'canTrashChildren'
|
442
448
|
property :can_untrash, as: 'canUntrash'
|
443
449
|
end
|
444
450
|
end
|
@@ -672,6 +678,7 @@ module Google
|
|
672
678
|
property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction'
|
673
679
|
property :can_comment, as: 'canComment'
|
674
680
|
property :can_copy, as: 'canCopy'
|
681
|
+
property :can_delete_children, as: 'canDeleteChildren'
|
675
682
|
property :can_delete_team_drive, as: 'canDeleteTeamDrive'
|
676
683
|
property :can_download, as: 'canDownload'
|
677
684
|
property :can_edit, as: 'canEdit'
|
@@ -682,6 +689,7 @@ module Google
|
|
682
689
|
property :can_rename, as: 'canRename'
|
683
690
|
property :can_rename_team_drive, as: 'canRenameTeamDrive'
|
684
691
|
property :can_share, as: 'canShare'
|
692
|
+
property :can_trash_children, as: 'canTrashChildren'
|
685
693
|
end
|
686
694
|
end
|
687
695
|
|
@@ -20,12 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Cloud Firestore API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
24
|
+
# performance, and ease of application development.
|
24
25
|
#
|
25
26
|
# @see https://cloud.google.com/firestore
|
26
27
|
module FirestoreV1
|
27
28
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20180814'
|
29
30
|
|
30
31
|
# View and manage your data across Google Cloud Platform services
|
31
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module FirestoreV1
|
23
23
|
# Cloud Firestore API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
26
|
+
# performance, and ease of application development.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/firestore_v1'
|
@@ -20,12 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Cloud Firestore API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
24
|
+
# performance, and ease of application development.
|
24
25
|
#
|
25
26
|
# @see https://cloud.google.com/firestore
|
26
27
|
module FirestoreV1beta1
|
27
28
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20180814'
|
29
30
|
|
30
31
|
# View and manage your data across Google Cloud Platform services
|
31
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module FirestoreV1beta1
|
23
23
|
# Cloud Firestore API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
26
|
+
# performance, and ease of application development.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/firestore_v1beta1'
|
@@ -20,12 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Cloud Firestore API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
24
|
+
# performance, and ease of application development.
|
24
25
|
#
|
25
26
|
# @see https://cloud.google.com/firestore
|
26
27
|
module FirestoreV1beta2
|
27
28
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20180814'
|
29
30
|
|
30
31
|
# View and manage your data across Google Cloud Platform services
|
31
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module FirestoreV1beta2
|
23
23
|
# Cloud Firestore API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Accesses the NoSQL document database built for automatic scaling, high
|
26
|
+
# performance, and ease of application development.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/firestore_v1beta2'
|
@@ -105,6 +105,34 @@ module Google
|
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
108
|
+
# Settings for a delegate. Delegates can read, send, and delete messages, as
|
109
|
+
# well as manage contacts, for the delegator's account. See "Set up mail
|
110
|
+
# delegation" for more information about delegates.
|
111
|
+
class Delegate
|
112
|
+
include Google::Apis::Core::Hashable
|
113
|
+
|
114
|
+
# The email address of the delegate.
|
115
|
+
# Corresponds to the JSON property `delegateEmail`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :delegate_email
|
118
|
+
|
119
|
+
# Indicates whether this address has been verified and can act as a delegate for
|
120
|
+
# the account. Read-only.
|
121
|
+
# Corresponds to the JSON property `verificationStatus`
|
122
|
+
# @return [String]
|
123
|
+
attr_accessor :verification_status
|
124
|
+
|
125
|
+
def initialize(**args)
|
126
|
+
update!(**args)
|
127
|
+
end
|
128
|
+
|
129
|
+
# Update properties of this object
|
130
|
+
def update!(**args)
|
131
|
+
@delegate_email = args[:delegate_email] if args.key?(:delegate_email)
|
132
|
+
@verification_status = args[:verification_status] if args.key?(:verification_status)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
108
136
|
# A draft email in the user's mailbox.
|
109
137
|
class Draft
|
110
138
|
include Google::Apis::Core::Hashable
|
@@ -607,6 +635,25 @@ module Google
|
|
607
635
|
end
|
608
636
|
end
|
609
637
|
|
638
|
+
# Response for the ListDelegates method.
|
639
|
+
class ListDelegatesResponse
|
640
|
+
include Google::Apis::Core::Hashable
|
641
|
+
|
642
|
+
# List of the user's delegates (with any verification status).
|
643
|
+
# Corresponds to the JSON property `delegates`
|
644
|
+
# @return [Array<Google::Apis::GmailV1::Delegate>]
|
645
|
+
attr_accessor :delegates
|
646
|
+
|
647
|
+
def initialize(**args)
|
648
|
+
update!(**args)
|
649
|
+
end
|
650
|
+
|
651
|
+
# Update properties of this object
|
652
|
+
def update!(**args)
|
653
|
+
@delegates = args[:delegates] if args.key?(:delegates)
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
610
657
|
#
|
611
658
|
class ListDraftsResponse
|
612
659
|
include Google::Apis::Core::Hashable
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Delegate
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Draft
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class ListDelegatesResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class ListDraftsResponse
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -287,6 +299,14 @@ module Google
|
|
287
299
|
end
|
288
300
|
end
|
289
301
|
|
302
|
+
class Delegate
|
303
|
+
# @private
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :delegate_email, as: 'delegateEmail'
|
306
|
+
property :verification_status, as: 'verificationStatus'
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
290
310
|
class Draft
|
291
311
|
# @private
|
292
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -425,6 +445,14 @@ module Google
|
|
425
445
|
end
|
426
446
|
end
|
427
447
|
|
448
|
+
class ListDelegatesResponse
|
449
|
+
# @private
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
+
collection :delegates, as: 'delegates', class: Google::Apis::GmailV1::Delegate, decorator: Google::Apis::GmailV1::Delegate::Representation
|
452
|
+
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
428
456
|
class ListDraftsResponse
|
429
457
|
# @private
|
430
458
|
class Representation < Google::Apis::Core::JsonRepresentation
|