Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::IaCFile.
IaCFile represents a single infrastructure as code file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — Optional. The content of the file. The content of the file can be read and passed as a string. For example, for a Terraform file, the content is the HCL content of the file.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Optional. The content of the file. The content of the file can be read and passed as a string. For example, for a Terraform file, the content is the HCL content of the file.
Returns
- (::String) — Optional. The content of the file. The content of the file can be read and passed as a string. For example, for a Terraform file, the content is the HCL content of the file.
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the file.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the file.
Returns
- (::String) — Required. The name of the file.