Class: Google::Apis::BeyondcorpV1alpha::ConnectorInstanceConfig

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

ConnectorInstanceConfig defines the instance config of a connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorInstanceConfig

Returns a new instance of ConnectorInstanceConfig.



674
675
676
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 674

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

Instance Attribute Details

#image_configGoogle::Apis::BeyondcorpV1alpha::ImageConfig

ImageConfig defines the control plane images to run. Corresponds to the JSON property imageConfig



655
656
657
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 655

def image_config
  @image_config
end

#instance_configHash<String,Object>

The SLM instance agent configuration. Corresponds to the JSON property instanceConfig

Returns:

  • (Hash<String,Object>)


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

def instance_config
  @instance_config
end

#notification_configGoogle::Apis::BeyondcorpV1alpha::NotificationConfig

NotificationConfig defines the mechanisms to notify instance agent. Corresponds to the JSON property notificationConfig



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

def notification_config
  @notification_config
end

#sequence_numberFixnum

Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change. Corresponds to the JSON property sequenceNumber

Returns:

  • (Fixnum)


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

def sequence_number
  @sequence_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



679
680
681
682
683
684
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 679

def update!(**args)
  @image_config = args[:image_config] if args.key?(:image_config)
  @instance_config = args[:instance_config] if args.key?(:instance_config)
  @notification_config = args[:notification_config] if args.key?(:notification_config)
  @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
end