Class: Google::Apis::CloudsupportV2beta::WorkflowOperationMetadata

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

Overview

Metadata about the operation. Used to lookup the current status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkflowOperationMetadata

Returns a new instance of WorkflowOperationMetadata.



1099
1100
1101
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1099

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

Instance Attribute Details

#namespaceString

The namespace that the job was scheduled in. Must be included in the workflow metadata so the workflow status can be retrieved. Corresponds to the JSON property namespace

Returns:

  • (String)


1087
1088
1089
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1087

def namespace
  @namespace
end

#operation_actionString

The type of action the operation is classified as. Corresponds to the JSON property operationAction

Returns:

  • (String)


1092
1093
1094
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1092

def operation_action
  @operation_action
end

#workflow_operation_typeString

Which version of the workflow service this operation came from. Corresponds to the JSON property workflowOperationType

Returns:

  • (String)


1097
1098
1099
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1097

def workflow_operation_type
  @workflow_operation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1104
1105
1106
1107
1108
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1104

def update!(**args)
  @namespace = args[:namespace] if args.key?(:namespace)
  @operation_action = args[:operation_action] if args.key?(:operation_action)
  @workflow_operation_type = args[:workflow_operation_type] if args.key?(:workflow_operation_type)
end