Reference documentation and code samples for the Telco Automation V1 API class Google::Cloud::TelcoAutomation::V1::File.
File represents a yaml file present in a blueprint's package.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — Optional. The contents of a file in string format.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Optional. The contents of a file in string format.
Returns
- (::String) — Optional. The contents of a file in string format.
#deleted
def deleted() -> ::Boolean
Returns
- (::Boolean) — Optional. Signifies whether a file is marked for deletion.
#deleted=
def deleted=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Signifies whether a file is marked for deletion.
Returns
- (::Boolean) — Optional. Signifies whether a file is marked for deletion.
#editable
def editable() -> ::Boolean
Returns
- (::Boolean) — Optional. Indicates whether changes are allowed to a file. If the field is not set, the file cannot be edited.
#editable=
def editable=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Indicates whether changes are allowed to a file. If the field is not set, the file cannot be edited.
Returns
- (::Boolean) — Optional. Indicates whether changes are allowed to a file. If the field is not set, the file cannot be edited.
#path
def path() -> ::String
Returns
-
(::String) — Required. Path of the file in package.
e.g.
gdce/v1/cluster.yaml
#path=
def path=(value) -> ::String
Parameter
-
value (::String) — Required. Path of the file in package.
e.g.
gdce/v1/cluster.yaml
Returns
-
(::String) — Required. Path of the file in package.
e.g.
gdce/v1/cluster.yaml