GetWorkerPoolTemplate class

Constructors

GetWorkerPoolTemplate({required Input<Map<String, String>> annotations, required Input<String> client, required Input<String> clientVersion, required Input<List<GetWorkerPoolTemplateContainer>> containers, required Input<String> encryptionKey, required Input<String> encryptionKeyRevocationAction, required Input<String> encryptionKeyShutdownDuration, required Input<bool> gpuZonalRedundancyDisabled, required Input<Map<String, String>> labels, required Input<List<GetWorkerPoolTemplateNodeSelector>> nodeSelectors, required Input<String> revision, required Input<String> serviceAccount, required Input<List<GetWorkerPoolTemplateVolume>> volumes, 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.
const
GetWorkerPoolTemplate.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>>
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.
final
client → Input<String>
Arbitrary identifier for the API client.
final
clientVersion → Input<String>
Arbitrary version identifier for the API client.
final
containers → Input<List<GetWorkerPoolTemplateContainer>>
Holds the containers that define the unit of execution for this WorkerPool.
final
encryptionKey → Input<String>
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
final
encryptionKeyRevocationAction → Input<String>
The action to take if the encryption key is revoked. Possible values: "PREVENT_NEW", "SHUTDOWN"
final
encryptionKeyShutdownDuration → Input<String>
If encryptionKeyRevocationAction is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
final
gpuZonalRedundancyDisabled → Input<bool>
True if GPU zonal redundancy is disabled on this revision.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>
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. For more information, visit https://docs.cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
final
nodeSelectors → Input<List<GetWorkerPoolTemplateNodeSelector>>
Node Selector describes the hardware requirements of the resources.
final
revision → Input<String>
The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String>
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.
final
volumes → Input<List<GetWorkerPoolTemplateVolume>>
A list of Volumes to make available to containers.
final
vpcAccesses → Input<List<GetWorkerPoolTemplateVpcAccess>>
VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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