Class: Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1CsvCsvRow

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

Overview

A representation of a single data row in a CSV file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAdvisorynotificationsV1CsvCsvRow

Returns a new instance of GoogleCloudAdvisorynotificationsV1CsvCsvRow.



88
89
90
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 88

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

Instance Attribute Details

#entriesArray<String>

The data entries in a CSV file row, as a string array rather than a single comma-separated string. Corresponds to the JSON property entries

Returns:

  • (Array<String>)


86
87
88
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 86

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



93
94
95
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 93

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