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.



672
673
674
# File 'lib/google/apis/connectors_v1/classes.rb', line 672

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


621
622
623
# File 'lib/google/apis/connectors_v1/classes.rb', line 621

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


626
627
628
# File 'lib/google/apis/connectors_v1/classes.rb', line 626

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


631
632
633
# File 'lib/google/apis/connectors_v1/classes.rb', line 631

def display_name
  @display_name
end

#documentation_uriString

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

Returns:

  • (String)


636
637
638
# File 'lib/google/apis/connectors_v1/classes.rb', line 636

def documentation_uri
  @documentation_uri
end

#external_uriString

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

Returns:

  • (String)


641
642
643
# File 'lib/google/apis/connectors_v1/classes.rb', line 641

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


648
649
650
# File 'lib/google/apis/connectors_v1/classes.rb', line 648

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)


653
654
655
# File 'lib/google/apis/connectors_v1/classes.rb', line 653

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)


660
661
662
# File 'lib/google/apis/connectors_v1/classes.rb', line 660

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


665
666
667
# File 'lib/google/apis/connectors_v1/classes.rb', line 665

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)


670
671
672
# File 'lib/google/apis/connectors_v1/classes.rb', line 670

def web_assets_location
  @web_assets_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



677
678
679
680
681
682
683
684
685
686
687
688
# File 'lib/google/apis/connectors_v1/classes.rb', line 677

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