pub struct GcpCredential {
pub provider: Provider,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
pub gcp_key: Box<GcpKey>,
pub bucket_plan: Option<Box<BucketPlan>>,
}Fields§
§provider: Provider§id: StringThis is the unique identifier for the credential.
org_id: StringThis is the unique identifier for the org that this credential belongs to.
created_at: StringThis is the ISO 8601 date-time string of when the credential was created.
updated_at: StringThis is the ISO 8601 date-time string of when the assistant was last updated.
name: Option<String>This is the name of credential. This is just for your reference.
gcp_key: Box<GcpKey>This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at https://console.cloud.google.com/iam-admin/serviceaccounts/details/
bucket_plan: Option<Box<BucketPlan>>This is the bucket plan that can be provided to store call artifacts in GCP.
Implementations§
Trait Implementations§
Source§impl Clone for GcpCredential
impl Clone for GcpCredential
Source§fn clone(&self) -> GcpCredential
fn clone(&self) -> GcpCredential
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GcpCredential
impl Debug for GcpCredential
Source§impl Default for GcpCredential
impl Default for GcpCredential
Source§fn default() -> GcpCredential
fn default() -> GcpCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GcpCredential
impl<'de> Deserialize<'de> for GcpCredential
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GcpCredential
impl PartialEq for GcpCredential
Source§impl Serialize for GcpCredential
impl Serialize for GcpCredential
impl StructuralPartialEq for GcpCredential
Auto Trait Implementations§
impl Freeze for GcpCredential
impl RefUnwindSafe for GcpCredential
impl Send for GcpCredential
impl Sync for GcpCredential
impl Unpin for GcpCredential
impl UnwindSafe for GcpCredential
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
Mutably borrows from an owned value. Read more