Class: Google::Apis::CloudsupportV2beta::CreateAttachmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::CreateAttachmentRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
The request message for the CreateAttachment endpoint.
Instance Attribute Summary collapse
-
#attachment ⇒ Google::Apis::CloudsupportV2beta::Attachment
Represents a file attached to a support case.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAttachmentRequest
constructor
A new instance of CreateAttachmentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAttachmentRequest
Returns a new instance of CreateAttachmentRequest.
510 511 512 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachment ⇒ Google::Apis::CloudsupportV2beta::Attachment
Represents a file attached to a support case.
Corresponds to the JSON property attachment
508 509 510 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 508 def @attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
515 516 517 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 515 def update!(**args) @attachment = args[:attachment] if args.key?(:attachment) end |