Show / Hide Table of Contents

Class OSPolicyResourceFileResource

A resource that manages the state of a file.

Inheritance
object
OSPolicyResourceFileResource
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1.Data
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class OSPolicyResourceFileResource : IDirectResponseSchema

Properties

Content

A a file with this content. The size of the content is limited to 32KiB.

Declaration
[JsonProperty("content")]
public virtual string Content { 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

File

A remote or local source.

Declaration
[JsonProperty("file")]
public virtual OSPolicyResourceFile File { get; set; }
Property Value
Type Description
OSPolicyResourceFile

Path

Required. The absolute path of the file within the VM.

Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type Description
string

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

State

Required. Desired state of the file.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX