CustomJob constructor
CustomJob(
- String name, {
- CustomJobArgs? args,
- CustomResourceOptions? options,
Creates a new CustomJob.
name The Pulumi resource name.
args Arguments used to configure this CustomJob. The set of arguments for CustomJob.
options Resource options controlling this resource's behavior.
Implementation
CustomJob(
String name, {
CustomJobArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:aiplatform/v1:CustomJob',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
createTime = registerOutput<String>('createTime');
displayName = registerOutput<String>('displayName');
encryptionSpec = registerOutput<GoogleCloudAiplatformV1EncryptionSpecResponse>('encryptionSpec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudAiplatformV1EncryptionSpecResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
endTime = registerOutput<String>('endTime');
error = registerOutput<GoogleRpcStatusResponse>('error', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleRpcStatusResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
jobSpec = registerOutput<GoogleCloudAiplatformV1CustomJobSpecResponse>('jobSpec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudAiplatformV1CustomJobSpecResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
labels = registerOutput<Map<String, String>>('labels');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
startTime = registerOutput<String>('startTime');
state = registerOutput<String>('state');
updateTime = registerOutput<String>('updateTime');
webAccessUris = registerOutput<Map<String, String>>('webAccessUris');
}