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.



510
511
512
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 510

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



508
509
510
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 508

def attachment
  @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