GoogleCloudRunV2Probe.fromJson constructor

GoogleCloudRunV2Probe.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2Probe.fromJson(core.Map json_)
    : this(
        failureThreshold: json_.containsKey('failureThreshold')
            ? json_['failureThreshold'] as core.int
            : null,
        grpc: json_.containsKey('grpc')
            ? GoogleCloudRunV2GRPCAction.fromJson(
                json_['grpc'] as core.Map<core.String, core.dynamic>)
            : null,
        httpGet: json_.containsKey('httpGet')
            ? GoogleCloudRunV2HTTPGetAction.fromJson(
                json_['httpGet'] as core.Map<core.String, core.dynamic>)
            : null,
        initialDelaySeconds: json_.containsKey('initialDelaySeconds')
            ? json_['initialDelaySeconds'] as core.int
            : null,
        periodSeconds: json_.containsKey('periodSeconds')
            ? json_['periodSeconds'] as core.int
            : null,
        tcpSocket: json_.containsKey('tcpSocket')
            ? GoogleCloudRunV2TCPSocketAction.fromJson(
                json_['tcpSocket'] as core.Map<core.String, core.dynamic>)
            : null,
        timeoutSeconds: json_.containsKey('timeoutSeconds')
            ? json_['timeoutSeconds'] as core.int
            : null,
      );