Class: Google::Apis::ConnectorsV1::Connector

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

Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Connector

Returns a new instance of Connector.



1140
1141
1142
# File 'lib/google/apis/connectors_v1/classes.rb', line 1140

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

Instance Attribute Details

#categoryString

Output only. Category of the connector. Corresponds to the JSON property category

Returns:

  • (String)


1064
1065
1066
# File 'lib/google/apis/connectors_v1/classes.rb', line 1064

def category
  @category
end

#connector_typeString

Output only. The type of the connector. Corresponds to the JSON property connectorType

Returns:

  • (String)


1069
1070
1071
# File 'lib/google/apis/connectors_v1/classes.rb', line 1069

def connector_type
  @connector_type
end

#create_timeString

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

Returns:

  • (String)


1074
1075
1076
# File 'lib/google/apis/connectors_v1/classes.rb', line 1074

def create_time
  @create_time
end

#descriptionString

Output only. Description of the resource. Corresponds to the JSON property description

Returns:

  • (String)


1079
1080
1081
# File 'lib/google/apis/connectors_v1/classes.rb', line 1079

def description
  @description
end

#display_nameString

Output only. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


1084
1085
1086
# File 'lib/google/apis/connectors_v1/classes.rb', line 1084

def display_name
  @display_name
end

#documentation_uriString

Output only. Link to documentation page. Corresponds to the JSON property documentationUri

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/connectors_v1/classes.rb', line 1089

def documentation_uri
  @documentation_uri
end

#eventing_detailsGoogle::Apis::ConnectorsV1::EventingDetails

Eventing Details message. Corresponds to the JSON property eventingDetails



1094
1095
1096
# File 'lib/google/apis/connectors_v1/classes.rb', line 1094

def eventing_details
  @eventing_details
end

#external_uriString

Output only. Link to external page. Corresponds to the JSON property externalUri

Returns:

  • (String)


1099
1100
1101
# File 'lib/google/apis/connectors_v1/classes.rb', line 1099

def external_uri
  @external_uri
end

#labelsHash<String,String>

Output only. 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>)


1106
1107
1108
# File 'lib/google/apis/connectors_v1/classes.rb', line 1106

def labels
  @labels
end

#launch_stageString

Output only. Flag to mark the version indicating the launch stage. Corresponds to the JSON property launchStage

Returns:

  • (String)


1111
1112
1113
# File 'lib/google/apis/connectors_v1/classes.rb', line 1111

def launch_stage
  @launch_stage
end

#marketplace_connector_detailsGoogle::Apis::ConnectorsV1::MarketplaceConnectorDetails

Marketplace connector details. Corresponds to the JSON property marketplaceConnectorDetails



1116
1117
1118
# File 'lib/google/apis/connectors_v1/classes.rb', line 1116

def marketplace_connector_details
  @marketplace_connector_details
end

#nameString

Output only. Resource name of the Connector. Format: projects/project/ locations/location/providers/provider/connectors/connector Only global location is supported for Connector resource. Corresponds to the JSON property name

Returns:

  • (String)


1123
1124
1125
# File 'lib/google/apis/connectors_v1/classes.rb', line 1123

def name
  @name
end

#tagsArray<String>

Output only. Tags of the connector. Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1128
1129
1130
# File 'lib/google/apis/connectors_v1/classes.rb', line 1128

def tags
  @tags
end

#update_timeString

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

Returns:

  • (String)


1133
1134
1135
# File 'lib/google/apis/connectors_v1/classes.rb', line 1133

def update_time
  @update_time
end

#web_assets_locationString

Output only. Cloud storage location of icons etc consumed by UI. Corresponds to the JSON property webAssetsLocation

Returns:

  • (String)


1138
1139
1140
# File 'lib/google/apis/connectors_v1/classes.rb', line 1138

def web_assets_location
  @web_assets_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
# File 'lib/google/apis/connectors_v1/classes.rb', line 1145

def update!(**args)
  @category = args[:category] if args.key?(:category)
  @connector_type = args[:connector_type] if args.key?(:connector_type)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
  @eventing_details = args[:eventing_details] if args.key?(:eventing_details)
  @external_uri = args[:external_uri] if args.key?(:external_uri)
  @labels = args[:labels] if args.key?(:labels)
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
  @marketplace_connector_details = args[:marketplace_connector_details] if args.key?(:marketplace_connector_details)
  @name = args[:name] if args.key?(:name)
  @tags = args[:tags] if args.key?(:tags)
  @update_time = args[:update_time] if args.key?(:update_time)
  @web_assets_location = args[:web_assets_location] if args.key?(:web_assets_location)
end