Class: Google::Apis::ConnectorsV1::CustomConnector
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::CustomConnector
- 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
-
#create_time ⇒ String
Output only.
-
#custom_connector_type ⇒ String
Required.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#logo ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomConnector
constructor
A new instance of CustomConnector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomConnector
Returns a new instance of CustomConnector.
1205 1206 1207 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
1165 1166 1167 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1165 def create_time @create_time end |
#custom_connector_type ⇒ String
Required. Type of the custom connector.
Corresponds to the JSON property customConnectorType
1170 1171 1172 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1170 def custom_connector_type @custom_connector_type end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
1175 1176 1177 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1175 def description @description end |
#display_name ⇒ String
Optional. Display name.
Corresponds to the JSON property displayName
1180 1181 1182 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1180 def display_name @display_name end |
#labels ⇒ Hash<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
1187 1188 1189 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1187 def labels @labels end |
#logo ⇒ String
Optional. Logo of the resource.
Corresponds to the JSON property logo
1192 1193 1194 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1192 def logo @logo end |
#name ⇒ String
Identifier. Resource name of the CustomConnector. Format: projects/project/
locations/location/customConnectors/connector
Corresponds to the JSON property name
1198 1199 1200 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1198 def name @name end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
1203 1204 1205 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1203 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1210 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 |