Class SoftwareRecipeStepCopyFile
Copies the artifact to the specified path on the instance.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta.Data
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class SoftwareRecipeStepCopyFile : IDirectResponseSchema
Properties
ArtifactId
Required. The id of the relevant artifact in the recipe.
Declaration
[JsonProperty("artifactId")]
public virtual string ArtifactId { get; set; }
Property Value
Type | Description |
---|---|
string |
Destination
Required. The absolute path on the instance to put the file.
Declaration
[JsonProperty("destination")]
public virtual string Destination { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Overwrite
Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
Declaration
[JsonProperty("overwrite")]
public virtual bool? Overwrite { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Permissions
Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
Declaration
[JsonProperty("permissions")]
public virtual string Permissions { get; set; }
Property Value
Type | Description |
---|---|
string |