Class: Google::Cloud::ApiGateway::V1::ApiConfig::File

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/apigateway/v1/apigateway.rb

Overview

A lightweight description of a file.

Instance Attribute Summary collapse

Instance Attribute Details

#contents::String

Returns The bytes that constitute the file.

Returns:

  • (::String)

    The bytes that constitute the file.



157
158
159
160
# File 'proto_docs/google/cloud/apigateway/v1/apigateway.rb', line 157

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#path::String

Returns The file path (full or relative path). This is typically the path of the file when it is uploaded.

Returns:

  • (::String)

    The file path (full or relative path). This is typically the path of the file when it is uploaded.



157
158
159
160
# File 'proto_docs/google/cloud/apigateway/v1/apigateway.rb', line 157

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end