Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Metadata used only in Dynamite backend for uploaded attachments. NEXT ID: 20
Instance Attribute Summary collapse
-
#blob_path ⇒ String
Blobstore path for the uploaded attachment Corresponds to the JSON property
blobPath
. -
#content_name ⇒ String
The original file name for the content, not the full path.
-
#content_size ⇒ Fixnum
Scotty reported content size by default.
-
#content_type ⇒ String
Type is from Scotty's best_guess by default: http://google3/uploader/agent/ scotty_agent.proto?l=51&rcl=140889785 Corresponds to the JSON property
contentType
. -
#dlp_scan_outcome ⇒ String
The results of the Data Loss Prevention (DLP) scan of the attachment.
-
#dlp_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event.
-
#experiment ⇒ Array<String>
The list of experiments this video is enabled for Corresponds to the JSON property
experiment
. -
#group_id ⇒ Google::Apis::CloudsearchV1::GroupId
Id representing a group that could be a space, a chat, or a direct message space.
-
#is_client_side_transcoded_video ⇒ Boolean
(also: #is_client_side_transcoded_video?)
If the uploaded file is a video that has been transcoded on the client side Corresponds to the JSON property
isClientSideTranscodedVideo
. -
#migrated_from_hangouts_metadata ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata
Metadata for attachments migrated from Hangouts Corresponds to the JSON property
migratedFromHangoutsMetadata
. -
#original_dimension ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension
Dimension for the uploaded attachments.
-
#quote_reply_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
-
#sha256 ⇒ String
The SHA256 hash of the attachment bytes.
-
#upload_ip ⇒ String
User IP address at upload time.
-
#upload_timestamp_usec ⇒ Fixnum
Timestamp of when user finished uploading the content.
-
#video_id ⇒ String
VideoID of the video attachments.
-
#video_thumbnail_blob_id ⇒ String
Full Blobstore ID for the video thumbnail.
-
#virus_scan_result ⇒ String
Result for a virus scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedBackendUploadMetadata
constructor
A new instance of AppsDynamiteSharedBackendUploadMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedBackendUploadMetadata
Returns a new instance of AppsDynamiteSharedBackendUploadMetadata.
1049 1050 1051 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob_path ⇒ String
Blobstore path for the uploaded attachment
Corresponds to the JSON property blobPath
953 954 955 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 953 def blob_path @blob_path end |
#content_name ⇒ String
The original file name for the content, not the full path.
Corresponds to the JSON property contentName
958 959 960 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 958 def content_name @content_name end |
#content_size ⇒ Fixnum
Scotty reported content size by default. http://google3/uploader/agent/
scotty_agent.proto?l=101&rcl=140889785
Corresponds to the JSON property contentSize
964 965 966 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 964 def content_size @content_size end |
#content_type ⇒ String
Type is from Scotty's best_guess by default: http://google3/uploader/agent/
scotty_agent.proto?l=51&rcl=140889785
Corresponds to the JSON property contentType
970 971 972 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 970 def content_type @content_type end |
#dlp_scan_outcome ⇒ String
The results of the Data Loss Prevention (DLP) scan of the attachment.
DEPRECATED: use dlp_scan_summary instead.
Corresponds to the JSON property dlpScanOutcome
976 977 978 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 976 def dlp_scan_outcome @dlp_scan_outcome end |
#dlp_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event. This is a summary and should contain the
minimum amount of data required to identify and process DLP scans. It is
written to Starcast and encoded & returned to the client on attachment upload.
Corresponds to the JSON property dlpScanSummary
983 984 985 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 983 def dlp_scan_summary @dlp_scan_summary end |
#experiment ⇒ Array<String>
The list of experiments this video is enabled for
Corresponds to the JSON property experiment
988 989 990 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 988 def experiment @experiment end |
#group_id ⇒ Google::Apis::CloudsearchV1::GroupId
Id representing a group that could be a space, a chat, or a direct message
space. Which ID is set here will determine which group
Corresponds to the JSON property groupId
994 995 996 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 994 def group_id @group_id end |
#is_client_side_transcoded_video ⇒ Boolean Also known as: is_client_side_transcoded_video?
If the uploaded file is a video that has been transcoded on the client side
Corresponds to the JSON property isClientSideTranscodedVideo
999 1000 1001 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 999 def is_client_side_transcoded_video @is_client_side_transcoded_video end |
#migrated_from_hangouts_metadata ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata
Metadata for attachments migrated from Hangouts
Corresponds to the JSON property migratedFromHangoutsMetadata
1005 1006 1007 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1005 def @migrated_from_hangouts_metadata end |
#original_dimension ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension
Dimension for the uploaded attachments.
Corresponds to the JSON property originalDimension
1010 1011 1012 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1010 def original_dimension @original_dimension end |
#quote_reply_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Corresponds to the JSON property quoteReplyMessageId
1015 1016 1017 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1015 def @quote_reply_message_id end |
#sha256 ⇒ String
The SHA256 hash of the attachment bytes.
Corresponds to the JSON property sha256
NOTE: Values are automatically base64 encoded/decoded in the client library.
1021 1022 1023 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1021 def sha256 @sha256 end |
#upload_ip ⇒ String
User IP address at upload time. Ex. "123.1.2.3". Used by Ares abuse scanning.
Corresponds to the JSON property uploadIp
1026 1027 1028 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1026 def upload_ip @upload_ip end |
#upload_timestamp_usec ⇒ Fixnum
Timestamp of when user finished uploading the content.
Corresponds to the JSON property uploadTimestampUsec
1031 1032 1033 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1031 def @upload_timestamp_usec end |
#video_id ⇒ String
VideoID of the video attachments. This ID shall meets the Youtube ID format of
16 hex characters. For example, '4c14b8825af6059b' is a valid ID.
Corresponds to the JSON property videoId
1037 1038 1039 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1037 def video_id @video_id end |
#video_thumbnail_blob_id ⇒ String
Full Blobstore ID for the video thumbnail.
Corresponds to the JSON property videoThumbnailBlobId
1042 1043 1044 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1042 def video_thumbnail_blob_id @video_thumbnail_blob_id end |
#virus_scan_result ⇒ String
Result for a virus scan.
Corresponds to the JSON property virusScanResult
1047 1048 1049 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1047 def virus_scan_result @virus_scan_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1054 def update!(**args) @blob_path = args[:blob_path] if args.key?(:blob_path) @content_name = args[:content_name] if args.key?(:content_name) @content_size = args[:content_size] if args.key?(:content_size) @content_type = args[:content_type] if args.key?(:content_type) @dlp_scan_outcome = args[:dlp_scan_outcome] if args.key?(:dlp_scan_outcome) @dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary) @experiment = args[:experiment] if args.key?(:experiment) @group_id = args[:group_id] if args.key?(:group_id) @is_client_side_transcoded_video = args[:is_client_side_transcoded_video] if args.key?(:is_client_side_transcoded_video) @migrated_from_hangouts_metadata = args[:migrated_from_hangouts_metadata] if args.key?(:migrated_from_hangouts_metadata) @original_dimension = args[:original_dimension] if args.key?(:original_dimension) @quote_reply_message_id = args[:quote_reply_message_id] if args.key?(:quote_reply_message_id) @sha256 = args[:sha256] if args.key?(:sha256) @upload_ip = args[:upload_ip] if args.key?(:upload_ip) @upload_timestamp_usec = args[:upload_timestamp_usec] if args.key?(:upload_timestamp_usec) @video_id = args[:video_id] if args.key?(:video_id) @video_thumbnail_blob_id = args[:video_thumbnail_blob_id] if args.key?(:video_thumbnail_blob_id) @virus_scan_result = args[:virus_scan_result] if args.key?(:virus_scan_result) end |