Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig

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

ImageConfig defines the control plane images to run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig.



1588
1589
1590
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1588

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

Instance Attribute Details

#stable_imageString

The stable image that the remote agent will fallback to if the target image fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1 Corresponds to the JSON property stableImage

Returns:

  • (String)


1580
1581
1582
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1580

def stable_image
  @stable_image
end

#target_imageString

The initial image the remote agent will attempt to run for the control plane. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1 Corresponds to the JSON property targetImage

Returns:

  • (String)


1586
1587
1588
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1586

def target_image
  @target_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1593
1594
1595
1596
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1593

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