Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Request body for [CreateExportRequest]
Instance Attribute Summary collapse
-
#csv_delimiter ⇒ String
Optional.
-
#datastore_name ⇒ String
Required.
-
#date_range ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange
Date range of the data to export.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#output_format ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ExportRequest
constructor
A new instance of GoogleCloudApigeeV1ExportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ExportRequest
Returns a new instance of GoogleCloudApigeeV1ExportRequest.
3403 3404 3405 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv_delimiter ⇒ String
Optional. Delimiter used in the CSV file, if outputFormat is set to csv.
Defaults to the , (comma) character. Supported delimiter characters include
comma (,), pipe (|), and tab (\t).
Corresponds to the JSON property csvDelimiter
3374 3375 3376 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3374 def csv_delimiter @csv_delimiter end |
#datastore_name ⇒ String
Required. Name of the preconfigured datastore.
Corresponds to the JSON property datastoreName
3379 3380 3381 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3379 def datastore_name @datastore_name end |
#date_range ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange
Date range of the data to export.
Corresponds to the JSON property dateRange
3384 3385 3386 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3384 def date_range @date_range end |
#description ⇒ String
Optional. Description of the export job.
Corresponds to the JSON property description
3389 3390 3391 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3389 def description @description end |
#name ⇒ String
Required. Display name of the export job.
Corresponds to the JSON property name
3394 3395 3396 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3394 def name @name end |
#output_format ⇒ String
Optional. Output format of the export. Valid values include: csv or json.
Defaults to json. Note: Configure the delimiter for CSV output using the
csvDelimiter property.
Corresponds to the JSON property outputFormat
3401 3402 3403 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3401 def output_format @output_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3408 3409 3410 3411 3412 3413 3414 3415 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3408 def update!(**args) @csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter) @datastore_name = args[:datastore_name] if args.key?(:datastore_name) @date_range = args[:date_range] if args.key?(:date_range) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @output_format = args[:output_format] if args.key?(:output_format) end |