GetWorkerPoolTemplate constructor

const GetWorkerPoolTemplate({
  1. required Input<Map<String, String>> annotations,
  2. required Input<String> client,
  3. required Input<String> clientVersion,
  4. required Input<List<GetWorkerPoolTemplateContainer>> containers,
  5. required Input<String> encryptionKey,
  6. required Input<String> encryptionKeyRevocationAction,
  7. required Input<String> encryptionKeyShutdownDuration,
  8. required Input<bool> gpuZonalRedundancyDisabled,
  9. required Input<Map<String, String>> labels,
  10. required Input<List<GetWorkerPoolTemplateNodeSelector>> nodeSelectors,
  11. required Input<String> revision,
  12. required Input<String> serviceAccount,
  13. required Input<List<GetWorkerPoolTemplateVolume>> volumes,
  14. required Input<List<GetWorkerPoolTemplateVpcAccess>> vpcAccesses,
})

Creates a new GetWorkerPoolTemplate. annotations Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. client Arbitrary identifier for the API client. clientVersion Arbitrary version identifier for the API client. containers Holds the containers that define the unit of execution for this WorkerPool. encryptionKey A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek encryptionKeyRevocationAction The action to take if the encryption key is revoked. Possible values: "PREVENT_NEW", "SHUTDOWN" encryptionKeyShutdownDuration If encryptionKeyRevocationAction is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour. gpuZonalRedundancyDisabled True if GPU zonal redundancy is disabled on this revision. labels Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. nodeSelectors Node Selector describes the hardware requirements of the resources. revision The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name. serviceAccount Email address of the IAM service account associated with the revision of the WorkerPool. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. volumes A list of Volumes to make available to containers. vpcAccesses VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Implementation

const GetWorkerPoolTemplate({
  required this.annotations,
  required this.client,
  required this.clientVersion,
  required this.containers,
  required this.encryptionKey,
  required this.encryptionKeyRevocationAction,
  required this.encryptionKeyShutdownDuration,
  required this.gpuZonalRedundancyDisabled,
  required this.labels,
  required this.nodeSelectors,
  required this.revision,
  required this.serviceAccount,
  required this.volumes,
  required this.vpcAccesses,
});