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.



927
928
929
# File 'lib/google/apis/connectors_v1/classes.rb', line 927

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

Instance Attribute Details

#categoryString

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

Returns:

  • (String)


856
857
858
# File 'lib/google/apis/connectors_v1/classes.rb', line 856

def category
  @category
end

#connector_typeString

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

Returns:

  • (String)


861
862
863
# File 'lib/google/apis/connectors_v1/classes.rb', line 861

def connector_type
  @connector_type
end

#create_timeString

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

Returns:

  • (String)


866
867
868
# File 'lib/google/apis/connectors_v1/classes.rb', line 866

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


871
872
873
# File 'lib/google/apis/connectors_v1/classes.rb', line 871

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


876
877
878
# File 'lib/google/apis/connectors_v1/classes.rb', line 876

def display_name
  @display_name
end

#documentation_uriString

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

Returns:

  • (String)


881
882
883
# File 'lib/google/apis/connectors_v1/classes.rb', line 881

def documentation_uri
  @documentation_uri
end

#eventing_detailsGoogle::Apis::ConnectorsV1::EventingDetails

Eventing Details message. Corresponds to the JSON property eventingDetails



886
887
888
# File 'lib/google/apis/connectors_v1/classes.rb', line 886

def eventing_details
  @eventing_details
end

#external_uriString

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

Returns:

  • (String)


891
892
893
# File 'lib/google/apis/connectors_v1/classes.rb', line 891

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>)


898
899
900
# File 'lib/google/apis/connectors_v1/classes.rb', line 898

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)


903
904
905
# File 'lib/google/apis/connectors_v1/classes.rb', line 903

def launch_stage
  @launch_stage
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)


910
911
912
# File 'lib/google/apis/connectors_v1/classes.rb', line 910

def name
  @name
end

#tagsArray<String>

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

Returns:

  • (Array<String>)


915
916
917
# File 'lib/google/apis/connectors_v1/classes.rb', line 915

def tags
  @tags
end

#update_timeString

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

Returns:

  • (String)


920
921
922
# File 'lib/google/apis/connectors_v1/classes.rb', line 920

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)


925
926
927
# File 'lib/google/apis/connectors_v1/classes.rb', line 925

def web_assets_location
  @web_assets_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
# File 'lib/google/apis/connectors_v1/classes.rb', line 932

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)
  @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