Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export

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

Overview

Details of an export job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Export

Returns a new instance of GoogleCloudApigeeV1Export.


2559
2560
2561
# File 'generated/google/apis/apigee_v1/classes.rb', line 2559

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

Instance Attribute Details

#createdString

Output only. Time the export job was created. Corresponds to the JSON property created

Returns:

  • (String)

2512
2513
2514
# File 'generated/google/apis/apigee_v1/classes.rb', line 2512

def created
  @created
end

#datastore_nameString

Name of the datastore that is the destination of the export job [datastore] Corresponds to the JSON property datastoreName

Returns:

  • (String)

2517
2518
2519
# File 'generated/google/apis/apigee_v1/classes.rb', line 2517

def datastore_name
  @datastore_name
end

#descriptionString

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

Returns:

  • (String)

2522
2523
2524
# File 'generated/google/apis/apigee_v1/classes.rb', line 2522

def description
  @description
end

#errorString

Output only. Error is set when export fails Corresponds to the JSON property error

Returns:

  • (String)

2527
2528
2529
# File 'generated/google/apis/apigee_v1/classes.rb', line 2527

def error
  @error
end

#execution_timeString

Output only. Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed sincecreated, in seconds. Else, it will set to (updated - created), in seconds. Corresponds to the JSON property executionTime

Returns:

  • (String)

2534
2535
2536
# File 'generated/google/apis/apigee_v1/classes.rb', line 2534

def execution_time
  @execution_time
end

#nameString

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

Returns:

  • (String)

2539
2540
2541
# File 'generated/google/apis/apigee_v1/classes.rb', line 2539

def name
  @name
end

#selfString

Output only. Self link of the export job. A URI that can be used to retrieve the status of an export job. Example: /organizations/myorg/environments/myenv/ analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd Corresponds to the JSON property self

Returns:

  • (String)

2546
2547
2548
# File 'generated/google/apis/apigee_v1/classes.rb', line 2546

def self
  @self
end

#stateString

Output only. Status of the export job. Valid values include enqueued, running, completed, and failed. Corresponds to the JSON property state

Returns:

  • (String)

2552
2553
2554
# File 'generated/google/apis/apigee_v1/classes.rb', line 2552

def state
  @state
end

#updatedString

Output only. Time the export job was last updated. Corresponds to the JSON property updated

Returns:

  • (String)

2557
2558
2559
# File 'generated/google/apis/apigee_v1/classes.rb', line 2557

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'generated/google/apis/apigee_v1/classes.rb', line 2564

def update!(**args)
  @created = args[:created] if args.key?(:created)
  @datastore_name = args[:datastore_name] if args.key?(:datastore_name)
  @description = args[:description] if args.key?(:description)
  @error = args[:error] if args.key?(:error)
  @execution_time = args[:execution_time] if args.key?(:execution_time)
  @name = args[:name] if args.key?(:name)
  @self = args[:self] if args.key?(:self)
  @state = args[:state] if args.key?(:state)
  @updated = args[:updated] if args.key?(:updated)
end