Class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb

Overview

Configuration for sandboxes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2SandboxConfiguration

Returns a new instance of GoogleCloudRunV2SandboxConfiguration.



2911
2912
2913
# File 'lib/google/apis/run_v2/classes.rb', line 2911

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

Instance Attribute Details

#templatesArray<Google::Apis::RunV2::GoogleCloudRunV2Container>

Required. Container templates that can be launched through the sandbox CLI. Corresponds to the JSON property templates



2909
2910
2911
# File 'lib/google/apis/run_v2/classes.rb', line 2909

def templates
  @templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2916
2917
2918
# File 'lib/google/apis/run_v2/classes.rb', line 2916

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