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
-
#active_connector_versions ⇒ Array<String>
Output only.
-
#all_connector_versions ⇒ Array<String>
Output only.
-
#all_marketplace_versions ⇒ Array<String>
Output only.
-
#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.
-
#published_marketplace_versions ⇒ Array<String>
Output only.
-
#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.
1621 1622 1623 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_connector_versions ⇒ Array<String>
Output only. Active connector versions.
Corresponds to the JSON property activeConnectorVersions
1561 1562 1563 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1561 def active_connector_versions @active_connector_versions end |
#all_connector_versions ⇒ Array<String>
Output only. All connector versions.
Corresponds to the JSON property allConnectorVersions
1566 1567 1568 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1566 def all_connector_versions @all_connector_versions end |
#all_marketplace_versions ⇒ Array<String>
Output only. All marketplace versions.
Corresponds to the JSON property allMarketplaceVersions
1571 1572 1573 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1571 def all_marketplace_versions @all_marketplace_versions end |
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
1576 1577 1578 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1576 def create_time @create_time end |
#custom_connector_type ⇒ String
Required. Type of the custom connector.
Corresponds to the JSON property customConnectorType
1581 1582 1583 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1581 def custom_connector_type @custom_connector_type end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
1586 1587 1588 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1586 def description @description end |
#display_name ⇒ String
Optional. Display name.
Corresponds to the JSON property displayName
1591 1592 1593 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1591 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
1598 1599 1600 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1598 def labels @labels end |
#logo ⇒ String
Optional. Logo of the resource.
Corresponds to the JSON property logo
1603 1604 1605 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1603 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
1609 1610 1611 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1609 def name @name end |
#published_marketplace_versions ⇒ Array<String>
Output only. Published marketplace versions.
Corresponds to the JSON property publishedMarketplaceVersions
1614 1615 1616 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1614 def published_marketplace_versions @published_marketplace_versions end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
1619 1620 1621 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1619 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1626 def update!(**args) @active_connector_versions = args[:active_connector_versions] if args.key?(:active_connector_versions) @all_connector_versions = args[:all_connector_versions] if args.key?(:all_connector_versions) @all_marketplace_versions = args[:all_marketplace_versions] if args.key?(:all_marketplace_versions) @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) @published_marketplace_versions = args[:published_marketplace_versions] if args.key?(:published_marketplace_versions) @update_time = args[:update_time] if args.key?(:update_time) end |