#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionMap {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, tag = "7")]
pub service_class: ::prost::alloc::string::String,
#[prost(string, tag = "12")]
pub service_class_uri: ::prost::alloc::string::String,
#[prost(enumeration = "Infrastructure", tag = "8")]
pub infrastructure: i32,
#[prost(message, repeated, tag = "9")]
pub producer_psc_configs: ::prost::alloc::vec::Vec<
service_connection_map::ProducerPscConfig,
>,
#[prost(message, repeated, tag = "10")]
pub consumer_psc_configs: ::prost::alloc::vec::Vec<
service_connection_map::ConsumerPscConfig,
>,
#[prost(message, repeated, tag = "11")]
pub consumer_psc_connections: ::prost::alloc::vec::Vec<
service_connection_map::ConsumerPscConnection,
>,
}
pub mod service_connection_map {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProducerPscConfig {
#[prost(string, tag = "1")]
pub service_attachment_uri: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConsumerPscConfig {
#[prost(string, tag = "1")]
pub project: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub network: ::prost::alloc::string::String,
#[prost(bool, tag = "3")]
pub disable_global_access: bool,
#[prost(enumeration = "consumer_psc_config::State", tag = "4")]
pub state: i32,
}
pub mod consumer_psc_config {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum State {
Unspecified = 0,
Valid = 1,
ConnectionPolicyMissing = 2,
}
impl State {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "STATE_UNSPECIFIED",
Self::Valid => "VALID",
Self::ConnectionPolicyMissing => "CONNECTION_POLICY_MISSING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STATE_UNSPECIFIED" => Some(Self::Unspecified),
"VALID" => Some(Self::Valid),
"CONNECTION_POLICY_MISSING" => Some(Self::ConnectionPolicyMissing),
_ => None,
}
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConsumerPscConnection {
#[prost(string, tag = "1")]
pub service_attachment_uri: ::prost::alloc::string::String,
#[prost(enumeration = "consumer_psc_connection::State", tag = "2")]
pub state: i32,
#[prost(string, tag = "3")]
pub project: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub network: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub psc_connection_id: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub ip: ::prost::alloc::string::String,
#[prost(enumeration = "super::ConnectionErrorType", tag = "7")]
pub error_type: i32,
#[prost(message, optional, tag = "8")]
pub error: ::core::option::Option<
super::super::super::super::super::rpc::Status,
>,
#[prost(string, tag = "9")]
pub gce_operation: ::prost::alloc::string::String,
#[prost(string, tag = "10")]
pub forwarding_rule: ::prost::alloc::string::String,
}
pub mod consumer_psc_connection {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum State {
Unspecified = 0,
Active = 1,
Failed = 2,
Creating = 3,
Deleting = 4,
}
impl State {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "STATE_UNSPECIFIED",
Self::Active => "ACTIVE",
Self::Failed => "FAILED",
Self::Creating => "CREATING",
Self::Deleting => "DELETING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STATE_UNSPECIFIED" => Some(Self::Unspecified),
"ACTIVE" => Some(Self::Active),
"FAILED" => Some(Self::Failed),
"CREATING" => Some(Self::Creating),
"DELETING" => Some(Self::Deleting),
_ => None,
}
}
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionPolicy {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub network: ::prost::alloc::string::String,
#[prost(string, tag = "7")]
pub service_class: ::prost::alloc::string::String,
#[prost(enumeration = "Infrastructure", tag = "8")]
pub infrastructure: i32,
#[prost(message, optional, tag = "9")]
pub psc_config: ::core::option::Option<service_connection_policy::PscConfig>,
#[prost(message, repeated, tag = "10")]
pub psc_connections: ::prost::alloc::vec::Vec<
service_connection_policy::PscConnection,
>,
}
pub mod service_connection_policy {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PscConfig {
#[prost(string, repeated, tag = "1")]
pub subnetworks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, optional, tag = "2")]
pub limit: ::core::option::Option<i64>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PscConnection {
#[prost(enumeration = "State", tag = "1")]
pub state: i32,
#[prost(string, tag = "2")]
pub consumer_forwarding_rule: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub consumer_address: ::prost::alloc::string::String,
#[prost(enumeration = "super::ConnectionErrorType", tag = "4")]
pub error_type: i32,
#[prost(message, optional, tag = "5")]
pub error: ::core::option::Option<
super::super::super::super::super::rpc::Status,
>,
#[prost(string, tag = "6")]
pub gce_operation: ::prost::alloc::string::String,
#[prost(string, tag = "7")]
pub consumer_target_project: ::prost::alloc::string::String,
#[prost(string, tag = "8")]
pub psc_connection_id: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum State {
Unspecified = 0,
Active = 1,
Failed = 2,
Creating = 3,
Deleting = 4,
}
impl State {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "STATE_UNSPECIFIED",
Self::Active => "ACTIVE",
Self::Failed => "FAILED",
Self::Creating => "CREATING",
Self::Deleting => "DELETING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STATE_UNSPECIFIED" => Some(Self::Unspecified),
"ACTIVE" => Some(Self::Active),
"FAILED" => Some(Self::Failed),
"CREATING" => Some(Self::Creating),
"DELETING" => Some(Self::Deleting),
_ => None,
}
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceClass {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "7")]
pub service_class: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "6")]
pub service_connection_maps: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionToken {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub network: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Hub {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, tag = "8")]
pub unique_id: ::prost::alloc::string::String,
#[prost(enumeration = "State", tag = "9")]
pub state: i32,
#[prost(message, repeated, tag = "10")]
pub routing_vpcs: ::prost::alloc::vec::Vec<RoutingVpc>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutingVpc {
#[prost(string, tag = "1")]
pub uri: ::prost::alloc::string::String,
#[prost(bool, tag = "2")]
pub required_for_new_site_to_site_data_transfer_spokes: bool,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Spoke {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub create_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag = "3")]
pub update_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(map = "string, string", tag = "4")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub hub: ::prost::alloc::string::String,
#[prost(message, optional, tag = "17")]
pub linked_vpn_tunnels: ::core::option::Option<LinkedVpnTunnels>,
#[prost(message, optional, tag = "18")]
pub linked_interconnect_attachments: ::core::option::Option<
LinkedInterconnectAttachments,
>,
#[prost(message, optional, tag = "19")]
pub linked_router_appliance_instances: ::core::option::Option<
LinkedRouterApplianceInstances,
>,
#[prost(string, tag = "11")]
pub unique_id: ::prost::alloc::string::String,
#[prost(enumeration = "State", tag = "15")]
pub state: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LinkedVpnTunnels {
#[prost(string, repeated, tag = "1")]
pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "2")]
pub site_to_site_data_transfer: bool,
#[prost(string, tag = "3")]
pub vpc_network: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LinkedInterconnectAttachments {
#[prost(string, repeated, tag = "1")]
pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "2")]
pub site_to_site_data_transfer: bool,
#[prost(string, tag = "3")]
pub vpc_network: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LinkedRouterApplianceInstances {
#[prost(message, repeated, tag = "1")]
pub instances: ::prost::alloc::vec::Vec<RouterApplianceInstance>,
#[prost(bool, tag = "2")]
pub site_to_site_data_transfer: bool,
#[prost(string, tag = "3")]
pub vpc_network: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterApplianceInstance {
#[prost(string, tag = "1")]
pub virtual_machine: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub ip_address: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceClassEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<ServiceClass>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionTokenEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<ServiceConnectionToken>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionMapEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<ServiceConnectionMap>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HubEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<Hub>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SpokeEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<Spoke>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionPolicyEventData {
#[prost(message, optional, tag = "1")]
pub payload: ::core::option::Option<ServiceConnectionPolicy>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Infrastructure {
Unspecified = 0,
Psc = 1,
}
impl Infrastructure {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INFRASTRUCTURE_UNSPECIFIED",
Self::Psc => "PSC",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INFRASTRUCTURE_UNSPECIFIED" => Some(Self::Unspecified),
"PSC" => Some(Self::Psc),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ConnectionErrorType {
Unspecified = 0,
ErrorInternal = 1,
ErrorConsumerSide = 2,
ErrorProducerSide = 3,
}
impl ConnectionErrorType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "CONNECTION_ERROR_TYPE_UNSPECIFIED",
Self::ErrorInternal => "ERROR_INTERNAL",
Self::ErrorConsumerSide => "ERROR_CONSUMER_SIDE",
Self::ErrorProducerSide => "ERROR_PRODUCER_SIDE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"CONNECTION_ERROR_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"ERROR_INTERNAL" => Some(Self::ErrorInternal),
"ERROR_CONSUMER_SIDE" => Some(Self::ErrorConsumerSide),
"ERROR_PRODUCER_SIDE" => Some(Self::ErrorProducerSide),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum State {
Unspecified = 0,
Creating = 1,
Active = 2,
Deleting = 3,
Updating = 6,
}
impl State {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "STATE_UNSPECIFIED",
Self::Creating => "CREATING",
Self::Active => "ACTIVE",
Self::Deleting => "DELETING",
Self::Updating => "UPDATING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STATE_UNSPECIFIED" => Some(Self::Unspecified),
"CREATING" => Some(Self::Creating),
"ACTIVE" => Some(Self::Active),
"DELETING" => Some(Self::Deleting),
"UPDATING" => Some(Self::Updating),
_ => None,
}
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionMapCreatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionMapEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionMapUpdatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionMapEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionMapDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionMapEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionPolicyCreatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionPolicyEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionPolicyUpdatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionPolicyEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionPolicyDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionPolicyEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceClassUpdatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceClassEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceClassDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceClassEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionTokenCreatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionTokenEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceConnectionTokenDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<ServiceConnectionTokenEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HubCreatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<HubEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HubUpdatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<HubEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HubDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<HubEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SpokeCreatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<SpokeEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SpokeUpdatedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<SpokeEventData>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(default)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SpokeDeletedEvent {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<SpokeEventData>,
}