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.



859
860
861
# File 'lib/google/apis/connectors_v1/classes.rb', line 859

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


803
804
805
# File 'lib/google/apis/connectors_v1/classes.rb', line 803

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/connectors_v1/classes.rb', line 808

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


813
814
815
# File 'lib/google/apis/connectors_v1/classes.rb', line 813

def display_name
  @display_name
end

#documentation_uriString

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

Returns:

  • (String)


818
819
820
# File 'lib/google/apis/connectors_v1/classes.rb', line 818

def documentation_uri
  @documentation_uri
end

#eventing_detailsGoogle::Apis::ConnectorsV1::EventingDetails

Eventing Details message. Corresponds to the JSON property eventingDetails



823
824
825
# File 'lib/google/apis/connectors_v1/classes.rb', line 823

def eventing_details
  @eventing_details
end

#external_uriString

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

Returns:

  • (String)


828
829
830
# File 'lib/google/apis/connectors_v1/classes.rb', line 828

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


835
836
837
# File 'lib/google/apis/connectors_v1/classes.rb', line 835

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)


840
841
842
# File 'lib/google/apis/connectors_v1/classes.rb', line 840

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)


847
848
849
# File 'lib/google/apis/connectors_v1/classes.rb', line 847

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


852
853
854
# File 'lib/google/apis/connectors_v1/classes.rb', line 852

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)


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

def web_assets_location
  @web_assets_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



864
865
866
867
868
869
870
871
872
873
874
875
876
# File 'lib/google/apis/connectors_v1/classes.rb', line 864

def update!(**args)
  @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)
  @update_time = args[:update_time] if args.key?(:update_time)
  @web_assets_location = args[:web_assets_location] if args.key?(:web_assets_location)
end