Class: Google::Apis::ApigatewayV1::ApigatewayOperationMetadataDiagnostic
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1::ApigatewayOperationMetadataDiagnostic
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigateway_v1/classes.rb,
generated/google/apis/apigateway_v1/representations.rb,
generated/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.
865 866 867 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 865 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Location of the diagnostic.
Corresponds to the JSON property location
858 859 860 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 858 def location @location end |
#message ⇒ String
The diagnostic message.
Corresponds to the JSON property message
863 864 865 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 863 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
870 871 872 873 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 870 def update!(**args) @location = args[:location] if args.key?(:location) @message = args[:message] if args.key?(:message) end |