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.
483 484 485 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 483 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
481 482 483 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 481 def @attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
488 489 490 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 488 def update!(**args) @attachment = args[:attachment] if args.key?(:attachment) end |