ServiceConnectionPolicy_PscConnection constructor

ServiceConnectionPolicy_PscConnection({
  1. ServiceConnectionPolicy_State? state,
  2. String? consumerForwardingRule,
  3. String? consumerAddress,
  4. ConnectionErrorType? errorType,
  5. Status? error,
  6. String? gceOperation,
  7. String? consumerTargetProject,
  8. String? pscConnectionId,
})

Implementation

factory ServiceConnectionPolicy_PscConnection({
  ServiceConnectionPolicy_State? state,
  $core.String? consumerForwardingRule,
  $core.String? consumerAddress,
  ConnectionErrorType? errorType,
  $19.Status? error,
  $core.String? gceOperation,
  $core.String? consumerTargetProject,
  $core.String? pscConnectionId,
}) {
  final $result = create();
  if (state != null) {
    $result.state = state;
  }
  if (consumerForwardingRule != null) {
    $result.consumerForwardingRule = consumerForwardingRule;
  }
  if (consumerAddress != null) {
    $result.consumerAddress = consumerAddress;
  }
  if (errorType != null) {
    $result.errorType = errorType;
  }
  if (error != null) {
    $result.error = error;
  }
  if (gceOperation != null) {
    $result.gceOperation = gceOperation;
  }
  if (consumerTargetProject != null) {
    $result.consumerTargetProject = consumerTargetProject;
  }
  if (pscConnectionId != null) {
    $result.pscConnectionId = pscConnectionId;
  }
  return $result;
}