google-apis-cloudsearch_v1 0.40.0 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/cloudsearch_v1/classes.rb +1642 -1618
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudsearch_v1/representations.rb +457 -453
- metadata +4 -4
@@ -541,73 +541,6 @@ module Google
|
|
541
541
|
end
|
542
542
|
end
|
543
543
|
|
544
|
-
# An action that describes the behavior when the form is submitted. For example,
|
545
|
-
# an Apps Script can be invoked to handle the form.
|
546
|
-
class AppsDynamiteSharedAction
|
547
|
-
include Google::Apis::Core::Hashable
|
548
|
-
|
549
|
-
# Apps Script function to invoke when the containing element is clicked/
|
550
|
-
# activated.
|
551
|
-
# Corresponds to the JSON property `function`
|
552
|
-
# @return [String]
|
553
|
-
attr_accessor :function
|
554
|
-
|
555
|
-
#
|
556
|
-
# Corresponds to the JSON property `interaction`
|
557
|
-
# @return [String]
|
558
|
-
attr_accessor :interaction
|
559
|
-
|
560
|
-
#
|
561
|
-
# Corresponds to the JSON property `loadIndicator`
|
562
|
-
# @return [String]
|
563
|
-
attr_accessor :load_indicator
|
564
|
-
|
565
|
-
# List of action parameters.
|
566
|
-
# Corresponds to the JSON property `parameters`
|
567
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter>]
|
568
|
-
attr_accessor :parameters
|
569
|
-
|
570
|
-
def initialize(**args)
|
571
|
-
update!(**args)
|
572
|
-
end
|
573
|
-
|
574
|
-
# Update properties of this object
|
575
|
-
def update!(**args)
|
576
|
-
@function = args[:function] if args.key?(:function)
|
577
|
-
@interaction = args[:interaction] if args.key?(:interaction)
|
578
|
-
@load_indicator = args[:load_indicator] if args.key?(:load_indicator)
|
579
|
-
@parameters = args[:parameters] if args.key?(:parameters)
|
580
|
-
end
|
581
|
-
end
|
582
|
-
|
583
|
-
# List of string parameters to supply when the action method is invoked. For
|
584
|
-
# example, consider three snooze buttons: snooze now, snooze 1 day, snooze next
|
585
|
-
# week. You might use action method = snooze(), passing the snooze type and
|
586
|
-
# snooze time in the list of string parameters.
|
587
|
-
class AppsDynamiteSharedActionActionParameter
|
588
|
-
include Google::Apis::Core::Hashable
|
589
|
-
|
590
|
-
# The name of the parameter for the action script.
|
591
|
-
# Corresponds to the JSON property `key`
|
592
|
-
# @return [String]
|
593
|
-
attr_accessor :key
|
594
|
-
|
595
|
-
# The value of the parameter.
|
596
|
-
# Corresponds to the JSON property `value`
|
597
|
-
# @return [String]
|
598
|
-
attr_accessor :value
|
599
|
-
|
600
|
-
def initialize(**args)
|
601
|
-
update!(**args)
|
602
|
-
end
|
603
|
-
|
604
|
-
# Update properties of this object
|
605
|
-
def update!(**args)
|
606
|
-
@key = args[:key] if args.key?(:key)
|
607
|
-
@value = args[:value] if args.key?(:value)
|
608
|
-
end
|
609
|
-
end
|
610
|
-
|
611
544
|
# Next Id: 7
|
612
545
|
class AppsDynamiteSharedActivityFeedAnnotationData
|
613
546
|
include Google::Apis::Core::Hashable
|
@@ -956,6 +889,13 @@ module Google
|
|
956
889
|
# @return [Google::Apis::CloudsearchV1::GroupId]
|
957
890
|
attr_accessor :group_id
|
958
891
|
|
892
|
+
# If the uploaded file is a video that has been transcoded on the client side
|
893
|
+
# Next tag: 18
|
894
|
+
# Corresponds to the JSON property `isClientSideTranscodedVideo`
|
895
|
+
# @return [Boolean]
|
896
|
+
attr_accessor :is_client_side_transcoded_video
|
897
|
+
alias_method :is_client_side_transcoded_video?, :is_client_side_transcoded_video
|
898
|
+
|
959
899
|
# Dimension for the uploaded attachments.
|
960
900
|
# Corresponds to the JSON property `originalDimension`
|
961
901
|
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension]
|
@@ -1011,6 +951,7 @@ module Google
|
|
1011
951
|
@dlp_scan_outcome = args[:dlp_scan_outcome] if args.key?(:dlp_scan_outcome)
|
1012
952
|
@dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary)
|
1013
953
|
@group_id = args[:group_id] if args.key?(:group_id)
|
954
|
+
@is_client_side_transcoded_video = args[:is_client_side_transcoded_video] if args.key?(:is_client_side_transcoded_video)
|
1014
955
|
@original_dimension = args[:original_dimension] if args.key?(:original_dimension)
|
1015
956
|
@quote_reply_message_id = args[:quote_reply_message_id] if args.key?(:quote_reply_message_id)
|
1016
957
|
@sha256 = args[:sha256] if args.key?(:sha256)
|
@@ -1022,196 +963,6 @@ module Google
|
|
1022
963
|
end
|
1023
964
|
end
|
1024
965
|
|
1025
|
-
# Represents the complete border style applied to widgets.
|
1026
|
-
class AppsDynamiteSharedBorderStyle
|
1027
|
-
include Google::Apis::Core::Hashable
|
1028
|
-
|
1029
|
-
# The corner radius for the border.
|
1030
|
-
# Corresponds to the JSON property `cornerRadius`
|
1031
|
-
# @return [Fixnum]
|
1032
|
-
attr_accessor :corner_radius
|
1033
|
-
|
1034
|
-
# Represents a color in the RGBA color space. This representation is designed
|
1035
|
-
# for simplicity of conversion to/from color representations in various
|
1036
|
-
# languages over compactness. For example, the fields of this representation can
|
1037
|
-
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
1038
|
-
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
1039
|
-
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1040
|
-
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
1041
|
-
# information about the absolute color space that should be used to interpret
|
1042
|
-
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
1043
|
-
# applications should assume the sRGB color space. When color equality needs to
|
1044
|
-
# be decided, implementations, unless documented otherwise, treat two colors as
|
1045
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
1046
|
-
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
1047
|
-
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
1048
|
-
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
1049
|
-
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
1050
|
-
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
1051
|
-
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
1052
|
-
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
1053
|
-
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
1054
|
-
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
1055
|
-
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
1056
|
-
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
1057
|
-
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
1058
|
-
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
1059
|
-
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
1060
|
-
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
1061
|
-
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
1062
|
-
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
1063
|
-
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
1064
|
-
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
1065
|
-
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
1066
|
-
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
1067
|
-
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
1068
|
-
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
1069
|
-
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
1070
|
-
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
1071
|
-
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
1072
|
-
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
1073
|
-
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
1074
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
1075
|
-
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
1076
|
-
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
1077
|
-
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
1078
|
-
# / ...
|
1079
|
-
# Corresponds to the JSON property `strokeColor`
|
1080
|
-
# @return [Google::Apis::CloudsearchV1::Color]
|
1081
|
-
attr_accessor :stroke_color
|
1082
|
-
|
1083
|
-
# The border type.
|
1084
|
-
# Corresponds to the JSON property `type`
|
1085
|
-
# @return [String]
|
1086
|
-
attr_accessor :type
|
1087
|
-
|
1088
|
-
def initialize(**args)
|
1089
|
-
update!(**args)
|
1090
|
-
end
|
1091
|
-
|
1092
|
-
# Update properties of this object
|
1093
|
-
def update!(**args)
|
1094
|
-
@corner_radius = args[:corner_radius] if args.key?(:corner_radius)
|
1095
|
-
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
1096
|
-
@type = args[:type] if args.key?(:type)
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
# A button. Can be a text button or an image button.
|
1101
|
-
class AppsDynamiteSharedButton
|
1102
|
-
include Google::Apis::Core::Hashable
|
1103
|
-
|
1104
|
-
# The alternative text used for accessibility. Has no effect when an icon is set;
|
1105
|
-
# use `icon.alt_text` instead.
|
1106
|
-
# Corresponds to the JSON property `altText`
|
1107
|
-
# @return [String]
|
1108
|
-
attr_accessor :alt_text
|
1109
|
-
|
1110
|
-
# Represents a color in the RGBA color space. This representation is designed
|
1111
|
-
# for simplicity of conversion to/from color representations in various
|
1112
|
-
# languages over compactness. For example, the fields of this representation can
|
1113
|
-
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
1114
|
-
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
1115
|
-
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1116
|
-
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
1117
|
-
# information about the absolute color space that should be used to interpret
|
1118
|
-
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
1119
|
-
# applications should assume the sRGB color space. When color equality needs to
|
1120
|
-
# be decided, implementations, unless documented otherwise, treat two colors as
|
1121
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
1122
|
-
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
1123
|
-
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
1124
|
-
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
1125
|
-
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
1126
|
-
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
1127
|
-
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
1128
|
-
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
1129
|
-
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
1130
|
-
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
1131
|
-
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
1132
|
-
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
1133
|
-
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
1134
|
-
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
1135
|
-
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
1136
|
-
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
1137
|
-
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
1138
|
-
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
1139
|
-
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
1140
|
-
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
1141
|
-
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
1142
|
-
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
1143
|
-
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
1144
|
-
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
1145
|
-
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
1146
|
-
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
1147
|
-
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
1148
|
-
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
1149
|
-
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
1150
|
-
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
1151
|
-
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
1152
|
-
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
1153
|
-
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
1154
|
-
# / ...
|
1155
|
-
# Corresponds to the JSON property `color`
|
1156
|
-
# @return [Google::Apis::CloudsearchV1::Color]
|
1157
|
-
attr_accessor :color
|
1158
|
-
|
1159
|
-
# If true, the button is displayed in a disabled state and doesn't respond to
|
1160
|
-
# user actions.
|
1161
|
-
# Corresponds to the JSON property `disabled`
|
1162
|
-
# @return [Boolean]
|
1163
|
-
attr_accessor :disabled
|
1164
|
-
alias_method :disabled?, :disabled
|
1165
|
-
|
1166
|
-
# The icon image.
|
1167
|
-
# Corresponds to the JSON property `icon`
|
1168
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedIcon]
|
1169
|
-
attr_accessor :icon
|
1170
|
-
|
1171
|
-
# The action to perform when the button is clicked.
|
1172
|
-
# Corresponds to the JSON property `onClick`
|
1173
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOnClick]
|
1174
|
-
attr_accessor :on_click
|
1175
|
-
|
1176
|
-
# The text of the button.
|
1177
|
-
# Corresponds to the JSON property `text`
|
1178
|
-
# @return [String]
|
1179
|
-
attr_accessor :text
|
1180
|
-
|
1181
|
-
def initialize(**args)
|
1182
|
-
update!(**args)
|
1183
|
-
end
|
1184
|
-
|
1185
|
-
# Update properties of this object
|
1186
|
-
def update!(**args)
|
1187
|
-
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
1188
|
-
@color = args[:color] if args.key?(:color)
|
1189
|
-
@disabled = args[:disabled] if args.key?(:disabled)
|
1190
|
-
@icon = args[:icon] if args.key?(:icon)
|
1191
|
-
@on_click = args[:on_click] if args.key?(:on_click)
|
1192
|
-
@text = args[:text] if args.key?(:text)
|
1193
|
-
end
|
1194
|
-
end
|
1195
|
-
|
1196
|
-
# A list of buttons layed out horizontally.
|
1197
|
-
class AppsDynamiteSharedButtonList
|
1198
|
-
include Google::Apis::Core::Hashable
|
1199
|
-
|
1200
|
-
#
|
1201
|
-
# Corresponds to the JSON property `buttons`
|
1202
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedButton>]
|
1203
|
-
attr_accessor :buttons
|
1204
|
-
|
1205
|
-
def initialize(**args)
|
1206
|
-
update!(**args)
|
1207
|
-
end
|
1208
|
-
|
1209
|
-
# Update properties of this object
|
1210
|
-
def update!(**args)
|
1211
|
-
@buttons = args[:buttons] if args.key?(:buttons)
|
1212
|
-
end
|
1213
|
-
end
|
1214
|
-
|
1215
966
|
#
|
1216
967
|
class AppsDynamiteSharedCalendarEventAnnotationData
|
1217
968
|
include Google::Apis::Core::Hashable
|
@@ -1370,139 +1121,6 @@ module Google
|
|
1370
1121
|
end
|
1371
1122
|
end
|
1372
1123
|
|
1373
|
-
# A card is a UI element that can contain UI widgets such as text and images.
|
1374
|
-
# For more information, see Cards . For example, the following JSON creates a
|
1375
|
-
# card that has a header with the name, position, icons, and link for a contact,
|
1376
|
-
# followed by a section with contact information like email and phone number. ```
|
1377
|
-
# ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
|
1378
|
-
# imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
|
1379
|
-
# png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
|
1380
|
-
# Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
|
1381
|
-
# EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
|
1382
|
-
# ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
|
1383
|
-
# icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
|
1384
|
-
# buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
|
1385
|
-
# url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
|
1386
|
-
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
1387
|
-
# viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
|
1388
|
-
# ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
|
1389
|
-
# [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
|
1390
|
-
# example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
|
1391
|
-
class AppsDynamiteSharedCard
|
1392
|
-
include Google::Apis::Core::Hashable
|
1393
|
-
|
1394
|
-
# The actions of this card. They are added to a card's generated toolbar menu.
|
1395
|
-
# For example, the following JSON constructs a card action menu with Settings
|
1396
|
-
# and Send Feedback options: ``` "card_actions": [ ` "actionLabel": "Setting", "
|
1397
|
-
# onClick": ` "action": ` "functionName": "goToView", "parameters": [ ` "key": "
|
1398
|
-
# viewType", "value": "SETTING" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` `
|
1399
|
-
# `, ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https:
|
1400
|
-
# //example.com/feedback" ` ` ` ] ```
|
1401
|
-
# Corresponds to the JSON property `cardActions`
|
1402
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedCardCardAction>]
|
1403
|
-
attr_accessor :card_actions
|
1404
|
-
|
1405
|
-
# The header of the card. A header usually contains a title and an image.
|
1406
|
-
# Corresponds to the JSON property `header`
|
1407
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedCardCardHeader]
|
1408
|
-
attr_accessor :header
|
1409
|
-
|
1410
|
-
# Name of the card, which is used as a identifier for the card in card
|
1411
|
-
# navigation.
|
1412
|
-
# Corresponds to the JSON property `name`
|
1413
|
-
# @return [String]
|
1414
|
-
attr_accessor :name
|
1415
|
-
|
1416
|
-
# Sections are separated by a line divider.
|
1417
|
-
# Corresponds to the JSON property `sections`
|
1418
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedCardSection>]
|
1419
|
-
attr_accessor :sections
|
1420
|
-
|
1421
|
-
def initialize(**args)
|
1422
|
-
update!(**args)
|
1423
|
-
end
|
1424
|
-
|
1425
|
-
# Update properties of this object
|
1426
|
-
def update!(**args)
|
1427
|
-
@card_actions = args[:card_actions] if args.key?(:card_actions)
|
1428
|
-
@header = args[:header] if args.key?(:header)
|
1429
|
-
@name = args[:name] if args.key?(:name)
|
1430
|
-
@sections = args[:sections] if args.key?(:sections)
|
1431
|
-
end
|
1432
|
-
end
|
1433
|
-
|
1434
|
-
# A card action is the action associated with the card. For example, an invoice
|
1435
|
-
# card might include actions such as delete invoice, email invoice, or open the
|
1436
|
-
# invoice in a browser.
|
1437
|
-
class AppsDynamiteSharedCardCardAction
|
1438
|
-
include Google::Apis::Core::Hashable
|
1439
|
-
|
1440
|
-
# The label that displays as the action menu item.
|
1441
|
-
# Corresponds to the JSON property `actionLabel`
|
1442
|
-
# @return [String]
|
1443
|
-
attr_accessor :action_label
|
1444
|
-
|
1445
|
-
# The onclick action for this action item.
|
1446
|
-
# Corresponds to the JSON property `onClick`
|
1447
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOnClick]
|
1448
|
-
attr_accessor :on_click
|
1449
|
-
|
1450
|
-
def initialize(**args)
|
1451
|
-
update!(**args)
|
1452
|
-
end
|
1453
|
-
|
1454
|
-
# Update properties of this object
|
1455
|
-
def update!(**args)
|
1456
|
-
@action_label = args[:action_label] if args.key?(:action_label)
|
1457
|
-
@on_click = args[:on_click] if args.key?(:on_click)
|
1458
|
-
end
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
#
|
1462
|
-
class AppsDynamiteSharedCardCardHeader
|
1463
|
-
include Google::Apis::Core::Hashable
|
1464
|
-
|
1465
|
-
# The alternative text of this image which is used for accessibility.
|
1466
|
-
# Corresponds to the JSON property `imageAltText`
|
1467
|
-
# @return [String]
|
1468
|
-
attr_accessor :image_alt_text
|
1469
|
-
|
1470
|
-
# The image's type.
|
1471
|
-
# Corresponds to the JSON property `imageType`
|
1472
|
-
# @return [String]
|
1473
|
-
attr_accessor :image_type
|
1474
|
-
|
1475
|
-
# The URL of the image in the card header.
|
1476
|
-
# Corresponds to the JSON property `imageUrl`
|
1477
|
-
# @return [String]
|
1478
|
-
attr_accessor :image_url
|
1479
|
-
|
1480
|
-
# The subtitle of the card header.
|
1481
|
-
# Corresponds to the JSON property `subtitle`
|
1482
|
-
# @return [String]
|
1483
|
-
attr_accessor :subtitle
|
1484
|
-
|
1485
|
-
# The title of the card header. The title must be specified. The header has a
|
1486
|
-
# fixed height: if both a title and subtitle are specified, each takes up one
|
1487
|
-
# line. If only the title is specified, it takes up both lines.
|
1488
|
-
# Corresponds to the JSON property `title`
|
1489
|
-
# @return [String]
|
1490
|
-
attr_accessor :title
|
1491
|
-
|
1492
|
-
def initialize(**args)
|
1493
|
-
update!(**args)
|
1494
|
-
end
|
1495
|
-
|
1496
|
-
# Update properties of this object
|
1497
|
-
def update!(**args)
|
1498
|
-
@image_alt_text = args[:image_alt_text] if args.key?(:image_alt_text)
|
1499
|
-
@image_type = args[:image_type] if args.key?(:image_type)
|
1500
|
-
@image_url = args[:image_url] if args.key?(:image_url)
|
1501
|
-
@subtitle = args[:subtitle] if args.key?(:subtitle)
|
1502
|
-
@title = args[:title] if args.key?(:title)
|
1503
|
-
end
|
1504
|
-
end
|
1505
|
-
|
1506
1124
|
# Card click which identifies one suggestion provided by the app/bot.
|
1507
1125
|
class AppsDynamiteSharedCardClickSuggestion
|
1508
1126
|
include Google::Apis::Core::Hashable
|
@@ -1530,51 +1148,6 @@ module Google
|
|
1530
1148
|
end
|
1531
1149
|
end
|
1532
1150
|
|
1533
|
-
# A section contains a collection of widgets that are rendered vertically in the
|
1534
|
-
# order that they are specified. Across all platforms, cards have a narrow fixed
|
1535
|
-
# width, so there is currently no need for layout properties, for example, float.
|
1536
|
-
class AppsDynamiteSharedCardSection
|
1537
|
-
include Google::Apis::Core::Hashable
|
1538
|
-
|
1539
|
-
# Indicates whether this section is collapsible. If a section is collapsible,
|
1540
|
-
# the description must be given.
|
1541
|
-
# Corresponds to the JSON property `collapsible`
|
1542
|
-
# @return [Boolean]
|
1543
|
-
attr_accessor :collapsible
|
1544
|
-
alias_method :collapsible?, :collapsible
|
1545
|
-
|
1546
|
-
# The header of the section. Formatted text is supported.
|
1547
|
-
# Corresponds to the JSON property `header`
|
1548
|
-
# @return [String]
|
1549
|
-
attr_accessor :header
|
1550
|
-
|
1551
|
-
# The number of uncollapsible widgets. For example, when a section contains five
|
1552
|
-
# widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets
|
1553
|
-
# are always shown and the last three are collapsed as default. The `
|
1554
|
-
# numUncollapsibleWidget` is taken into account only when collapsible is set to `
|
1555
|
-
# true`.
|
1556
|
-
# Corresponds to the JSON property `uncollapsibleWidgetsCount`
|
1557
|
-
# @return [Fixnum]
|
1558
|
-
attr_accessor :uncollapsible_widgets_count
|
1559
|
-
|
1560
|
-
# A section must contain at least 1 widget.
|
1561
|
-
# Corresponds to the JSON property `widgets`
|
1562
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedWidget>]
|
1563
|
-
attr_accessor :widgets
|
1564
|
-
|
1565
|
-
def initialize(**args)
|
1566
|
-
update!(**args)
|
1567
|
-
end
|
1568
|
-
|
1569
|
-
# Update properties of this object
|
1570
|
-
def update!(**args)
|
1571
|
-
@collapsible = args[:collapsible] if args.key?(:collapsible)
|
1572
|
-
@header = args[:header] if args.key?(:header)
|
1573
|
-
@uncollapsible_widgets_count = args[:uncollapsible_widgets_count] if args.key?(:uncollapsible_widgets_count)
|
1574
|
-
@widgets = args[:widgets] if args.key?(:widgets)
|
1575
|
-
end
|
1576
|
-
end
|
1577
|
-
|
1578
1151
|
# Next Id: 5
|
1579
1152
|
class AppsDynamiteSharedChatItem
|
1580
1153
|
include Google::Apis::Core::Hashable
|
@@ -1767,19 +1340,14 @@ module Google
|
|
1767
1340
|
end
|
1768
1341
|
end
|
1769
1342
|
|
1770
|
-
#
|
1771
|
-
class
|
1343
|
+
# Denotes a type of content report a user can send.
|
1344
|
+
class AppsDynamiteSharedContentReportType
|
1772
1345
|
include Google::Apis::Core::Hashable
|
1773
1346
|
|
1774
|
-
#
|
1775
|
-
# Corresponds to the JSON property `
|
1776
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedColumnsColumn>]
|
1777
|
-
attr_accessor :column_items
|
1778
|
-
|
1779
|
-
# Controls how the column resizes based on screen width.
|
1780
|
-
# Corresponds to the JSON property `wrapStyle`
|
1347
|
+
# Required. Google-defined system violation, covering the most common violations.
|
1348
|
+
# Corresponds to the JSON property `systemViolation`
|
1781
1349
|
# @return [String]
|
1782
|
-
attr_accessor :
|
1350
|
+
attr_accessor :system_violation
|
1783
1351
|
|
1784
1352
|
def initialize(**args)
|
1785
1353
|
update!(**args)
|
@@ -1787,183 +1355,65 @@ module Google
|
|
1787
1355
|
|
1788
1356
|
# Update properties of this object
|
1789
1357
|
def update!(**args)
|
1790
|
-
@
|
1791
|
-
@wrap_style = args[:wrap_style] if args.key?(:wrap_style)
|
1358
|
+
@system_violation = args[:system_violation] if args.key?(:system_violation)
|
1792
1359
|
end
|
1793
1360
|
end
|
1794
1361
|
|
1795
|
-
#
|
1796
|
-
|
1362
|
+
# Proto representation of a custom emoji. May be used in both APIs and in
|
1363
|
+
# Spanner, but certain fields should be restricted to one or the other. See the
|
1364
|
+
# per-field documentation for details. NEXT_TAG: 14
|
1365
|
+
class AppsDynamiteSharedCustomEmoji
|
1797
1366
|
include Google::Apis::Core::Hashable
|
1798
1367
|
|
1799
|
-
#
|
1800
|
-
#
|
1801
|
-
#
|
1802
|
-
|
1803
|
-
|
1804
|
-
# Specifies how the column content is sized horizontally.
|
1805
|
-
# Corresponds to the JSON property `horizontalSizeStyle`
|
1368
|
+
# ID for the underlying image data in Blobstore. This field should *only* be
|
1369
|
+
# present in Spanner or within the server, but should not be exposed in public
|
1370
|
+
# APIs.
|
1371
|
+
# Corresponds to the JSON property `blobId`
|
1806
1372
|
# @return [String]
|
1807
|
-
attr_accessor :
|
1373
|
+
attr_accessor :blob_id
|
1808
1374
|
|
1809
|
-
#
|
1810
|
-
#
|
1375
|
+
# Content type of the file used to upload the emoji. Used for takeout. Written
|
1376
|
+
# to Spanner when the emoji is created.
|
1377
|
+
# Corresponds to the JSON property `contentType`
|
1811
1378
|
# @return [String]
|
1812
|
-
attr_accessor :
|
1379
|
+
attr_accessor :content_type
|
1813
1380
|
|
1814
|
-
#
|
1815
|
-
# the
|
1816
|
-
# Corresponds to the JSON property `
|
1817
|
-
# @return [
|
1818
|
-
attr_accessor :
|
1381
|
+
# Time when the Emoji was created, in microseconds. This field may be present in
|
1382
|
+
# Spanner, within the server, or in public APIs.
|
1383
|
+
# Corresponds to the JSON property `createTimeMicros`
|
1384
|
+
# @return [Fixnum]
|
1385
|
+
attr_accessor :create_time_micros
|
1819
1386
|
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1387
|
+
# Primary key for User resource.
|
1388
|
+
# Corresponds to the JSON property `creatorUserId`
|
1389
|
+
# @return [Google::Apis::CloudsearchV1::UserId]
|
1390
|
+
attr_accessor :creator_user_id
|
1823
1391
|
|
1824
|
-
#
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
end
|
1831
|
-
end
|
1392
|
+
# Time when the emoji was deleted, in microseconds. This field may be present in
|
1393
|
+
# Spanner, within the server, or in public APIs. Only present if the emoji has
|
1394
|
+
# been deleted.
|
1395
|
+
# Corresponds to the JSON property `deleteTimeMicros`
|
1396
|
+
# @return [Fixnum]
|
1397
|
+
attr_accessor :delete_time_micros
|
1832
1398
|
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1399
|
+
# Output only. A short-lived URL clients can use for directly accessing a custom
|
1400
|
+
# emoji image. This field is intended for API consumption, and should *never* be
|
1401
|
+
# persisted to Spanner.
|
1402
|
+
# Corresponds to the JSON property `ephemeralUrl`
|
1403
|
+
# @return [String]
|
1404
|
+
attr_accessor :ephemeral_url
|
1836
1405
|
|
1837
|
-
#
|
1838
|
-
# Corresponds to the JSON property `
|
1839
|
-
# @return [Google::Apis::CloudsearchV1::
|
1840
|
-
attr_accessor :
|
1406
|
+
# Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
|
1407
|
+
# Corresponds to the JSON property `ownerCustomerId`
|
1408
|
+
# @return [Google::Apis::CloudsearchV1::CustomerId]
|
1409
|
+
attr_accessor :owner_customer_id
|
1841
1410
|
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
#
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
# below the text, an icon in front of the text, a selection widget or a button
|
1849
|
-
# after the text.
|
1850
|
-
# Corresponds to the JSON property `decoratedText`
|
1851
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedDecoratedText]
|
1852
|
-
attr_accessor :decorated_text
|
1853
|
-
|
1854
|
-
# An image that is specified by a URL and can have an onClick action.
|
1855
|
-
# Corresponds to the JSON property `image`
|
1856
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedImage]
|
1857
|
-
attr_accessor :image
|
1858
|
-
|
1859
|
-
# A widget that creates a UI item (for example, a drop-down list) with options
|
1860
|
-
# for users to select.
|
1861
|
-
# Corresponds to the JSON property `selectionInput`
|
1862
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInput]
|
1863
|
-
attr_accessor :selection_input
|
1864
|
-
|
1865
|
-
# A text input is a UI item where users can input text. A text input can also
|
1866
|
-
# have an onChange action and suggestions.
|
1867
|
-
# Corresponds to the JSON property `textInput`
|
1868
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTextInput]
|
1869
|
-
attr_accessor :text_input
|
1870
|
-
|
1871
|
-
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
1872
|
-
# add-ons/concepts/widgets#text_formatting") for details.
|
1873
|
-
# Corresponds to the JSON property `textParagraph`
|
1874
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTextParagraph]
|
1875
|
-
attr_accessor :text_paragraph
|
1876
|
-
|
1877
|
-
def initialize(**args)
|
1878
|
-
update!(**args)
|
1879
|
-
end
|
1880
|
-
|
1881
|
-
# Update properties of this object
|
1882
|
-
def update!(**args)
|
1883
|
-
@button_list = args[:button_list] if args.key?(:button_list)
|
1884
|
-
@date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
|
1885
|
-
@decorated_text = args[:decorated_text] if args.key?(:decorated_text)
|
1886
|
-
@image = args[:image] if args.key?(:image)
|
1887
|
-
@selection_input = args[:selection_input] if args.key?(:selection_input)
|
1888
|
-
@text_input = args[:text_input] if args.key?(:text_input)
|
1889
|
-
@text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph)
|
1890
|
-
end
|
1891
|
-
end
|
1892
|
-
|
1893
|
-
# Denotes a type of content report a user can send.
|
1894
|
-
class AppsDynamiteSharedContentReportType
|
1895
|
-
include Google::Apis::Core::Hashable
|
1896
|
-
|
1897
|
-
# Required. Google-defined system violation, covering the most common violations.
|
1898
|
-
# Corresponds to the JSON property `systemViolation`
|
1899
|
-
# @return [String]
|
1900
|
-
attr_accessor :system_violation
|
1901
|
-
|
1902
|
-
def initialize(**args)
|
1903
|
-
update!(**args)
|
1904
|
-
end
|
1905
|
-
|
1906
|
-
# Update properties of this object
|
1907
|
-
def update!(**args)
|
1908
|
-
@system_violation = args[:system_violation] if args.key?(:system_violation)
|
1909
|
-
end
|
1910
|
-
end
|
1911
|
-
|
1912
|
-
# Proto representation of a custom emoji. May be used in both APIs and in
|
1913
|
-
# Spanner, but certain fields should be restricted to one or the other. See the
|
1914
|
-
# per-field documentation for details. NEXT_TAG: 14
|
1915
|
-
class AppsDynamiteSharedCustomEmoji
|
1916
|
-
include Google::Apis::Core::Hashable
|
1917
|
-
|
1918
|
-
# ID for the underlying image data in Blobstore. This field should *only* be
|
1919
|
-
# present in Spanner or within the server, but should not be exposed in public
|
1920
|
-
# APIs.
|
1921
|
-
# Corresponds to the JSON property `blobId`
|
1922
|
-
# @return [String]
|
1923
|
-
attr_accessor :blob_id
|
1924
|
-
|
1925
|
-
# Content type of the file used to upload the emoji. Used for takeout. Written
|
1926
|
-
# to Spanner when the emoji is created.
|
1927
|
-
# Corresponds to the JSON property `contentType`
|
1928
|
-
# @return [String]
|
1929
|
-
attr_accessor :content_type
|
1930
|
-
|
1931
|
-
# Time when the Emoji was created, in microseconds. This field may be present in
|
1932
|
-
# Spanner, within the server, or in public APIs.
|
1933
|
-
# Corresponds to the JSON property `createTimeMicros`
|
1934
|
-
# @return [Fixnum]
|
1935
|
-
attr_accessor :create_time_micros
|
1936
|
-
|
1937
|
-
# Primary key for User resource.
|
1938
|
-
# Corresponds to the JSON property `creatorUserId`
|
1939
|
-
# @return [Google::Apis::CloudsearchV1::UserId]
|
1940
|
-
attr_accessor :creator_user_id
|
1941
|
-
|
1942
|
-
# Time when the emoji was deleted, in microseconds. This field may be present in
|
1943
|
-
# Spanner, within the server, or in public APIs. Only present if the emoji has
|
1944
|
-
# been deleted.
|
1945
|
-
# Corresponds to the JSON property `deleteTimeMicros`
|
1946
|
-
# @return [Fixnum]
|
1947
|
-
attr_accessor :delete_time_micros
|
1948
|
-
|
1949
|
-
# Output only. A short-lived URL clients can use for directly accessing a custom
|
1950
|
-
# emoji image. This field is intended for API consumption, and should *never* be
|
1951
|
-
# persisted to Spanner.
|
1952
|
-
# Corresponds to the JSON property `ephemeralUrl`
|
1953
|
-
# @return [String]
|
1954
|
-
attr_accessor :ephemeral_url
|
1955
|
-
|
1956
|
-
# Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
|
1957
|
-
# Corresponds to the JSON property `ownerCustomerId`
|
1958
|
-
# @return [Google::Apis::CloudsearchV1::CustomerId]
|
1959
|
-
attr_accessor :owner_customer_id
|
1960
|
-
|
1961
|
-
# Opaque token that clients use to construct the URL for accessing the custom
|
1962
|
-
# emoji’s image data. This field is intended for API consumption, and should *
|
1963
|
-
# never* be persisted to Spanner.
|
1964
|
-
# Corresponds to the JSON property `readToken`
|
1965
|
-
# @return [String]
|
1966
|
-
attr_accessor :read_token
|
1411
|
+
# Opaque token that clients use to construct the URL for accessing the custom
|
1412
|
+
# emoji’s image data. This field is intended for API consumption, and should *
|
1413
|
+
# never* be persisted to Spanner.
|
1414
|
+
# Corresponds to the JSON property `readToken`
|
1415
|
+
# @return [String]
|
1416
|
+
attr_accessor :read_token
|
1967
1417
|
|
1968
1418
|
# User-provided, human-readable ID for the custom emoji. Users are expected to
|
1969
1419
|
# observe this field in the UI instead of the UUID. This shortcode should be
|
@@ -2012,47 +1462,19 @@ module Google
|
|
2012
1462
|
end
|
2013
1463
|
end
|
2014
1464
|
|
2015
|
-
#
|
2016
|
-
class
|
1465
|
+
# Dimension for the uploaded attachments.
|
1466
|
+
class AppsDynamiteSharedDimension
|
2017
1467
|
include Google::Apis::Core::Hashable
|
2018
1468
|
|
2019
|
-
#
|
2020
|
-
# Corresponds to the JSON property `
|
2021
|
-
# @return [String]
|
2022
|
-
attr_accessor :label
|
2023
|
-
|
2024
|
-
# The name of the text input that's used in formInput, and uniquely identifies
|
2025
|
-
# this input.
|
2026
|
-
# Corresponds to the JSON property `name`
|
2027
|
-
# @return [String]
|
2028
|
-
attr_accessor :name
|
2029
|
-
|
2030
|
-
# An action that describes the behavior when the form is submitted. For example,
|
2031
|
-
# an Apps Script can be invoked to handle the form.
|
2032
|
-
# Corresponds to the JSON property `onChangeAction`
|
2033
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAction]
|
2034
|
-
attr_accessor :on_change_action
|
2035
|
-
|
2036
|
-
# The number representing the time zone offset from UTC, in minutes. If set, the
|
2037
|
-
# `value_ms_epoch` is displayed in the specified time zone. If not set, it uses
|
2038
|
-
# the user's time zone setting on the client side.
|
2039
|
-
# Corresponds to the JSON property `timezoneOffsetDate`
|
1469
|
+
#
|
1470
|
+
# Corresponds to the JSON property `height`
|
2040
1471
|
# @return [Fixnum]
|
2041
|
-
attr_accessor :
|
2042
|
-
|
2043
|
-
# The type of the date/time picker.
|
2044
|
-
# Corresponds to the JSON property `type`
|
2045
|
-
# @return [String]
|
2046
|
-
attr_accessor :type
|
1472
|
+
attr_accessor :height
|
2047
1473
|
|
2048
|
-
#
|
2049
|
-
#
|
2050
|
-
# type, the full epoch value is used. For `DATE_ONLY` type, only date of the
|
2051
|
-
# epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used.
|
2052
|
-
# For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.
|
2053
|
-
# Corresponds to the JSON property `valueMsEpoch`
|
1474
|
+
#
|
1475
|
+
# Corresponds to the JSON property `width`
|
2054
1476
|
# @return [Fixnum]
|
2055
|
-
attr_accessor :
|
1477
|
+
attr_accessor :width
|
2056
1478
|
|
2057
1479
|
def initialize(**args)
|
2058
1480
|
update!(**args)
|
@@ -2060,228 +1482,64 @@ module Google
|
|
2060
1482
|
|
2061
1483
|
# Update properties of this object
|
2062
1484
|
def update!(**args)
|
2063
|
-
@
|
2064
|
-
@
|
2065
|
-
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
2066
|
-
@timezone_offset_date = args[:timezone_offset_date] if args.key?(:timezone_offset_date)
|
2067
|
-
@type = args[:type] if args.key?(:type)
|
2068
|
-
@value_ms_epoch = args[:value_ms_epoch] if args.key?(:value_ms_epoch)
|
1485
|
+
@height = args[:height] if args.key?(:height)
|
1486
|
+
@width = args[:width] if args.key?(:width)
|
2069
1487
|
end
|
2070
1488
|
end
|
2071
1489
|
|
2072
|
-
#
|
2073
|
-
|
2074
|
-
# after the text.
|
2075
|
-
class AppsDynamiteSharedDecoratedText
|
1490
|
+
# LINT.IfChange
|
1491
|
+
class AppsDynamiteSharedDlpMetricsMetadata
|
2076
1492
|
include Google::Apis::Core::Hashable
|
2077
1493
|
|
2078
|
-
#
|
2079
|
-
#
|
1494
|
+
# [required] Describes the DLP status of message send and attachment upload
|
1495
|
+
# events.
|
1496
|
+
# Corresponds to the JSON property `dlpStatus`
|
2080
1497
|
# @return [String]
|
2081
|
-
attr_accessor :
|
1498
|
+
attr_accessor :dlp_status
|
2082
1499
|
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
attr_accessor :button
|
1500
|
+
def initialize(**args)
|
1501
|
+
update!(**args)
|
1502
|
+
end
|
2087
1503
|
|
2088
|
-
#
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
1504
|
+
# Update properties of this object
|
1505
|
+
def update!(**args)
|
1506
|
+
@dlp_status = args[:dlp_status] if args.key?(:dlp_status)
|
1507
|
+
end
|
1508
|
+
end
|
2092
1509
|
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
attr_accessor :icon
|
1510
|
+
# Data for rendering a document.
|
1511
|
+
class AppsDynamiteSharedDocument
|
1512
|
+
include Google::Apis::Core::Hashable
|
2097
1513
|
|
2098
|
-
#
|
2099
|
-
# Corresponds to the JSON property `
|
2100
|
-
# @return [
|
2101
|
-
attr_accessor :
|
1514
|
+
# Unique file ID.
|
1515
|
+
# Corresponds to the JSON property `fileId`
|
1516
|
+
# @return [String]
|
1517
|
+
attr_accessor :file_id
|
2102
1518
|
|
2103
|
-
#
|
2104
|
-
# Corresponds to the JSON property `
|
2105
|
-
# @return [Google::Apis::CloudsearchV1::
|
2106
|
-
attr_accessor :
|
1519
|
+
# Data for rendering a justification for a document.
|
1520
|
+
# Corresponds to the JSON property `justification`
|
1521
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification]
|
1522
|
+
attr_accessor :justification
|
2107
1523
|
|
2108
|
-
#
|
2109
|
-
# Corresponds to the JSON property `
|
2110
|
-
# @return [
|
2111
|
-
attr_accessor :
|
1524
|
+
# Time the document was last modified.
|
1525
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
1526
|
+
# @return [String]
|
1527
|
+
attr_accessor :last_modified_time
|
2112
1528
|
|
2113
|
-
#
|
2114
|
-
# Corresponds to the JSON property `
|
1529
|
+
# Used to determine which icon to render (e.g. docs, slides, sheets)
|
1530
|
+
# Corresponds to the JSON property `mimeType`
|
2115
1531
|
# @return [String]
|
2116
|
-
attr_accessor :
|
1532
|
+
attr_accessor :mime_type
|
2117
1533
|
|
2118
|
-
#
|
2119
|
-
# Corresponds to the JSON property `
|
1534
|
+
# Title of the document.
|
1535
|
+
# Corresponds to the JSON property `title`
|
2120
1536
|
# @return [String]
|
2121
|
-
attr_accessor :
|
1537
|
+
attr_accessor :title
|
2122
1538
|
|
2123
|
-
#
|
2124
|
-
#
|
2125
|
-
#
|
2126
|
-
|
2127
|
-
attr_accessor :wrap_text
|
2128
|
-
alias_method :wrap_text?, :wrap_text
|
2129
|
-
|
2130
|
-
def initialize(**args)
|
2131
|
-
update!(**args)
|
2132
|
-
end
|
2133
|
-
|
2134
|
-
# Update properties of this object
|
2135
|
-
def update!(**args)
|
2136
|
-
@bottom_label = args[:bottom_label] if args.key?(:bottom_label)
|
2137
|
-
@button = args[:button] if args.key?(:button)
|
2138
|
-
@end_icon = args[:end_icon] if args.key?(:end_icon)
|
2139
|
-
@icon = args[:icon] if args.key?(:icon)
|
2140
|
-
@on_click = args[:on_click] if args.key?(:on_click)
|
2141
|
-
@start_icon = args[:start_icon] if args.key?(:start_icon)
|
2142
|
-
@switch_control = args[:switch_control] if args.key?(:switch_control)
|
2143
|
-
@text = args[:text] if args.key?(:text)
|
2144
|
-
@top_label = args[:top_label] if args.key?(:top_label)
|
2145
|
-
@wrap_text = args[:wrap_text] if args.key?(:wrap_text)
|
2146
|
-
end
|
2147
|
-
end
|
2148
|
-
|
2149
|
-
#
|
2150
|
-
class AppsDynamiteSharedDecoratedTextSwitchControl
|
2151
|
-
include Google::Apis::Core::Hashable
|
2152
|
-
|
2153
|
-
# The control type, either switch or checkbox.
|
2154
|
-
# Corresponds to the JSON property `controlType`
|
2155
|
-
# @return [String]
|
2156
|
-
attr_accessor :control_type
|
2157
|
-
|
2158
|
-
# The name of the switch widget that's used in formInput.
|
2159
|
-
# Corresponds to the JSON property `name`
|
2160
|
-
# @return [String]
|
2161
|
-
attr_accessor :name
|
2162
|
-
|
2163
|
-
# An action that describes the behavior when the form is submitted. For example,
|
2164
|
-
# an Apps Script can be invoked to handle the form.
|
2165
|
-
# Corresponds to the JSON property `onChangeAction`
|
2166
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAction]
|
2167
|
-
attr_accessor :on_change_action
|
2168
|
-
|
2169
|
-
# If the switch is selected.
|
2170
|
-
# Corresponds to the JSON property `selected`
|
2171
|
-
# @return [Boolean]
|
2172
|
-
attr_accessor :selected
|
2173
|
-
alias_method :selected?, :selected
|
2174
|
-
|
2175
|
-
# The value is what is passed back in the callback.
|
2176
|
-
# Corresponds to the JSON property `value`
|
2177
|
-
# @return [String]
|
2178
|
-
attr_accessor :value
|
2179
|
-
|
2180
|
-
def initialize(**args)
|
2181
|
-
update!(**args)
|
2182
|
-
end
|
2183
|
-
|
2184
|
-
# Update properties of this object
|
2185
|
-
def update!(**args)
|
2186
|
-
@control_type = args[:control_type] if args.key?(:control_type)
|
2187
|
-
@name = args[:name] if args.key?(:name)
|
2188
|
-
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
2189
|
-
@selected = args[:selected] if args.key?(:selected)
|
2190
|
-
@value = args[:value] if args.key?(:value)
|
2191
|
-
end
|
2192
|
-
end
|
2193
|
-
|
2194
|
-
# Dimension for the uploaded attachments.
|
2195
|
-
class AppsDynamiteSharedDimension
|
2196
|
-
include Google::Apis::Core::Hashable
|
2197
|
-
|
2198
|
-
#
|
2199
|
-
# Corresponds to the JSON property `height`
|
2200
|
-
# @return [Fixnum]
|
2201
|
-
attr_accessor :height
|
2202
|
-
|
2203
|
-
#
|
2204
|
-
# Corresponds to the JSON property `width`
|
2205
|
-
# @return [Fixnum]
|
2206
|
-
attr_accessor :width
|
2207
|
-
|
2208
|
-
def initialize(**args)
|
2209
|
-
update!(**args)
|
2210
|
-
end
|
2211
|
-
|
2212
|
-
# Update properties of this object
|
2213
|
-
def update!(**args)
|
2214
|
-
@height = args[:height] if args.key?(:height)
|
2215
|
-
@width = args[:width] if args.key?(:width)
|
2216
|
-
end
|
2217
|
-
end
|
2218
|
-
|
2219
|
-
# A divider that appears in between widgets.
|
2220
|
-
class AppsDynamiteSharedDivider
|
2221
|
-
include Google::Apis::Core::Hashable
|
2222
|
-
|
2223
|
-
def initialize(**args)
|
2224
|
-
update!(**args)
|
2225
|
-
end
|
2226
|
-
|
2227
|
-
# Update properties of this object
|
2228
|
-
def update!(**args)
|
2229
|
-
end
|
2230
|
-
end
|
2231
|
-
|
2232
|
-
# LINT.IfChange
|
2233
|
-
class AppsDynamiteSharedDlpMetricsMetadata
|
2234
|
-
include Google::Apis::Core::Hashable
|
2235
|
-
|
2236
|
-
# [required] Describes the DLP status of message send and attachment upload
|
2237
|
-
# events.
|
2238
|
-
# Corresponds to the JSON property `dlpStatus`
|
2239
|
-
# @return [String]
|
2240
|
-
attr_accessor :dlp_status
|
2241
|
-
|
2242
|
-
def initialize(**args)
|
2243
|
-
update!(**args)
|
2244
|
-
end
|
2245
|
-
|
2246
|
-
# Update properties of this object
|
2247
|
-
def update!(**args)
|
2248
|
-
@dlp_status = args[:dlp_status] if args.key?(:dlp_status)
|
2249
|
-
end
|
2250
|
-
end
|
2251
|
-
|
2252
|
-
# Data for rendering a document.
|
2253
|
-
class AppsDynamiteSharedDocument
|
2254
|
-
include Google::Apis::Core::Hashable
|
2255
|
-
|
2256
|
-
# Unique file ID.
|
2257
|
-
# Corresponds to the JSON property `fileId`
|
2258
|
-
# @return [String]
|
2259
|
-
attr_accessor :file_id
|
2260
|
-
|
2261
|
-
# Data for rendering a justification for a document.
|
2262
|
-
# Corresponds to the JSON property `justification`
|
2263
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification]
|
2264
|
-
attr_accessor :justification
|
2265
|
-
|
2266
|
-
# Time the document was last modified.
|
2267
|
-
# Corresponds to the JSON property `lastModifiedTime`
|
2268
|
-
# @return [String]
|
2269
|
-
attr_accessor :last_modified_time
|
2270
|
-
|
2271
|
-
# Used to determine which icon to render (e.g. docs, slides, sheets)
|
2272
|
-
# Corresponds to the JSON property `mimeType`
|
2273
|
-
# @return [String]
|
2274
|
-
attr_accessor :mime_type
|
2275
|
-
|
2276
|
-
# Title of the document.
|
2277
|
-
# Corresponds to the JSON property `title`
|
2278
|
-
# @return [String]
|
2279
|
-
attr_accessor :title
|
2280
|
-
|
2281
|
-
# URL of the document.
|
2282
|
-
# Corresponds to the JSON property `url`
|
2283
|
-
# @return [String]
|
2284
|
-
attr_accessor :url
|
1539
|
+
# URL of the document.
|
1540
|
+
# Corresponds to the JSON property `url`
|
1541
|
+
# @return [String]
|
1542
|
+
attr_accessor :url
|
2285
1543
|
|
2286
1544
|
def initialize(**args)
|
2287
1545
|
update!(**args)
|
@@ -2351,102 +1609,6 @@ module Google
|
|
2351
1609
|
end
|
2352
1610
|
end
|
2353
1611
|
|
2354
|
-
# Represents a Grid widget that displays items in a configurable grid layout.
|
2355
|
-
class AppsDynamiteSharedGrid
|
2356
|
-
include Google::Apis::Core::Hashable
|
2357
|
-
|
2358
|
-
# Represents the complete border style applied to widgets.
|
2359
|
-
# Corresponds to the JSON property `borderStyle`
|
2360
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedBorderStyle]
|
2361
|
-
attr_accessor :border_style
|
2362
|
-
|
2363
|
-
# The number of columns to display in the grid. A default value is used if this
|
2364
|
-
# field isn't specified, and that default value is different depending on where
|
2365
|
-
# the grid is shown (dialog versus companion).
|
2366
|
-
# Corresponds to the JSON property `columnCount`
|
2367
|
-
# @return [Fixnum]
|
2368
|
-
attr_accessor :column_count
|
2369
|
-
|
2370
|
-
# The items to display in the grid.
|
2371
|
-
# Corresponds to the JSON property `items`
|
2372
|
-
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedGridGridItem>]
|
2373
|
-
attr_accessor :items
|
2374
|
-
|
2375
|
-
# This callback is reused by each individual grid item, but with the item's
|
2376
|
-
# identifier and index in the items list added to the callback's parameters.
|
2377
|
-
# Corresponds to the JSON property `onClick`
|
2378
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOnClick]
|
2379
|
-
attr_accessor :on_click
|
2380
|
-
|
2381
|
-
# The text that displays in the grid header.
|
2382
|
-
# Corresponds to the JSON property `title`
|
2383
|
-
# @return [String]
|
2384
|
-
attr_accessor :title
|
2385
|
-
|
2386
|
-
def initialize(**args)
|
2387
|
-
update!(**args)
|
2388
|
-
end
|
2389
|
-
|
2390
|
-
# Update properties of this object
|
2391
|
-
def update!(**args)
|
2392
|
-
@border_style = args[:border_style] if args.key?(:border_style)
|
2393
|
-
@column_count = args[:column_count] if args.key?(:column_count)
|
2394
|
-
@items = args[:items] if args.key?(:items)
|
2395
|
-
@on_click = args[:on_click] if args.key?(:on_click)
|
2396
|
-
@title = args[:title] if args.key?(:title)
|
2397
|
-
end
|
2398
|
-
end
|
2399
|
-
|
2400
|
-
# Represents a single item in the grid layout.
|
2401
|
-
class AppsDynamiteSharedGridGridItem
|
2402
|
-
include Google::Apis::Core::Hashable
|
2403
|
-
|
2404
|
-
# A user-specified identifier for this grid item. This identifier is returned in
|
2405
|
-
# the parent Grid's onClick callback parameters.
|
2406
|
-
# Corresponds to the JSON property `id`
|
2407
|
-
# @return [String]
|
2408
|
-
attr_accessor :id
|
2409
|
-
|
2410
|
-
# The image that displays in the grid item.
|
2411
|
-
# Corresponds to the JSON property `image`
|
2412
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedImageComponent]
|
2413
|
-
attr_accessor :image
|
2414
|
-
|
2415
|
-
# The layout to use for the grid item.
|
2416
|
-
# Corresponds to the JSON property `layout`
|
2417
|
-
# @return [String]
|
2418
|
-
attr_accessor :layout
|
2419
|
-
|
2420
|
-
# The grid item's subtitle.
|
2421
|
-
# Corresponds to the JSON property `subtitle`
|
2422
|
-
# @return [String]
|
2423
|
-
attr_accessor :subtitle
|
2424
|
-
|
2425
|
-
# The horizontal alignment of the grid item's text.
|
2426
|
-
# Corresponds to the JSON property `textAlignment`
|
2427
|
-
# @return [String]
|
2428
|
-
attr_accessor :text_alignment
|
2429
|
-
|
2430
|
-
# The grid item's title.
|
2431
|
-
# Corresponds to the JSON property `title`
|
2432
|
-
# @return [String]
|
2433
|
-
attr_accessor :title
|
2434
|
-
|
2435
|
-
def initialize(**args)
|
2436
|
-
update!(**args)
|
2437
|
-
end
|
2438
|
-
|
2439
|
-
# Update properties of this object
|
2440
|
-
def update!(**args)
|
2441
|
-
@id = args[:id] if args.key?(:id)
|
2442
|
-
@image = args[:image] if args.key?(:image)
|
2443
|
-
@layout = args[:layout] if args.key?(:layout)
|
2444
|
-
@subtitle = args[:subtitle] if args.key?(:subtitle)
|
2445
|
-
@text_alignment = args[:text_alignment] if args.key?(:text_alignment)
|
2446
|
-
@title = args[:title] if args.key?(:title)
|
2447
|
-
end
|
2448
|
-
end
|
2449
|
-
|
2450
1612
|
# NEXT TAG: 3 A GroupDetails proto will store the information pertaining to
|
2451
1613
|
# single Group.
|
2452
1614
|
class AppsDynamiteSharedGroupDetails
|
@@ -2494,156 +1656,24 @@ module Google
|
|
2494
1656
|
end
|
2495
1657
|
end
|
2496
1658
|
|
2497
|
-
#
|
2498
|
-
class
|
1659
|
+
# Data for rendering a justification for a document.
|
1660
|
+
class AppsDynamiteSharedJustification
|
2499
1661
|
include Google::Apis::Core::Hashable
|
2500
1662
|
|
2501
|
-
#
|
2502
|
-
#
|
2503
|
-
# Corresponds to the JSON property `altText`
|
1663
|
+
# Time the action took place.
|
1664
|
+
# Corresponds to the JSON property `actionTime`
|
2504
1665
|
# @return [String]
|
2505
|
-
attr_accessor :
|
1666
|
+
attr_accessor :action_time
|
2506
1667
|
|
2507
|
-
#
|
2508
|
-
# Corresponds to the JSON property `
|
1668
|
+
# Type of action performed on the document.
|
1669
|
+
# Corresponds to the JSON property `actionType`
|
2509
1670
|
# @return [String]
|
2510
|
-
attr_accessor :
|
1671
|
+
attr_accessor :action_type
|
2511
1672
|
|
2512
|
-
#
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
|
2516
|
-
attr_accessor :image_type
|
2517
|
-
|
2518
|
-
# The icon specified by the string name of a list of known icons
|
2519
|
-
# Corresponds to the JSON property `knownIcon`
|
2520
|
-
# @return [String]
|
2521
|
-
attr_accessor :known_icon
|
2522
|
-
|
2523
|
-
def initialize(**args)
|
2524
|
-
update!(**args)
|
2525
|
-
end
|
2526
|
-
|
2527
|
-
# Update properties of this object
|
2528
|
-
def update!(**args)
|
2529
|
-
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
2530
|
-
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
2531
|
-
@image_type = args[:image_type] if args.key?(:image_type)
|
2532
|
-
@known_icon = args[:known_icon] if args.key?(:known_icon)
|
2533
|
-
end
|
2534
|
-
end
|
2535
|
-
|
2536
|
-
# An image that is specified by a URL and can have an onClick action.
|
2537
|
-
class AppsDynamiteSharedImage
|
2538
|
-
include Google::Apis::Core::Hashable
|
2539
|
-
|
2540
|
-
# The alternative text of this image, used for accessibility.
|
2541
|
-
# Corresponds to the JSON property `altText`
|
2542
|
-
# @return [String]
|
2543
|
-
attr_accessor :alt_text
|
2544
|
-
|
2545
|
-
# An image URL.
|
2546
|
-
# Corresponds to the JSON property `imageUrl`
|
2547
|
-
# @return [String]
|
2548
|
-
attr_accessor :image_url
|
2549
|
-
|
2550
|
-
#
|
2551
|
-
# Corresponds to the JSON property `onClick`
|
2552
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOnClick]
|
2553
|
-
attr_accessor :on_click
|
2554
|
-
|
2555
|
-
def initialize(**args)
|
2556
|
-
update!(**args)
|
2557
|
-
end
|
2558
|
-
|
2559
|
-
# Update properties of this object
|
2560
|
-
def update!(**args)
|
2561
|
-
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
2562
|
-
@image_url = args[:image_url] if args.key?(:image_url)
|
2563
|
-
@on_click = args[:on_click] if args.key?(:on_click)
|
2564
|
-
end
|
2565
|
-
end
|
2566
|
-
|
2567
|
-
#
|
2568
|
-
class AppsDynamiteSharedImageComponent
|
2569
|
-
include Google::Apis::Core::Hashable
|
2570
|
-
|
2571
|
-
# The accessibility label for the image.
|
2572
|
-
# Corresponds to the JSON property `altText`
|
2573
|
-
# @return [String]
|
2574
|
-
attr_accessor :alt_text
|
2575
|
-
|
2576
|
-
# Represents the complete border style applied to widgets.
|
2577
|
-
# Corresponds to the JSON property `borderStyle`
|
2578
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedBorderStyle]
|
2579
|
-
attr_accessor :border_style
|
2580
|
-
|
2581
|
-
# Represents the crop style applied to an image.
|
2582
|
-
# Corresponds to the JSON property `cropStyle`
|
2583
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedImageCropStyle]
|
2584
|
-
attr_accessor :crop_style
|
2585
|
-
|
2586
|
-
# The image URL.
|
2587
|
-
# Corresponds to the JSON property `imageUri`
|
2588
|
-
# @return [String]
|
2589
|
-
attr_accessor :image_uri
|
2590
|
-
|
2591
|
-
def initialize(**args)
|
2592
|
-
update!(**args)
|
2593
|
-
end
|
2594
|
-
|
2595
|
-
# Update properties of this object
|
2596
|
-
def update!(**args)
|
2597
|
-
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
2598
|
-
@border_style = args[:border_style] if args.key?(:border_style)
|
2599
|
-
@crop_style = args[:crop_style] if args.key?(:crop_style)
|
2600
|
-
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
2601
|
-
end
|
2602
|
-
end
|
2603
|
-
|
2604
|
-
# Represents the crop style applied to an image.
|
2605
|
-
class AppsDynamiteSharedImageCropStyle
|
2606
|
-
include Google::Apis::Core::Hashable
|
2607
|
-
|
2608
|
-
# The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.
|
2609
|
-
# Corresponds to the JSON property `aspectRatio`
|
2610
|
-
# @return [Float]
|
2611
|
-
attr_accessor :aspect_ratio
|
2612
|
-
|
2613
|
-
# The crop type.
|
2614
|
-
# Corresponds to the JSON property `type`
|
2615
|
-
# @return [String]
|
2616
|
-
attr_accessor :type
|
2617
|
-
|
2618
|
-
def initialize(**args)
|
2619
|
-
update!(**args)
|
2620
|
-
end
|
2621
|
-
|
2622
|
-
# Update properties of this object
|
2623
|
-
def update!(**args)
|
2624
|
-
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
|
2625
|
-
@type = args[:type] if args.key?(:type)
|
2626
|
-
end
|
2627
|
-
end
|
2628
|
-
|
2629
|
-
# Data for rendering a justification for a document.
|
2630
|
-
class AppsDynamiteSharedJustification
|
2631
|
-
include Google::Apis::Core::Hashable
|
2632
|
-
|
2633
|
-
# Time the action took place.
|
2634
|
-
# Corresponds to the JSON property `actionTime`
|
2635
|
-
# @return [String]
|
2636
|
-
attr_accessor :action_time
|
2637
|
-
|
2638
|
-
# Type of action performed on the document.
|
2639
|
-
# Corresponds to the JSON property `actionType`
|
2640
|
-
# @return [String]
|
2641
|
-
attr_accessor :action_type
|
2642
|
-
|
2643
|
-
# Data for rendering a person associated with a document.
|
2644
|
-
# Corresponds to the JSON property `documentOwner`
|
2645
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson]
|
2646
|
-
attr_accessor :document_owner
|
1673
|
+
# Data for rendering a person associated with a document.
|
1674
|
+
# Corresponds to the JSON property `documentOwner`
|
1675
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson]
|
1676
|
+
attr_accessor :document_owner
|
2647
1677
|
|
2648
1678
|
# Words or phrases from the user's query that describes the document content. (
|
2649
1679
|
# Ex: Users query is "Can you share the document about Bullseye?" the extracted
|
@@ -2781,37 +1811,908 @@ module Google
|
|
2781
1811
|
|
2782
1812
|
# Update properties of this object
|
2783
1813
|
def update!(**args)
|
2784
|
-
@project_number = args[:project_number] if args.key?(:project_number)
|
2785
|
-
@tasks_message_integration_payload = args[:tasks_message_integration_payload] if args.key?(:tasks_message_integration_payload)
|
2786
|
-
@type = args[:type] if args.key?(:type)
|
1814
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
1815
|
+
@tasks_message_integration_payload = args[:tasks_message_integration_payload] if args.key?(:tasks_message_integration_payload)
|
1816
|
+
@type = args[:type] if args.key?(:type)
|
1817
|
+
end
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
# Contains info about the entity that something is, or is owned by.
|
1821
|
+
class AppsDynamiteSharedOrganizationInfo
|
1822
|
+
include Google::Apis::Core::Hashable
|
1823
|
+
|
1824
|
+
# Intentionally empty. Used to disambiguate consumer and customer use cases in
|
1825
|
+
# oneof below.
|
1826
|
+
# Corresponds to the JSON property `consumerInfo`
|
1827
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoConsumerInfo]
|
1828
|
+
attr_accessor :consumer_info
|
1829
|
+
|
1830
|
+
#
|
1831
|
+
# Corresponds to the JSON property `customerInfo`
|
1832
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoCustomerInfo]
|
1833
|
+
attr_accessor :customer_info
|
1834
|
+
|
1835
|
+
def initialize(**args)
|
1836
|
+
update!(**args)
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
# Update properties of this object
|
1840
|
+
def update!(**args)
|
1841
|
+
@consumer_info = args[:consumer_info] if args.key?(:consumer_info)
|
1842
|
+
@customer_info = args[:customer_info] if args.key?(:customer_info)
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Intentionally empty. Used to disambiguate consumer and customer use cases in
|
1847
|
+
# oneof below.
|
1848
|
+
class AppsDynamiteSharedOrganizationInfoConsumerInfo
|
1849
|
+
include Google::Apis::Core::Hashable
|
1850
|
+
|
1851
|
+
def initialize(**args)
|
1852
|
+
update!(**args)
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# Update properties of this object
|
1856
|
+
def update!(**args)
|
1857
|
+
end
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
#
|
1861
|
+
class AppsDynamiteSharedOrganizationInfoCustomerInfo
|
1862
|
+
include Google::Apis::Core::Hashable
|
1863
|
+
|
1864
|
+
# Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
|
1865
|
+
# Corresponds to the JSON property `customerId`
|
1866
|
+
# @return [Google::Apis::CloudsearchV1::CustomerId]
|
1867
|
+
attr_accessor :customer_id
|
1868
|
+
|
1869
|
+
def initialize(**args)
|
1870
|
+
update!(**args)
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# Update properties of this object
|
1874
|
+
def update!(**args)
|
1875
|
+
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
1876
|
+
end
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
# Stores the suggestion provided by apps/bots.
|
1880
|
+
class AppsDynamiteSharedOriginAppSuggestion
|
1881
|
+
include Google::Apis::Core::Hashable
|
1882
|
+
|
1883
|
+
# Identifier of an App.
|
1884
|
+
# Corresponds to the JSON property `appId`
|
1885
|
+
# @return [Google::Apis::CloudsearchV1::AppId]
|
1886
|
+
attr_accessor :app_id
|
1887
|
+
|
1888
|
+
# Card click which identifies one suggestion provided by the app/bot.
|
1889
|
+
# Corresponds to the JSON property `cardClickSuggestion`
|
1890
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion]
|
1891
|
+
attr_accessor :card_click_suggestion
|
1892
|
+
|
1893
|
+
def initialize(**args)
|
1894
|
+
update!(**args)
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# Update properties of this object
|
1898
|
+
def update!(**args)
|
1899
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
1900
|
+
@card_click_suggestion = args[:card_click_suggestion] if args.key?(:card_click_suggestion)
|
1901
|
+
end
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
#
|
1905
|
+
class AppsDynamiteSharedPhoneNumber
|
1906
|
+
include Google::Apis::Core::Hashable
|
1907
|
+
|
1908
|
+
# The phone number type, e.g., work, mobile, etc.
|
1909
|
+
# Corresponds to the JSON property `type`
|
1910
|
+
# @return [String]
|
1911
|
+
attr_accessor :type
|
1912
|
+
|
1913
|
+
# The actual phone number.
|
1914
|
+
# Corresponds to the JSON property `value`
|
1915
|
+
# @return [String]
|
1916
|
+
attr_accessor :value
|
1917
|
+
|
1918
|
+
def initialize(**args)
|
1919
|
+
update!(**args)
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# Update properties of this object
|
1923
|
+
def update!(**args)
|
1924
|
+
@type = args[:type] if args.key?(:type)
|
1925
|
+
@value = args[:value] if args.key?(:value)
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
#
|
1930
|
+
class AppsDynamiteSharedReaction
|
1931
|
+
include Google::Apis::Core::Hashable
|
1932
|
+
|
1933
|
+
# The total number of users who have reacted.
|
1934
|
+
# Corresponds to the JSON property `count`
|
1935
|
+
# @return [Fixnum]
|
1936
|
+
attr_accessor :count
|
1937
|
+
|
1938
|
+
# When the first emoji of this type was added.
|
1939
|
+
# Corresponds to the JSON property `createTimestamp`
|
1940
|
+
# @return [Fixnum]
|
1941
|
+
attr_accessor :create_timestamp
|
1942
|
+
|
1943
|
+
# Whether the current user reacted using this emoji. Note: Unlike most
|
1944
|
+
# properties of messages, this is different per-user.
|
1945
|
+
# Corresponds to the JSON property `currentUserParticipated`
|
1946
|
+
# @return [Boolean]
|
1947
|
+
attr_accessor :current_user_participated
|
1948
|
+
alias_method :current_user_participated?, :current_user_participated
|
1949
|
+
|
1950
|
+
#
|
1951
|
+
# Corresponds to the JSON property `emoji`
|
1952
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedEmoji]
|
1953
|
+
attr_accessor :emoji
|
1954
|
+
|
1955
|
+
def initialize(**args)
|
1956
|
+
update!(**args)
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# Update properties of this object
|
1960
|
+
def update!(**args)
|
1961
|
+
@count = args[:count] if args.key?(:count)
|
1962
|
+
@create_timestamp = args[:create_timestamp] if args.key?(:create_timestamp)
|
1963
|
+
@current_user_participated = args[:current_user_participated] if args.key?(:current_user_participated)
|
1964
|
+
@emoji = args[:emoji] if args.key?(:emoji)
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# The settings of retention period of a message or topic.
|
1969
|
+
class AppsDynamiteSharedRetentionSettings
|
1970
|
+
include Google::Apis::Core::Hashable
|
1971
|
+
|
1972
|
+
# The timestamp after which the message/topic should be removed, in microseconds
|
1973
|
+
# since the epoch, when state == EPHEMERAL_ONE_DAY. The value should not be set
|
1974
|
+
# in other cases.
|
1975
|
+
# Corresponds to the JSON property `expiryTimestamp`
|
1976
|
+
# @return [Fixnum]
|
1977
|
+
attr_accessor :expiry_timestamp
|
1978
|
+
|
1979
|
+
# The retention state.
|
1980
|
+
# Corresponds to the JSON property `state`
|
1981
|
+
# @return [String]
|
1982
|
+
attr_accessor :state
|
1983
|
+
|
1984
|
+
def initialize(**args)
|
1985
|
+
update!(**args)
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# Update properties of this object
|
1989
|
+
def update!(**args)
|
1990
|
+
@expiry_timestamp = args[:expiry_timestamp] if args.key?(:expiry_timestamp)
|
1991
|
+
@state = args[:state] if args.key?(:state)
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
# Contains info on membership count for member types: HUMAN_USER, APP_USER &
|
1996
|
+
# ROSTER_MEMBER different states: INVITED, JOINED
|
1997
|
+
class AppsDynamiteSharedSegmentedMembershipCount
|
1998
|
+
include Google::Apis::Core::Hashable
|
1999
|
+
|
2000
|
+
#
|
2001
|
+
# Corresponds to the JSON property `memberType`
|
2002
|
+
# @return [String]
|
2003
|
+
attr_accessor :member_type
|
2004
|
+
|
2005
|
+
# count of members with given type and state
|
2006
|
+
# Corresponds to the JSON property `membershipCount`
|
2007
|
+
# @return [Fixnum]
|
2008
|
+
attr_accessor :membership_count
|
2009
|
+
|
2010
|
+
#
|
2011
|
+
# Corresponds to the JSON property `membershipState`
|
2012
|
+
# @return [String]
|
2013
|
+
attr_accessor :membership_state
|
2014
|
+
|
2015
|
+
def initialize(**args)
|
2016
|
+
update!(**args)
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
# Update properties of this object
|
2020
|
+
def update!(**args)
|
2021
|
+
@member_type = args[:member_type] if args.key?(:member_type)
|
2022
|
+
@membership_count = args[:membership_count] if args.key?(:membership_count)
|
2023
|
+
@membership_state = args[:membership_state] if args.key?(:membership_state)
|
2024
|
+
end
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
#
|
2028
|
+
class AppsDynamiteSharedSegmentedMembershipCounts
|
2029
|
+
include Google::Apis::Core::Hashable
|
2030
|
+
|
2031
|
+
#
|
2032
|
+
# Corresponds to the JSON property `value`
|
2033
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCount>]
|
2034
|
+
attr_accessor :value
|
2035
|
+
|
2036
|
+
def initialize(**args)
|
2037
|
+
update!(**args)
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
# Update properties of this object
|
2041
|
+
def update!(**args)
|
2042
|
+
@value = args[:value] if args.key?(:value)
|
2043
|
+
end
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
# Defines the representation of a single matching space.
|
2047
|
+
class AppsDynamiteSharedSpaceInfo
|
2048
|
+
include Google::Apis::Core::Hashable
|
2049
|
+
|
2050
|
+
#
|
2051
|
+
# Corresponds to the JSON property `avatarInfo`
|
2052
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo]
|
2053
|
+
attr_accessor :avatar_info
|
2054
|
+
|
2055
|
+
#
|
2056
|
+
# Corresponds to the JSON property `avatarUrl`
|
2057
|
+
# @return [String]
|
2058
|
+
attr_accessor :avatar_url
|
2059
|
+
|
2060
|
+
#
|
2061
|
+
# Corresponds to the JSON property `description`
|
2062
|
+
# @return [String]
|
2063
|
+
attr_accessor :description
|
2064
|
+
|
2065
|
+
# Id representing a group that could be a space, a chat, or a direct message
|
2066
|
+
# space. Which ID is set here will determine which group
|
2067
|
+
# Corresponds to the JSON property `groupId`
|
2068
|
+
# @return [Google::Apis::CloudsearchV1::GroupId]
|
2069
|
+
attr_accessor :group_id
|
2070
|
+
|
2071
|
+
# The email address of the user that invited the calling user to the room, if
|
2072
|
+
# available. This field will only be populated for direct invites, it will be
|
2073
|
+
# empty if the user was indirectly invited to the group.
|
2074
|
+
# Corresponds to the JSON property `inviterEmail`
|
2075
|
+
# @return [String]
|
2076
|
+
attr_accessor :inviter_email
|
2077
|
+
|
2078
|
+
# Whether this is a space that enables guest access
|
2079
|
+
# Corresponds to the JSON property `isExternal`
|
2080
|
+
# @return [Boolean]
|
2081
|
+
attr_accessor :is_external
|
2082
|
+
alias_method :is_external?, :is_external
|
2083
|
+
|
2084
|
+
#
|
2085
|
+
# Corresponds to the JSON property `name`
|
2086
|
+
# @return [String]
|
2087
|
+
attr_accessor :name
|
2088
|
+
|
2089
|
+
#
|
2090
|
+
# Corresponds to the JSON property `numMembers`
|
2091
|
+
# @return [Fixnum]
|
2092
|
+
attr_accessor :num_members
|
2093
|
+
|
2094
|
+
# searching user's membership state in this space
|
2095
|
+
# Corresponds to the JSON property `userMembershipState`
|
2096
|
+
# @return [String]
|
2097
|
+
attr_accessor :user_membership_state
|
2098
|
+
|
2099
|
+
def initialize(**args)
|
2100
|
+
update!(**args)
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
# Update properties of this object
|
2104
|
+
def update!(**args)
|
2105
|
+
@avatar_info = args[:avatar_info] if args.key?(:avatar_info)
|
2106
|
+
@avatar_url = args[:avatar_url] if args.key?(:avatar_url)
|
2107
|
+
@description = args[:description] if args.key?(:description)
|
2108
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
2109
|
+
@inviter_email = args[:inviter_email] if args.key?(:inviter_email)
|
2110
|
+
@is_external = args[:is_external] if args.key?(:is_external)
|
2111
|
+
@name = args[:name] if args.key?(:name)
|
2112
|
+
@num_members = args[:num_members] if args.key?(:num_members)
|
2113
|
+
@user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state)
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# This is the internal version of the API proto at google3/google/chat/v1/
|
2118
|
+
# gsuite_message_integration.proto
|
2119
|
+
class AppsDynamiteSharedTasksAnnotationData
|
2120
|
+
include Google::Apis::Core::Hashable
|
2121
|
+
|
2122
|
+
#
|
2123
|
+
# Corresponds to the JSON property `assigneeChange`
|
2124
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataAssigneeChange]
|
2125
|
+
attr_accessor :assignee_change
|
2126
|
+
|
2127
|
+
#
|
2128
|
+
# Corresponds to the JSON property `completionChange`
|
2129
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCompletionChange]
|
2130
|
+
attr_accessor :completion_change
|
2131
|
+
|
2132
|
+
#
|
2133
|
+
# Corresponds to the JSON property `creation`
|
2134
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCreation]
|
2135
|
+
attr_accessor :creation
|
2136
|
+
|
2137
|
+
#
|
2138
|
+
# Corresponds to the JSON property `deletionChange`
|
2139
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataDeletionChange]
|
2140
|
+
attr_accessor :deletion_change
|
2141
|
+
|
2142
|
+
# ID of task. Will be used to create deep links to Tasks.
|
2143
|
+
# Corresponds to the JSON property `taskId`
|
2144
|
+
# @return [String]
|
2145
|
+
attr_accessor :task_id
|
2146
|
+
|
2147
|
+
# All relevant task properties for a Chat message.
|
2148
|
+
# Corresponds to the JSON property `taskProperties`
|
2149
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties]
|
2150
|
+
attr_accessor :task_properties
|
2151
|
+
|
2152
|
+
# Used for task card attachments on custom user messages that should be kept as
|
2153
|
+
# is without generating an i18n event message, e.g. the user starts a
|
2154
|
+
# conversation from an existing task. IMPORTANT: please don't populate this
|
2155
|
+
# field yet as it could break existing flows until it's implemented. See code at
|
2156
|
+
# http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.
|
2157
|
+
# Corresponds to the JSON property `userDefinedMessage`
|
2158
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage]
|
2159
|
+
attr_accessor :user_defined_message
|
2160
|
+
|
2161
|
+
def initialize(**args)
|
2162
|
+
update!(**args)
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
# Update properties of this object
|
2166
|
+
def update!(**args)
|
2167
|
+
@assignee_change = args[:assignee_change] if args.key?(:assignee_change)
|
2168
|
+
@completion_change = args[:completion_change] if args.key?(:completion_change)
|
2169
|
+
@creation = args[:creation] if args.key?(:creation)
|
2170
|
+
@deletion_change = args[:deletion_change] if args.key?(:deletion_change)
|
2171
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
2172
|
+
@task_properties = args[:task_properties] if args.key?(:task_properties)
|
2173
|
+
@user_defined_message = args[:user_defined_message] if args.key?(:user_defined_message)
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
#
|
2178
|
+
class AppsDynamiteSharedTasksAnnotationDataAssigneeChange
|
2179
|
+
include Google::Apis::Core::Hashable
|
2180
|
+
|
2181
|
+
# Primary key for User resource.
|
2182
|
+
# Corresponds to the JSON property `oldAssignee`
|
2183
|
+
# @return [Google::Apis::CloudsearchV1::UserId]
|
2184
|
+
attr_accessor :old_assignee
|
2185
|
+
|
2186
|
+
def initialize(**args)
|
2187
|
+
update!(**args)
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
# Update properties of this object
|
2191
|
+
def update!(**args)
|
2192
|
+
@old_assignee = args[:old_assignee] if args.key?(:old_assignee)
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
#
|
2197
|
+
class AppsDynamiteSharedTasksAnnotationDataCompletionChange
|
2198
|
+
include Google::Apis::Core::Hashable
|
2199
|
+
|
2200
|
+
def initialize(**args)
|
2201
|
+
update!(**args)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
# Update properties of this object
|
2205
|
+
def update!(**args)
|
2206
|
+
end
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
#
|
2210
|
+
class AppsDynamiteSharedTasksAnnotationDataCreation
|
2211
|
+
include Google::Apis::Core::Hashable
|
2212
|
+
|
2213
|
+
def initialize(**args)
|
2214
|
+
update!(**args)
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
# Update properties of this object
|
2218
|
+
def update!(**args)
|
2219
|
+
end
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
#
|
2223
|
+
class AppsDynamiteSharedTasksAnnotationDataDeletionChange
|
2224
|
+
include Google::Apis::Core::Hashable
|
2225
|
+
|
2226
|
+
def initialize(**args)
|
2227
|
+
update!(**args)
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
# Update properties of this object
|
2231
|
+
def update!(**args)
|
2232
|
+
end
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
# All relevant task properties for a Chat message.
|
2236
|
+
class AppsDynamiteSharedTasksAnnotationDataTaskProperties
|
2237
|
+
include Google::Apis::Core::Hashable
|
2238
|
+
|
2239
|
+
# Primary key for User resource.
|
2240
|
+
# Corresponds to the JSON property `assignee`
|
2241
|
+
# @return [Google::Apis::CloudsearchV1::UserId]
|
2242
|
+
attr_accessor :assignee
|
2243
|
+
|
2244
|
+
# Whether the task is marked as completed.
|
2245
|
+
# Corresponds to the JSON property `completed`
|
2246
|
+
# @return [Boolean]
|
2247
|
+
attr_accessor :completed
|
2248
|
+
alias_method :completed?, :completed
|
2249
|
+
|
2250
|
+
# Whether the task is marked as deleted.
|
2251
|
+
# Corresponds to the JSON property `deleted`
|
2252
|
+
# @return [Boolean]
|
2253
|
+
attr_accessor :deleted
|
2254
|
+
alias_method :deleted?, :deleted
|
2255
|
+
|
2256
|
+
# The description of the task. If Task original description's length is greater
|
2257
|
+
# than 1024, then Task BE sends the truncated description to Dynamite
|
2258
|
+
# Integration Server.
|
2259
|
+
# Corresponds to the JSON property `description`
|
2260
|
+
# @return [String]
|
2261
|
+
attr_accessor :description
|
2262
|
+
|
2263
|
+
# Represents a whole calendar date, for example a date of birth. The time of day
|
2264
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
2265
|
+
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
2266
|
+
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
2267
|
+
# between the year 1 and 9999.
|
2268
|
+
# Corresponds to the JSON property `startDate`
|
2269
|
+
# @return [Google::Apis::CloudsearchV1::Date]
|
2270
|
+
attr_accessor :start_date
|
2271
|
+
|
2272
|
+
# Set if the task has both a date and a time. Source of truth in Tasks BE: http:/
|
2273
|
+
# /shortn/_u6cr0F5ttE
|
2274
|
+
# Corresponds to the JSON property `startTime`
|
2275
|
+
# @return [String]
|
2276
|
+
attr_accessor :start_time
|
2277
|
+
|
2278
|
+
# The title of the task.
|
2279
|
+
# Corresponds to the JSON property `title`
|
2280
|
+
# @return [String]
|
2281
|
+
attr_accessor :title
|
2282
|
+
|
2283
|
+
def initialize(**args)
|
2284
|
+
update!(**args)
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
# Update properties of this object
|
2288
|
+
def update!(**args)
|
2289
|
+
@assignee = args[:assignee] if args.key?(:assignee)
|
2290
|
+
@completed = args[:completed] if args.key?(:completed)
|
2291
|
+
@deleted = args[:deleted] if args.key?(:deleted)
|
2292
|
+
@description = args[:description] if args.key?(:description)
|
2293
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
2294
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2295
|
+
@title = args[:title] if args.key?(:title)
|
2296
|
+
end
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
# Used for task card attachments on custom user messages that should be kept as
|
2300
|
+
# is without generating an i18n event message, e.g. the user starts a
|
2301
|
+
# conversation from an existing task. IMPORTANT: please don't populate this
|
2302
|
+
# field yet as it could break existing flows until it's implemented. See code at
|
2303
|
+
# http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.
|
2304
|
+
class AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage
|
2305
|
+
include Google::Apis::Core::Hashable
|
2306
|
+
|
2307
|
+
def initialize(**args)
|
2308
|
+
update!(**args)
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
# Update properties of this object
|
2312
|
+
def update!(**args)
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
# A payload containing Tasks metadata for rendering a live card. Currently not
|
2317
|
+
# used by the Tasks integration.
|
2318
|
+
class AppsDynamiteSharedTasksMessageIntegrationPayload
|
2319
|
+
include Google::Apis::Core::Hashable
|
2320
|
+
|
2321
|
+
def initialize(**args)
|
2322
|
+
update!(**args)
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
# Update properties of this object
|
2326
|
+
def update!(**args)
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# User-block relationship
|
2331
|
+
class AppsDynamiteSharedUserBlockRelationship
|
2332
|
+
include Google::Apis::Core::Hashable
|
2333
|
+
|
2334
|
+
#
|
2335
|
+
# Corresponds to the JSON property `hasBlockedRequester`
|
2336
|
+
# @return [Boolean]
|
2337
|
+
attr_accessor :has_blocked_requester
|
2338
|
+
alias_method :has_blocked_requester?, :has_blocked_requester
|
2339
|
+
|
2340
|
+
#
|
2341
|
+
# Corresponds to the JSON property `isBlockedByRequester`
|
2342
|
+
# @return [Boolean]
|
2343
|
+
attr_accessor :is_blocked_by_requester
|
2344
|
+
alias_method :is_blocked_by_requester?, :is_blocked_by_requester
|
2345
|
+
|
2346
|
+
def initialize(**args)
|
2347
|
+
update!(**args)
|
2348
|
+
end
|
2349
|
+
|
2350
|
+
# Update properties of this object
|
2351
|
+
def update!(**args)
|
2352
|
+
@has_blocked_requester = args[:has_blocked_requester] if args.key?(:has_blocked_requester)
|
2353
|
+
@is_blocked_by_requester = args[:is_blocked_by_requester] if args.key?(:is_blocked_by_requester)
|
2354
|
+
end
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
# Reference to a transcoded video attachment.
|
2358
|
+
class AppsDynamiteSharedVideoReference
|
2359
|
+
include Google::Apis::Core::Hashable
|
2360
|
+
|
2361
|
+
# Available transcode format. Value is defined in video/storage/proto/
|
2362
|
+
# content_header.proto
|
2363
|
+
# Corresponds to the JSON property `format`
|
2364
|
+
# @return [Array<Fixnum>]
|
2365
|
+
attr_accessor :format
|
2366
|
+
|
2367
|
+
# Transcode status
|
2368
|
+
# Corresponds to the JSON property `status`
|
2369
|
+
# @return [String]
|
2370
|
+
attr_accessor :status
|
2371
|
+
|
2372
|
+
def initialize(**args)
|
2373
|
+
update!(**args)
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
# Update properties of this object
|
2377
|
+
def update!(**args)
|
2378
|
+
@format = args[:format] if args.key?(:format)
|
2379
|
+
@status = args[:status] if args.key?(:status)
|
2380
|
+
end
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
# An action that describes the behavior when the form is submitted. For example,
|
2384
|
+
# an Apps Script can be invoked to handle the form.
|
2385
|
+
class AppsDynamiteStorageAction
|
2386
|
+
include Google::Apis::Core::Hashable
|
2387
|
+
|
2388
|
+
# Apps Script function to invoke when the containing element is clicked/
|
2389
|
+
# activated.
|
2390
|
+
# Corresponds to the JSON property `function`
|
2391
|
+
# @return [String]
|
2392
|
+
attr_accessor :function
|
2393
|
+
|
2394
|
+
#
|
2395
|
+
# Corresponds to the JSON property `interaction`
|
2396
|
+
# @return [String]
|
2397
|
+
attr_accessor :interaction
|
2398
|
+
|
2399
|
+
#
|
2400
|
+
# Corresponds to the JSON property `loadIndicator`
|
2401
|
+
# @return [String]
|
2402
|
+
attr_accessor :load_indicator
|
2403
|
+
|
2404
|
+
# List of action parameters.
|
2405
|
+
# Corresponds to the JSON property `parameters`
|
2406
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageActionActionParameter>]
|
2407
|
+
attr_accessor :parameters
|
2408
|
+
|
2409
|
+
def initialize(**args)
|
2410
|
+
update!(**args)
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
# Update properties of this object
|
2414
|
+
def update!(**args)
|
2415
|
+
@function = args[:function] if args.key?(:function)
|
2416
|
+
@interaction = args[:interaction] if args.key?(:interaction)
|
2417
|
+
@load_indicator = args[:load_indicator] if args.key?(:load_indicator)
|
2418
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
# List of string parameters to supply when the action method is invoked. For
|
2423
|
+
# example, consider three snooze buttons: snooze now, snooze 1 day, snooze next
|
2424
|
+
# week. You might use action method = snooze(), passing the snooze type and
|
2425
|
+
# snooze time in the list of string parameters.
|
2426
|
+
class AppsDynamiteStorageActionActionParameter
|
2427
|
+
include Google::Apis::Core::Hashable
|
2428
|
+
|
2429
|
+
# The name of the parameter for the action script.
|
2430
|
+
# Corresponds to the JSON property `key`
|
2431
|
+
# @return [String]
|
2432
|
+
attr_accessor :key
|
2433
|
+
|
2434
|
+
# The value of the parameter.
|
2435
|
+
# Corresponds to the JSON property `value`
|
2436
|
+
# @return [String]
|
2437
|
+
attr_accessor :value
|
2438
|
+
|
2439
|
+
def initialize(**args)
|
2440
|
+
update!(**args)
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
# Update properties of this object
|
2444
|
+
def update!(**args)
|
2445
|
+
@key = args[:key] if args.key?(:key)
|
2446
|
+
@value = args[:value] if args.key?(:value)
|
2447
|
+
end
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
# Represents the complete border style applied to widgets.
|
2451
|
+
class AppsDynamiteStorageBorderStyle
|
2452
|
+
include Google::Apis::Core::Hashable
|
2453
|
+
|
2454
|
+
# The corner radius for the border.
|
2455
|
+
# Corresponds to the JSON property `cornerRadius`
|
2456
|
+
# @return [Fixnum]
|
2457
|
+
attr_accessor :corner_radius
|
2458
|
+
|
2459
|
+
# Represents a color in the RGBA color space. This representation is designed
|
2460
|
+
# for simplicity of conversion to/from color representations in various
|
2461
|
+
# languages over compactness. For example, the fields of this representation can
|
2462
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
2463
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
2464
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
2465
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
2466
|
+
# information about the absolute color space that should be used to interpret
|
2467
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
2468
|
+
# applications should assume the sRGB color space. When color equality needs to
|
2469
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
2470
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
2471
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
2472
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
2473
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
2474
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
2475
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
2476
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
2477
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
2478
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
2479
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
2480
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
2481
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
2482
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
2483
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
2484
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
2485
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
2486
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
2487
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
2488
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
2489
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
2490
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
2491
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
2492
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
2493
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
2494
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
2495
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
2496
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
2497
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
2498
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
2499
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
2500
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
2501
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
2502
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
2503
|
+
# / ...
|
2504
|
+
# Corresponds to the JSON property `strokeColor`
|
2505
|
+
# @return [Google::Apis::CloudsearchV1::Color]
|
2506
|
+
attr_accessor :stroke_color
|
2507
|
+
|
2508
|
+
# The border type.
|
2509
|
+
# Corresponds to the JSON property `type`
|
2510
|
+
# @return [String]
|
2511
|
+
attr_accessor :type
|
2512
|
+
|
2513
|
+
def initialize(**args)
|
2514
|
+
update!(**args)
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
# Update properties of this object
|
2518
|
+
def update!(**args)
|
2519
|
+
@corner_radius = args[:corner_radius] if args.key?(:corner_radius)
|
2520
|
+
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
2521
|
+
@type = args[:type] if args.key?(:type)
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# A button. Can be a text button or an image button.
|
2526
|
+
class AppsDynamiteStorageButton
|
2527
|
+
include Google::Apis::Core::Hashable
|
2528
|
+
|
2529
|
+
# The alternative text used for accessibility. Has no effect when an icon is set;
|
2530
|
+
# use `icon.alt_text` instead.
|
2531
|
+
# Corresponds to the JSON property `altText`
|
2532
|
+
# @return [String]
|
2533
|
+
attr_accessor :alt_text
|
2534
|
+
|
2535
|
+
# Represents a color in the RGBA color space. This representation is designed
|
2536
|
+
# for simplicity of conversion to/from color representations in various
|
2537
|
+
# languages over compactness. For example, the fields of this representation can
|
2538
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
2539
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
2540
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
2541
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
2542
|
+
# information about the absolute color space that should be used to interpret
|
2543
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
2544
|
+
# applications should assume the sRGB color space. When color equality needs to
|
2545
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
2546
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
2547
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
2548
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
2549
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
2550
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
2551
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
2552
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
2553
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
2554
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
2555
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
2556
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
2557
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
2558
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
2559
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
2560
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
2561
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
2562
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
2563
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
2564
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
2565
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
2566
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
2567
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
2568
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
2569
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
2570
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
2571
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
2572
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
2573
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
2574
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
2575
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
2576
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
2577
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
2578
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
2579
|
+
# / ...
|
2580
|
+
# Corresponds to the JSON property `color`
|
2581
|
+
# @return [Google::Apis::CloudsearchV1::Color]
|
2582
|
+
attr_accessor :color
|
2583
|
+
|
2584
|
+
# If true, the button is displayed in a disabled state and doesn't respond to
|
2585
|
+
# user actions.
|
2586
|
+
# Corresponds to the JSON property `disabled`
|
2587
|
+
# @return [Boolean]
|
2588
|
+
attr_accessor :disabled
|
2589
|
+
alias_method :disabled?, :disabled
|
2590
|
+
|
2591
|
+
# The icon image.
|
2592
|
+
# Corresponds to the JSON property `icon`
|
2593
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageIcon]
|
2594
|
+
attr_accessor :icon
|
2595
|
+
|
2596
|
+
# The action to perform when the button is clicked.
|
2597
|
+
# Corresponds to the JSON property `onClick`
|
2598
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick]
|
2599
|
+
attr_accessor :on_click
|
2600
|
+
|
2601
|
+
# The text of the button.
|
2602
|
+
# Corresponds to the JSON property `text`
|
2603
|
+
# @return [String]
|
2604
|
+
attr_accessor :text
|
2605
|
+
|
2606
|
+
def initialize(**args)
|
2607
|
+
update!(**args)
|
2608
|
+
end
|
2609
|
+
|
2610
|
+
# Update properties of this object
|
2611
|
+
def update!(**args)
|
2612
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
2613
|
+
@color = args[:color] if args.key?(:color)
|
2614
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
2615
|
+
@icon = args[:icon] if args.key?(:icon)
|
2616
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
2617
|
+
@text = args[:text] if args.key?(:text)
|
2618
|
+
end
|
2619
|
+
end
|
2620
|
+
|
2621
|
+
# A list of buttons layed out horizontally.
|
2622
|
+
class AppsDynamiteStorageButtonList
|
2623
|
+
include Google::Apis::Core::Hashable
|
2624
|
+
|
2625
|
+
#
|
2626
|
+
# Corresponds to the JSON property `buttons`
|
2627
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageButton>]
|
2628
|
+
attr_accessor :buttons
|
2629
|
+
|
2630
|
+
def initialize(**args)
|
2631
|
+
update!(**args)
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
# Update properties of this object
|
2635
|
+
def update!(**args)
|
2636
|
+
@buttons = args[:buttons] if args.key?(:buttons)
|
2637
|
+
end
|
2638
|
+
end
|
2639
|
+
|
2640
|
+
# A card is a UI element that can contain UI widgets such as text and images.
|
2641
|
+
# For more information, see Cards . For example, the following JSON creates a
|
2642
|
+
# card that has a header with the name, position, icons, and link for a contact,
|
2643
|
+
# followed by a section with contact information like email and phone number. ```
|
2644
|
+
# ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
|
2645
|
+
# imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
|
2646
|
+
# png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
|
2647
|
+
# Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
|
2648
|
+
# EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
|
2649
|
+
# ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
|
2650
|
+
# icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
|
2651
|
+
# buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
|
2652
|
+
# url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
|
2653
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
2654
|
+
# viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
|
2655
|
+
# ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
|
2656
|
+
# [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
|
2657
|
+
# example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
|
2658
|
+
class AppsDynamiteStorageCard
|
2659
|
+
include Google::Apis::Core::Hashable
|
2660
|
+
|
2661
|
+
# The actions of this card. They are added to a card's generated toolbar menu.
|
2662
|
+
# For example, the following JSON constructs a card action menu with Settings
|
2663
|
+
# and Send Feedback options: ``` "card_actions": [ ` "actionLabel": "Setting", "
|
2664
|
+
# onClick": ` "action": ` "functionName": "goToView", "parameters": [ ` "key": "
|
2665
|
+
# viewType", "value": "SETTING" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` `
|
2666
|
+
# `, ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https:
|
2667
|
+
# //example.com/feedback" ` ` ` ] ```
|
2668
|
+
# Corresponds to the JSON property `cardActions`
|
2669
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardAction>]
|
2670
|
+
attr_accessor :card_actions
|
2671
|
+
|
2672
|
+
# The header of the card. A header usually contains a title and an image.
|
2673
|
+
# Corresponds to the JSON property `header`
|
2674
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardHeader]
|
2675
|
+
attr_accessor :header
|
2676
|
+
|
2677
|
+
# Name of the card, which is used as a identifier for the card in card
|
2678
|
+
# navigation.
|
2679
|
+
# Corresponds to the JSON property `name`
|
2680
|
+
# @return [String]
|
2681
|
+
attr_accessor :name
|
2682
|
+
|
2683
|
+
# Sections are separated by a line divider.
|
2684
|
+
# Corresponds to the JSON property `sections`
|
2685
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageCardSection>]
|
2686
|
+
attr_accessor :sections
|
2687
|
+
|
2688
|
+
def initialize(**args)
|
2689
|
+
update!(**args)
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
# Update properties of this object
|
2693
|
+
def update!(**args)
|
2694
|
+
@card_actions = args[:card_actions] if args.key?(:card_actions)
|
2695
|
+
@header = args[:header] if args.key?(:header)
|
2696
|
+
@name = args[:name] if args.key?(:name)
|
2697
|
+
@sections = args[:sections] if args.key?(:sections)
|
2787
2698
|
end
|
2788
2699
|
end
|
2789
2700
|
|
2790
|
-
#
|
2791
|
-
|
2701
|
+
# A card action is the action associated with the card. For example, an invoice
|
2702
|
+
# card might include actions such as delete invoice, email invoice, or open the
|
2703
|
+
# invoice in a browser.
|
2704
|
+
class AppsDynamiteStorageCardCardAction
|
2792
2705
|
include Google::Apis::Core::Hashable
|
2793
2706
|
|
2794
|
-
#
|
2795
|
-
#
|
2796
|
-
#
|
2797
|
-
|
2798
|
-
attr_accessor :action
|
2799
|
-
|
2800
|
-
# Actions handled by individual host apps.
|
2801
|
-
# Corresponds to the JSON property `hostAppAction`
|
2802
|
-
# @return [Google::Apis::CloudsearchV1::HostAppActionMarkup]
|
2803
|
-
attr_accessor :host_app_action
|
2804
|
-
|
2805
|
-
# An action that describes the behavior when the form is submitted. For example,
|
2806
|
-
# an Apps Script can be invoked to handle the form.
|
2807
|
-
# Corresponds to the JSON property `openDynamicLinkAction`
|
2808
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAction]
|
2809
|
-
attr_accessor :open_dynamic_link_action
|
2707
|
+
# The label that displays as the action menu item.
|
2708
|
+
# Corresponds to the JSON property `actionLabel`
|
2709
|
+
# @return [String]
|
2710
|
+
attr_accessor :action_label
|
2810
2711
|
|
2811
|
-
#
|
2812
|
-
# Corresponds to the JSON property `
|
2813
|
-
# @return [Google::Apis::CloudsearchV1::
|
2814
|
-
attr_accessor :
|
2712
|
+
# The onclick action for this action item.
|
2713
|
+
# Corresponds to the JSON property `onClick`
|
2714
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick]
|
2715
|
+
attr_accessor :on_click
|
2815
2716
|
|
2816
2717
|
def initialize(**args)
|
2817
2718
|
update!(**args)
|
@@ -2819,36 +2720,41 @@ module Google
|
|
2819
2720
|
|
2820
2721
|
# Update properties of this object
|
2821
2722
|
def update!(**args)
|
2822
|
-
@
|
2823
|
-
@
|
2824
|
-
@open_dynamic_link_action = args[:open_dynamic_link_action] if args.key?(:open_dynamic_link_action)
|
2825
|
-
@open_link = args[:open_link] if args.key?(:open_link)
|
2723
|
+
@action_label = args[:action_label] if args.key?(:action_label)
|
2724
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
2826
2725
|
end
|
2827
2726
|
end
|
2828
2727
|
|
2829
2728
|
#
|
2830
|
-
class
|
2729
|
+
class AppsDynamiteStorageCardCardHeader
|
2831
2730
|
include Google::Apis::Core::Hashable
|
2832
2731
|
|
2833
|
-
#
|
2834
|
-
# Corresponds to the JSON property `
|
2835
|
-
# @return [
|
2836
|
-
attr_accessor :
|
2732
|
+
# The alternative text of this image which is used for accessibility.
|
2733
|
+
# Corresponds to the JSON property `imageAltText`
|
2734
|
+
# @return [String]
|
2735
|
+
attr_accessor :image_alt_text
|
2837
2736
|
|
2838
|
-
#
|
2839
|
-
# Corresponds to the JSON property `
|
2737
|
+
# The image's type.
|
2738
|
+
# Corresponds to the JSON property `imageType`
|
2840
2739
|
# @return [String]
|
2841
|
-
attr_accessor :
|
2740
|
+
attr_accessor :image_type
|
2842
2741
|
|
2843
|
-
#
|
2844
|
-
# Corresponds to the JSON property `
|
2742
|
+
# The URL of the image in the card header.
|
2743
|
+
# Corresponds to the JSON property `imageUrl`
|
2845
2744
|
# @return [String]
|
2846
|
-
attr_accessor :
|
2745
|
+
attr_accessor :image_url
|
2847
2746
|
|
2848
|
-
# The
|
2849
|
-
# Corresponds to the JSON property `
|
2747
|
+
# The subtitle of the card header.
|
2748
|
+
# Corresponds to the JSON property `subtitle`
|
2850
2749
|
# @return [String]
|
2851
|
-
attr_accessor :
|
2750
|
+
attr_accessor :subtitle
|
2751
|
+
|
2752
|
+
# The title of the card header. The title must be specified. The header has a
|
2753
|
+
# fixed height: if both a title and subtitle are specified, each takes up one
|
2754
|
+
# line. If only the title is specified, it takes up both lines.
|
2755
|
+
# Corresponds to the JSON property `title`
|
2756
|
+
# @return [String]
|
2757
|
+
attr_accessor :title
|
2852
2758
|
|
2853
2759
|
def initialize(**args)
|
2854
2760
|
update!(**args)
|
@@ -2856,31 +2762,45 @@ module Google
|
|
2856
2762
|
|
2857
2763
|
# Update properties of this object
|
2858
2764
|
def update!(**args)
|
2859
|
-
@
|
2860
|
-
@
|
2861
|
-
@
|
2862
|
-
@
|
2765
|
+
@image_alt_text = args[:image_alt_text] if args.key?(:image_alt_text)
|
2766
|
+
@image_type = args[:image_type] if args.key?(:image_type)
|
2767
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
2768
|
+
@subtitle = args[:subtitle] if args.key?(:subtitle)
|
2769
|
+
@title = args[:title] if args.key?(:title)
|
2863
2770
|
end
|
2864
2771
|
end
|
2865
2772
|
|
2866
|
-
#
|
2867
|
-
|
2773
|
+
# A section contains a collection of widgets that are rendered vertically in the
|
2774
|
+
# order that they are specified. Across all platforms, cards have a narrow fixed
|
2775
|
+
# width, so there is currently no need for layout properties, for example, float.
|
2776
|
+
class AppsDynamiteStorageCardSection
|
2868
2777
|
include Google::Apis::Core::Hashable
|
2869
2778
|
|
2870
|
-
#
|
2871
|
-
#
|
2872
|
-
#
|
2873
|
-
|
2779
|
+
# Indicates whether this section is collapsible. If a section is collapsible,
|
2780
|
+
# the description must be given.
|
2781
|
+
# Corresponds to the JSON property `collapsible`
|
2782
|
+
# @return [Boolean]
|
2783
|
+
attr_accessor :collapsible
|
2784
|
+
alias_method :collapsible?, :collapsible
|
2874
2785
|
|
2875
|
-
#
|
2876
|
-
# Corresponds to the JSON property `
|
2786
|
+
# The header of the section. Formatted text is supported.
|
2787
|
+
# Corresponds to the JSON property `header`
|
2877
2788
|
# @return [String]
|
2878
|
-
attr_accessor :
|
2789
|
+
attr_accessor :header
|
2879
2790
|
|
2880
|
-
#
|
2881
|
-
#
|
2882
|
-
#
|
2883
|
-
|
2791
|
+
# The number of uncollapsible widgets. For example, when a section contains five
|
2792
|
+
# widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets
|
2793
|
+
# are always shown and the last three are collapsed as default. The `
|
2794
|
+
# numUncollapsibleWidget` is taken into account only when collapsible is set to `
|
2795
|
+
# true`.
|
2796
|
+
# Corresponds to the JSON property `uncollapsibleWidgetsCount`
|
2797
|
+
# @return [Fixnum]
|
2798
|
+
attr_accessor :uncollapsible_widgets_count
|
2799
|
+
|
2800
|
+
# A section must contain at least 1 widget.
|
2801
|
+
# Corresponds to the JSON property `widgets`
|
2802
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageWidget>]
|
2803
|
+
attr_accessor :widgets
|
2884
2804
|
|
2885
2805
|
def initialize(**args)
|
2886
2806
|
update!(**args)
|
@@ -2888,28 +2808,26 @@ module Google
|
|
2888
2808
|
|
2889
2809
|
# Update properties of this object
|
2890
2810
|
def update!(**args)
|
2891
|
-
@
|
2892
|
-
@
|
2893
|
-
@
|
2811
|
+
@collapsible = args[:collapsible] if args.key?(:collapsible)
|
2812
|
+
@header = args[:header] if args.key?(:header)
|
2813
|
+
@uncollapsible_widgets_count = args[:uncollapsible_widgets_count] if args.key?(:uncollapsible_widgets_count)
|
2814
|
+
@widgets = args[:widgets] if args.key?(:widgets)
|
2894
2815
|
end
|
2895
2816
|
end
|
2896
2817
|
|
2897
|
-
#
|
2898
|
-
class
|
2818
|
+
# Represents a Columns widget that displays a single row of columns.
|
2819
|
+
class AppsDynamiteStorageColumns
|
2899
2820
|
include Google::Apis::Core::Hashable
|
2900
2821
|
|
2901
|
-
#
|
2902
|
-
#
|
2903
|
-
#
|
2904
|
-
|
2905
|
-
attr_accessor :extra_data
|
2822
|
+
# Each card supports up to 2 columns.
|
2823
|
+
# Corresponds to the JSON property `columnItems`
|
2824
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageColumnsColumn>]
|
2825
|
+
attr_accessor :column_items
|
2906
2826
|
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
# content.Intent.ACTION_VIEW.
|
2910
|
-
# Corresponds to the JSON property `intentAction`
|
2827
|
+
# Controls how the column resizes based on screen width.
|
2828
|
+
# Corresponds to the JSON property `wrapStyle`
|
2911
2829
|
# @return [String]
|
2912
|
-
attr_accessor :
|
2830
|
+
attr_accessor :wrap_style
|
2913
2831
|
|
2914
2832
|
def initialize(**args)
|
2915
2833
|
update!(**args)
|
@@ -2917,25 +2835,35 @@ module Google
|
|
2917
2835
|
|
2918
2836
|
# Update properties of this object
|
2919
2837
|
def update!(**args)
|
2920
|
-
@
|
2921
|
-
@
|
2838
|
+
@column_items = args[:column_items] if args.key?(:column_items)
|
2839
|
+
@wrap_style = args[:wrap_style] if args.key?(:wrap_style)
|
2922
2840
|
end
|
2923
2841
|
end
|
2924
2842
|
|
2925
|
-
#
|
2926
|
-
|
2927
|
-
class AppsDynamiteSharedOpenLinkAppUriIntentExtraData
|
2843
|
+
# Represents a Column that consists of widgets stacked vertically.
|
2844
|
+
class AppsDynamiteStorageColumnsColumn
|
2928
2845
|
include Google::Apis::Core::Hashable
|
2929
2846
|
|
2930
|
-
#
|
2931
|
-
# Corresponds to the JSON property `
|
2847
|
+
# The horizontal alignment of the column.
|
2848
|
+
# Corresponds to the JSON property `horizontalAlignment`
|
2932
2849
|
# @return [String]
|
2933
|
-
attr_accessor :
|
2850
|
+
attr_accessor :horizontal_alignment
|
2934
2851
|
|
2935
|
-
#
|
2936
|
-
# Corresponds to the JSON property `
|
2852
|
+
# Specifies how the column content is sized horizontally.
|
2853
|
+
# Corresponds to the JSON property `horizontalSizeStyle`
|
2937
2854
|
# @return [String]
|
2938
|
-
attr_accessor :
|
2855
|
+
attr_accessor :horizontal_size_style
|
2856
|
+
|
2857
|
+
# The vertical alignment of the column.
|
2858
|
+
# Corresponds to the JSON property `verticalAlignment`
|
2859
|
+
# @return [String]
|
2860
|
+
attr_accessor :vertical_alignment
|
2861
|
+
|
2862
|
+
# LINT.ThenChange(//depot/google3/google/apps/card/v1/card.proto) Array of
|
2863
|
+
# widgets included in the column.
|
2864
|
+
# Corresponds to the JSON property `widgets`
|
2865
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageColumnsColumnWidgets>]
|
2866
|
+
attr_accessor :widgets
|
2939
2867
|
|
2940
2868
|
def initialize(**args)
|
2941
2869
|
update!(**args)
|
@@ -2943,25 +2871,114 @@ module Google
|
|
2943
2871
|
|
2944
2872
|
# Update properties of this object
|
2945
2873
|
def update!(**args)
|
2946
|
-
@
|
2947
|
-
@
|
2874
|
+
@horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
|
2875
|
+
@horizontal_size_style = args[:horizontal_size_style] if args.key?(:horizontal_size_style)
|
2876
|
+
@vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment)
|
2877
|
+
@widgets = args[:widgets] if args.key?(:widgets)
|
2948
2878
|
end
|
2949
2879
|
end
|
2950
2880
|
|
2951
|
-
#
|
2952
|
-
class
|
2881
|
+
# LINT.IfChange The `column` widget can contain these widgets.
|
2882
|
+
class AppsDynamiteStorageColumnsColumnWidgets
|
2953
2883
|
include Google::Apis::Core::Hashable
|
2954
2884
|
|
2955
|
-
#
|
2956
|
-
#
|
2957
|
-
#
|
2958
|
-
|
2959
|
-
|
2885
|
+
# A list of buttons layed out horizontally.
|
2886
|
+
# Corresponds to the JSON property `buttonList`
|
2887
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageButtonList]
|
2888
|
+
attr_accessor :button_list
|
2889
|
+
|
2890
|
+
# The widget that lets users to specify a date and time.
|
2891
|
+
# Corresponds to the JSON property `dateTimePicker`
|
2892
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDateTimePicker]
|
2893
|
+
attr_accessor :date_time_picker
|
2894
|
+
|
2895
|
+
# A widget that displays text with optional decorations such as a label above or
|
2896
|
+
# below the text, an icon in front of the text, a selection widget or a button
|
2897
|
+
# after the text.
|
2898
|
+
# Corresponds to the JSON property `decoratedText`
|
2899
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDecoratedText]
|
2900
|
+
attr_accessor :decorated_text
|
2901
|
+
|
2902
|
+
# An image that is specified by a URL and can have an onClick action.
|
2903
|
+
# Corresponds to the JSON property `image`
|
2904
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageImage]
|
2905
|
+
attr_accessor :image
|
2906
|
+
|
2907
|
+
# A widget that creates a UI item (for example, a drop-down list) with options
|
2908
|
+
# for users to select.
|
2909
|
+
# Corresponds to the JSON property `selectionInput`
|
2910
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInput]
|
2911
|
+
attr_accessor :selection_input
|
2912
|
+
|
2913
|
+
# A text input is a UI item where users can input text. A text input can also
|
2914
|
+
# have an onChange action and suggestions.
|
2915
|
+
# Corresponds to the JSON property `textInput`
|
2916
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageTextInput]
|
2917
|
+
attr_accessor :text_input
|
2918
|
+
|
2919
|
+
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
2920
|
+
# add-ons/concepts/widgets#text_formatting") for details.
|
2921
|
+
# Corresponds to the JSON property `textParagraph`
|
2922
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageTextParagraph]
|
2923
|
+
attr_accessor :text_paragraph
|
2924
|
+
|
2925
|
+
def initialize(**args)
|
2926
|
+
update!(**args)
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
# Update properties of this object
|
2930
|
+
def update!(**args)
|
2931
|
+
@button_list = args[:button_list] if args.key?(:button_list)
|
2932
|
+
@date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
|
2933
|
+
@decorated_text = args[:decorated_text] if args.key?(:decorated_text)
|
2934
|
+
@image = args[:image] if args.key?(:image)
|
2935
|
+
@selection_input = args[:selection_input] if args.key?(:selection_input)
|
2936
|
+
@text_input = args[:text_input] if args.key?(:text_input)
|
2937
|
+
@text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph)
|
2938
|
+
end
|
2939
|
+
end
|
2940
|
+
|
2941
|
+
# The widget that lets users to specify a date and time.
|
2942
|
+
class AppsDynamiteStorageDateTimePicker
|
2943
|
+
include Google::Apis::Core::Hashable
|
2944
|
+
|
2945
|
+
# The label for the field that displays to the user.
|
2946
|
+
# Corresponds to the JSON property `label`
|
2947
|
+
# @return [String]
|
2948
|
+
attr_accessor :label
|
2949
|
+
|
2950
|
+
# The name of the text input that's used in formInput, and uniquely identifies
|
2951
|
+
# this input.
|
2952
|
+
# Corresponds to the JSON property `name`
|
2953
|
+
# @return [String]
|
2954
|
+
attr_accessor :name
|
2955
|
+
|
2956
|
+
# An action that describes the behavior when the form is submitted. For example,
|
2957
|
+
# an Apps Script can be invoked to handle the form.
|
2958
|
+
# Corresponds to the JSON property `onChangeAction`
|
2959
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
2960
|
+
attr_accessor :on_change_action
|
2961
|
+
|
2962
|
+
# The number representing the time zone offset from UTC, in minutes. If set, the
|
2963
|
+
# `value_ms_epoch` is displayed in the specified time zone. If not set, it uses
|
2964
|
+
# the user's time zone setting on the client side.
|
2965
|
+
# Corresponds to the JSON property `timezoneOffsetDate`
|
2966
|
+
# @return [Fixnum]
|
2967
|
+
attr_accessor :timezone_offset_date
|
2960
2968
|
|
2961
|
-
#
|
2962
|
-
# Corresponds to the JSON property `
|
2963
|
-
# @return [
|
2964
|
-
attr_accessor :
|
2969
|
+
# The type of the date/time picker.
|
2970
|
+
# Corresponds to the JSON property `type`
|
2971
|
+
# @return [String]
|
2972
|
+
attr_accessor :type
|
2973
|
+
|
2974
|
+
# The value to display as the default value before user input or previous user
|
2975
|
+
# input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME`
|
2976
|
+
# type, the full epoch value is used. For `DATE_ONLY` type, only date of the
|
2977
|
+
# epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used.
|
2978
|
+
# For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.
|
2979
|
+
# Corresponds to the JSON property `valueMsEpoch`
|
2980
|
+
# @return [Fixnum]
|
2981
|
+
attr_accessor :value_ms_epoch
|
2965
2982
|
|
2966
2983
|
def initialize(**args)
|
2967
2984
|
update!(**args)
|
@@ -2969,57 +2986,72 @@ module Google
|
|
2969
2986
|
|
2970
2987
|
# Update properties of this object
|
2971
2988
|
def update!(**args)
|
2972
|
-
@
|
2973
|
-
@
|
2989
|
+
@label = args[:label] if args.key?(:label)
|
2990
|
+
@name = args[:name] if args.key?(:name)
|
2991
|
+
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
2992
|
+
@timezone_offset_date = args[:timezone_offset_date] if args.key?(:timezone_offset_date)
|
2993
|
+
@type = args[:type] if args.key?(:type)
|
2994
|
+
@value_ms_epoch = args[:value_ms_epoch] if args.key?(:value_ms_epoch)
|
2974
2995
|
end
|
2975
2996
|
end
|
2976
2997
|
|
2977
|
-
#
|
2978
|
-
#
|
2979
|
-
|
2998
|
+
# A widget that displays text with optional decorations such as a label above or
|
2999
|
+
# below the text, an icon in front of the text, a selection widget or a button
|
3000
|
+
# after the text.
|
3001
|
+
class AppsDynamiteStorageDecoratedText
|
2980
3002
|
include Google::Apis::Core::Hashable
|
2981
3003
|
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
3004
|
+
# The formatted text label that shows below the main text.
|
3005
|
+
# Corresponds to the JSON property `bottomLabel`
|
3006
|
+
# @return [String]
|
3007
|
+
attr_accessor :bottom_label
|
2985
3008
|
|
2986
|
-
#
|
2987
|
-
|
2988
|
-
|
2989
|
-
|
3009
|
+
# A button. Can be a text button or an image button.
|
3010
|
+
# Corresponds to the JSON property `button`
|
3011
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageButton]
|
3012
|
+
attr_accessor :button
|
2990
3013
|
|
2991
|
-
|
2992
|
-
|
2993
|
-
|
3014
|
+
# An icon displayed after the text.
|
3015
|
+
# Corresponds to the JSON property `endIcon`
|
3016
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageIcon]
|
3017
|
+
attr_accessor :end_icon
|
2994
3018
|
|
2995
|
-
#
|
2996
|
-
# Corresponds to the JSON property `
|
2997
|
-
# @return [Google::Apis::CloudsearchV1::
|
2998
|
-
attr_accessor :
|
3019
|
+
# Deprecated in favor of start_icon.
|
3020
|
+
# Corresponds to the JSON property `icon`
|
3021
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageIcon]
|
3022
|
+
attr_accessor :icon
|
2999
3023
|
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3024
|
+
# Only the top and bottom label and content region are clickable.
|
3025
|
+
# Corresponds to the JSON property `onClick`
|
3026
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick]
|
3027
|
+
attr_accessor :on_click
|
3003
3028
|
|
3004
|
-
#
|
3005
|
-
|
3006
|
-
|
3007
|
-
|
3008
|
-
end
|
3029
|
+
# The icon displayed in front of the text.
|
3030
|
+
# Corresponds to the JSON property `startIcon`
|
3031
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageIcon]
|
3032
|
+
attr_accessor :start_icon
|
3009
3033
|
|
3010
|
-
|
3011
|
-
|
3012
|
-
|
3034
|
+
# A switch widget can be clicked to change its state or trigger an action.
|
3035
|
+
# Corresponds to the JSON property `switchControl`
|
3036
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDecoratedTextSwitchControl]
|
3037
|
+
attr_accessor :switch_control
|
3013
3038
|
|
3014
|
-
#
|
3015
|
-
# Corresponds to the JSON property `
|
3016
|
-
# @return [
|
3017
|
-
attr_accessor :
|
3039
|
+
# Required. The main widget formatted text. See Text formatting for details.
|
3040
|
+
# Corresponds to the JSON property `text`
|
3041
|
+
# @return [String]
|
3042
|
+
attr_accessor :text
|
3018
3043
|
|
3019
|
-
#
|
3020
|
-
# Corresponds to the JSON property `
|
3021
|
-
# @return [
|
3022
|
-
attr_accessor :
|
3044
|
+
# The formatted text label that shows above the main text.
|
3045
|
+
# Corresponds to the JSON property `topLabel`
|
3046
|
+
# @return [String]
|
3047
|
+
attr_accessor :top_label
|
3048
|
+
|
3049
|
+
# The wrap text setting. If `true`, the text is wrapped and displayed in
|
3050
|
+
# multiline. Otherwise, the text is truncated.
|
3051
|
+
# Corresponds to the JSON property `wrapText`
|
3052
|
+
# @return [Boolean]
|
3053
|
+
attr_accessor :wrap_text
|
3054
|
+
alias_method :wrap_text?, :wrap_text
|
3023
3055
|
|
3024
3056
|
def initialize(**args)
|
3025
3057
|
update!(**args)
|
@@ -3027,21 +3059,46 @@ module Google
|
|
3027
3059
|
|
3028
3060
|
# Update properties of this object
|
3029
3061
|
def update!(**args)
|
3030
|
-
@
|
3031
|
-
@
|
3062
|
+
@bottom_label = args[:bottom_label] if args.key?(:bottom_label)
|
3063
|
+
@button = args[:button] if args.key?(:button)
|
3064
|
+
@end_icon = args[:end_icon] if args.key?(:end_icon)
|
3065
|
+
@icon = args[:icon] if args.key?(:icon)
|
3066
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
3067
|
+
@start_icon = args[:start_icon] if args.key?(:start_icon)
|
3068
|
+
@switch_control = args[:switch_control] if args.key?(:switch_control)
|
3069
|
+
@text = args[:text] if args.key?(:text)
|
3070
|
+
@top_label = args[:top_label] if args.key?(:top_label)
|
3071
|
+
@wrap_text = args[:wrap_text] if args.key?(:wrap_text)
|
3032
3072
|
end
|
3033
3073
|
end
|
3034
3074
|
|
3035
3075
|
#
|
3036
|
-
class
|
3076
|
+
class AppsDynamiteStorageDecoratedTextSwitchControl
|
3037
3077
|
include Google::Apis::Core::Hashable
|
3038
3078
|
|
3039
|
-
# The
|
3040
|
-
# Corresponds to the JSON property `
|
3079
|
+
# The control type, either switch or checkbox.
|
3080
|
+
# Corresponds to the JSON property `controlType`
|
3041
3081
|
# @return [String]
|
3042
|
-
attr_accessor :
|
3082
|
+
attr_accessor :control_type
|
3043
3083
|
|
3044
|
-
# The
|
3084
|
+
# The name of the switch widget that's used in formInput.
|
3085
|
+
# Corresponds to the JSON property `name`
|
3086
|
+
# @return [String]
|
3087
|
+
attr_accessor :name
|
3088
|
+
|
3089
|
+
# An action that describes the behavior when the form is submitted. For example,
|
3090
|
+
# an Apps Script can be invoked to handle the form.
|
3091
|
+
# Corresponds to the JSON property `onChangeAction`
|
3092
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3093
|
+
attr_accessor :on_change_action
|
3094
|
+
|
3095
|
+
# If the switch is selected.
|
3096
|
+
# Corresponds to the JSON property `selected`
|
3097
|
+
# @return [Boolean]
|
3098
|
+
attr_accessor :selected
|
3099
|
+
alias_method :selected?, :selected
|
3100
|
+
|
3101
|
+
# The value is what is passed back in the callback.
|
3045
3102
|
# Corresponds to the JSON property `value`
|
3046
3103
|
# @return [String]
|
3047
3104
|
attr_accessor :value
|
@@ -3052,65 +3109,58 @@ module Google
|
|
3052
3109
|
|
3053
3110
|
# Update properties of this object
|
3054
3111
|
def update!(**args)
|
3055
|
-
@
|
3112
|
+
@control_type = args[:control_type] if args.key?(:control_type)
|
3113
|
+
@name = args[:name] if args.key?(:name)
|
3114
|
+
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
3115
|
+
@selected = args[:selected] if args.key?(:selected)
|
3056
3116
|
@value = args[:value] if args.key?(:value)
|
3057
3117
|
end
|
3058
3118
|
end
|
3059
3119
|
|
3060
|
-
#
|
3061
|
-
class
|
3120
|
+
# A divider that appears in between widgets.
|
3121
|
+
class AppsDynamiteStorageDivider
|
3062
3122
|
include Google::Apis::Core::Hashable
|
3063
3123
|
|
3064
|
-
# The total number of users who have reacted.
|
3065
|
-
# Corresponds to the JSON property `count`
|
3066
|
-
# @return [Fixnum]
|
3067
|
-
attr_accessor :count
|
3068
|
-
|
3069
|
-
# When the first emoji of this type was added.
|
3070
|
-
# Corresponds to the JSON property `createTimestamp`
|
3071
|
-
# @return [Fixnum]
|
3072
|
-
attr_accessor :create_timestamp
|
3073
|
-
|
3074
|
-
# Whether the current user reacted using this emoji. Note: Unlike most
|
3075
|
-
# properties of messages, this is different per-user.
|
3076
|
-
# Corresponds to the JSON property `currentUserParticipated`
|
3077
|
-
# @return [Boolean]
|
3078
|
-
attr_accessor :current_user_participated
|
3079
|
-
alias_method :current_user_participated?, :current_user_participated
|
3080
|
-
|
3081
|
-
#
|
3082
|
-
# Corresponds to the JSON property `emoji`
|
3083
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedEmoji]
|
3084
|
-
attr_accessor :emoji
|
3085
|
-
|
3086
3124
|
def initialize(**args)
|
3087
3125
|
update!(**args)
|
3088
3126
|
end
|
3089
3127
|
|
3090
3128
|
# Update properties of this object
|
3091
3129
|
def update!(**args)
|
3092
|
-
@count = args[:count] if args.key?(:count)
|
3093
|
-
@create_timestamp = args[:create_timestamp] if args.key?(:create_timestamp)
|
3094
|
-
@current_user_participated = args[:current_user_participated] if args.key?(:current_user_participated)
|
3095
|
-
@emoji = args[:emoji] if args.key?(:emoji)
|
3096
3130
|
end
|
3097
3131
|
end
|
3098
3132
|
|
3099
|
-
#
|
3100
|
-
class
|
3133
|
+
# Represents a Grid widget that displays items in a configurable grid layout.
|
3134
|
+
class AppsDynamiteStorageGrid
|
3101
3135
|
include Google::Apis::Core::Hashable
|
3102
3136
|
|
3103
|
-
#
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
|
3137
|
+
# Represents the complete border style applied to widgets.
|
3138
|
+
# Corresponds to the JSON property `borderStyle`
|
3139
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle]
|
3140
|
+
attr_accessor :border_style
|
3141
|
+
|
3142
|
+
# The number of columns to display in the grid. A default value is used if this
|
3143
|
+
# field isn't specified, and that default value is different depending on where
|
3144
|
+
# the grid is shown (dialog versus companion).
|
3145
|
+
# Corresponds to the JSON property `columnCount`
|
3107
3146
|
# @return [Fixnum]
|
3108
|
-
attr_accessor :
|
3147
|
+
attr_accessor :column_count
|
3109
3148
|
|
3110
|
-
# The
|
3111
|
-
# Corresponds to the JSON property `
|
3149
|
+
# The items to display in the grid.
|
3150
|
+
# Corresponds to the JSON property `items`
|
3151
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageGridGridItem>]
|
3152
|
+
attr_accessor :items
|
3153
|
+
|
3154
|
+
# This callback is reused by each individual grid item, but with the item's
|
3155
|
+
# identifier and index in the items list added to the callback's parameters.
|
3156
|
+
# Corresponds to the JSON property `onClick`
|
3157
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick]
|
3158
|
+
attr_accessor :on_click
|
3159
|
+
|
3160
|
+
# The text that displays in the grid header.
|
3161
|
+
# Corresponds to the JSON property `title`
|
3112
3162
|
# @return [String]
|
3113
|
-
attr_accessor :
|
3163
|
+
attr_accessor :title
|
3114
3164
|
|
3115
3165
|
def initialize(**args)
|
3116
3166
|
update!(**args)
|
@@ -3118,51 +3168,48 @@ module Google
|
|
3118
3168
|
|
3119
3169
|
# Update properties of this object
|
3120
3170
|
def update!(**args)
|
3121
|
-
@
|
3122
|
-
@
|
3171
|
+
@border_style = args[:border_style] if args.key?(:border_style)
|
3172
|
+
@column_count = args[:column_count] if args.key?(:column_count)
|
3173
|
+
@items = args[:items] if args.key?(:items)
|
3174
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
3175
|
+
@title = args[:title] if args.key?(:title)
|
3123
3176
|
end
|
3124
3177
|
end
|
3125
3178
|
|
3126
|
-
#
|
3127
|
-
|
3128
|
-
class AppsDynamiteSharedSegmentedMembershipCount
|
3179
|
+
# Represents a single item in the grid layout.
|
3180
|
+
class AppsDynamiteStorageGridGridItem
|
3129
3181
|
include Google::Apis::Core::Hashable
|
3130
3182
|
|
3131
|
-
#
|
3132
|
-
#
|
3183
|
+
# A user-specified identifier for this grid item. This identifier is returned in
|
3184
|
+
# the parent Grid's onClick callback parameters.
|
3185
|
+
# Corresponds to the JSON property `id`
|
3133
3186
|
# @return [String]
|
3134
|
-
attr_accessor :
|
3187
|
+
attr_accessor :id
|
3135
3188
|
|
3136
|
-
#
|
3137
|
-
# Corresponds to the JSON property `
|
3138
|
-
# @return [
|
3139
|
-
attr_accessor :
|
3189
|
+
# The image that displays in the grid item.
|
3190
|
+
# Corresponds to the JSON property `image`
|
3191
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageImageComponent]
|
3192
|
+
attr_accessor :image
|
3140
3193
|
|
3141
|
-
#
|
3142
|
-
# Corresponds to the JSON property `
|
3194
|
+
# The layout to use for the grid item.
|
3195
|
+
# Corresponds to the JSON property `layout`
|
3143
3196
|
# @return [String]
|
3144
|
-
attr_accessor :
|
3145
|
-
|
3146
|
-
def initialize(**args)
|
3147
|
-
update!(**args)
|
3148
|
-
end
|
3197
|
+
attr_accessor :layout
|
3149
3198
|
|
3150
|
-
#
|
3151
|
-
|
3152
|
-
|
3153
|
-
|
3154
|
-
@membership_state = args[:membership_state] if args.key?(:membership_state)
|
3155
|
-
end
|
3156
|
-
end
|
3199
|
+
# The grid item's subtitle.
|
3200
|
+
# Corresponds to the JSON property `subtitle`
|
3201
|
+
# @return [String]
|
3202
|
+
attr_accessor :subtitle
|
3157
3203
|
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3204
|
+
# The horizontal alignment of the grid item's text.
|
3205
|
+
# Corresponds to the JSON property `textAlignment`
|
3206
|
+
# @return [String]
|
3207
|
+
attr_accessor :text_alignment
|
3161
3208
|
|
3162
|
-
#
|
3163
|
-
# Corresponds to the JSON property `
|
3164
|
-
# @return [
|
3165
|
-
attr_accessor :
|
3209
|
+
# The grid item's title.
|
3210
|
+
# Corresponds to the JSON property `title`
|
3211
|
+
# @return [String]
|
3212
|
+
attr_accessor :title
|
3166
3213
|
|
3167
3214
|
def initialize(**args)
|
3168
3215
|
update!(**args)
|
@@ -3170,40 +3217,40 @@ module Google
|
|
3170
3217
|
|
3171
3218
|
# Update properties of this object
|
3172
3219
|
def update!(**args)
|
3173
|
-
@
|
3220
|
+
@id = args[:id] if args.key?(:id)
|
3221
|
+
@image = args[:image] if args.key?(:image)
|
3222
|
+
@layout = args[:layout] if args.key?(:layout)
|
3223
|
+
@subtitle = args[:subtitle] if args.key?(:subtitle)
|
3224
|
+
@text_alignment = args[:text_alignment] if args.key?(:text_alignment)
|
3225
|
+
@title = args[:title] if args.key?(:title)
|
3174
3226
|
end
|
3175
3227
|
end
|
3176
3228
|
|
3177
|
-
#
|
3178
|
-
|
3179
|
-
class AppsDynamiteSharedSelectionInput
|
3229
|
+
#
|
3230
|
+
class AppsDynamiteStorageIcon
|
3180
3231
|
include Google::Apis::Core::Hashable
|
3181
3232
|
|
3182
|
-
#
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
attr_accessor :items
|
3186
|
-
|
3187
|
-
# The label displayed ahead of the switch control.
|
3188
|
-
# Corresponds to the JSON property `label`
|
3233
|
+
# The description of the icon, used for accessibility. The default value is
|
3234
|
+
# provided if you don't specify one.
|
3235
|
+
# Corresponds to the JSON property `altText`
|
3189
3236
|
# @return [String]
|
3190
|
-
attr_accessor :
|
3237
|
+
attr_accessor :alt_text
|
3191
3238
|
|
3192
|
-
# The
|
3193
|
-
# Corresponds to the JSON property `
|
3239
|
+
# The icon specified by a URL.
|
3240
|
+
# Corresponds to the JSON property `iconUrl`
|
3194
3241
|
# @return [String]
|
3195
|
-
attr_accessor :
|
3242
|
+
attr_accessor :icon_url
|
3196
3243
|
|
3197
|
-
#
|
3198
|
-
#
|
3199
|
-
# Corresponds to the JSON property `
|
3200
|
-
# @return [
|
3201
|
-
attr_accessor :
|
3244
|
+
# The crop style applied to the image. In some cases, applying a `CIRCLE` crop
|
3245
|
+
# causes the image to be drawn larger than a standard icon.
|
3246
|
+
# Corresponds to the JSON property `imageType`
|
3247
|
+
# @return [String]
|
3248
|
+
attr_accessor :image_type
|
3202
3249
|
|
3203
|
-
#
|
3204
|
-
# Corresponds to the JSON property `
|
3250
|
+
# The icon specified by the string name of a list of known icons
|
3251
|
+
# Corresponds to the JSON property `knownIcon`
|
3205
3252
|
# @return [String]
|
3206
|
-
attr_accessor :
|
3253
|
+
attr_accessor :known_icon
|
3207
3254
|
|
3208
3255
|
def initialize(**args)
|
3209
3256
|
update!(**args)
|
@@ -3211,36 +3258,31 @@ module Google
|
|
3211
3258
|
|
3212
3259
|
# Update properties of this object
|
3213
3260
|
def update!(**args)
|
3214
|
-
@
|
3215
|
-
@
|
3216
|
-
@
|
3217
|
-
@
|
3218
|
-
@type = args[:type] if args.key?(:type)
|
3261
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
3262
|
+
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
3263
|
+
@image_type = args[:image_type] if args.key?(:image_type)
|
3264
|
+
@known_icon = args[:known_icon] if args.key?(:known_icon)
|
3219
3265
|
end
|
3220
3266
|
end
|
3221
3267
|
|
3222
|
-
#
|
3223
|
-
|
3224
|
-
class AppsDynamiteSharedSelectionInputSelectionItem
|
3268
|
+
# An image that is specified by a URL and can have an onClick action.
|
3269
|
+
class AppsDynamiteStorageImage
|
3225
3270
|
include Google::Apis::Core::Hashable
|
3226
3271
|
|
3227
|
-
#
|
3228
|
-
#
|
3229
|
-
# Corresponds to the JSON property `selected`
|
3230
|
-
# @return [Boolean]
|
3231
|
-
attr_accessor :selected
|
3232
|
-
alias_method :selected?, :selected
|
3233
|
-
|
3234
|
-
# The text to be displayed.
|
3235
|
-
# Corresponds to the JSON property `text`
|
3272
|
+
# The alternative text of this image, used for accessibility.
|
3273
|
+
# Corresponds to the JSON property `altText`
|
3236
3274
|
# @return [String]
|
3237
|
-
attr_accessor :
|
3275
|
+
attr_accessor :alt_text
|
3238
3276
|
|
3239
|
-
#
|
3240
|
-
#
|
3241
|
-
# Corresponds to the JSON property `value`
|
3277
|
+
# An image URL.
|
3278
|
+
# Corresponds to the JSON property `imageUrl`
|
3242
3279
|
# @return [String]
|
3243
|
-
attr_accessor :
|
3280
|
+
attr_accessor :image_url
|
3281
|
+
|
3282
|
+
#
|
3283
|
+
# Corresponds to the JSON property `onClick`
|
3284
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick]
|
3285
|
+
attr_accessor :on_click
|
3244
3286
|
|
3245
3287
|
def initialize(**args)
|
3246
3288
|
update!(**args)
|
@@ -3248,64 +3290,35 @@ module Google
|
|
3248
3290
|
|
3249
3291
|
# Update properties of this object
|
3250
3292
|
def update!(**args)
|
3251
|
-
@
|
3252
|
-
@
|
3253
|
-
@
|
3293
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
3294
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
3295
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
3254
3296
|
end
|
3255
3297
|
end
|
3256
3298
|
|
3257
|
-
#
|
3258
|
-
class
|
3299
|
+
#
|
3300
|
+
class AppsDynamiteStorageImageComponent
|
3259
3301
|
include Google::Apis::Core::Hashable
|
3260
3302
|
|
3261
|
-
#
|
3262
|
-
# Corresponds to the JSON property `
|
3263
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo]
|
3264
|
-
attr_accessor :avatar_info
|
3265
|
-
|
3266
|
-
#
|
3267
|
-
# Corresponds to the JSON property `avatarUrl`
|
3268
|
-
# @return [String]
|
3269
|
-
attr_accessor :avatar_url
|
3270
|
-
|
3271
|
-
#
|
3272
|
-
# Corresponds to the JSON property `description`
|
3273
|
-
# @return [String]
|
3274
|
-
attr_accessor :description
|
3275
|
-
|
3276
|
-
# Id representing a group that could be a space, a chat, or a direct message
|
3277
|
-
# space. Which ID is set here will determine which group
|
3278
|
-
# Corresponds to the JSON property `groupId`
|
3279
|
-
# @return [Google::Apis::CloudsearchV1::GroupId]
|
3280
|
-
attr_accessor :group_id
|
3281
|
-
|
3282
|
-
# The email address of the user that invited the calling user to the room, if
|
3283
|
-
# available. This field will only be populated for direct invites, it will be
|
3284
|
-
# empty if the user was indirectly invited to the group.
|
3285
|
-
# Corresponds to the JSON property `inviterEmail`
|
3303
|
+
# The accessibility label for the image.
|
3304
|
+
# Corresponds to the JSON property `altText`
|
3286
3305
|
# @return [String]
|
3287
|
-
attr_accessor :
|
3288
|
-
|
3289
|
-
# Whether this is a space that enables guest access
|
3290
|
-
# Corresponds to the JSON property `isExternal`
|
3291
|
-
# @return [Boolean]
|
3292
|
-
attr_accessor :is_external
|
3293
|
-
alias_method :is_external?, :is_external
|
3306
|
+
attr_accessor :alt_text
|
3294
3307
|
|
3295
|
-
#
|
3296
|
-
# Corresponds to the JSON property `
|
3297
|
-
# @return [
|
3298
|
-
attr_accessor :
|
3308
|
+
# Represents the complete border style applied to widgets.
|
3309
|
+
# Corresponds to the JSON property `borderStyle`
|
3310
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle]
|
3311
|
+
attr_accessor :border_style
|
3299
3312
|
|
3300
|
-
#
|
3301
|
-
# Corresponds to the JSON property `
|
3302
|
-
# @return [
|
3303
|
-
attr_accessor :
|
3313
|
+
# Represents the crop style applied to an image.
|
3314
|
+
# Corresponds to the JSON property `cropStyle`
|
3315
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageImageCropStyle]
|
3316
|
+
attr_accessor :crop_style
|
3304
3317
|
|
3305
|
-
#
|
3306
|
-
# Corresponds to the JSON property `
|
3318
|
+
# The image URL.
|
3319
|
+
# Corresponds to the JSON property `imageUri`
|
3307
3320
|
# @return [String]
|
3308
|
-
attr_accessor :
|
3321
|
+
attr_accessor :image_uri
|
3309
3322
|
|
3310
3323
|
def initialize(**args)
|
3311
3324
|
update!(**args)
|
@@ -3313,27 +3326,26 @@ module Google
|
|
3313
3326
|
|
3314
3327
|
# Update properties of this object
|
3315
3328
|
def update!(**args)
|
3316
|
-
@
|
3317
|
-
@
|
3318
|
-
@
|
3319
|
-
@
|
3320
|
-
@inviter_email = args[:inviter_email] if args.key?(:inviter_email)
|
3321
|
-
@is_external = args[:is_external] if args.key?(:is_external)
|
3322
|
-
@name = args[:name] if args.key?(:name)
|
3323
|
-
@num_members = args[:num_members] if args.key?(:num_members)
|
3324
|
-
@user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state)
|
3329
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
3330
|
+
@border_style = args[:border_style] if args.key?(:border_style)
|
3331
|
+
@crop_style = args[:crop_style] if args.key?(:crop_style)
|
3332
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
3325
3333
|
end
|
3326
3334
|
end
|
3327
3335
|
|
3328
|
-
#
|
3329
|
-
|
3330
|
-
class AppsDynamiteSharedSuggestions
|
3336
|
+
# Represents the crop style applied to an image.
|
3337
|
+
class AppsDynamiteStorageImageCropStyle
|
3331
3338
|
include Google::Apis::Core::Hashable
|
3332
3339
|
|
3333
|
-
#
|
3334
|
-
# Corresponds to the JSON property `
|
3335
|
-
# @return [
|
3336
|
-
attr_accessor :
|
3340
|
+
# The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.
|
3341
|
+
# Corresponds to the JSON property `aspectRatio`
|
3342
|
+
# @return [Float]
|
3343
|
+
attr_accessor :aspect_ratio
|
3344
|
+
|
3345
|
+
# The crop type.
|
3346
|
+
# Corresponds to the JSON property `type`
|
3347
|
+
# @return [String]
|
3348
|
+
attr_accessor :type
|
3337
3349
|
|
3338
3350
|
def initialize(**args)
|
3339
3351
|
update!(**args)
|
@@ -3341,18 +3353,36 @@ module Google
|
|
3341
3353
|
|
3342
3354
|
# Update properties of this object
|
3343
3355
|
def update!(**args)
|
3344
|
-
@
|
3356
|
+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
|
3357
|
+
@type = args[:type] if args.key?(:type)
|
3345
3358
|
end
|
3346
3359
|
end
|
3347
3360
|
|
3348
|
-
#
|
3349
|
-
class
|
3361
|
+
#
|
3362
|
+
class AppsDynamiteStorageOnClick
|
3350
3363
|
include Google::Apis::Core::Hashable
|
3351
3364
|
|
3352
|
-
#
|
3353
|
-
#
|
3354
|
-
#
|
3355
|
-
|
3365
|
+
# An action that describes the behavior when the form is submitted. For example,
|
3366
|
+
# an Apps Script can be invoked to handle the form.
|
3367
|
+
# Corresponds to the JSON property `action`
|
3368
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3369
|
+
attr_accessor :action
|
3370
|
+
|
3371
|
+
# Actions handled by individual host apps.
|
3372
|
+
# Corresponds to the JSON property `hostAppAction`
|
3373
|
+
# @return [Google::Apis::CloudsearchV1::HostAppActionMarkup]
|
3374
|
+
attr_accessor :host_app_action
|
3375
|
+
|
3376
|
+
# An action that describes the behavior when the form is submitted. For example,
|
3377
|
+
# an Apps Script can be invoked to handle the form.
|
3378
|
+
# Corresponds to the JSON property `openDynamicLinkAction`
|
3379
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3380
|
+
attr_accessor :open_dynamic_link_action
|
3381
|
+
|
3382
|
+
# If specified, this onClick triggers an open link action.
|
3383
|
+
# Corresponds to the JSON property `openLink`
|
3384
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOpenLink]
|
3385
|
+
attr_accessor :open_link
|
3356
3386
|
|
3357
3387
|
def initialize(**args)
|
3358
3388
|
update!(**args)
|
@@ -3360,53 +3390,36 @@ module Google
|
|
3360
3390
|
|
3361
3391
|
# Update properties of this object
|
3362
3392
|
def update!(**args)
|
3363
|
-
@
|
3393
|
+
@action = args[:action] if args.key?(:action)
|
3394
|
+
@host_app_action = args[:host_app_action] if args.key?(:host_app_action)
|
3395
|
+
@open_dynamic_link_action = args[:open_dynamic_link_action] if args.key?(:open_dynamic_link_action)
|
3396
|
+
@open_link = args[:open_link] if args.key?(:open_link)
|
3364
3397
|
end
|
3365
3398
|
end
|
3366
3399
|
|
3367
|
-
#
|
3368
|
-
|
3369
|
-
class AppsDynamiteSharedTasksAnnotationData
|
3400
|
+
#
|
3401
|
+
class AppsDynamiteStorageOpenLink
|
3370
3402
|
include Google::Apis::Core::Hashable
|
3371
3403
|
|
3372
|
-
#
|
3373
|
-
# Corresponds to the JSON property `
|
3374
|
-
# @return [Google::Apis::CloudsearchV1::
|
3375
|
-
attr_accessor :
|
3376
|
-
|
3377
|
-
#
|
3378
|
-
# Corresponds to the JSON property `completionChange`
|
3379
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCompletionChange]
|
3380
|
-
attr_accessor :completion_change
|
3381
|
-
|
3382
|
-
#
|
3383
|
-
# Corresponds to the JSON property `creation`
|
3384
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCreation]
|
3385
|
-
attr_accessor :creation
|
3404
|
+
# Represents the platform specific uri/intent to open for each client.
|
3405
|
+
# Corresponds to the JSON property `appUri`
|
3406
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOpenLinkAppUri]
|
3407
|
+
attr_accessor :app_uri
|
3386
3408
|
|
3387
3409
|
#
|
3388
|
-
# Corresponds to the JSON property `
|
3389
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataDeletionChange]
|
3390
|
-
attr_accessor :deletion_change
|
3391
|
-
|
3392
|
-
# ID of task. Will be used to create deep links to Tasks.
|
3393
|
-
# Corresponds to the JSON property `taskId`
|
3410
|
+
# Corresponds to the JSON property `onClose`
|
3394
3411
|
# @return [String]
|
3395
|
-
attr_accessor :
|
3396
|
-
|
3397
|
-
# All relevant task properties for a Chat message.
|
3398
|
-
# Corresponds to the JSON property `taskProperties`
|
3399
|
-
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties]
|
3400
|
-
attr_accessor :task_properties
|
3412
|
+
attr_accessor :on_close
|
3401
3413
|
|
3402
|
-
#
|
3403
|
-
#
|
3404
|
-
#
|
3405
|
-
|
3406
|
-
|
3407
|
-
#
|
3408
|
-
#
|
3409
|
-
|
3414
|
+
#
|
3415
|
+
# Corresponds to the JSON property `openAs`
|
3416
|
+
# @return [String]
|
3417
|
+
attr_accessor :open_as
|
3418
|
+
|
3419
|
+
# The URL to open.
|
3420
|
+
# Corresponds to the JSON property `url`
|
3421
|
+
# @return [String]
|
3422
|
+
attr_accessor :url
|
3410
3423
|
|
3411
3424
|
def initialize(**args)
|
3412
3425
|
update!(**args)
|
@@ -3414,24 +3427,31 @@ module Google
|
|
3414
3427
|
|
3415
3428
|
# Update properties of this object
|
3416
3429
|
def update!(**args)
|
3417
|
-
@
|
3418
|
-
@
|
3419
|
-
@
|
3420
|
-
@
|
3421
|
-
@task_id = args[:task_id] if args.key?(:task_id)
|
3422
|
-
@task_properties = args[:task_properties] if args.key?(:task_properties)
|
3423
|
-
@user_defined_message = args[:user_defined_message] if args.key?(:user_defined_message)
|
3430
|
+
@app_uri = args[:app_uri] if args.key?(:app_uri)
|
3431
|
+
@on_close = args[:on_close] if args.key?(:on_close)
|
3432
|
+
@open_as = args[:open_as] if args.key?(:open_as)
|
3433
|
+
@url = args[:url] if args.key?(:url)
|
3424
3434
|
end
|
3425
3435
|
end
|
3426
3436
|
|
3427
|
-
#
|
3428
|
-
class
|
3437
|
+
# Represents the platform specific uri/intent to open for each client.
|
3438
|
+
class AppsDynamiteStorageOpenLinkAppUri
|
3429
3439
|
include Google::Apis::Core::Hashable
|
3430
3440
|
|
3431
|
-
#
|
3432
|
-
# Corresponds to the JSON property `
|
3433
|
-
# @return [Google::Apis::CloudsearchV1::
|
3434
|
-
attr_accessor :
|
3441
|
+
# Android intent.
|
3442
|
+
# Corresponds to the JSON property `androidIntent`
|
3443
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageOpenLinkAppUriIntent]
|
3444
|
+
attr_accessor :android_intent
|
3445
|
+
|
3446
|
+
# A companion uri string to be opened in the chat companion window. on the web.
|
3447
|
+
# Corresponds to the JSON property `companionUri`
|
3448
|
+
# @return [String]
|
3449
|
+
attr_accessor :companion_uri
|
3450
|
+
|
3451
|
+
# A uri string to be opened in the corresponding iOS hosting app.
|
3452
|
+
# Corresponds to the JSON property `iosUri`
|
3453
|
+
# @return [String]
|
3454
|
+
attr_accessor :ios_uri
|
3435
3455
|
|
3436
3456
|
def initialize(**args)
|
3437
3457
|
update!(**args)
|
@@ -3439,96 +3459,133 @@ module Google
|
|
3439
3459
|
|
3440
3460
|
# Update properties of this object
|
3441
3461
|
def update!(**args)
|
3442
|
-
@
|
3462
|
+
@android_intent = args[:android_intent] if args.key?(:android_intent)
|
3463
|
+
@companion_uri = args[:companion_uri] if args.key?(:companion_uri)
|
3464
|
+
@ios_uri = args[:ios_uri] if args.key?(:ios_uri)
|
3443
3465
|
end
|
3444
3466
|
end
|
3445
3467
|
|
3446
|
-
#
|
3447
|
-
class
|
3468
|
+
# Android intent.
|
3469
|
+
class AppsDynamiteStorageOpenLinkAppUriIntent
|
3448
3470
|
include Google::Apis::Core::Hashable
|
3449
3471
|
|
3472
|
+
# A list of extra data for the android intent. For example, for a calendar event
|
3473
|
+
# edit intent, the event title information can be passed as extra data.
|
3474
|
+
# Corresponds to the JSON property `extraData`
|
3475
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageOpenLinkAppUriIntentExtraData>]
|
3476
|
+
attr_accessor :extra_data
|
3477
|
+
|
3478
|
+
# An android intent action string for the `@link android.content.Intent` object.
|
3479
|
+
# For example: for the view intent action type, a valid value will be android.
|
3480
|
+
# content.Intent.ACTION_VIEW.
|
3481
|
+
# Corresponds to the JSON property `intentAction`
|
3482
|
+
# @return [String]
|
3483
|
+
attr_accessor :intent_action
|
3484
|
+
|
3450
3485
|
def initialize(**args)
|
3451
3486
|
update!(**args)
|
3452
3487
|
end
|
3453
3488
|
|
3454
3489
|
# Update properties of this object
|
3455
3490
|
def update!(**args)
|
3491
|
+
@extra_data = args[:extra_data] if args.key?(:extra_data)
|
3492
|
+
@intent_action = args[:intent_action] if args.key?(:intent_action)
|
3456
3493
|
end
|
3457
3494
|
end
|
3458
3495
|
|
3459
|
-
#
|
3460
|
-
|
3496
|
+
# Extra data for an android intent. Valid keys are defined in the hosting app
|
3497
|
+
# contract.
|
3498
|
+
class AppsDynamiteStorageOpenLinkAppUriIntentExtraData
|
3461
3499
|
include Google::Apis::Core::Hashable
|
3462
3500
|
|
3501
|
+
# A key for the intent extra data.
|
3502
|
+
# Corresponds to the JSON property `key`
|
3503
|
+
# @return [String]
|
3504
|
+
attr_accessor :key
|
3505
|
+
|
3506
|
+
# Value for the given extra data key.
|
3507
|
+
# Corresponds to the JSON property `value`
|
3508
|
+
# @return [String]
|
3509
|
+
attr_accessor :value
|
3510
|
+
|
3463
3511
|
def initialize(**args)
|
3464
3512
|
update!(**args)
|
3465
3513
|
end
|
3466
3514
|
|
3467
3515
|
# Update properties of this object
|
3468
3516
|
def update!(**args)
|
3517
|
+
@key = args[:key] if args.key?(:key)
|
3518
|
+
@value = args[:value] if args.key?(:value)
|
3469
3519
|
end
|
3470
3520
|
end
|
3471
3521
|
|
3472
|
-
#
|
3473
|
-
|
3522
|
+
# A widget that creates a UI item (for example, a drop-down list) with options
|
3523
|
+
# for users to select.
|
3524
|
+
class AppsDynamiteStorageSelectionInput
|
3474
3525
|
include Google::Apis::Core::Hashable
|
3475
3526
|
|
3527
|
+
#
|
3528
|
+
# Corresponds to the JSON property `items`
|
3529
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInputSelectionItem>]
|
3530
|
+
attr_accessor :items
|
3531
|
+
|
3532
|
+
# The label displayed ahead of the switch control.
|
3533
|
+
# Corresponds to the JSON property `label`
|
3534
|
+
# @return [String]
|
3535
|
+
attr_accessor :label
|
3536
|
+
|
3537
|
+
# The name of the text input which is used in formInput.
|
3538
|
+
# Corresponds to the JSON property `name`
|
3539
|
+
# @return [String]
|
3540
|
+
attr_accessor :name
|
3541
|
+
|
3542
|
+
# An action that describes the behavior when the form is submitted. For example,
|
3543
|
+
# an Apps Script can be invoked to handle the form.
|
3544
|
+
# Corresponds to the JSON property `onChangeAction`
|
3545
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3546
|
+
attr_accessor :on_change_action
|
3547
|
+
|
3548
|
+
#
|
3549
|
+
# Corresponds to the JSON property `type`
|
3550
|
+
# @return [String]
|
3551
|
+
attr_accessor :type
|
3552
|
+
|
3476
3553
|
def initialize(**args)
|
3477
3554
|
update!(**args)
|
3478
3555
|
end
|
3479
3556
|
|
3480
3557
|
# Update properties of this object
|
3481
3558
|
def update!(**args)
|
3559
|
+
@items = args[:items] if args.key?(:items)
|
3560
|
+
@label = args[:label] if args.key?(:label)
|
3561
|
+
@name = args[:name] if args.key?(:name)
|
3562
|
+
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
3563
|
+
@type = args[:type] if args.key?(:type)
|
3482
3564
|
end
|
3483
3565
|
end
|
3484
3566
|
|
3485
|
-
#
|
3486
|
-
|
3567
|
+
# The item in the switch control. A radio button, at most one of the items is
|
3568
|
+
# selected.
|
3569
|
+
class AppsDynamiteStorageSelectionInputSelectionItem
|
3487
3570
|
include Google::Apis::Core::Hashable
|
3488
3571
|
|
3489
|
-
#
|
3490
|
-
#
|
3491
|
-
#
|
3492
|
-
attr_accessor :assignee
|
3493
|
-
|
3494
|
-
# Whether the task is marked as completed.
|
3495
|
-
# Corresponds to the JSON property `completed`
|
3496
|
-
# @return [Boolean]
|
3497
|
-
attr_accessor :completed
|
3498
|
-
alias_method :completed?, :completed
|
3499
|
-
|
3500
|
-
# Whether the task is marked as deleted.
|
3501
|
-
# Corresponds to the JSON property `deleted`
|
3572
|
+
# If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first
|
3573
|
+
# selected item is treated as selected and the ones after are ignored.
|
3574
|
+
# Corresponds to the JSON property `selected`
|
3502
3575
|
# @return [Boolean]
|
3503
|
-
attr_accessor :
|
3504
|
-
alias_method :
|
3505
|
-
|
3506
|
-
# The description of the task. If Task original description's length is greater
|
3507
|
-
# than 1024, then Task BE sends the truncated description to Dynamite
|
3508
|
-
# Integration Server.
|
3509
|
-
# Corresponds to the JSON property `description`
|
3510
|
-
# @return [String]
|
3511
|
-
attr_accessor :description
|
3512
|
-
|
3513
|
-
# Represents a whole calendar date, for example a date of birth. The time of day
|
3514
|
-
# and time zone are either specified elsewhere or are not significant. The date
|
3515
|
-
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
3516
|
-
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
3517
|
-
# between the year 1 and 9999.
|
3518
|
-
# Corresponds to the JSON property `startDate`
|
3519
|
-
# @return [Google::Apis::CloudsearchV1::Date]
|
3520
|
-
attr_accessor :start_date
|
3576
|
+
attr_accessor :selected
|
3577
|
+
alias_method :selected?, :selected
|
3521
3578
|
|
3522
|
-
#
|
3523
|
-
#
|
3524
|
-
# Corresponds to the JSON property `startTime`
|
3579
|
+
# The text to be displayed.
|
3580
|
+
# Corresponds to the JSON property `text`
|
3525
3581
|
# @return [String]
|
3526
|
-
attr_accessor :
|
3582
|
+
attr_accessor :text
|
3527
3583
|
|
3528
|
-
# The
|
3529
|
-
#
|
3584
|
+
# The value associated with this item. The client should use this as a form
|
3585
|
+
# input value.
|
3586
|
+
# Corresponds to the JSON property `value`
|
3530
3587
|
# @return [String]
|
3531
|
-
attr_accessor :
|
3588
|
+
attr_accessor :value
|
3532
3589
|
|
3533
3590
|
def initialize(**args)
|
3534
3591
|
update!(**args)
|
@@ -3536,56 +3593,60 @@ module Google
|
|
3536
3593
|
|
3537
3594
|
# Update properties of this object
|
3538
3595
|
def update!(**args)
|
3539
|
-
@
|
3540
|
-
@
|
3541
|
-
@
|
3542
|
-
@description = args[:description] if args.key?(:description)
|
3543
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
3544
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
3545
|
-
@title = args[:title] if args.key?(:title)
|
3596
|
+
@selected = args[:selected] if args.key?(:selected)
|
3597
|
+
@text = args[:text] if args.key?(:text)
|
3598
|
+
@value = args[:value] if args.key?(:value)
|
3546
3599
|
end
|
3547
3600
|
end
|
3548
3601
|
|
3549
|
-
#
|
3550
|
-
#
|
3551
|
-
|
3552
|
-
# field yet as it could break existing flows until it's implemented. See code at
|
3553
|
-
# http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.
|
3554
|
-
class AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage
|
3602
|
+
# A container wrapping elements necessary for showing suggestion items used in
|
3603
|
+
# text input autocomplete.
|
3604
|
+
class AppsDynamiteStorageSuggestions
|
3555
3605
|
include Google::Apis::Core::Hashable
|
3556
3606
|
|
3607
|
+
# A list of suggestions items which will be used in are used in autocomplete.
|
3608
|
+
# Corresponds to the JSON property `items`
|
3609
|
+
# @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestionsSuggestionItem>]
|
3610
|
+
attr_accessor :items
|
3611
|
+
|
3557
3612
|
def initialize(**args)
|
3558
3613
|
update!(**args)
|
3559
3614
|
end
|
3560
3615
|
|
3561
3616
|
# Update properties of this object
|
3562
3617
|
def update!(**args)
|
3618
|
+
@items = args[:items] if args.key?(:items)
|
3563
3619
|
end
|
3564
3620
|
end
|
3565
3621
|
|
3566
|
-
# A
|
3567
|
-
|
3568
|
-
class AppsDynamiteSharedTasksMessageIntegrationPayload
|
3622
|
+
# A suggestion item. Only supports text for now.
|
3623
|
+
class AppsDynamiteStorageSuggestionsSuggestionItem
|
3569
3624
|
include Google::Apis::Core::Hashable
|
3570
3625
|
|
3626
|
+
#
|
3627
|
+
# Corresponds to the JSON property `text`
|
3628
|
+
# @return [String]
|
3629
|
+
attr_accessor :text
|
3630
|
+
|
3571
3631
|
def initialize(**args)
|
3572
3632
|
update!(**args)
|
3573
3633
|
end
|
3574
3634
|
|
3575
3635
|
# Update properties of this object
|
3576
3636
|
def update!(**args)
|
3637
|
+
@text = args[:text] if args.key?(:text)
|
3577
3638
|
end
|
3578
3639
|
end
|
3579
3640
|
|
3580
3641
|
# A text input is a UI item where users can input text. A text input can also
|
3581
3642
|
# have an onChange action and suggestions.
|
3582
|
-
class
|
3643
|
+
class AppsDynamiteStorageTextInput
|
3583
3644
|
include Google::Apis::Core::Hashable
|
3584
3645
|
|
3585
3646
|
# An action that describes the behavior when the form is submitted. For example,
|
3586
3647
|
# an Apps Script can be invoked to handle the form.
|
3587
3648
|
# Corresponds to the JSON property `autoCompleteAction`
|
3588
|
-
# @return [Google::Apis::CloudsearchV1::
|
3649
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3589
3650
|
attr_accessor :auto_complete_action
|
3590
3651
|
|
3591
3652
|
# The hint text.
|
@@ -3596,7 +3657,7 @@ module Google
|
|
3596
3657
|
# A container wrapping elements necessary for showing suggestion items used in
|
3597
3658
|
# text input autocomplete.
|
3598
3659
|
# Corresponds to the JSON property `initialSuggestions`
|
3599
|
-
# @return [Google::Apis::CloudsearchV1::
|
3660
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestions]
|
3600
3661
|
attr_accessor :initial_suggestions
|
3601
3662
|
|
3602
3663
|
# At least one of label and hintText must be specified.
|
@@ -3612,7 +3673,7 @@ module Google
|
|
3612
3673
|
# An action that describes the behavior when the form is submitted. For example,
|
3613
3674
|
# an Apps Script can be invoked to handle the form.
|
3614
3675
|
# Corresponds to the JSON property `onChangeAction`
|
3615
|
-
# @return [Google::Apis::CloudsearchV1::
|
3676
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageAction]
|
3616
3677
|
attr_accessor :on_change_action
|
3617
3678
|
|
3618
3679
|
# The style of the text, for example, a single line or multiple lines.
|
@@ -3644,7 +3705,7 @@ module Google
|
|
3644
3705
|
|
3645
3706
|
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
3646
3707
|
# add-ons/concepts/widgets#text_formatting") for details.
|
3647
|
-
class
|
3708
|
+
class AppsDynamiteStorageTextParagraph
|
3648
3709
|
include Google::Apis::Core::Hashable
|
3649
3710
|
|
3650
3711
|
# The text that's shown in the widget.
|
@@ -3662,93 +3723,40 @@ module Google
|
|
3662
3723
|
end
|
3663
3724
|
end
|
3664
3725
|
|
3665
|
-
# User-block relationship
|
3666
|
-
class AppsDynamiteSharedUserBlockRelationship
|
3667
|
-
include Google::Apis::Core::Hashable
|
3668
|
-
|
3669
|
-
#
|
3670
|
-
# Corresponds to the JSON property `hasBlockedRequester`
|
3671
|
-
# @return [Boolean]
|
3672
|
-
attr_accessor :has_blocked_requester
|
3673
|
-
alias_method :has_blocked_requester?, :has_blocked_requester
|
3674
|
-
|
3675
|
-
#
|
3676
|
-
# Corresponds to the JSON property `isBlockedByRequester`
|
3677
|
-
# @return [Boolean]
|
3678
|
-
attr_accessor :is_blocked_by_requester
|
3679
|
-
alias_method :is_blocked_by_requester?, :is_blocked_by_requester
|
3680
|
-
|
3681
|
-
def initialize(**args)
|
3682
|
-
update!(**args)
|
3683
|
-
end
|
3684
|
-
|
3685
|
-
# Update properties of this object
|
3686
|
-
def update!(**args)
|
3687
|
-
@has_blocked_requester = args[:has_blocked_requester] if args.key?(:has_blocked_requester)
|
3688
|
-
@is_blocked_by_requester = args[:is_blocked_by_requester] if args.key?(:is_blocked_by_requester)
|
3689
|
-
end
|
3690
|
-
end
|
3691
|
-
|
3692
|
-
# Reference to a transcoded video attachment.
|
3693
|
-
class AppsDynamiteSharedVideoReference
|
3694
|
-
include Google::Apis::Core::Hashable
|
3695
|
-
|
3696
|
-
# Available transcode format. Value is defined in video/storage/proto/
|
3697
|
-
# content_header.proto
|
3698
|
-
# Corresponds to the JSON property `format`
|
3699
|
-
# @return [Array<Fixnum>]
|
3700
|
-
attr_accessor :format
|
3701
|
-
|
3702
|
-
# Transcode status
|
3703
|
-
# Corresponds to the JSON property `status`
|
3704
|
-
# @return [String]
|
3705
|
-
attr_accessor :status
|
3706
|
-
|
3707
|
-
def initialize(**args)
|
3708
|
-
update!(**args)
|
3709
|
-
end
|
3710
|
-
|
3711
|
-
# Update properties of this object
|
3712
|
-
def update!(**args)
|
3713
|
-
@format = args[:format] if args.key?(:format)
|
3714
|
-
@status = args[:status] if args.key?(:status)
|
3715
|
-
end
|
3716
|
-
end
|
3717
|
-
|
3718
3726
|
# A widget is a UI element that presents texts, images, etc.
|
3719
|
-
class
|
3727
|
+
class AppsDynamiteStorageWidget
|
3720
3728
|
include Google::Apis::Core::Hashable
|
3721
3729
|
|
3722
3730
|
# A list of buttons layed out horizontally.
|
3723
3731
|
# Corresponds to the JSON property `buttonList`
|
3724
|
-
# @return [Google::Apis::CloudsearchV1::
|
3732
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageButtonList]
|
3725
3733
|
attr_accessor :button_list
|
3726
3734
|
|
3727
3735
|
# Represents a Columns widget that displays a single row of columns.
|
3728
3736
|
# Corresponds to the JSON property `columns`
|
3729
|
-
# @return [Google::Apis::CloudsearchV1::
|
3737
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageColumns]
|
3730
3738
|
attr_accessor :columns
|
3731
3739
|
|
3732
3740
|
# The widget that lets users to specify a date and time.
|
3733
3741
|
# Corresponds to the JSON property `dateTimePicker`
|
3734
|
-
# @return [Google::Apis::CloudsearchV1::
|
3742
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDateTimePicker]
|
3735
3743
|
attr_accessor :date_time_picker
|
3736
3744
|
|
3737
3745
|
# A widget that displays text with optional decorations such as a label above or
|
3738
3746
|
# below the text, an icon in front of the text, a selection widget or a button
|
3739
3747
|
# after the text.
|
3740
3748
|
# Corresponds to the JSON property `decoratedText`
|
3741
|
-
# @return [Google::Apis::CloudsearchV1::
|
3749
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDecoratedText]
|
3742
3750
|
attr_accessor :decorated_text
|
3743
3751
|
|
3744
3752
|
# A divider that appears in between widgets.
|
3745
3753
|
# Corresponds to the JSON property `divider`
|
3746
|
-
# @return [Google::Apis::CloudsearchV1::
|
3754
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageDivider]
|
3747
3755
|
attr_accessor :divider
|
3748
3756
|
|
3749
3757
|
# Represents a Grid widget that displays items in a configurable grid layout.
|
3750
3758
|
# Corresponds to the JSON property `grid`
|
3751
|
-
# @return [Google::Apis::CloudsearchV1::
|
3759
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageGrid]
|
3752
3760
|
attr_accessor :grid
|
3753
3761
|
|
3754
3762
|
# The horizontal alignment of this widget.
|
@@ -3758,25 +3766,25 @@ module Google
|
|
3758
3766
|
|
3759
3767
|
# An image that is specified by a URL and can have an onClick action.
|
3760
3768
|
# Corresponds to the JSON property `image`
|
3761
|
-
# @return [Google::Apis::CloudsearchV1::
|
3769
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageImage]
|
3762
3770
|
attr_accessor :image
|
3763
3771
|
|
3764
3772
|
# A widget that creates a UI item (for example, a drop-down list) with options
|
3765
3773
|
# for users to select.
|
3766
3774
|
# Corresponds to the JSON property `selectionInput`
|
3767
|
-
# @return [Google::Apis::CloudsearchV1::
|
3775
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInput]
|
3768
3776
|
attr_accessor :selection_input
|
3769
3777
|
|
3770
3778
|
# A text input is a UI item where users can input text. A text input can also
|
3771
3779
|
# have an onChange action and suggestions.
|
3772
3780
|
# Corresponds to the JSON property `textInput`
|
3773
|
-
# @return [Google::Apis::CloudsearchV1::
|
3781
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageTextInput]
|
3774
3782
|
attr_accessor :text_input
|
3775
3783
|
|
3776
3784
|
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
3777
3785
|
# add-ons/concepts/widgets#text_formatting") for details.
|
3778
3786
|
# Corresponds to the JSON property `textParagraph`
|
3779
|
-
# @return [Google::Apis::CloudsearchV1::
|
3787
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageTextParagraph]
|
3780
3788
|
attr_accessor :text_paragraph
|
3781
3789
|
|
3782
3790
|
def initialize(**args)
|
@@ -4362,7 +4370,7 @@ module Google
|
|
4362
4370
|
# [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
|
4363
4371
|
# example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
|
4364
4372
|
# Corresponds to the JSON property `cardAddOnData`
|
4365
|
-
# @return [Google::Apis::CloudsearchV1::
|
4373
|
+
# @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageCard]
|
4366
4374
|
attr_accessor :card_add_on_data
|
4367
4375
|
|
4368
4376
|
# The markup for developers to specify the contents of a contextual AddOn. A
|
@@ -5081,6 +5089,11 @@ module Google
|
|
5081
5089
|
# @return [Array<Google::Apis::CloudsearchV1::DocumentInfo>]
|
5082
5090
|
attr_accessor :attached_documents
|
5083
5091
|
|
5092
|
+
# List of available access types of the conference.
|
5093
|
+
# Corresponds to the JSON property `availableAccessTypes`
|
5094
|
+
# @return [Array<String>]
|
5095
|
+
attr_accessor :available_access_types
|
5096
|
+
|
5084
5097
|
# Output only. The set of reactions that clients are allowed to send and can
|
5085
5098
|
# expect to receive. Note that a device in the conference should have the
|
5086
5099
|
# MAY_SEND_REACTIONS privilege to be able to send reactions.
|
@@ -5199,6 +5212,7 @@ module Google
|
|
5199
5212
|
@abuse_reporting_config = args[:abuse_reporting_config] if args.key?(:abuse_reporting_config)
|
5200
5213
|
@artifact_owner = args[:artifact_owner] if args.key?(:artifact_owner)
|
5201
5214
|
@attached_documents = args[:attached_documents] if args.key?(:attached_documents)
|
5215
|
+
@available_access_types = args[:available_access_types] if args.key?(:available_access_types)
|
5202
5216
|
@available_reactions = args[:available_reactions] if args.key?(:available_reactions)
|
5203
5217
|
@broadcast_session_info = args[:broadcast_session_info] if args.key?(:broadcast_session_info)
|
5204
5218
|
@calendar_event_id = args[:calendar_event_id] if args.key?(:calendar_event_id)
|
@@ -7715,11 +7729,21 @@ module Google
|
|
7715
7729
|
# @return [Float]
|
7716
7730
|
attr_accessor :message_age_in_days
|
7717
7731
|
|
7732
|
+
#
|
7733
|
+
# Corresponds to the JSON property `messageSenderAffinityScore`
|
7734
|
+
# @return [Float]
|
7735
|
+
attr_accessor :message_sender_affinity_score
|
7736
|
+
|
7718
7737
|
#
|
7719
7738
|
# Corresponds to the JSON property `topicalityScore`
|
7720
7739
|
# @return [Float]
|
7721
7740
|
attr_accessor :topicality_score
|
7722
7741
|
|
7742
|
+
#
|
7743
|
+
# Corresponds to the JSON property `unjoinedSpaceAffinityScore`
|
7744
|
+
# @return [Float]
|
7745
|
+
attr_accessor :unjoined_space_affinity_score
|
7746
|
+
|
7723
7747
|
def initialize(**args)
|
7724
7748
|
update!(**args)
|
7725
7749
|
end
|
@@ -7730,7 +7754,9 @@ module Google
|
|
7730
7754
|
@freshness_score = args[:freshness_score] if args.key?(:freshness_score)
|
7731
7755
|
@joined_space_affinity_score = args[:joined_space_affinity_score] if args.key?(:joined_space_affinity_score)
|
7732
7756
|
@message_age_in_days = args[:message_age_in_days] if args.key?(:message_age_in_days)
|
7757
|
+
@message_sender_affinity_score = args[:message_sender_affinity_score] if args.key?(:message_sender_affinity_score)
|
7733
7758
|
@topicality_score = args[:topicality_score] if args.key?(:topicality_score)
|
7759
|
+
@unjoined_space_affinity_score = args[:unjoined_space_affinity_score] if args.key?(:unjoined_space_affinity_score)
|
7734
7760
|
end
|
7735
7761
|
end
|
7736
7762
|
|
@@ -15055,7 +15081,7 @@ module Google
|
|
15055
15081
|
# classes in google3/security/credentials/public/principal.h google3/java/com/
|
15056
15082
|
# google/security/credentials/Principal.java google3/security/credentials/go/
|
15057
15083
|
# principal.go unless direct proto access is essential. If you update this
|
15058
|
-
# protocol buffer, please update the wrapper classes as well.
|
15084
|
+
# protocol buffer, please update the wrapper classes as well. LINT.IfChange
|
15059
15085
|
class PrincipalProto
|
15060
15086
|
include Google::Apis::Core::Hashable
|
15061
15087
|
|
@@ -15180,15 +15206,13 @@ module Google
|
|
15180
15206
|
attr_accessor :postini_user
|
15181
15207
|
|
15182
15208
|
# Principal associated with a given RBAC role. This principal is used by Sphinx
|
15183
|
-
# Provisioning Service for RBAC
|
15184
|
-
# design).
|
15209
|
+
# Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
|
15185
15210
|
# Corresponds to the JSON property `rbacRole`
|
15186
15211
|
# @return [Google::Apis::CloudsearchV1::RbacRoleProto]
|
15187
15212
|
attr_accessor :rbac_role
|
15188
15213
|
|
15189
15214
|
# Principal associated with a given RBAC subject. This principal is used by
|
15190
|
-
# Sphinx Provisioning Service for RBAC
|
15191
|
-
# rbacz-design).
|
15215
|
+
# Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
|
15192
15216
|
# Corresponds to the JSON property `rbacSubject`
|
15193
15217
|
# @return [Google::Apis::CloudsearchV1::RbacSubjectProto]
|
15194
15218
|
attr_accessor :rbac_subject
|
@@ -15421,7 +15445,7 @@ module Google
|
|
15421
15445
|
|
15422
15446
|
# Indicates that the property can be used for generating facets. Cannot be true
|
15423
15447
|
# for properties whose type is object. IsReturnable must be true to set this
|
15424
|
-
# option. Only supported for boolean, enum, and text properties.
|
15448
|
+
# option. Only supported for boolean, enum, integer, and text properties.
|
15425
15449
|
# Corresponds to the JSON property `isFacetable`
|
15426
15450
|
# @return [Boolean]
|
15427
15451
|
attr_accessor :is_facetable
|
@@ -16154,8 +16178,7 @@ module Google
|
|
16154
16178
|
end
|
16155
16179
|
|
16156
16180
|
# Principal associated with a given RBAC role. This principal is used by Sphinx
|
16157
|
-
# Provisioning Service for RBAC
|
16158
|
-
# design).
|
16181
|
+
# Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
|
16159
16182
|
class RbacRoleProto
|
16160
16183
|
include Google::Apis::Core::Hashable
|
16161
16184
|
|
@@ -16174,8 +16197,10 @@ module Google
|
|
16174
16197
|
# @return [String]
|
16175
16198
|
attr_accessor :rbac_namespace
|
16176
16199
|
|
16177
|
-
# Format: "
|
16178
|
-
#
|
16200
|
+
# Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx
|
16201
|
+
# role that provisions the RBAC role. - "/z?" suffix indicates which Zanzibar
|
16202
|
+
# environment stores the role membership data ("/zd": dev, "/zs": staging, "/zp":
|
16203
|
+
# prod, "/zt": local test instance). Example: "mysystem_myrole/zp"
|
16179
16204
|
# Corresponds to the JSON property `rbacRoleName`
|
16180
16205
|
# @return [String]
|
16181
16206
|
attr_accessor :rbac_role_name
|
@@ -16194,8 +16219,7 @@ module Google
|
|
16194
16219
|
end
|
16195
16220
|
|
16196
16221
|
# Principal associated with a given RBAC subject. This principal is used by
|
16197
|
-
# Sphinx Provisioning Service for RBAC
|
16198
|
-
# rbacz-design).
|
16222
|
+
# Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
|
16199
16223
|
class RbacSubjectProto
|
16200
16224
|
include Google::Apis::Core::Hashable
|
16201
16225
|
|
@@ -20852,7 +20876,7 @@ module Google
|
|
20852
20876
|
# classes in google3/security/credentials/public/principal.h google3/java/com/
|
20853
20877
|
# google/security/credentials/Principal.java google3/security/credentials/go/
|
20854
20878
|
# principal.go unless direct proto access is essential. If you update this
|
20855
|
-
# protocol buffer, please update the wrapper classes as well.
|
20879
|
+
# protocol buffer, please update the wrapper classes as well. LINT.IfChange
|
20856
20880
|
# Corresponds to the JSON property `user`
|
20857
20881
|
# @return [Google::Apis::CloudsearchV1::PrincipalProto]
|
20858
20882
|
attr_accessor :user
|