Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ExportRequest

Returns a new instance of GoogleCloudApigeeV1ExportRequest.



3337
3338
3339
# File 'lib/google/apis/apigee_v1/classes.rb', line 3337

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

Instance Attribute Details

#csv_delimiterString

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

Returns:

  • (String)


3308
3309
3310
# File 'lib/google/apis/apigee_v1/classes.rb', line 3308

def csv_delimiter
  @csv_delimiter
end

#datastore_nameString

Required. Name of the preconfigured datastore. Corresponds to the JSON property datastoreName

Returns:

  • (String)


3313
3314
3315
# File 'lib/google/apis/apigee_v1/classes.rb', line 3313

def datastore_name
  @datastore_name
end

#date_rangeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange

Date range of the data to export. Corresponds to the JSON property dateRange



3318
3319
3320
# File 'lib/google/apis/apigee_v1/classes.rb', line 3318

def date_range
  @date_range
end

#descriptionString

Optional. Description of the export job. Corresponds to the JSON property description

Returns:

  • (String)


3323
3324
3325
# File 'lib/google/apis/apigee_v1/classes.rb', line 3323

def description
  @description
end

#nameString

Required. Display name of the export job. Corresponds to the JSON property name

Returns:

  • (String)


3328
3329
3330
# File 'lib/google/apis/apigee_v1/classes.rb', line 3328

def name
  @name
end

#output_formatString

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

Returns:

  • (String)


3335
3336
3337
# File 'lib/google/apis/apigee_v1/classes.rb', line 3335

def output_format
  @output_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3342
3343
3344
3345
3346
3347
3348
3349
# File 'lib/google/apis/apigee_v1/classes.rb', line 3342

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