google_api_sql_admin v0.25.0 GoogleApi.SQLAdmin.V1beta4.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
Reschedules the maintenance on the given instance.
Start External master migration.
Verify External master external sync settings.
Link to this section Functions
Link to this function
sql_projects_instances_reschedule_maintenance(connection, project, instance, optional_params \\ [], opts \\ [])
View Sourcesql_projects_instances_reschedule_maintenance( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SQLAdmin.V1beta4.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Reschedules the maintenance on the given instance.
Parameters
connection
(type:GoogleApi.SQLAdmin.V1beta4.Connection.t
) - Connection to serverproject
(type:String.t
) - ID of the project that contains the instance.instance
(type:String.t
) - Cloud SQL instance ID. This does not include the project ID.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.SQLAdmin.V1beta4.Model.SqlInstancesRescheduleMaintenanceRequestBody.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SQLAdmin.V1beta4.Model.Operation{}}
on success{:error, info}
on failure
Link to this function
sql_projects_instances_start_external_sync(connection, project, instance, optional_params \\ [], opts \\ [])
View Sourcesql_projects_instances_start_external_sync( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SQLAdmin.V1beta4.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Start External master migration.
Parameters
connection
(type:GoogleApi.SQLAdmin.V1beta4.Connection.t
) - Connection to serverproject
(type:String.t
) - ID of the project that contains the first generation instance.instance
(type:String.t
) - Cloud SQL instance ID. This does not include the project ID.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:syncMode
(type:String.t
) - External sync mode
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SQLAdmin.V1beta4.Model.Operation{}}
on success{:error, info}
on failure
Link to this function
sql_projects_instances_verify_external_sync_settings(connection, project, instance, optional_params \\ [], opts \\ [])
View Sourcesql_projects_instances_verify_external_sync_settings( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SQLAdmin.V1beta4.Model.SqlInstancesVerifyExternalSyncSettingsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Verify External master external sync settings.
Parameters
connection
(type:GoogleApi.SQLAdmin.V1beta4.Connection.t
) - Connection to serverproject
(type:String.t
) - Project ID of the project that contains the instance.instance
(type:String.t
) - Cloud SQL instance ID. This does not include the project ID.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:syncMode
(type:String.t
) - External sync mode:verifyConnectionOnly
(type:boolean()
) - Flag to enable verifying connection only
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SQLAdmin.V1beta4.Model.SqlInstancesVerifyExternalSyncSettingsResponse{}}
on success{:error, info}
on failure