Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFileContent

Inherits:
Object
  • Object
show all
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

Content of a single file in the codebase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1CodeMenderAgentConfigFileContent

Returns a new instance of GenaiVertexV1beta1CodeMenderAgentConfigFileContent.



1463
1464
1465
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1463

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

Instance Attribute Details

#contentString

The UTF-8 encoded text content of the file. Corresponds to the JSON property content

Returns:

  • (String)


1456
1457
1458
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1456

def content
  @content
end

#pathString

The relative path of the file from the project root. Corresponds to the JSON property path

Returns:

  • (String)


1461
1462
1463
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1461

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1468
1469
1470
1471
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1468

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