Class: Google::Apis::CloudsupportV2beta::CreateAttachmentRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateAttachmentRequest

Returns a new instance of CreateAttachmentRequest.



492
493
494
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 492

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attachmentGoogle::Apis::CloudsupportV2beta::Attachment

Represents a file attached to a support case. Corresponds to the JSON property attachment



490
491
492
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 490

def attachment
  @attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



497
498
499
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 497

def update!(**args)
  @attachment = args[:attachment] if args.key?(:attachment)
end