public sealed class ImportClusterRequest : IMessage<ImportClusterRequest>, IEquatable<ImportClusterRequest>, IDeepCloneable<ImportClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class ImportClusterRequest.
Import cluster request.
Implements
IMessageImportClusterRequest, IEquatableImportClusterRequest, IDeepCloneableImportClusterRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AlloyDb.V1AlphaAssembly
Google.Cloud.AlloyDb.V1Alpha.dll
Constructors
ImportClusterRequest()
public ImportClusterRequest()
ImportClusterRequest(ImportClusterRequest)
public ImportClusterRequest(ImportClusterRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportClusterRequest |
Properties
ClusterName
public ClusterName ClusterName { get; set; }
ClusterName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ClusterName |
CsvImportOptions
public ImportClusterRequest.Types.CsvImportOptions CsvImportOptions { get; set; }
Options for importing data in CSV format.
Property Value | |
---|---|
Type | Description |
ImportClusterRequestTypesCsvImportOptions |
Database
public string Database { get; set; }
Optional. Name of the database to which the import will be done.
For import from SQL file, this is required only if the file does not
specify a database.
Note - Value provided should be the same as expected from SELECT
current_database();
and NOT as a resource reference.
Property Value | |
---|---|
Type | Description |
string |
GcsUri
public string GcsUri { get; set; }
Required. The path to the file in Google Cloud Storage where the source
file for import will be stored. The URI is in the form
gs://bucketName/fileName
.
Property Value | |
---|---|
Type | Description |
string |
ImportOptionsCase
public ImportClusterRequest.ImportOptionsOneofCase ImportOptionsCase { get; }
Property Value | |
---|---|
Type | Description |
ImportClusterRequestImportOptionsOneofCase |
Name
public string Name { get; set; }
Required. The resource name of the cluster.
Property Value | |
---|---|
Type | Description |
string |
SqlImportOptions
public ImportClusterRequest.Types.SqlImportOptions SqlImportOptions { get; set; }
Options for importing data in SQL format.
Property Value | |
---|---|
Type | Description |
ImportClusterRequestTypesSqlImportOptions |
User
public string User { get; set; }
Optional. Database user to be used for importing the data.
Note - Value provided should be the same as expected from
SELECT current_user;
and NOT as a resource reference.
Property Value | |
---|---|
Type | Description |
string |