Class: Google::Apis::ConnectorsV1::CustomConnector

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

CustomConnector represents the custom connector defined by the customer as part of byoc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomConnector

Returns a new instance of CustomConnector.



1202
1203
1204
# File 'lib/google/apis/connectors_v1/classes.rb', line 1202

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Created time. Corresponds to the JSON property createTime

Returns:

  • (String)


1162
1163
1164
# File 'lib/google/apis/connectors_v1/classes.rb', line 1162

def create_time
  @create_time
end

#custom_connector_typeString

Required. Type of the custom connector. Corresponds to the JSON property customConnectorType

Returns:

  • (String)


1167
1168
1169
# File 'lib/google/apis/connectors_v1/classes.rb', line 1167

def custom_connector_type
  @custom_connector_type
end

#descriptionString

Optional. Description of the resource. Corresponds to the JSON property description

Returns:

  • (String)


1172
1173
1174
# File 'lib/google/apis/connectors_v1/classes.rb', line 1172

def description
  @description
end

#display_nameString

Optional. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


1177
1178
1179
# File 'lib/google/apis/connectors_v1/classes.rb', line 1177

def display_name
  @display_name
end

#labelsHash<String,String>

Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/ docs/labeling-resources Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1184
1185
1186
# File 'lib/google/apis/connectors_v1/classes.rb', line 1184

def labels
  @labels
end

#logoString

Optional. Logo of the resource. Corresponds to the JSON property logo

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/connectors_v1/classes.rb', line 1189

def 
  @logo
end

#nameString

Identifier. Resource name of the CustomConnector. Format: projects/project/ locations/location/customConnectors/connector Corresponds to the JSON property name

Returns:

  • (String)


1195
1196
1197
# File 'lib/google/apis/connectors_v1/classes.rb', line 1195

def name
  @name
end

#update_timeString

Output only. Updated time. Corresponds to the JSON property updateTime

Returns:

  • (String)


1200
1201
1202
# File 'lib/google/apis/connectors_v1/classes.rb', line 1200

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'lib/google/apis/connectors_v1/classes.rb', line 1207

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @labels = args[:labels] if args.key?(:labels)
  @logo = args[:logo] if args.key?(:logo)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end