pub struct RemoteGcpClientConfig {
pub credentials: RemoteGcpCredentials,
pub project_id: String,
pub project_number: Option<String>,
pub region: String,
}Expand description
Response-safe GCP client configuration. Refreshable source credentials and service endpoint overrides cannot be represented by this type.
JSON schema
{
"description": "Response-safe GCP client configuration. Refreshable source credentials and\nservice endpoint overrides cannot be represented by this type.",
"type": "object",
"required": [
"credentials",
"projectId",
"region"
],
"properties": {
"credentials": {
"$ref": "#/components/schemas/RemoteGcpCredentials"
},
"projectId": {
"description": "GCP project containing the bucket.",
"type": "string"
},
"projectNumber": {
"description": "Numeric GCP project id, when known.",
"type": [
"string",
"null"
]
},
"region": {
"description": "GCP region configured for the deployment.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§credentials: RemoteGcpCredentials§project_id: StringGCP project containing the bucket.
project_number: Option<String>Numeric GCP project id, when known.
region: StringGCP region configured for the deployment.
Implementations§
Source§impl RemoteGcpClientConfig
impl RemoteGcpClientConfig
pub fn builder() -> RemoteGcpClientConfig
Trait Implementations§
Source§impl Clone for RemoteGcpClientConfig
impl Clone for RemoteGcpClientConfig
Source§fn clone(&self) -> RemoteGcpClientConfig
fn clone(&self) -> RemoteGcpClientConfig
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 Debug for RemoteGcpClientConfig
impl Debug for RemoteGcpClientConfig
Source§impl<'de> Deserialize<'de> for RemoteGcpClientConfig
impl<'de> Deserialize<'de> for RemoteGcpClientConfig
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 From<&RemoteGcpClientConfig> for RemoteGcpClientConfig
impl From<&RemoteGcpClientConfig> for RemoteGcpClientConfig
Source§fn from(value: &RemoteGcpClientConfig) -> Self
fn from(value: &RemoteGcpClientConfig) -> Self
Converts to this type from the input type.
Source§impl From<RemoteGcpClientConfig> for RemoteGcpClientConfig
impl From<RemoteGcpClientConfig> for RemoteGcpClientConfig
Source§fn from(value: RemoteGcpClientConfig) -> Self
fn from(value: RemoteGcpClientConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for RemoteGcpClientConfig
impl Serialize for RemoteGcpClientConfig
Source§impl TryFrom<RemoteGcpClientConfig> for RemoteGcpClientConfig
impl TryFrom<RemoteGcpClientConfig> for RemoteGcpClientConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RemoteGcpClientConfig) -> Result<Self, ConversionError>
fn try_from(value: RemoteGcpClientConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RemoteGcpClientConfig
impl RefUnwindSafe for RemoteGcpClientConfig
impl Send for RemoteGcpClientConfig
impl Sync for RemoteGcpClientConfig
impl Unpin for RemoteGcpClientConfig
impl UnsafeUnpin for RemoteGcpClientConfig
impl UnwindSafe for RemoteGcpClientConfig
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