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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/web_security_scanner/v1/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)


1578
1579
1580
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1578

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)


1583
1584
1585
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1583

def delete_scan_config
  @delete_scan_config
end

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

RPC-specific configuration for get_finding

Returns:

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


1628
1629
1630
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1628

def get_finding
  @get_finding
end

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

RPC-specific configuration for get_scan_config

Returns:

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


1588
1589
1590
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1588

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)


1608
1609
1610
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1608

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)


1623
1624
1625
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1623

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)


1638
1639
1640
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1638

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)


1633
1634
1635
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1633

def list_findings
  @list_findings
end

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

RPC-specific configuration for list_scan_configs

Returns:

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


1593
1594
1595
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1593

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)


1613
1614
1615
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1613

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)


1603
1604
1605
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1603

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)


1618
1619
1620
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1618

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)


1598
1599
1600
# File 'lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb', line 1598

def update_scan_config
  @update_scan_config
end