Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DebugMask

Returns a new instance of GoogleCloudApigeeV1DebugMask.


1485
1486
1487
# File 'generated/google/apis/apigee_v1/classes.rb', line 1485

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

Instance Attribute Details

#fault_json_pathsArray<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

Returns:

  • (Array<String>)

1438
1439
1440
# File 'generated/google/apis/apigee_v1/classes.rb', line 1438

def fault_json_paths
  @fault_json_paths
end

#fault_x_pathsArray<String>

List of XPaths that specify the XML elements to be filtered from XML payloads in error flows. Corresponds to the JSON property faultXPaths

Returns:

  • (Array<String>)

1444
1445
1446
# File 'generated/google/apis/apigee_v1/classes.rb', line 1444

def fault_x_paths
  @fault_x_paths
end

#nameString

Name of the debug mask. Corresponds to the JSON property name

Returns:

  • (String)

1449
1450
1451
# File 'generated/google/apis/apigee_v1/classes.rb', line 1449

def name
  @name
end

#namespacesHash<String,String>

Map of namespaces to URIs. Corresponds to the JSON property namespaces

Returns:

  • (Hash<String,String>)

1454
1455
1456
# File 'generated/google/apis/apigee_v1/classes.rb', line 1454

def namespaces
  @namespaces
end

#request_json_pathsArray<String>

List of JSON paths that specify the JSON elements to be filtered from JSON request message payloads. Corresponds to the JSON property requestJSONPaths

Returns:

  • (Array<String>)

1460
1461
1462
# File 'generated/google/apis/apigee_v1/classes.rb', line 1460

def request_json_paths
  @request_json_paths
end

#request_x_pathsArray<String>

List of XPaths that specify the XML elements to be filtered from XML request message payloads. Corresponds to the JSON property requestXPaths

Returns:

  • (Array<String>)

1466
1467
1468
# File 'generated/google/apis/apigee_v1/classes.rb', line 1466

def request_x_paths
  @request_x_paths
end

#response_json_pathsArray<String>

List of JSON paths that specify the JSON elements to be filtered from JSON response message payloads. Corresponds to the JSON property responseJSONPaths

Returns:

  • (Array<String>)

1472
1473
1474
# File 'generated/google/apis/apigee_v1/classes.rb', line 1472

def response_json_paths
  @response_json_paths
end

#response_x_pathsArray<String>

List of XPaths that specify the XML elements to be filtered from XML response message payloads. Corresponds to the JSON property responseXPaths

Returns:

  • (Array<String>)

1478
1479
1480
# File 'generated/google/apis/apigee_v1/classes.rb', line 1478

def response_x_paths
  @response_x_paths
end

#variablesArray<String>

List of variables that should be masked from the debug output. Corresponds to the JSON property variables

Returns:

  • (Array<String>)

1483
1484
1485
# File 'generated/google/apis/apigee_v1/classes.rb', line 1483

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
# File 'generated/google/apis/apigee_v1/classes.rb', line 1490

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