Interface OSPolicy.Resource.FileResourceOrBuilder (2.57.0)

public static interface OSPolicy.Resource.FileResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

A a file with this content. The size of the content is limited to 1024 characters.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

A a file with this content. The size of the content is limited to 1024 characters.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getFile()

public abstract OSPolicy.Resource.File getFile()

A remote or local source.

.google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1;

Returns
Type Description
OSPolicy.Resource.File

The file.

getFileOrBuilder()