Class: Google::Apis::DataprocV1::SessionOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SessionOperationMetadata
- 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
-
#create_time ⇒ String
The time when the operation was created.
-
#description ⇒ String
Short description of the operation.
-
#done_time ⇒ String
The time when the operation was finished.
-
#labels ⇒ Hash<String,String>
Labels associated with the operation.
-
#operation_type ⇒ String
The operation type.
-
#session ⇒ String
Name of the session for the operation.
-
#session_uuid ⇒ String
Session UUID for the operation.
-
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SessionOperationMetadata
constructor
A new instance of SessionOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SessionOperationMetadata
Returns a new instance of SessionOperationMetadata.
7994 7995 7996 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time when the operation was created.
Corresponds to the JSON property createTime
7957 7958 7959 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7957 def create_time @create_time end |
#description ⇒ String
Short description of the operation.
Corresponds to the JSON property description
7962 7963 7964 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7962 def description @description end |
#done_time ⇒ String
The time when the operation was finished.
Corresponds to the JSON property doneTime
7967 7968 7969 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7967 def done_time @done_time end |
#labels ⇒ Hash<String,String>
Labels associated with the operation.
Corresponds to the JSON property labels
7972 7973 7974 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7972 def labels @labels end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
7977 7978 7979 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7977 def operation_type @operation_type end |
#session ⇒ String
Name of the session for the operation.
Corresponds to the JSON property session
7982 7983 7984 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7982 def session @session end |
#session_uuid ⇒ String
Session UUID for the operation.
Corresponds to the JSON property sessionUuid
7987 7988 7989 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7987 def session_uuid @session_uuid end |
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Corresponds to the JSON property warnings
7992 7993 7994 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7992 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7999 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 |