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.
1917 1918 1919 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1917 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
1870 1871 1872 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1870 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
1876 1877 1878 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1876 def fault_x_paths @fault_x_paths end |
#name ⇒ String
Name of the debug mask.
Corresponds to the JSON property name
1881 1882 1883 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1881 def name @name end |
#namespaces ⇒ Hash<String,String>
Map of namespaces to URIs.
Corresponds to the JSON property namespaces
1886 1887 1888 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1886 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
1892 1893 1894 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1892 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
1898 1899 1900 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1898 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
1904 1905 1906 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1904 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
1910 1911 1912 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1910 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
1915 1916 1917 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1915 def variables @variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1922 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 |