#[non_exhaustive]pub struct DeploymentResourcePool {
pub name: String,
pub dedicated_resources: Option<DedicatedResources>,
pub encryption_spec: Option<EncryptionSpec>,
pub service_account: String,
pub disable_container_logging: bool,
pub create_time: Option<Timestamp>,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
/* private fields */
}Expand description
A description of resources that can be shared by multiple DeployedModels, whose underlying specification consists of a DedicatedResources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringImmutable. The resource name of the DeploymentResourcePool.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
dedicated_resources: Option<DedicatedResources>Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
encryption_spec: Option<EncryptionSpec>Customer-managed encryption key spec for a DeploymentResourcePool. If set, this DeploymentResourcePool will be secured by this key. Endpoints and the DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
service_account: StringThe service account that the DeploymentResourcePool’s container(s) run as. Specify the email address of the service account. If this service account is not specified, the container(s) run as a service account that doesn’t have access to the resource project.
Users deploying the Models to this DeploymentResourcePool must have the
iam.serviceAccounts.actAs permission on this service account.
disable_container_logging: boolIf the DeploymentResourcePool is deployed with custom-trained Models or
AutoML Tabular Models, the container(s) of the DeploymentResourcePool will
send stderr and stdout streams to Cloud Logging by default.
Please note that the logs incur cost, which are subject to Cloud Logging
pricing.
User can disable container logging by setting this flag to true.
create_time: Option<Timestamp>Output only. Timestamp when this DeploymentResourcePool was created.
satisfies_pzs: boolOutput only. Reserved for future use.
satisfies_pzi: boolOutput only. Reserved for future use.
Implementations§
Source§impl DeploymentResourcePool
impl DeploymentResourcePool
pub fn new() -> Self
Sourcepub fn set_dedicated_resources<T: Into<Option<DedicatedResources>>>(
self,
v: T,
) -> Self
pub fn set_dedicated_resources<T: Into<Option<DedicatedResources>>>( self, v: T, ) -> Self
Sets the value of dedicated_resources.
Sourcepub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
pub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
Sets the value of encryption_spec.
Sourcepub fn set_service_account<T: Into<String>>(self, v: T) -> Self
pub fn set_service_account<T: Into<String>>(self, v: T) -> Self
Sets the value of service_account.
Sourcepub fn set_disable_container_logging<T: Into<bool>>(self, v: T) -> Self
pub fn set_disable_container_logging<T: Into<bool>>(self, v: T) -> Self
Sets the value of disable_container_logging.
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
Sets the value of satisfies_pzs.
Sourcepub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
Sets the value of satisfies_pzi.
Trait Implementations§
Source§impl Clone for DeploymentResourcePool
impl Clone for DeploymentResourcePool
Source§fn clone(&self) -> DeploymentResourcePool
fn clone(&self) -> DeploymentResourcePool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more