Class: Google::Apis::BeyondcorpV1alpha::Connection
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::Connection
- 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 Connection resource represents a BeyondCorp protected connection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected connection. Multiple connectors can be authorised for a single Connection.
Instance Attribute Summary collapse
-
#application_endpoint ⇒ Google::Apis::BeyondcorpV1alpha::ApplicationEndpoint
ApplicationEndpoint represents a remote application endpoint.
-
#connectors ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#gateway ⇒ Google::Apis::BeyondcorpV1alpha::Gateway
Gateway represents a user facing component that serves as an entrance to enable connectivity.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Connection
constructor
A new instance of Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Connection
Returns a new instance of Connection.
466 467 468 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_endpoint ⇒ Google::Apis::BeyondcorpV1alpha::ApplicationEndpoint
ApplicationEndpoint represents a remote application endpoint.
Corresponds to the JSON property applicationEndpoint
410 411 412 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 410 def application_endpoint @application_endpoint end |
#connectors ⇒ Array<String>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are
authorised to be associated with this Connection.
Corresponds to the JSON property connectors
416 417 418 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 416 def connectors @connectors end |
#create_time ⇒ String
Output only. Timestamp when the resource was created.
Corresponds to the JSON property createTime
421 422 423 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 421 def create_time @create_time end |
#display_name ⇒ String
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64
characters.
Corresponds to the JSON property displayName
427 428 429 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 427 def display_name @display_name end |
#gateway ⇒ Google::Apis::BeyondcorpV1alpha::Gateway
Gateway represents a user facing component that serves as an entrance to
enable connectivity.
Corresponds to the JSON property gateway
433 434 435 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 433 def gateway @gateway end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
438 439 440 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 438 def labels @labels end |
#name ⇒ String
Required. Unique resource name of the connection. The name is ignored when
creating a connection.
Corresponds to the JSON property name
444 445 446 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 444 def name @name end |
#state ⇒ String
Output only. The current state of the connection.
Corresponds to the JSON property state
449 450 451 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 449 def state @state end |
#type ⇒ String
Required. The type of network connectivity used by the connection.
Corresponds to the JSON property type
454 455 456 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 454 def type @type end |
#uid ⇒ String
Output only. A unique identifier for the instance generated by the system.
Corresponds to the JSON property uid
459 460 461 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 459 def uid @uid end |
#update_time ⇒ String
Output only. Timestamp when the resource was last modified.
Corresponds to the JSON property updateTime
464 465 466 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 464 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 471 def update!(**args) @application_endpoint = args[:application_endpoint] if args.key?(:application_endpoint) @connectors = args[:connectors] if args.key?(:connectors) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @gateway = args[:gateway] if args.key?(:gateway) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |