- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public interface ConfigSyncOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()
Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
optional bool enabled = 10;
Returns | |
---|---|
Type | Description |
boolean |
The enabled. |
getGit()
public abstract GitConfig getGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
Returns | |
---|---|
Type | Description |
GitConfig |
The git. |
getGitOrBuilder()
public abstract GitConfigOrBuilder getGitOrBuilder()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
Returns | |
---|---|
Type | Description |
GitConfigOrBuilder |
getMetricsGcpServiceAccountEmail()
public abstract String getMetricsGcpServiceAccountEmail()
The Email of the Google Cloud Service Account (GSA) used for exporting
Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
The GSA should have the Monitoring Metric Writer
(roles/monitoring.metricWriter) IAM role.
The Kubernetes ServiceAccount default
in the namespace
config-management-monitoring
should be bound to the GSA.
string metrics_gcp_service_account_email = 15;
Returns | |
---|---|
Type | Description |
String |
The metricsGcpServiceAccountEmail. |
getMetricsGcpServiceAccountEmailBytes()
public abstract ByteString getMetricsGcpServiceAccountEmailBytes()
The Email of the Google Cloud Service Account (GSA) used for exporting
Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
The GSA should have the Monitoring Metric Writer
(roles/monitoring.metricWriter) IAM role.
The Kubernetes ServiceAccount default
in the namespace
config-management-monitoring
should be bound to the GSA.
string metrics_gcp_service_account_email = 15;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for metricsGcpServiceAccountEmail. |
getOci()
public abstract OciConfig getOci()
OCI repo configuration for the cluster
.google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
Returns | |
---|---|
Type | Description |
OciConfig |
The oci. |
getOciOrBuilder()
public abstract OciConfigOrBuilder getOciOrBuilder()
OCI repo configuration for the cluster
.google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
Returns | |
---|---|
Type | Description |
OciConfigOrBuilder |
getPreventDrift()
public abstract boolean getPreventDrift()
Set to true to enable the Config Sync admission webhook to prevent drifts.
If set to false
, disables the Config Sync admission webhook and does not
prevent drifts.
bool prevent_drift = 11;
Returns | |
---|---|
Type | Description |
boolean |
The preventDrift. |
getSourceFormat()
public abstract String getSourceFormat()
Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
string source_format = 8;
Returns | |
---|---|
Type | Description |
String |
The sourceFormat. |
getSourceFormatBytes()
public abstract ByteString getSourceFormatBytes()
Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
string source_format = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceFormat. |
hasEnabled()
public abstract boolean hasEnabled()
Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
optional bool enabled = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the enabled field is set. |
hasGit()
public abstract boolean hasGit()
Git repo configuration for the cluster.
.google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the git field is set. |
hasOci()
public abstract boolean hasOci()
OCI repo configuration for the cluster
.google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the oci field is set. |