Class: Google::Apis::BeyondcorpV1alpha::Connector
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::Connector
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
A BeyondCorp connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#principal_info ⇒ Google::Apis::BeyondcorpV1alpha::PrincipalInfo
PrincipalInfo represents an Identity oneof.
-
#resource_info ⇒ Google::Apis::BeyondcorpV1alpha::ResourceInfo
ResourceInfo represents the information/status of the associated resource.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Connector
constructor
A new instance of Connector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Connector
Returns a new instance of Connector.
870 871 872 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when the resource was created.
Corresponds to the JSON property createTime
826 827 828 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 826 def create_time @create_time end |
#display_name ⇒ String
Optional. An arbitrary user-provided name for the connector. Cannot exceed 64
characters.
Corresponds to the JSON property displayName
832 833 834 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 832 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
837 838 839 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 837 def labels @labels end |
#name ⇒ String
Required. Unique resource name of the connector. The name is ignored when
creating a connector.
Corresponds to the JSON property name
843 844 845 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 843 def name @name end |
#principal_info ⇒ Google::Apis::BeyondcorpV1alpha::PrincipalInfo
PrincipalInfo represents an Identity oneof.
Corresponds to the JSON property principalInfo
848 849 850 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 848 def principal_info @principal_info end |
#resource_info ⇒ Google::Apis::BeyondcorpV1alpha::ResourceInfo
ResourceInfo represents the information/status of the associated resource.
Corresponds to the JSON property resourceInfo
853 854 855 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 853 def resource_info @resource_info end |
#state ⇒ String
Output only. The current state of the connector.
Corresponds to the JSON property state
858 859 860 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 858 def state @state end |
#uid ⇒ String
Output only. A unique identifier for the instance generated by the system.
Corresponds to the JSON property uid
863 864 865 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 863 def uid @uid end |
#update_time ⇒ String
Output only. Timestamp when the resource was last modified.
Corresponds to the JSON property updateTime
868 869 870 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 868 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 875 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @principal_info = args[:principal_info] if args.key?(:principal_info) @resource_info = args[:resource_info] if args.key?(:resource_info) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |