PipelineState class
Input properties used for looking up and filtering Pipeline resources.
Constructors
-
PipelineState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<int?> ? jobCount, Input<String?> ? lastUpdateTime, Input<String?> ? name, Input<Map< ? pipelineSources, Input<String, String> ?>String?> ? project, Input<String?> ? region, Input<PipelineScheduleInfo?> ? scheduleInfo, Input<String?> ? schedulerServiceAccountEmail, Input<String?> ? state, Input<String?> ? type, Input<PipelineWorkload?> ? workload}) -
Creates a new PipelineState.
createTimeThe timestamp when the pipeline was initially created. Set by the Data Pipelines service.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameThe display name of the pipeline. It can contain only letters (A-Za-z), numbers (0-9), hyphens (-), and underscores (_).jobCountNumber of jobs.lastUpdateTimeThe timestamp when the pipeline was last modified. Set by the Data Pipelines service.name"The pipeline name. For example': 'projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID."pipelineSourcesThe sources of the pipeline (for example, Dataplex). The keys and values are set by the corresponding sources during pipeline creation.projectThe ID of the project in which the resource belongs.regionA reference to the regionscheduleInfoInternal scheduling information for a pipeline. If this information is provided, periodic jobs will be created per the schedule. If not, users are responsible for creating jobs externally.schedulerServiceAccountEmailOptional. A service account email to be used with the Cloud Scheduler job. If not specified, the default compute engine service account will be used.stateThe state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to stopping, paused, or resuming. State cannot be changed through pipelines.patch requests.typeThe type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline.workloadWorkload information for creating new jobs.const -
PipelineState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
The timestamp when the pipeline was initially created. Set by the Data Pipelines service.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
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
-
displayName
→ Input<
String?> ? -
The display name of the pipeline. It can contain only letters (
A-Za-z), numbers (0-9), hyphens (-), and underscores (_).final - hashCode → int
-
The hash code for this object.
no setterinherited
-
jobCount
→ Input<
int?> ? -
Number of jobs.
final
-
lastUpdateTime
→ Input<
String?> ? -
The timestamp when the pipeline was last modified. Set by the Data Pipelines service.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
final
-
name
→ Input<
String?> ? -
"The pipeline name. For example': 'projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID."
"- PROJECT_ID can contain letters (
A-Za-z), numbers (0-9), hyphens (-), colons (:), and periods (.). For more information, see Identifying projects." "LOCATION_ID is the canonical ID for the pipeline's location. The list of available locations can be obtained by calling google.cloud.location.Locations.ListLocations. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in App Engine regions." "PIPELINE_ID is the ID of the pipeline. Must be unique for the selected project and location."final -
pipelineSources
→ Input<
Map< ?String, String> ?> -
The sources of the pipeline (for example, Dataplex). The keys and values are set by the corresponding sources during pipeline creation.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
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
-
region
→ Input<
String?> ? -
A reference to the region
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scheduleInfo
→ Input<
PipelineScheduleInfo?> ? -
Internal scheduling information for a pipeline. If this information is provided, periodic jobs will be created per the schedule. If not, users are responsible for creating jobs externally.
https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#schedulespec
Structure is documented below.
final
-
schedulerServiceAccountEmail
→ Input<
String?> ? -
Optional. A service account email to be used with the Cloud Scheduler job. If not specified, the default compute engine service account will be used.
final
-
state
→ Input<
String?> ? -
The state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to stopping, paused, or resuming. State cannot be changed through pipelines.patch requests.
https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#state
Possible values are:
STATE_UNSPECIFIED,STATE_RESUMING,STATE_ACTIVE,STATE_STOPPING,STATE_ARCHIVED,STATE_PAUSED.final -
type
→ Input<
String?> ? -
The type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline.
https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#pipelinetype
Possible values are:
PIPELINE_TYPE_UNSPECIFIED,PIPELINE_TYPE_BATCH,PIPELINE_TYPE_STREAMING.final -
workload
→ Input<
PipelineWorkload?> ? -
Workload information for creating new jobs.
https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#workload
Structure is documented below.
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