public interface LogsPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCloudLoggingOption()
public abstract LogsPolicy.CloudLoggingOption getCloudLoggingOption()Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LogsPolicy.CloudLoggingOption |
The cloudLoggingOption. |
getCloudLoggingOptionOrBuilder()
public abstract LogsPolicy.CloudLoggingOptionOrBuilder getCloudLoggingOptionOrBuilder()Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LogsPolicy.CloudLoggingOptionOrBuilder |
|
getDestination()
public abstract LogsPolicy.Destination getDestination()Where logs should be saved.
.google.cloud.batch.v1alpha.LogsPolicy.Destination destination = 1;
| Returns | |
|---|---|
| Type | Description |
LogsPolicy.Destination |
The destination. |
getDestinationValue()
public abstract int getDestinationValue()Where logs should be saved.
.google.cloud.batch.v1alpha.LogsPolicy.Destination destination = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for destination. |
getLogsPath()
public abstract String getLogsPath()The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
string logs_path = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The logsPath. |
getLogsPathBytes()
public abstract ByteString getLogsPathBytes()The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
string logs_path = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logsPath. |
hasCloudLoggingOption()
public abstract boolean hasCloudLoggingOption()Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cloudLoggingOption field is set. |