Class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigateway_v1beta/classes.rb,
generated/google/apis/apigateway_v1beta/representations.rb,
generated/google/apis/apigateway_v1beta/representations.rb
Overview
A lightweight description of a file.
Instance Attribute Summary collapse
-
#contents ⇒ String
The bytes that constitute the file.
-
#path ⇒ String
The file path (full or relative path).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayApiConfigFile
constructor
A new instance of ApigatewayApiConfigFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayApiConfigFile
Returns a new instance of ApigatewayApiConfigFile.
205 206 207 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ String
The bytes that constitute the file.
Corresponds to the JSON property contents
NOTE: Values are automatically base64 encoded/decoded in the client library.
197 198 199 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 197 def contents @contents end |
#path ⇒ String
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
203 204 205 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 203 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
210 211 212 213 |
# File 'generated/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 |