Interface MaintenancePolicyOrBuilder (2.16.0)

public interface MaintenancePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceVersion()

public abstract String getResourceVersion()

A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a get() request to the cluster to get the current resource version and include it with requests to set the policy.

string resource_version = 3;

Returns
TypeDescription
String

The resourceVersion.

getResourceVersionBytes()

public abstract ByteString getResourceVersionBytes()

A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a get() request to the cluster to get the current resource version and include it with requests to set the policy.

string resource_version = 3;

Returns
TypeDescription
ByteString

The bytes for resourceVersion.

getWindow()

public abstract MaintenanceWindow getWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1beta1.MaintenanceWindow window = 1;

Returns
TypeDescription
MaintenanceWindow

The window.

getWindowOrBuilder()

public abstract MaintenanceWindowOrBuilder getWindowOrBuilder()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1beta1.MaintenanceWindow window = 1;

Returns
TypeDescription
MaintenanceWindowOrBuilder

hasWindow()

public abstract boolean hasWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1beta1.MaintenanceWindow window = 1;

Returns
TypeDescription
boolean

Whether the window field is set.