class Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile

A lightweight description of a file.

Attributes

contents[RW]

The bytes that constitute the file. Corresponds to the JSON property `contents` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

path[RW]

The file path (full or relative path). This is typically the path of the file when it is uploaded. Corresponds to the JSON property `path` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigateway_v1beta/classes.rb, line 205
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigateway_v1beta/classes.rb, line 210
def update!(**args)
  @contents = args[:contents] if args.key?(:contents)
  @path = args[:path] if args.key?(:path)
end