Class: Google::Apis::ApigatewayV1::ApigatewayOperationMetadataDiagnostic
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1::ApigatewayOperationMetadataDiagnostic
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigateway_v1/classes.rb,
lib/google/apis/apigateway_v1/representations.rb,
lib/google/apis/apigateway_v1/representations.rb
Overview
Diagnostic information from configuration processing.
Instance Attribute Summary collapse
-
#location ⇒ String
Location of the diagnostic.
-
#message ⇒ String
The diagnostic message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayOperationMetadataDiagnostic
constructor
A new instance of ApigatewayOperationMetadataDiagnostic.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayOperationMetadataDiagnostic
Returns a new instance of ApigatewayOperationMetadataDiagnostic.
895 896 897 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 895 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Location of the diagnostic.
Corresponds to the JSON property location
888 889 890 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 888 def location @location end |
#message ⇒ String
The diagnostic message.
Corresponds to the JSON property message
893 894 895 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 893 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
900 901 902 903 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 900 def update!(**args) @location = args[:location] if args.key?(:location) @message = args[:message] if args.key?(:message) end |