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.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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.

Note: The following fields are mutually exclusive: default_pool, private_pool. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Deploy::V1::DefaultPool)

    Optional. Use default Cloud Build pool.

    Note: The following fields are mutually exclusive: default_pool, private_pool. If a field in that set is populated, all other fields in the set will automatically be cleared.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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.

Note: The following fields are mutually exclusive: private_pool, default_pool. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Deploy::V1::PrivatePool)

    Optional. Use private Cloud Build pool.

    Note: The following fields are mutually exclusive: private_pool, default_pool. If a field in that set is populated, all other fields in the set will automatically be cleared.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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:



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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

#verbose::Boolean

Returns Optional. If true, additional logging will be enabled when running builds in this execution environment.

Returns:

  • (::Boolean)

    Optional. If true, additional logging will be enabled when running builds in this execution environment.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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.



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 927

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