Class: Google::Cloud::ServiceManagement::V1::ConfigFile
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceManagement::V1::ConfigFile
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/servicemanagement/v1/resources.rb
Overview
Generic specification of a source configuration file
Defined Under Namespace
Modules: FileType
Instance Attribute Summary collapse
-
#file_contents ⇒ ::String
The bytes that constitute the file.
-
#file_path ⇒ ::String
The file name of the configuration file (full or relative path).
-
#file_type ⇒ ::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType
The type of configuration file this represents.
Instance Attribute Details
#file_contents ⇒ ::String
Returns The bytes that constitute the file.
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 142 class ConfigFile include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module FileType # Unknown file type. FILE_TYPE_UNSPECIFIED = 0 # YAML-specification of service. SERVICE_CONFIG_YAML = 1 # OpenAPI specification, serialized in JSON. OPEN_API_JSON = 2 # OpenAPI specification, serialized in YAML. OPEN_API_YAML = 3 # FileDescriptorSet, generated by protoc. # # To generate, use protoc with imports and source info included. # For an example test.proto file, the following command would put the value # in a new file named out.pb. # # $protoc --include_imports --include_source_info test.proto -o out.pb FILE_DESCRIPTOR_SET_PROTO = 4 # Uncompiled Proto file. Used for storage and display purposes only, # currently server-side compilation is not supported. Should match the # inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A # file of this type can only be included if at least one file of type # FILE_DESCRIPTOR_SET_PROTO is included. PROTO_FILE = 6 end end |
#file_path ⇒ ::String
Returns The file name of the configuration file (full or relative path).
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 142 class ConfigFile include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module FileType # Unknown file type. FILE_TYPE_UNSPECIFIED = 0 # YAML-specification of service. SERVICE_CONFIG_YAML = 1 # OpenAPI specification, serialized in JSON. OPEN_API_JSON = 2 # OpenAPI specification, serialized in YAML. OPEN_API_YAML = 3 # FileDescriptorSet, generated by protoc. # # To generate, use protoc with imports and source info included. # For an example test.proto file, the following command would put the value # in a new file named out.pb. # # $protoc --include_imports --include_source_info test.proto -o out.pb FILE_DESCRIPTOR_SET_PROTO = 4 # Uncompiled Proto file. Used for storage and display purposes only, # currently server-side compilation is not supported. Should match the # inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A # file of this type can only be included if at least one file of type # FILE_DESCRIPTOR_SET_PROTO is included. PROTO_FILE = 6 end end |
#file_type ⇒ ::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType
Returns The type of configuration file this represents.
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 142 class ConfigFile include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module FileType # Unknown file type. FILE_TYPE_UNSPECIFIED = 0 # YAML-specification of service. SERVICE_CONFIG_YAML = 1 # OpenAPI specification, serialized in JSON. OPEN_API_JSON = 2 # OpenAPI specification, serialized in YAML. OPEN_API_YAML = 3 # FileDescriptorSet, generated by protoc. # # To generate, use protoc with imports and source info included. # For an example test.proto file, the following command would put the value # in a new file named out.pb. # # $protoc --include_imports --include_source_info test.proto -o out.pb FILE_DESCRIPTOR_SET_PROTO = 4 # Uncompiled Proto file. Used for storage and display purposes only, # currently server-side compilation is not supported. Should match the # inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A # file of this type can only be included if at least one file of type # FILE_DESCRIPTOR_SET_PROTO is included. PROTO_FILE = 6 end end |