class Google::Apis::DatamigrationV1beta1::ConnectionProfile
A connection profile definition.
Attributes
Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance. Corresponds to the JSON property `cloudsql` @return [Google::Apis::DatamigrationV1beta1::CloudSqlConnectionProfile]
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01: 23.045123456Z”. Corresponds to the JSON property `createTime` @return [String]
The connection profile display name. Corresponds to the JSON property `displayName` @return [String]
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::DatamigrationV1beta1::Status]
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of “key”: “value” pairs. Example: “ “name”: “wrench”, “mass”: “1.3kg”, “count” : “3” “. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Specifies connection parameters required specifically for MySQL databases. Corresponds to the JSON property `mysql` @return [Google::Apis::DatamigrationV1beta1::MySqlConnectionProfile]
The name of this connection profile resource in the form of projects/`project`/ locations/`location`/connectionProfiles/`connectionProfile`. Corresponds to the JSON property `name` @return [String]
The database provider. Corresponds to the JSON property `provider` @return [String]
The current connection profile state (e.g. DRAFT, READY, or FAILED). Corresponds to the JSON property `state` @return [String]
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”. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 406 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 411 def update!(**args) @cloudsql = args[:cloudsql] if args.key?(:cloudsql) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @error = args[:error] if args.key?(:error) @labels = args[:labels] if args.key?(:labels) @mysql = args[:mysql] if args.key?(:mysql) @name = args[:name] if args.key?(:name) @provider = args[:provider] if args.key?(:provider) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end