Class: Google::Cloud::Deploy::V1::ExecutionConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

Configuration of the environment to use when calling Skaffold.

Defined Under Namespace

Modules: ExecutionEnvironmentUsage

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_storage::String

Returns Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.

Returns:

  • (::String)

    Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#default_pool::Google::Cloud::Deploy::V1::DefaultPool

Returns Optional. Use default Cloud Build pool.

Returns:



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#execution_timeout::Google::Protobuf::Duration

Returns Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.

Returns:

  • (::Google::Protobuf::Duration)

    Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#private_pool::Google::Cloud::Deploy::V1::PrivatePool

Returns Optional. Use private Cloud Build pool.

Returns:



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#service_account::String

Returns Optional. Google service account to use for execution. If unspecified, the project execution service account ([email protected]) is used.

Returns:

  • (::String)

    Optional. Google service account to use for execution. If unspecified, the project execution service account ([email protected]) is used.



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#usages::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>

Returns Required. Usages when this configuration should be applied.

Returns:



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end

#worker_pool::String

Returns Optional. The resource name of the WorkerPool, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}. If this optional field is unspecified, the default Cloud Build pool will be used.

Returns:

  • (::String)

    Optional. The resource name of the WorkerPool, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}. If this optional field is unspecified, the default Cloud Build pool will be used.



831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 831

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible usages of this configuration.
  module ExecutionEnvironmentUsage
    # Default value. This value is unused.
    EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0

    # Use for rendering.
    RENDER = 1

    # Use for deploying and deployment hooks.
    DEPLOY = 2

    # Use for deployment verification.
    VERIFY = 3

    # Use for predeploy job execution.
    PREDEPLOY = 4

    # Use for postdeploy job execution.
    POSTDEPLOY = 5
  end
end