Class: Google::Cloud::Support::V2::Attachment

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time at which the attachment was created.

Returns:



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.

Returns:

  • (::Google::Cloud::Support::V2::Actor)

    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").

Returns:

  • (::String)

    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).

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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