Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#fault_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON payloads in error flows.
-
#fault_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML payloads in error flows.
-
#name ⇒ String
Name of the debug mask.
-
#namespaces ⇒ Hash<String,String>
Map of namespaces to URIs.
-
#request_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON request message payloads.
-
#request_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML request message payloads.
-
#response_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON response message payloads.
-
#response_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML response message payloads.
-
#variables ⇒ Array<String>
List of variables that should be masked from the debug output.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DebugMask
constructor
A new instance of GoogleCloudApigeeV1DebugMask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DebugMask
Returns a new instance of GoogleCloudApigeeV1DebugMask.
2004 2005 2006 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2004 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fault_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON
payloads in error flows.
Corresponds to the JSON property faultJSONPaths
1957 1958 1959 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1957 def fault_json_paths @fault_json_paths end |
#fault_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML payloads
in error flows.
Corresponds to the JSON property faultXPaths
1963 1964 1965 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1963 def fault_x_paths @fault_x_paths end |
#name ⇒ String
Name of the debug mask.
Corresponds to the JSON property name
1968 1969 1970 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1968 def name @name end |
#namespaces ⇒ Hash<String,String>
Map of namespaces to URIs.
Corresponds to the JSON property namespaces
1973 1974 1975 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1973 def namespaces @namespaces end |
#request_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON
request message payloads.
Corresponds to the JSON property requestJSONPaths
1979 1980 1981 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1979 def request_json_paths @request_json_paths end |
#request_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML request
message payloads.
Corresponds to the JSON property requestXPaths
1985 1986 1987 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1985 def request_x_paths @request_x_paths end |
#response_json_paths ⇒ Array<String>
List of JSON paths that specify the JSON elements to be filtered from JSON
response message payloads.
Corresponds to the JSON property responseJSONPaths
1991 1992 1993 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1991 def response_json_paths @response_json_paths end |
#response_x_paths ⇒ Array<String>
List of XPaths that specify the XML elements to be filtered from XML response
message payloads.
Corresponds to the JSON property responseXPaths
1997 1998 1999 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1997 def response_x_paths @response_x_paths end |
#variables ⇒ Array<String>
List of variables that should be masked from the debug output.
Corresponds to the JSON property variables
2002 2003 2004 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2002 def variables @variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2009 def update!(**args) @fault_json_paths = args[:fault_json_paths] if args.key?(:fault_json_paths) @fault_x_paths = args[:fault_x_paths] if args.key?(:fault_x_paths) @name = args[:name] if args.key?(:name) @namespaces = args[:namespaces] if args.key?(:namespaces) @request_json_paths = args[:request_json_paths] if args.key?(:request_json_paths) @request_x_paths = args[:request_x_paths] if args.key?(:request_x_paths) @response_json_paths = args[:response_json_paths] if args.key?(:response_json_paths) @response_x_paths = args[:response_x_paths] if args.key?(:response_x_paths) @variables = args[:variables] if args.key?(:variables) end |