Class: Google::Apis::LifesciencesV2beta::RunPipelineRequest

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

Overview

The arguments to the RunPipeline method. The requesting user must have the iam.serviceAccounts.actAs permission for the Cloud Life Sciences service account or the request will fail.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunPipelineRequest

Returns a new instance of RunPipelineRequest.



1095
1096
1097
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 1095

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

Instance Attribute Details

#labelsHash<String,String>

User-defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and can be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (for example, VirtualMachine). Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1080
1081
1082
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 1080

def labels
  @labels
end

#pipelineGoogle::Apis::LifesciencesV2beta::Pipeline

Specifies a series of actions to execute, expressed as Docker containers. Corresponds to the JSON property pipeline



1085
1086
1087
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 1085

def pipeline
  @pipeline
end

#pub_sub_topicString

The name of an existing Pub/Sub topic. The server will publish messages to this topic whenever the status of the operation changes. The Life Sciences Service Agent account must have publisher permissions to the specified topic or notifications will not be sent. Corresponds to the JSON property pubSubTopic

Returns:

  • (String)


1093
1094
1095
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 1093

def pub_sub_topic
  @pub_sub_topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1100
1101
1102
1103
1104
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 1100

def update!(**args)
  @labels = args[:labels] if args.key?(:labels)
  @pipeline = args[:pipeline] if args.key?(:pipeline)
  @pub_sub_topic = args[:pub_sub_topic] if args.key?(:pub_sub_topic)
end