pub struct GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig {
pub google_oidc: Option<GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken>,
pub oauth_token: Option<GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken>,
}Expand description
Represents a config used to authenticate message requests.
This type is not used in any activity, and only used as part of another schema.
Fields§
§google_oidc: Option<GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken>Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.
oauth_token: Option<GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken>Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
Trait Implementations§
Source§impl Clone for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl Clone for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Source§fn clone(&self) -> GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
fn clone(&self) -> GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl Default for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Source§fn default() -> GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
fn default() -> GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl<'de> Deserialize<'de> for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
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 GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl RefUnwindSafe for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl Send for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl Sync for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl Unpin for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl UnsafeUnpin for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
impl UnwindSafe for GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
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