Class: Google::Apis::BeyondcorpV1alpha::ConnectionDetails

Inherits:
Object
  • Object
show all
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

Details of the Connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionDetails

Returns a new instance of ConnectionDetails.



505
506
507
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 505

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

Instance Attribute Details

#connectionGoogle::Apis::BeyondcorpV1alpha::Connection

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. Corresponds to the JSON property connection



496
497
498
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 496

def connection
  @connection
end

#recent_mig_vmsArray<String>

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like "https://www. googleapis.com/compute/v1/projects/project_id/zones/zone_id/instances/ instance_id". Corresponds to the JSON property recentMigVms

Returns:

  • (Array<String>)


503
504
505
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 503

def recent_mig_vms
  @recent_mig_vms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



510
511
512
513
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 510

def update!(**args)
  @connection = args[:connection] if args.key?(:connection)
  @recent_mig_vms = args[:recent_mig_vms] if args.key?(:recent_mig_vms)
end