toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Capability.capabilityIam:
      return 'CAPABILITY_IAM';
    case Capability.capabilityNamedIam:
      return 'CAPABILITY_NAMED_IAM';
    case Capability.capabilityAutoExpand:
      return 'CAPABILITY_AUTO_EXPAND';
    case Capability.capabilityResourcePolicy:
      return 'CAPABILITY_RESOURCE_POLICY';
  }
}