Class: Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb

Overview

Configuration RPC class for the WebSecurityScanner API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional gRPC headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_scan_config::Gapic::Config::Method (readonly)

RPC-specific configuration for create_scan_config

Returns:

  • (::Gapic::Config::Method)


1564
1565
1566
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1564

def create_scan_config
  @create_scan_config
end

#delete_scan_config::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_scan_config

Returns:

  • (::Gapic::Config::Method)


1569
1570
1571
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1569

def delete_scan_config
  @delete_scan_config
end

#get_finding::Gapic::Config::Method (readonly)

RPC-specific configuration for get_finding

Returns:

  • (::Gapic::Config::Method)


1614
1615
1616
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1614

def get_finding
  @get_finding
end

#get_scan_config::Gapic::Config::Method (readonly)

RPC-specific configuration for get_scan_config

Returns:

  • (::Gapic::Config::Method)


1574
1575
1576
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1574

def get_scan_config
  @get_scan_config
end

#get_scan_run::Gapic::Config::Method (readonly)

RPC-specific configuration for get_scan_run

Returns:

  • (::Gapic::Config::Method)


1594
1595
1596
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1594

def get_scan_run
  @get_scan_run
end

#list_crawled_urls::Gapic::Config::Method (readonly)

RPC-specific configuration for list_crawled_urls

Returns:

  • (::Gapic::Config::Method)


1609
1610
1611
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1609

def list_crawled_urls
  @list_crawled_urls
end

#list_finding_type_stats::Gapic::Config::Method (readonly)

RPC-specific configuration for list_finding_type_stats

Returns:

  • (::Gapic::Config::Method)


1624
1625
1626
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1624

def list_finding_type_stats
  @list_finding_type_stats
end

#list_findings::Gapic::Config::Method (readonly)

RPC-specific configuration for list_findings

Returns:

  • (::Gapic::Config::Method)


1619
1620
1621
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1619

def list_findings
  @list_findings
end

#list_scan_configs::Gapic::Config::Method (readonly)

RPC-specific configuration for list_scan_configs

Returns:

  • (::Gapic::Config::Method)


1579
1580
1581
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1579

def list_scan_configs
  @list_scan_configs
end

#list_scan_runs::Gapic::Config::Method (readonly)

RPC-specific configuration for list_scan_runs

Returns:

  • (::Gapic::Config::Method)


1599
1600
1601
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1599

def list_scan_runs
  @list_scan_runs
end

#start_scan_run::Gapic::Config::Method (readonly)

RPC-specific configuration for start_scan_run

Returns:

  • (::Gapic::Config::Method)


1589
1590
1591
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1589

def start_scan_run
  @start_scan_run
end

#stop_scan_run::Gapic::Config::Method (readonly)

RPC-specific configuration for stop_scan_run

Returns:

  • (::Gapic::Config::Method)


1604
1605
1606
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1604

def stop_scan_run
  @stop_scan_run
end

#update_scan_config::Gapic::Config::Method (readonly)

RPC-specific configuration for update_scan_config

Returns:

  • (::Gapic::Config::Method)


1584
1585
1586
# File 'lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb', line 1584

def update_scan_config
  @update_scan_config
end