Class: Google::Apis::ApigatewayV1beta::ApigatewayOperationMetadataDiagnostic

Inherits:
Object
  • Object
show all
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

Diagnostic information from configuration processing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApigatewayOperationMetadataDiagnostic

Returns a new instance of ApigatewayOperationMetadataDiagnostic.



919
920
921
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 919

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#locationString

Location of the diagnostic. Corresponds to the JSON property location

Returns:

  • (String)


912
913
914
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 912

def location
  @location
end

#messageString

The diagnostic message. Corresponds to the JSON property message

Returns:

  • (String)


917
918
919
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 917

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



924
925
926
927
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 924

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @message = args[:message] if args.key?(:message)
end