Interface OciConfigOrBuilder (1.56.0)

public interface OciConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcpServiceAccountEmail()

public abstract String getGcpServiceAccountEmail()

Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcpServiceAccountEmail.

getGcpServiceAccountEmailBytes()

public abstract ByteString getGcpServiceAccountEmailBytes()

Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcpServiceAccountEmail.

getPolicyDir()

public abstract String getPolicyDir()

Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.

string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The policyDir.

getPolicyDirBytes()

public abstract ByteString getPolicyDirBytes()

Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.

string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for policyDir.

getSecretType()

public abstract String getSecretType()

Required. Type of secret configured for access to the OCI repo. Must be one of gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this is case-sensitive.

string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The secretType.

getSecretTypeBytes()

public abstract ByteString getSecretTypeBytes()

Required. Type of secret configured for access to the OCI repo. Must be one of gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this is case-sensitive.

string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for secretType.

getSyncRepo()

public abstract String getSyncRepo()

Required. The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.

string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The syncRepo.

getSyncRepoBytes()

public abstract ByteString getSyncRepoBytes()

Required. The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.

string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for syncRepo.

getSyncWaitSecs()

public abstract long getSyncWaitSecs()

Optional. Period in seconds between consecutive syncs. Default: 15.

int64 sync_wait_secs = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The syncWaitSecs.