Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A source to be mounted into the environment.
Instance Attribute Summary collapse
-
#content ⇒ String
The inline content if
typeisINLINE. -
#encoding ⇒ String
Optional encoding for inline content (e.g.
base64). -
#source ⇒ String
The source of the environment.
-
#target ⇒ String
Where the source should appear in the environment.
-
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1EnvironmentConfigSource
constructor
A new instance of GenaiVertexV1beta1EnvironmentConfigSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1EnvironmentConfigSource
Returns a new instance of GenaiVertexV1beta1EnvironmentConfigSource.
1925 1926 1927 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1925 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The inline content if type is INLINE.
Corresponds to the JSON property content
1902 1903 1904 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1902 def content @content end |
#encoding ⇒ String
Optional encoding for inline content (e.g. base64).
Corresponds to the JSON property encoding
1907 1908 1909 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1907 def encoding @encoding end |
#source ⇒ String
The source of the environment. For GCS, this is the GCS path. For GitHub, this
is the GitHub path.
Corresponds to the JSON property source
1913 1914 1915 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1913 def source @source end |
#target ⇒ String
Where the source should appear in the environment.
Corresponds to the JSON property target
1918 1919 1920 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1918 def target @target end |
#type ⇒ String
Corresponds to the JSON property type
1923 1924 1925 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1923 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1930 1931 1932 1933 1934 1935 1936 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1930 def update!(**args) @content = args[:content] if args.key?(:content) @encoding = args[:encoding] if args.key?(:encoding) @source = args[:source] if args.key?(:source) @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) end |