GCPolicyState class
Input properties used for looking up and filtering GCPolicy resources.
Constructors
-
GCPolicyState({Input<
String?> ? columnFamily, Input<String?> ? deletionPolicy, Input<String?> ? gcRules, Input<bool?> ? ignoreWarnings, Input<String?> ? instanceName, Input<GCPolicyMaxAge?> ? maxAge, Input<List< ? maxVersions, Input<GCPolicyMaxVersion> ?>String?> ? mode, Input<String?> ? project, Input<String?> ? table}) -
Creates a new GCPolicyState.
columnFamilyThe name of the column family.deletionPolicyThe deletion policy for the GC policy. Setting ABANDON allows the resourcegcRulesSerialized JSON object to represent a more complex GC policy. Conflicts withmode,maxAgeandmaxVersion. Conflicts withmode,maxAgeandmaxVersion.ignoreWarningsBoolean for whether to allow ignoring warnings when updating the gc policy.instanceNameThe name of the Bigtable instance.maxAgeGC policy that applies to all cells older than the given age.maxVersionsGC policy that applies to all versions of a cell except for the most recent.modeIf multiple policies are set, you should choose betweenUNIONORINTERSECTION.projectThe ID of the project in which the resource belongs. If it is not provided, the provider project is used.tableThe name of the table.const -
GCPolicyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
columnFamily
→ Input<
String?> ? -
The name of the column family.
final
-
deletionPolicy
→ Input<
String?> ? -
The deletion policy for the GC policy. Setting ABANDON allows the resource
to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted
in a replicated instance.
final
-
gcRules
→ Input<
String?> ? -
Serialized JSON object to represent a more complex GC policy. Conflicts with
mode,maxAgeandmaxVersion. Conflicts withmode,maxAgeandmaxVersion.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreWarnings
→ Input<
bool?> ? -
Boolean for whether to allow ignoring warnings when updating the gc policy.
Setting this to
trueallows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.final -
instanceName
→ Input<
String?> ? -
The name of the Bigtable instance.
final
-
maxAge
→ Input<
GCPolicyMaxAge?> ? -
GC policy that applies to all cells older than the given age.
final
-
maxVersions
→ Input<
List< ?GCPolicyMaxVersion> ?> -
GC policy that applies to all versions of a cell except for the most recent.
final
-
mode
→ Input<
String?> ? -
If multiple policies are set, you should choose between
UNIONORINTERSECTION.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
table
→ Input<
String?> ? -
The name of the table.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited