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.



8003
8004
8005
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8003

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)


7966
7967
7968
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7966

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


7971
7972
7973
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7971

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


7976
7977
7978
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7976

def done_time
  @done_time
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


7981
7982
7983
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7981

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


7986
7987
7988
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7986

def operation_type
  @operation_type
end

#sessionString

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

Returns:

  • (String)


7991
7992
7993
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7991

def session
  @session
end

#session_uuidString

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

Returns:

  • (String)


7996
7997
7998
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7996

def session_uuid
  @session_uuid
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


8001
8002
8003
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8001

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8008

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