API Gateway V1 API - Class Google::Cloud::ApiGateway::V1::ApiConfig::File (v0.1.5)

Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::ApiConfig::File.

A lightweight description of a file.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contents

def contents() -> ::String
Returns
  • (::String) — The bytes that constitute the file.

#contents=

def contents=(value) -> ::String
Parameter
  • value (::String) — The bytes that constitute the file.
Returns
  • (::String) — The bytes that constitute the file.

#path

def path() -> ::String
Returns
  • (::String) — The file path (full or relative path). This is typically the path of the file when it is uploaded.

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — 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.