Sha256: 192b20c3482624e3a7a2b7e48cd665e6103bb21fb38928a34f9f75ca3e48556a

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/websecurityscanner/v1/scan_run_error_trace.proto

require 'google/cloud/websecurityscanner/v1/scan_config_error_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/websecurityscanner/v1/scan_run_error_trace.proto", :syntax => :proto3) do
    add_message "google.cloud.websecurityscanner.v1.ScanRunErrorTrace" do
      optional :code, :enum, 1, "google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code"
      optional :scan_config_error, :message, 2, "google.cloud.websecurityscanner.v1.ScanConfigError"
      optional :most_common_http_error_code, :int32, 3
    end
    add_enum "google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code" do
      value :CODE_UNSPECIFIED, 0
      value :INTERNAL_ERROR, 1
      value :SCAN_CONFIG_ISSUE, 2
      value :AUTHENTICATION_CONFIG_ISSUE, 3
      value :TIMED_OUT_WHILE_SCANNING, 4
      value :TOO_MANY_REDIRECTS, 5
      value :TOO_MANY_HTTP_ERRORS, 6
    end
  end
end

module Google
  module Cloud
    module WebSecurityScanner
      module V1
        ScanRunErrorTrace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1.ScanRunErrorTrace").msgclass
        ScanRunErrorTrace::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code").enummodule
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-cloud-web_security_scanner-v1-0.3.5 lib/google/cloud/websecurityscanner/v1/scan_run_error_trace_pb.rb
google-cloud-web_security_scanner-v1-0.3.4 lib/google/cloud/websecurityscanner/v1/scan_run_error_trace_pb.rb