Skip to content

Commit

Permalink
Update api.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmedia authored Sep 2, 2020
1 parent fcad52f commit 8c8dc61
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -662,15 +662,15 @@ objects:
SHA256 - Use a sha256 hash.
MD5 - Use a md5 hash.
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::Enum
name: 'HashType'
description: |
Specifies the hash algorithm, if any.
values:
- :NONE
- :SHA256
- :MD5
properties:
- !ruby/object:Api::Type::Enum
name: 'HashType'
description: |
Specifies the hash algorithm, if any.
values:
- :NONE
- :SHA256
- :MD5
- !ruby/object:Api::Type::NestedObject
name: 'requestedVerifyOption'
description: |
Expand Down Expand Up @@ -703,15 +703,15 @@ objects:
- :UNSPECIFIED
- :N1_HIGHCPU_8
- :N1_HIGHCPU_32
- !ruby/object:Api::Type::Integer
- !ruby/object:Api::Type::Integer
name: 'diskSizeGb'
description: |
Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
some of the space will be used by the operating system and build utilities.
Also note that this is the minimum disk size that will be allocated for the build --
the build may run with a larger disk than requested. At present, the maximum disk size
is 1000GB; builds that request more than the maximum are rejected with an error.
- !ruby/object:Api::Type::NestedObject
- !ruby/object:Api::Type::NestedObject
name: 'substitutionOption'
description: |
Option to specify behavior when there is an error in the substitution checks.
Expand All @@ -734,7 +734,7 @@ objects:
description: |
Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- !ruby/object:Api::Type::NestedObject
name: 'logStreamingOption'
description: |
Expand All @@ -755,7 +755,7 @@ objects:
- !ruby/object:Api::Type::String
name: 'workerPool'
description: |
Option to specify a WorkerPool for the build. Format: projects/{project}/workerPools/{workerPool}
Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- !ruby/object:Api::Type::NestedObject
Expand Down Expand Up @@ -784,6 +784,7 @@ objects:
- :NONE
- !ruby/object:Api::Type::Array
name: 'env'
item_type: Api::Type::String
description: |
A list of global environment variable definitions that will exist for all build steps
in this build. If a variable is defined in both globally and in a build step,
Expand All @@ -792,6 +793,7 @@ objects:
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- !ruby/object:Api::Type::Array
name: 'secretEnv'
item_type: Api::Type::String
description: |
A list of global environment variables, which are encrypted using a Cloud Key Management
Service crypto key. These values must be specified in the build's Secret. These variables
Expand All @@ -809,24 +811,24 @@ objects:
Using a global volume in a build with only one step is not valid as it is indicative
of a build request with an incorrect configuration.
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::NextedObject
name: 'volumn'
description: |
Volume describes a Docker container volume which is mounted into build steps in order to
persist files across build step execution.
properties:
- !ruby/object:Api::Type::String
name: 'name'
description: |
Name of the volume to mount.
properties:
- !ruby/object:Api::Type::NextedObject
name: 'volumn'
description: |
Volume describes a Docker container volume which is mounted into build steps in order to
persist files across build step execution.
properties:
- !ruby/object:Api::Type::String
name: 'name'
description: |
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes.
Each named volume must be used by at least two build steps.
- !ruby/object:Api::Type::String
name: 'path'
description: |
Path at which to mount the volume.
Volume names must be unique per build step and must be valid names for Docker volumes.
Each named volume must be used by at least two build steps.
- !ruby/object:Api::Type::String
name: 'path'
description: |
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same
build step or with certain reserved volume paths.
Paths must be absolute and cannot conflict with other volume paths on the same
build step or with certain reserved volume paths.

0 comments on commit 8c8dc61

Please sign in to comment.