Class: Grafeas::V1::Command

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/provenance.rb

Overview

Command describes a step performed as part of the build pipeline.

Instance Attribute Summary collapse

Instance Attribute Details

#args::Array<::String>

Returns Command-line arguments used when executing this command.

Returns:

  • (::Array<::String>)

    Command-line arguments used when executing this command.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dir::String

Returns Working directory (relative to project source root) used when running this command.

Returns:

  • (::String)

    Working directory (relative to project source root) used when running this command.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#env::Array<::String>

Returns Environment variables set before running this command.

Returns:

  • (::Array<::String>)

    Environment variables set before running this command.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::String

Returns Optional unique identifier for this command, used in wait_for to reference this command as a dependency.

Returns:

  • (::String)

    Optional unique identifier for this command, used in wait_for to reference this command as a dependency.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.

Returns:

  • (::String)

    Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#wait_for::Array<::String>

Returns The ID(s) of the command(s) that this command depends on.

Returns:

  • (::Array<::String>)

    The ID(s) of the command(s) that this command depends on.



162
163
164
165
# File 'proto_docs/grafeas/v1/provenance.rb', line 162

class Command
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end