Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ImageConfig
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ImageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb
Overview
ImageConfig defines the control plane images to run.
Instance Attribute Summary collapse
-
#stable_image ⇒ String
The stable image that the remote agent will fallback to if the target image fails.
-
#target_image ⇒ String
The initial image the remote agent will attempt to run for the control plane.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1ImageConfig
constructor
A new instance of GoogleCloudBeyondcorpAppconnectorsV1ImageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1ImageConfig
Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1ImageConfig.
991 992 993 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stable_image ⇒ String
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
983 984 985 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 983 def stable_image @stable_image end |
#target_image ⇒ String
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
989 990 991 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 989 def target_image @target_image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
996 997 998 999 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 996 def update!(**args) @stable_image = args[:stable_image] if args.key?(:stable_image) @target_image = args[:target_image] if args.key?(:target_image) end |