public interface PolicyContentSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsBundles(String key)
public abstract boolean containsBundles(String key) map of bundle name to BundleInstallSpec. The bundle name maps to the
bundleName key in the policycontroller.gke.io/constraintData annotation
on a constraint.
map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBundles() (deprecated)
public abstract Map<String,BundleInstallSpec> getBundles()Use #getBundlesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,BundleInstallSpec> |
|
getBundlesCount()
public abstract int getBundlesCount() map of bundle name to BundleInstallSpec. The bundle name maps to the
bundleName key in the policycontroller.gke.io/constraintData annotation
on a constraint.
map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBundlesMap()
public abstract Map<String,BundleInstallSpec> getBundlesMap() map of bundle name to BundleInstallSpec. The bundle name maps to the
bundleName key in the policycontroller.gke.io/constraintData annotation
on a constraint.
map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
| Returns | |
|---|---|
| Type | Description |
Map<String,BundleInstallSpec> |
|
getBundlesOrDefault(String key, BundleInstallSpec defaultValue)
public abstract BundleInstallSpec getBundlesOrDefault(String key, BundleInstallSpec defaultValue) map of bundle name to BundleInstallSpec. The bundle name maps to the
bundleName key in the policycontroller.gke.io/constraintData annotation
on a constraint.
map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
BundleInstallSpec |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec |
|
getBundlesOrThrow(String key)
public abstract BundleInstallSpec getBundlesOrThrow(String key) map of bundle name to BundleInstallSpec. The bundle name maps to the
bundleName key in the policycontroller.gke.io/constraintData annotation
on a constraint.
map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec |
|
getTemplateLibrary()
public abstract TemplateLibraryConfig getTemplateLibrary()Configures the installation of the Template Library.
.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;
| Returns | |
|---|---|
| Type | Description |
TemplateLibraryConfig |
The templateLibrary. |
getTemplateLibraryOrBuilder()
public abstract TemplateLibraryConfigOrBuilder getTemplateLibraryOrBuilder()Configures the installation of the Template Library.
.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;
| Returns | |
|---|---|
| Type | Description |
TemplateLibraryConfigOrBuilder |
|
hasTemplateLibrary()
public abstract boolean hasTemplateLibrary()Configures the installation of the Template Library.
.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the templateLibrary field is set. |