Struct google_api_proto::google::cloud::accessapproval::v1::EnrolledService
source · pub struct EnrolledService {
pub cloud_product: String,
pub enrollment_level: i32,
}
Expand description
Represents the enrollment of a cloud resource into a specific service.
Fields§
§cloud_product: String
The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive):
- all
- GA
- App Engine
- BigQuery
- Cloud Bigtable
- Cloud Key Management Service
- Compute Engine
- Cloud Dataflow
- Cloud Dataproc
- Cloud DLP
- Cloud EKM
- Cloud HSM
- Cloud Identity and Access Management
- Cloud Logging
- Cloud Pub/Sub
- Cloud Spanner
- Cloud SQL
- Cloud Storage
- Google Kubernetes Engine
- Organization Policy Serivice
- Persistent Disk
- Resource Manager
- Secret Manager
- Speaker ID
Note: These values are supported as input for legacy purposes, but will not be returned from the API.
- all
- ga-only
- appengine.googleapis.com
- bigquery.googleapis.com
- bigtable.googleapis.com
- container.googleapis.com
- cloudkms.googleapis.com
- cloudresourcemanager.googleapis.com
- cloudsql.googleapis.com
- compute.googleapis.com
- dataflow.googleapis.com
- dataproc.googleapis.com
- dlp.googleapis.com
- iam.googleapis.com
- logging.googleapis.com
- orgpolicy.googleapis.com
- pubsub.googleapis.com
- spanner.googleapis.com
- secretmanager.googleapis.com
- speakerid.googleapis.com
- storage.googleapis.com
Calls to UpdateAccessApprovalSettings using ‘all’ or any of the XXX.googleapis.com will be translated to the associated product name (‘all’, ‘App Engine’, etc.).
Note: ‘all’ will enroll the resource in all products supported at both ‘GA’ and ‘Preview’ levels.
More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services
enrollment_level: i32
The enrollment level of the service.
Implementations§
source§impl EnrolledService
impl EnrolledService
sourcepub fn enrollment_level(&self) -> EnrollmentLevel
pub fn enrollment_level(&self) -> EnrollmentLevel
Returns the enum value of enrollment_level
, or the default if the field is set to an invalid enum value.
sourcepub fn set_enrollment_level(&mut self, value: EnrollmentLevel)
pub fn set_enrollment_level(&mut self, value: EnrollmentLevel)
Sets enrollment_level
to the provided enum value.
Trait Implementations§
source§impl Clone for EnrolledService
impl Clone for EnrolledService
source§fn clone(&self) -> EnrolledService
fn clone(&self) -> EnrolledService
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnrolledService
impl Debug for EnrolledService
source§impl Default for EnrolledService
impl Default for EnrolledService
source§impl Message for EnrolledService
impl Message for EnrolledService
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for EnrolledService
impl PartialEq for EnrolledService
source§fn eq(&self, other: &EnrolledService) -> bool
fn eq(&self, other: &EnrolledService) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnrolledService
Auto Trait Implementations§
impl Freeze for EnrolledService
impl RefUnwindSafe for EnrolledService
impl Send for EnrolledService
impl Sync for EnrolledService
impl Unpin for EnrolledService
impl UnwindSafe for EnrolledService
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request