Interface GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder (2.38.0)

public static interface GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be my-bucket.

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be my-bucket.

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getGeneration()

public abstract long getGeneration()

Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object. https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be 1234567.

int64 generation = 3;

Returns
TypeDescription
long

The generation.

getObject()

public abstract String getObject()

Name of the Google Cloud Storage object. As specified here Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be foo/bar.

string object = 2;

Returns
TypeDescription
String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

Name of the Google Cloud Storage object. As specified here Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be foo/bar.

string object = 2;

Returns
TypeDescription
ByteString

The bytes for object.