make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent 8fc78fe0ae
commit c356d5fd0e
887 changed files with 9716 additions and 8753 deletions

View File

@@ -30,3 +30,6 @@ pub use method_builders::*;
mod call_builders;
pub use call_builders::*;
mod enums;
pub use enums::*;

View File

@@ -101,7 +101,7 @@ pub struct AuditLogConfig {
/// The log type that this config enables.
#[serde(rename="logType")]
pub log_type: Option<String>,
pub log_type: Option<AuditLogConfigLogTypeEnum>,
}
impl client::Part for AuditLogConfig {}
@@ -121,7 +121,7 @@ pub struct BackgroundJobLogEntry {
/// Job completion state, i.e. the final state after the job completed.
#[serde(rename="completionState")]
pub completion_state: Option<String>,
pub completion_state: Option<BackgroundJobLogEntryCompletionStateEnum>,
/// The timestamp when the background job was finished.
#[serde(rename="finishTime")]
@@ -136,7 +136,7 @@ pub struct BackgroundJobLogEntry {
/// The type of job that was executed.
#[serde(rename="jobType")]
pub job_type: Option<String>,
pub job_type: Option<BackgroundJobLogEntryJobTypeEnum>,
/// Whether the client requested the conversion workspace to be committed after a successful completion of the job.
#[serde(rename="requestAutocommit")]
@@ -231,7 +231,7 @@ pub struct CloudSqlSettings {
/// The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
#[serde(rename="activationPolicy")]
pub activation_policy: Option<String>,
pub activation_policy: Option<CloudSqlSettingActivationPolicyEnum>,
/// [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
#[serde(rename="autoStorageIncrease")]
@@ -239,7 +239,7 @@ pub struct CloudSqlSettings {
/// Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
#[serde(rename="availabilityType")]
pub availability_type: Option<String>,
pub availability_type: Option<CloudSqlSettingAvailabilityTypeEnum>,
/// The KMS key name used for the csql instance.
#[serde(rename="cmekKeyName")]
@@ -255,7 +255,7 @@ pub struct CloudSqlSettings {
/// The type of storage: `PD_SSD` (default) or `PD_HDD`.
#[serde(rename="dataDiskType")]
pub data_disk_type: Option<String>,
pub data_disk_type: Option<CloudSqlSettingDataDiskTypeEnum>,
/// The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
#[serde(rename="databaseFlags")]
@@ -263,7 +263,7 @@ pub struct CloudSqlSettings {
/// The database engine type and version.
#[serde(rename="databaseVersion")]
pub database_version: Option<String>,
pub database_version: Option<CloudSqlSettingDatabaseVersionEnum>,
/// The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
#[serde(rename="ipConfig")]
@@ -446,10 +446,10 @@ pub struct ConnectionProfile {
pub postgresql: Option<PostgreSqlConnectionProfile>,
/// The database provider.
pub provider: Option<String>,
pub provider: Option<ConnectionProfileProviderEnum>,
/// The current connection profile state (e.g. DRAFT, READY, or FAILED).
pub state: Option<String>,
pub state: Option<ConnectionProfileStateEnum>,
/// Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
#[serde(rename="updateTime")]
@@ -606,7 +606,7 @@ impl client::RequestValue for ConvertConversionWorkspaceRequest {}
pub struct DatabaseEngineInfo {
/// Required. Engine Type.
pub engine: Option<String>,
pub engine: Option<DatabaseEngineInfoEngineEnum>,
/// Required. Engine named version, for e.g. 12.c.1
pub version: Option<String>,
@@ -633,7 +633,7 @@ pub struct DatabaseEntity {
/// The type of the database entity (table, view, index, ...).
#[serde(rename="entityType")]
pub entity_type: Option<String>,
pub entity_type: Option<DatabaseEntityEntityTypeEnum>,
/// Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.
pub mappings: Option<Vec<EntityMapping>>,
@@ -663,7 +663,7 @@ pub struct DatabaseEntity {
pub table: Option<TableEntity>,
/// The type of tree the entity belongs to.
pub tree: Option<String>,
pub tree: Option<DatabaseEntityTreeEnum>,
/// View
pub view: Option<ViewEntity>,
@@ -681,10 +681,10 @@ impl client::Part for DatabaseEntity {}
pub struct DatabaseType {
/// The database engine.
pub engine: Option<String>,
pub engine: Option<DatabaseTypeEngineEnum>,
/// The database provider.
pub provider: Option<String>,
pub provider: Option<DatabaseTypeProviderEnum>,
}
impl client::Part for DatabaseType {}
@@ -956,7 +956,7 @@ pub struct ImportMappingRulesRequest {
/// The format of the rules content file.
#[serde(rename="rulesFormat")]
pub rules_format: Option<String>,
pub rules_format: Option<ImportMappingRulesRequestRulesFormatEnum>,
}
impl client::RequestValue for ImportMappingRulesRequest {}
@@ -972,7 +972,7 @@ pub struct ImportRulesJobDetails {
/// The requested file format
#[serde(rename="fileFormat")]
pub file_format: Option<String>,
pub file_format: Option<ImportRulesJobDetailFileFormatEnum>,
/// File names used for the import rules job
pub files: Option<Vec<String>>,
@@ -1276,7 +1276,7 @@ pub struct MigrationJob {
pub name: Option<String>,
/// Output only. The current migration job phase.
pub phase: Option<String>,
pub phase: Option<MigrationJobPhaseEnum>,
/// The details needed to communicate to the source over Reverse SSH tunnel connectivity.
#[serde(rename="reverseSshConnectivity")]
@@ -1290,7 +1290,7 @@ pub struct MigrationJob {
pub source_database: Option<DatabaseType>,
/// The current migration job state.
pub state: Option<String>,
pub state: Option<MigrationJobStateEnum>,
/// static ip connectivity data (default, no additional details needed).
#[serde(rename="staticIpConnectivity")]
@@ -1298,7 +1298,7 @@ pub struct MigrationJob {
/// Required. The migration job type.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<MigrationJobTypeEnum>,
/// Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
#[serde(rename="updateTime")]
@@ -1520,7 +1520,7 @@ pub struct PostgreSqlConnectionProfile {
/// Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
#[serde(rename="networkArchitecture")]
pub network_architecture: Option<String>,
pub network_architecture: Option<PostgreSqlConnectionProfileNetworkArchitectureEnum>,
/// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
pub password: Option<String>,
@@ -1611,7 +1611,7 @@ pub struct PrivateConnection {
pub name: Option<String>,
/// Output only. The state of the Private Connection.
pub state: Option<String>,
pub state: Option<PrivateConnectionStateEnum>,
/// Output only. The last update time of the resource.
#[serde(rename="updateTime")]
@@ -2004,7 +2004,7 @@ pub struct SslConfig {
/// Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<SslConfigTypeEnum>,
}
impl client::Part for SslConfig {}
@@ -2121,7 +2121,7 @@ pub struct SynonymEntity {
/// The type of the entity for which the synonym is being created (usually a table or a sequence)
#[serde(rename="sourceType")]
pub source_type: Option<String>,
pub source_type: Option<SynonymEntitySourceTypeEnum>,
}
impl client::Part for SynonymEntity {}