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.



3912
3913
3914
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3912

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)


3875
3876
3877
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3875

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


3880
3881
3882
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3880

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


3885
3886
3887
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3885

def done_time
  @done_time
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


3890
3891
3892
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3890

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


3895
3896
3897
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3895

def operation_type
  @operation_type
end

#sessionString

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

Returns:

  • (String)


3900
3901
3902
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3900

def session
  @session
end

#session_uuidString

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

Returns:

  • (String)


3905
3906
3907
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3905

def session_uuid
  @session_uuid
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


3910
3911
3912
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3910

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3917

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