Class: Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb

Overview

Request for BulkCreateDevice method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalBulkCreateDeviceRequest

Returns a new instance of SasPortalBulkCreateDeviceRequest.



63
64
65
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 63

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

Instance Attribute Details

#csvString

Required. A csv with each row representing a [device]. Each row must conform to the regulations described on CreateDeviceRequest's device field. Corresponds to the JSON property csv

Returns:

  • (String)


61
62
63
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 61

def csv
  @csv
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



68
69
70
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 68

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