Class: Google::Apis::DataprocV1::SessionOperationMetadata

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

Overview

Metadata describing the Session operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SessionOperationMetadata

Returns a new instance of SessionOperationMetadata.



4643
4644
4645
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4643

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

Instance Attribute Details

#create_timeString

The time when the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4606
4607
4608
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4606

def create_time
  @create_time
end

#descriptionString

Short description of the operation. Corresponds to the JSON property description

Returns:

  • (String)


4611
4612
4613
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4611

def description
  @description
end

#done_timeString

The time when the operation was finished. Corresponds to the JSON property doneTime

Returns:

  • (String)


4616
4617
4618
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4616

def done_time
  @done_time
end

#labelsHash<String,String>

Labels associated with the operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4621
4622
4623
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4621

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


4626
4627
4628
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4626

def operation_type
  @operation_type
end

#sessionString

Name of the session for the operation. Corresponds to the JSON property session

Returns:

  • (String)


4631
4632
4633
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4631

def session
  @session
end

#session_uuidString

Session UUID for the operation. Corresponds to the JSON property sessionUuid

Returns:

  • (String)


4636
4637
4638
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4636

def session_uuid
  @session_uuid
end

#warningsArray<String>

Warnings encountered during operation execution. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


4641
4642
4643
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4641

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4648

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @done_time = args[:done_time] if args.key?(:done_time)
  @labels = args[:labels] if args.key?(:labels)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @session = args[:session] if args.key?(:session)
  @session_uuid = args[:session_uuid] if args.key?(:session_uuid)
  @warnings = args[:warnings] if args.key?(:warnings)
end