Struct google_apigee1::api::GoogleCloudApigeeV1Credential
source · pub struct GoogleCloudApigeeV1Credential {
pub api_products: Option<Vec<GoogleCloudApigeeV1ApiProductRef>>,
pub attributes: Option<Vec<GoogleCloudApigeeV1Attribute>>,
pub consumer_key: Option<String>,
pub consumer_secret: Option<String>,
pub expires_at: Option<i64>,
pub issued_at: Option<i64>,
pub scopes: Option<Vec<String>>,
pub status: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§api_products: Option<Vec<GoogleCloudApigeeV1ApiProductRef>>
List of API products this credential can be used for.
attributes: Option<Vec<GoogleCloudApigeeV1Attribute>>
List of attributes associated with this credential.
consumer_key: Option<String>
Consumer key.
consumer_secret: Option<String>
Secret key.
expires_at: Option<i64>
Time the credential will expire in milliseconds since epoch.
issued_at: Option<i64>
Time the credential was issued in milliseconds since epoch.
scopes: Option<Vec<String>>
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
status: Option<String>
Status of the credential. Valid values include approved
or revoked
.
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1Credential
impl Clone for GoogleCloudApigeeV1Credential
source§fn clone(&self) -> GoogleCloudApigeeV1Credential
fn clone(&self) -> GoogleCloudApigeeV1Credential
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 Default for GoogleCloudApigeeV1Credential
impl Default for GoogleCloudApigeeV1Credential
source§fn default() -> GoogleCloudApigeeV1Credential
fn default() -> GoogleCloudApigeeV1Credential
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Credential
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Credential
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
impl Part for GoogleCloudApigeeV1Credential
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudApigeeV1Credential
impl Send for GoogleCloudApigeeV1Credential
impl Sync for GoogleCloudApigeeV1Credential
impl Unpin for GoogleCloudApigeeV1Credential
impl UnwindSafe for GoogleCloudApigeeV1Credential
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