Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
Request for BulkCreateDevice method.
Instance Attribute Summary collapse
-
#csv ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalBulkCreateDeviceRequest
constructor
A new instance of SasPortalBulkCreateDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalBulkCreateDeviceRequest
Returns a new instance of SasPortalBulkCreateDeviceRequest.
63 64 65 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 63 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv ⇒ String
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
61 62 63 |
# File 'generated/google/apis/prod_tt_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/prod_tt_sasportal_v1alpha1/classes.rb', line 68 def update!(**args) @csv = args[:csv] if args.key?(:csv) end |