Class: Google::Cloud::Support::V2::Attachment
- Inherits:
-
Object
- Object
- Google::Cloud::Support::V2::Attachment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/support/v2/attachment.rb
Overview
Represents a file attached to a support case.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#creator ⇒ ::Google::Cloud::Support::V2::Actor
readonly
Output only.
-
#filename ⇒ ::String
The filename of the attachment (e.g.
"graph.jpg"
). -
#mime_type ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#size_bytes ⇒ ::Integer
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time at which the attachment was created.
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#creator ⇒ ::Google::Cloud::Support::V2::Actor (readonly)
Returns Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#filename ⇒ ::String
Returns The filename of the attachment (e.g. "graph.jpg"
).
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mime_type ⇒ ::String (readonly)
Returns Output only. The MIME type of the attachment (e.g. text/plain).
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the attachment.
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#size_bytes ⇒ ::Integer (readonly)
Returns Output only. The size of the attachment in bytes.
44 45 46 47 |
# File 'proto_docs/google/cloud/support/v2/attachment.rb', line 44 class Attachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |