JobState class
Input properties used for looking up and filtering Job resources.
Constructors
-
JobState({Input<
JobConfig?> ? config, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? endTime, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? startTime, Input<String?> ? state, Input<String?> ? templateId}) -
Creates a new JobState.
configThe configuration for this template.createTimeThe time the job was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.endTimeThe time the transcoding finished.labelsThe labels associated with this job. You can use these to organize and group your jobs.locationThe location of the transcoding job resource.nameThe resource name of the job.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestartTimeThe time the transcoding started.stateThe current state of the job.templateIdSpecify the templateId to use for populating Job.config.const -
JobState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
config
→ Input<
JobConfig?> ? -
The configuration for this template.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
The time the job was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
endTime
→ Input<
String?> ? -
The time the transcoding finished.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
The labels associated with this job. You can use these to organize and group your jobs.
final
-
location
→ Input<
String?> ? -
The location of the transcoding job resource.
final
-
name
→ Input<
String?> ? -
The resource name of the job.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startTime
→ Input<
String?> ? -
The time the transcoding started.
final
-
state
→ Input<
String?> ? -
The current state of the job.
final
-
templateId
→ Input<
String?> ? -
Specify the templateId to use for populating Job.config.
The default is preset/web-hd, which is the only supported preset.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited