GoogleCloudAiplatformV1Probe.fromJson constructor
GoogleCloudAiplatformV1Probe.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1Probe.fromJson(core.Map json_)
: this(
exec: json_.containsKey('exec')
? GoogleCloudAiplatformV1ProbeExecAction.fromJson(
json_['exec'] as core.Map<core.String, core.dynamic>,
)
: null,
failureThreshold: json_['failureThreshold'] as core.int?,
grpc: json_.containsKey('grpc')
? GoogleCloudAiplatformV1ProbeGrpcAction.fromJson(
json_['grpc'] as core.Map<core.String, core.dynamic>,
)
: null,
httpGet: json_.containsKey('httpGet')
? GoogleCloudAiplatformV1ProbeHttpGetAction.fromJson(
json_['httpGet'] as core.Map<core.String, core.dynamic>,
)
: null,
initialDelaySeconds: json_['initialDelaySeconds'] as core.int?,
periodSeconds: json_['periodSeconds'] as core.int?,
successThreshold: json_['successThreshold'] as core.int?,
tcpSocket: json_.containsKey('tcpSocket')
? GoogleCloudAiplatformV1ProbeTcpSocketAction.fromJson(
json_['tcpSocket'] as core.Map<core.String, core.dynamic>,
)
: null,
timeoutSeconds: json_['timeoutSeconds'] as core.int?,
);