google-cloud-web_security_scanner-v1 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/web_security_scanner/v1/version.rb +1 -1
- data/lib/google/cloud/web_security_scanner/v1/web_security_scanner/client.rb +2 -2
- data/lib/google/cloud/web_security_scanner/v1/web_security_scanner/rest/client.rb +2 -2
- data/lib/google/cloud/websecurityscanner/v1/crawled_url_pb.rb +24 -6
- data/lib/google/cloud/websecurityscanner/v1/finding_addon_pb.rb +24 -57
- data/lib/google/cloud/websecurityscanner/v1/finding_pb.rb +25 -28
- data/lib/google/cloud/websecurityscanner/v1/finding_type_stats_pb.rb +24 -5
- data/lib/google/cloud/websecurityscanner/v1/scan_config_error_pb.rb +24 -49
- data/lib/google/cloud/websecurityscanner/v1/scan_config_pb.rb +25 -60
- data/lib/google/cloud/websecurityscanner/v1/scan_run_error_trace_pb.rb +25 -15
- data/lib/google/cloud/websecurityscanner/v1/scan_run_log_pb.rb +25 -11
- data/lib/google/cloud/websecurityscanner/v1/scan_run_pb.rb +27 -26
- data/lib/google/cloud/websecurityscanner/v1/scan_run_warning_trace_pb.rb +24 -12
- data/lib/google/cloud/websecurityscanner/v1/web_security_scanner_pb.rb +30 -70
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: bcb654752532d15aafc457597f21b6a94aa1c0b13015ced0195a45863980cd15
         | 
| 4 | 
            +
              data.tar.gz: 0b050a1dd8ac2c0d2035eaab19bf9f15e67d60aacb29e4381301de8580aa611d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e509f751a7817f00a1a40daa26ea7cf8d62cd63905ced11025255404cecc67766ed6187731aeb0bbf4f7eeaf56880258a085f3646b85cda92ac706c0cba20b35
         | 
| 7 | 
            +
              data.tar.gz: a86081a97c1d35a9d3950d766c5a91f7c7354fcd251aa71c81f54294df1c90942e0028afa8ce02df246cde6b2dfe46cba39c9ea84128d1b24f40093bc727c429
         | 
    
        data/README.md
    CHANGED
    
    | @@ -47,7 +47,7 @@ for general usage information. | |
| 47 47 |  | 
| 48 48 | 
             
            To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
         | 
| 49 49 | 
             
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
         | 
| 50 | 
            -
            or a [`Google::Cloud::Logging::Logger`](https:// | 
| 50 | 
            +
            or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
         | 
| 51 51 | 
             
            that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
         | 
| 52 52 | 
             
            and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
         | 
| 53 53 |  | 
| @@ -1424,9 +1424,9 @@ module Google | |
| 1424 1424 | 
             
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1425 1425 | 
             
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 1426 1426 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1427 | 
            -
                        #       (see the [googleauth docs](https:// | 
| 1427 | 
            +
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1428 1428 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 1429 | 
            -
                        #       (see the [signet docs](https:// | 
| 1429 | 
            +
                        #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 1430 1430 | 
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         | 
| 1431 1431 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1432 1432 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| @@ -1100,9 +1100,9 @@ module Google | |
| 1100 1100 | 
             
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1101 1101 | 
             
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 1102 1102 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1103 | 
            -
                          #       (see the [googleauth docs](https:// | 
| 1103 | 
            +
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1104 1104 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 1105 | 
            -
                          #       (see the [signet docs](https:// | 
| 1105 | 
            +
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 1106 1106 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 1107 1107 | 
             
                          #   @return [::Object]
         | 
| 1108 1108 | 
             
                          # @!attribute [rw] scope
         | 
| @@ -1,16 +1,34 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/crawled_url.proto
         | 
| 3 4 |  | 
| 4 5 | 
             
            require 'google/protobuf'
         | 
| 5 6 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 7 | 
            +
             | 
| 8 | 
            +
            descriptor_data = "\n4google/cloud/websecurityscanner/v1/crawled_url.proto\x12\"google.cloud.websecurityscanner.v1\"<\n\nCrawledUrl\x12\x13\n\x0bhttp_method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\tB\x85\x02\n&com.google.cloud.websecurityscanner.v1B\x0f\x43rawledUrlProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            begin
         | 
| 13 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 14 | 
            +
            rescue TypeError => e
         | 
| 15 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 16 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 17 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 18 | 
            +
              parsed.clear_dependency
         | 
| 19 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 20 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 21 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 22 | 
            +
              imports = [
         | 
| 23 | 
            +
              ]
         | 
| 24 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 25 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 26 | 
            +
                if import_file.name != expected_filename
         | 
| 27 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 12 28 | 
             
                end
         | 
| 13 29 | 
             
              end
         | 
| 30 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 31 | 
            +
              warn "This will become an error in the next major version."
         | 
| 14 32 | 
             
            end
         | 
| 15 33 |  | 
| 16 34 | 
             
            module Google
         | 
| @@ -1,67 +1,34 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/finding_addon.proto
         | 
| 3 4 |  | 
| 4 5 | 
             
            require 'google/protobuf'
         | 
| 5 6 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
                 | 
| 25 | 
            -
             | 
| 26 | 
            -
                   | 
| 27 | 
            -
                end
         | 
| 28 | 
            -
                add_message "google.cloud.websecurityscanner.v1.VulnerableHeaders.Header" do
         | 
| 29 | 
            -
                  optional :name, :string, 1
         | 
| 30 | 
            -
                  optional :value, :string, 2
         | 
| 31 | 
            -
                end
         | 
| 32 | 
            -
                add_message "google.cloud.websecurityscanner.v1.Xss" do
         | 
| 33 | 
            -
                  repeated :stack_traces, :string, 1
         | 
| 34 | 
            -
                  optional :error_message, :string, 2
         | 
| 35 | 
            -
                  optional :attack_vector, :enum, 3, "google.cloud.websecurityscanner.v1.Xss.AttackVector"
         | 
| 36 | 
            -
                  optional :stored_xss_seeding_url, :string, 4
         | 
| 37 | 
            -
                end
         | 
| 38 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.Xss.AttackVector" do
         | 
| 39 | 
            -
                  value :ATTACK_VECTOR_UNSPECIFIED, 0
         | 
| 40 | 
            -
                  value :LOCAL_STORAGE, 1
         | 
| 41 | 
            -
                  value :SESSION_STORAGE, 2
         | 
| 42 | 
            -
                  value :WINDOW_NAME, 3
         | 
| 43 | 
            -
                  value :REFERRER, 4
         | 
| 44 | 
            -
                  value :FORM_INPUT, 5
         | 
| 45 | 
            -
                  value :COOKIE, 6
         | 
| 46 | 
            -
                  value :POST_MESSAGE, 7
         | 
| 47 | 
            -
                  value :GET_PARAMETERS, 8
         | 
| 48 | 
            -
                  value :URL_FRAGMENT, 9
         | 
| 49 | 
            -
                  value :HTML_COMMENT, 10
         | 
| 50 | 
            -
                  value :POST_PARAMETERS, 11
         | 
| 51 | 
            -
                  value :PROTOCOL, 12
         | 
| 52 | 
            -
                  value :STORED_XSS, 13
         | 
| 53 | 
            -
                  value :SAME_ORIGIN, 14
         | 
| 54 | 
            -
                  value :USER_CONTROLLABLE_URL, 15
         | 
| 55 | 
            -
                end
         | 
| 56 | 
            -
                add_message "google.cloud.websecurityscanner.v1.Xxe" do
         | 
| 57 | 
            -
                  optional :payload_value, :string, 1
         | 
| 58 | 
            -
                  optional :payload_location, :enum, 2, "google.cloud.websecurityscanner.v1.Xxe.Location"
         | 
| 59 | 
            -
                end
         | 
| 60 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.Xxe.Location" do
         | 
| 61 | 
            -
                  value :LOCATION_UNSPECIFIED, 0
         | 
| 62 | 
            -
                  value :COMPLETE_REQUEST_BODY, 1
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            descriptor_data = "\n6google/cloud/websecurityscanner/v1/finding_addon.proto\x12\"google.cloud.websecurityscanner.v1\"*\n\x04\x46orm\x12\x12\n\naction_uri\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x03(\t\"Q\n\x0fOutdatedLibrary\x12\x14\n\x0clibrary_name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x17\n\x0flearn_more_urls\x18\x03 \x03(\t\"?\n\x11ViolatingResource\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x14\n\x0cresource_url\x18\x02 \x01(\t\"/\n\x14VulnerableParameters\x12\x17\n\x0fparameter_names\x18\x01 \x03(\t\"\xe0\x01\n\x11VulnerableHeaders\x12M\n\x07headers\x18\x01 \x03(\x0b\x32<.google.cloud.websecurityscanner.v1.VulnerableHeaders.Header\x12U\n\x0fmissing_headers\x18\x02 \x03(\x0b\x32<.google.cloud.websecurityscanner.v1.VulnerableHeaders.Header\x1a%\n\x06Header\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\xdb\x03\n\x03Xss\x12\x14\n\x0cstack_traces\x18\x01 \x03(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12K\n\rattack_vector\x18\x03 \x01(\x0e\x32\x34.google.cloud.websecurityscanner.v1.Xss.AttackVector\x12\x1e\n\x16stored_xss_seeding_url\x18\x04 \x01(\t\"\xb9\x02\n\x0c\x41ttackVector\x12\x1d\n\x19\x41TTACK_VECTOR_UNSPECIFIED\x10\x00\x12\x11\n\rLOCAL_STORAGE\x10\x01\x12\x13\n\x0fSESSION_STORAGE\x10\x02\x12\x0f\n\x0bWINDOW_NAME\x10\x03\x12\x0c\n\x08REFERRER\x10\x04\x12\x0e\n\nFORM_INPUT\x10\x05\x12\n\n\x06\x43OOKIE\x10\x06\x12\x10\n\x0cPOST_MESSAGE\x10\x07\x12\x12\n\x0eGET_PARAMETERS\x10\x08\x12\x10\n\x0cURL_FRAGMENT\x10\t\x12\x10\n\x0cHTML_COMMENT\x10\n\x12\x13\n\x0fPOST_PARAMETERS\x10\x0b\x12\x0c\n\x08PROTOCOL\x10\x0c\x12\x0e\n\nSTORED_XSS\x10\r\x12\x0f\n\x0bSAME_ORIGIN\x10\x0e\x12\x19\n\x15USER_CONTROLLABLE_URL\x10\x0f\"\xa9\x01\n\x03Xxe\x12\x15\n\rpayload_value\x18\x01 \x01(\t\x12J\n\x10payload_location\x18\x02 \x01(\x0e\x32\x30.google.cloud.websecurityscanner.v1.Xxe.Location\"?\n\x08Location\x12\x18\n\x14LOCATION_UNSPECIFIED\x10\x00\x12\x19\n\x15\x43OMPLETE_REQUEST_BODY\x10\x01\x42\x87\x02\n&com.google.cloud.websecurityscanner.v1B\x11\x46indingAddonProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            begin
         | 
| 13 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 14 | 
            +
            rescue TypeError => e
         | 
| 15 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 16 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 17 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 18 | 
            +
              parsed.clear_dependency
         | 
| 19 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 20 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 21 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 22 | 
            +
              imports = [
         | 
| 23 | 
            +
              ]
         | 
| 24 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 25 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 26 | 
            +
                if import_file.name != expected_filename
         | 
| 27 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 63 28 | 
             
                end
         | 
| 64 29 | 
             
              end
         | 
| 30 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 31 | 
            +
              warn "This will become an error in the next major version."
         | 
| 65 32 | 
             
            end
         | 
| 66 33 |  | 
| 67 34 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/finding.proto
         | 
| 3 4 |  | 
| @@ -7,36 +8,32 @@ require 'google/api/field_behavior_pb' | |
| 7 8 | 
             
            require 'google/api/resource_pb'
         | 
| 8 9 | 
             
            require 'google/cloud/websecurityscanner/v1/finding_addon_pb'
         | 
| 9 10 |  | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.Finding.Severity" do
         | 
| 33 | 
            -
                  value :SEVERITY_UNSPECIFIED, 0
         | 
| 34 | 
            -
                  value :CRITICAL, 1
         | 
| 35 | 
            -
                  value :HIGH, 2
         | 
| 36 | 
            -
                  value :MEDIUM, 3
         | 
| 37 | 
            -
                  value :LOW, 4
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            descriptor_data = "\n0google/cloud/websecurityscanner/v1/finding.proto\x12\"google.cloud.websecurityscanner.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/websecurityscanner/v1/finding_addon.proto\"\xec\x07\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x66inding_type\x18\x02 \x01(\t\x12K\n\x08severity\x18\x11 \x01(\x0e\x32\x34.google.cloud.websecurityscanner.v1.Finding.SeverityB\x03\xe0\x41\x03\x12\x13\n\x0bhttp_method\x18\x03 \x01(\t\x12\x12\n\nfuzzed_url\x18\x04 \x01(\t\x12\x0c\n\x04\x62ody\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10reproduction_url\x18\x07 \x01(\t\x12\x11\n\tframe_url\x18\x08 \x01(\t\x12\x11\n\tfinal_url\x18\t \x01(\t\x12\x13\n\x0btracking_id\x18\n \x01(\t\x12\x36\n\x04\x66orm\x18\x10 \x01(\x0b\x32(.google.cloud.websecurityscanner.v1.Form\x12M\n\x10outdated_library\x18\x0b \x01(\x0b\x32\x33.google.cloud.websecurityscanner.v1.OutdatedLibrary\x12Q\n\x12violating_resource\x18\x0c \x01(\x0b\x32\x35.google.cloud.websecurityscanner.v1.ViolatingResource\x12Q\n\x12vulnerable_headers\x18\x0f \x01(\x0b\x32\x35.google.cloud.websecurityscanner.v1.VulnerableHeaders\x12W\n\x15vulnerable_parameters\x18\r \x01(\x0b\x32\x38.google.cloud.websecurityscanner.v1.VulnerableParameters\x12\x34\n\x03xss\x18\x0e \x01(\x0b\x32\'.google.cloud.websecurityscanner.v1.Xss\x12\x39\n\x03xxe\x18\x12 \x01(\x0b\x32\'.google.cloud.websecurityscanner.v1.XxeB\x03\xe0\x41\x03\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04:\x84\x01\xea\x41\x80\x01\n)websecurityscanner.googleapis.com/Finding\x12Sprojects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}/findings/{finding}B\x82\x02\n&com.google.cloud.websecurityscanner.v1B\x0c\x46indingProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            begin
         | 
| 17 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 18 | 
            +
            rescue TypeError => e
         | 
| 19 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 20 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 21 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 22 | 
            +
              parsed.clear_dependency
         | 
| 23 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 24 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 25 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 26 | 
            +
              imports = [
         | 
| 27 | 
            +
                ["google.cloud.websecurityscanner.v1.Form", "google/cloud/websecurityscanner/v1/finding_addon.proto"],
         | 
| 28 | 
            +
              ]
         | 
| 29 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 30 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 31 | 
            +
                if import_file.name != expected_filename
         | 
| 32 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 38 33 | 
             
                end
         | 
| 39 34 | 
             
              end
         | 
| 35 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 36 | 
            +
              warn "This will become an error in the next major version."
         | 
| 40 37 | 
             
            end
         | 
| 41 38 |  | 
| 42 39 | 
             
            module Google
         | 
| @@ -1,15 +1,34 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/finding_type_stats.proto
         | 
| 3 4 |  | 
| 4 5 | 
             
            require 'google/protobuf'
         | 
| 5 6 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 7 | 
            +
             | 
| 8 | 
            +
            descriptor_data = "\n;google/cloud/websecurityscanner/v1/finding_type_stats.proto\x12\"google.cloud.websecurityscanner.v1\"?\n\x10\x46indingTypeStats\x12\x14\n\x0c\x66inding_type\x18\x01 \x01(\t\x12\x15\n\rfinding_count\x18\x02 \x01(\x05\x42\x8b\x02\n&com.google.cloud.websecurityscanner.v1B\x15\x46indingTypeStatsProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            begin
         | 
| 13 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 14 | 
            +
            rescue TypeError => e
         | 
| 15 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 16 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 17 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 18 | 
            +
              parsed.clear_dependency
         | 
| 19 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 20 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 21 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 22 | 
            +
              imports = [
         | 
| 23 | 
            +
              ]
         | 
| 24 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 25 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 26 | 
            +
                if import_file.name != expected_filename
         | 
| 27 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 11 28 | 
             
                end
         | 
| 12 29 | 
             
              end
         | 
| 30 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 31 | 
            +
              warn "This will become an error in the next major version."
         | 
| 13 32 | 
             
            end
         | 
| 14 33 |  | 
| 15 34 | 
             
            module Google
         | 
| @@ -1,59 +1,34 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_config_error.proto
         | 
| 3 4 |  | 
| 4 5 | 
             
            require 'google/protobuf'
         | 
| 5 6 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
                   | 
| 27 | 
            -
                  value :CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS, 14
         | 
| 28 | 
            -
                  value :CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS, 15
         | 
| 29 | 
            -
                  value :DUPLICATE_SCAN_NAME, 16
         | 
| 30 | 
            -
                  value :INVALID_FIELD_VALUE, 18
         | 
| 31 | 
            -
                  value :FAILED_TO_AUTHENTICATE_TO_TARGET, 19
         | 
| 32 | 
            -
                  value :FINDING_TYPE_UNSPECIFIED, 20
         | 
| 33 | 
            -
                  value :FORBIDDEN_TO_SCAN_COMPUTE, 21
         | 
| 34 | 
            -
                  value :FORBIDDEN_UPDATE_TO_MANAGED_SCAN, 43
         | 
| 35 | 
            -
                  value :MALFORMED_FILTER, 22
         | 
| 36 | 
            -
                  value :MALFORMED_RESOURCE_NAME, 23
         | 
| 37 | 
            -
                  value :PROJECT_INACTIVE, 24
         | 
| 38 | 
            -
                  value :REQUIRED_FIELD, 25
         | 
| 39 | 
            -
                  value :RESOURCE_NAME_INCONSISTENT, 26
         | 
| 40 | 
            -
                  value :SCAN_ALREADY_RUNNING, 27
         | 
| 41 | 
            -
                  value :SCAN_NOT_RUNNING, 28
         | 
| 42 | 
            -
                  value :SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT, 29
         | 
| 43 | 
            -
                  value :SEED_URL_MALFORMED, 30
         | 
| 44 | 
            -
                  value :SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS, 31
         | 
| 45 | 
            -
                  value :SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS, 32
         | 
| 46 | 
            -
                  value :SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS, 33
         | 
| 47 | 
            -
                  value :SEED_URL_HAS_UNRESERVED_IP_ADDRESS, 35
         | 
| 48 | 
            -
                  value :SERVICE_ACCOUNT_NOT_CONFIGURED, 36
         | 
| 49 | 
            -
                  value :TOO_MANY_SCANS, 37
         | 
| 50 | 
            -
                  value :UNABLE_TO_RESOLVE_PROJECT_INFO, 38
         | 
| 51 | 
            -
                  value :UNSUPPORTED_BLACKLIST_PATTERN_FORMAT, 39
         | 
| 52 | 
            -
                  value :UNSUPPORTED_FILTER, 40
         | 
| 53 | 
            -
                  value :UNSUPPORTED_FINDING_TYPE, 41
         | 
| 54 | 
            -
                  value :UNSUPPORTED_URL_SCHEME, 42
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            descriptor_data = "\n:google/cloud/websecurityscanner/v1/scan_config_error.proto\x12\"google.cloud.websecurityscanner.v1\"\xe9\x0b\n\x0fScanConfigError\x12\x46\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x38.google.cloud.websecurityscanner.v1.ScanConfigError.Code\x12\x12\n\nfield_name\x18\x02 \x01(\t\"\xf9\n\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x1f\n\x1b\x41PPENGINE_API_BACKEND_ERROR\x10\x02\x12 \n\x1c\x41PPENGINE_API_NOT_ACCESSIBLE\x10\x03\x12\"\n\x1e\x41PPENGINE_DEFAULT_HOST_MISSING\x10\x04\x12!\n\x1d\x43\x41NNOT_USE_GOOGLE_COM_ACCOUNT\x10\x06\x12\x1c\n\x18\x43\x41NNOT_USE_OWNER_ACCOUNT\x10\x07\x12\x1d\n\x19\x43OMPUTE_API_BACKEND_ERROR\x10\x08\x12\x1e\n\x1a\x43OMPUTE_API_NOT_ACCESSIBLE\x10\t\x12\x37\n3CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT\x10\n\x12\x1e\n\x1a\x43USTOM_LOGIN_URL_MALFORMED\x10\x0b\x12\x33\n/CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS\x10\x0c\x12\x31\n-CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS\x10\r\x12\x30\n,CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS\x10\x0e\x12.\n*CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS\x10\x0f\x12\x17\n\x13\x44UPLICATE_SCAN_NAME\x10\x10\x12\x17\n\x13INVALID_FIELD_VALUE\x10\x12\x12$\n FAILED_TO_AUTHENTICATE_TO_TARGET\x10\x13\x12\x1c\n\x18\x46INDING_TYPE_UNSPECIFIED\x10\x14\x12\x1d\n\x19\x46ORBIDDEN_TO_SCAN_COMPUTE\x10\x15\x12$\n FORBIDDEN_UPDATE_TO_MANAGED_SCAN\x10+\x12\x14\n\x10MALFORMED_FILTER\x10\x16\x12\x1b\n\x17MALFORMED_RESOURCE_NAME\x10\x17\x12\x14\n\x10PROJECT_INACTIVE\x10\x18\x12\x12\n\x0eREQUIRED_FIELD\x10\x19\x12\x1e\n\x1aRESOURCE_NAME_INCONSISTENT\x10\x1a\x12\x18\n\x14SCAN_ALREADY_RUNNING\x10\x1b\x12\x14\n\x10SCAN_NOT_RUNNING\x10\x1c\x12/\n+SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT\x10\x1d\x12\x16\n\x12SEED_URL_MALFORMED\x10\x1e\x12+\n\'SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS\x10\x1f\x12)\n%SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS\x10 \x12(\n$SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS\x10!\x12&\n\"SEED_URL_HAS_UNRESERVED_IP_ADDRESS\x10#\x12\"\n\x1eSERVICE_ACCOUNT_NOT_CONFIGURED\x10$\x12\x12\n\x0eTOO_MANY_SCANS\x10%\x12\"\n\x1eUNABLE_TO_RESOLVE_PROJECT_INFO\x10&\x12(\n$UNSUPPORTED_BLACKLIST_PATTERN_FORMAT\x10\'\x12\x16\n\x12UNSUPPORTED_FILTER\x10(\x12\x1c\n\x18UNSUPPORTED_FINDING_TYPE\x10)\x12\x1a\n\x16UNSUPPORTED_URL_SCHEME\x10*\x1a\x02\x10\x01\x42\x8a\x02\n&com.google.cloud.websecurityscanner.v1B\x14ScanConfigErrorProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            begin
         | 
| 13 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 14 | 
            +
            rescue TypeError => e
         | 
| 15 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 16 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 17 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 18 | 
            +
              parsed.clear_dependency
         | 
| 19 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 20 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 21 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 22 | 
            +
              imports = [
         | 
| 23 | 
            +
              ]
         | 
| 24 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 25 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 26 | 
            +
                if import_file.name != expected_filename
         | 
| 27 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 55 28 | 
             
                end
         | 
| 56 29 | 
             
              end
         | 
| 30 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 31 | 
            +
              warn "This will become an error in the next major version."
         | 
| 57 32 | 
             
            end
         | 
| 58 33 |  | 
| 59 34 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_config.proto
         | 
| 3 4 |  | 
| @@ -6,68 +7,32 @@ require 'google/protobuf' | |
| 6 7 | 
             
            require 'google/api/field_behavior_pb'
         | 
| 7 8 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 8 9 |  | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
                 | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
                  end
         | 
| 32 | 
            -
                end
         | 
| 33 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount" do
         | 
| 34 | 
            -
                  optional :username, :string, 1
         | 
| 35 | 
            -
                  optional :password, :string, 2
         | 
| 36 | 
            -
                end
         | 
| 37 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount" do
         | 
| 38 | 
            -
                  optional :username, :string, 1
         | 
| 39 | 
            -
                  optional :password, :string, 2
         | 
| 40 | 
            -
                  optional :login_url, :string, 3
         | 
| 41 | 
            -
                end
         | 
| 42 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential" do
         | 
| 43 | 
            -
                  oneof :iap_credentials do
         | 
| 44 | 
            -
                    optional :iap_test_service_account_info, :message, 1, "google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential.IapTestServiceAccountInfo"
         | 
| 45 | 
            -
                  end
         | 
| 46 | 
            -
                end
         | 
| 47 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential.IapTestServiceAccountInfo" do
         | 
| 48 | 
            -
                  optional :target_audience_client_id, :string, 1
         | 
| 49 | 
            -
                end
         | 
| 50 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ScanConfig.Schedule" do
         | 
| 51 | 
            -
                  optional :schedule_time, :message, 1, "google.protobuf.Timestamp"
         | 
| 52 | 
            -
                  optional :interval_duration_days, :int32, 2
         | 
| 53 | 
            -
                end
         | 
| 54 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.ScanConfig.UserAgent" do
         | 
| 55 | 
            -
                  value :USER_AGENT_UNSPECIFIED, 0
         | 
| 56 | 
            -
                  value :CHROME_LINUX, 1
         | 
| 57 | 
            -
                  value :CHROME_ANDROID, 2
         | 
| 58 | 
            -
                  value :SAFARI_IPHONE, 3
         | 
| 59 | 
            -
                end
         | 
| 60 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel" do
         | 
| 61 | 
            -
                  value :RISK_LEVEL_UNSPECIFIED, 0
         | 
| 62 | 
            -
                  value :NORMAL, 1
         | 
| 63 | 
            -
                  value :LOW, 2
         | 
| 64 | 
            -
                end
         | 
| 65 | 
            -
                add_enum "google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter" do
         | 
| 66 | 
            -
                  value :EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED, 0
         | 
| 67 | 
            -
                  value :ENABLED, 1
         | 
| 68 | 
            -
                  value :DISABLED, 2
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            descriptor_data = "\n4google/cloud/websecurityscanner/v1/scan_config.proto\x12\"google.cloud.websecurityscanner.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc4\r\n\nScanConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07max_qps\x18\x03 \x01(\x05\x12\x15\n\rstarting_urls\x18\x04 \x03(\t\x12U\n\x0e\x61uthentication\x18\x05 \x01(\x0b\x32=.google.cloud.websecurityscanner.v1.ScanConfig.Authentication\x12L\n\nuser_agent\x18\x06 \x01(\x0e\x32\x38.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent\x12\x1a\n\x12\x62lacklist_patterns\x18\x07 \x03(\t\x12I\n\x08schedule\x18\x08 \x01(\x0b\x32\x37.google.cloud.websecurityscanner.v1.ScanConfig.Schedule\x12w\n!export_to_security_command_center\x18\n \x01(\x0e\x32L.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter\x12L\n\nrisk_level\x18\x0c \x01(\x0e\x32\x38.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel\x12\x14\n\x0cmanaged_scan\x18\r \x01(\x08\x12\x16\n\x0estatic_ip_scan\x18\x0e \x01(\x08\x12!\n\x19ignore_http_status_errors\x18\x0f \x01(\x08\x1a\xd7\x05\n\x0e\x41uthentication\x12i\n\x0egoogle_account\x18\x01 \x01(\x0b\x32K.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccountB\x02\x18\x01H\x00\x12\x65\n\x0e\x63ustom_account\x18\x02 \x01(\x0b\x32K.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccountH\x00\x12\x65\n\x0eiap_credential\x18\x04 \x01(\x0b\x32K.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredentialH\x00\x1a\x37\n\rGoogleAccount\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t:\x02\x18\x01\x1a\x46\n\rCustomAccount\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x11\n\tlogin_url\x18\x03 \x01(\t\x1a\xf8\x01\n\rIapCredential\x12\x8e\x01\n\x1diap_test_service_account_info\x18\x01 \x01(\x0b\x32\x65.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential.IapTestServiceAccountInfoH\x00\x1a\x43\n\x19IapTestServiceAccountInfo\x12&\n\x19target_audience_client_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0fiap_credentialsB\x10\n\x0e\x61uthentication\x1a]\n\x08Schedule\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16interval_duration_days\x18\x02 \x01(\x05\"`\n\tUserAgent\x12\x1a\n\x16USER_AGENT_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43HROME_LINUX\x10\x01\x12\x12\n\x0e\x43HROME_ANDROID\x10\x02\x12\x11\n\rSAFARI_IPHONE\x10\x03\"<\n\tRiskLevel\x12\x1a\n\x16RISK_LEVEL_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x07\n\x03LOW\x10\x02\"m\n\x1d\x45xportToSecurityCommandCenter\x12\x31\n-EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\x85\x02\n&com.google.cloud.websecurityscanner.v1B\x0fScanConfigProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            begin
         | 
| 16 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 17 | 
            +
            rescue TypeError => e
         | 
| 18 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 19 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 20 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 21 | 
            +
              parsed.clear_dependency
         | 
| 22 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 23 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 24 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 25 | 
            +
              imports = [
         | 
| 26 | 
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         | 
| 27 | 
            +
              ]
         | 
| 28 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 29 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 30 | 
            +
                if import_file.name != expected_filename
         | 
| 31 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 69 32 | 
             
                end
         | 
| 70 33 | 
             
              end
         | 
| 34 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 35 | 
            +
              warn "This will become an error in the next major version."
         | 
| 71 36 | 
             
            end
         | 
| 72 37 |  | 
| 73 38 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_run_error_trace.proto
         | 
| 3 4 |  | 
| @@ -5,23 +6,32 @@ require 'google/protobuf' | |
| 5 6 |  | 
| 6 7 | 
             
            require 'google/cloud/websecurityscanner/v1/scan_config_error_pb'
         | 
| 7 8 |  | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 9 | 
            +
             | 
| 10 | 
            +
            descriptor_data = "\n=google/cloud/websecurityscanner/v1/scan_run_error_trace.proto\x12\"google.cloud.websecurityscanner.v1\x1a:google/cloud/websecurityscanner/v1/scan_config_error.proto\"\x8d\x03\n\x11ScanRunErrorTrace\x12H\n\x04\x63ode\x18\x01 \x01(\x0e\x32:.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code\x12N\n\x11scan_config_error\x18\x02 \x01(\x0b\x32\x33.google.cloud.websecurityscanner.v1.ScanConfigError\x12#\n\x1bmost_common_http_error_code\x18\x03 \x01(\x05\"\xb8\x01\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x15\n\x11SCAN_CONFIG_ISSUE\x10\x02\x12\x1f\n\x1b\x41UTHENTICATION_CONFIG_ISSUE\x10\x03\x12\x1c\n\x18TIMED_OUT_WHILE_SCANNING\x10\x04\x12\x16\n\x12TOO_MANY_REDIRECTS\x10\x05\x12\x18\n\x14TOO_MANY_HTTP_ERRORS\x10\x06\x42\x8c\x02\n&com.google.cloud.websecurityscanner.v1B\x16ScanRunErrorTraceProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            begin
         | 
| 15 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 16 | 
            +
            rescue TypeError => e
         | 
| 17 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 18 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 19 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 20 | 
            +
              parsed.clear_dependency
         | 
| 21 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 22 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 23 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 24 | 
            +
              imports = [
         | 
| 25 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanConfigError", "google/cloud/websecurityscanner/v1/scan_config_error.proto"],
         | 
| 26 | 
            +
              ]
         | 
| 27 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 28 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 29 | 
            +
                if import_file.name != expected_filename
         | 
| 30 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 23 31 | 
             
                end
         | 
| 24 32 | 
             
              end
         | 
| 33 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 34 | 
            +
              warn "This will become an error in the next major version."
         | 
| 25 35 | 
             
            end
         | 
| 26 36 |  | 
| 27 37 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_run_log.proto
         | 
| 3 4 |  | 
| @@ -6,19 +7,32 @@ require 'google/protobuf' | |
| 6 7 | 
             
            require 'google/cloud/websecurityscanner/v1/scan_run_pb'
         | 
| 7 8 | 
             
            require 'google/cloud/websecurityscanner/v1/scan_run_error_trace_pb'
         | 
| 8 9 |  | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 10 | 
            +
             | 
| 11 | 
            +
            descriptor_data = "\n5google/cloud/websecurityscanner/v1/scan_run_log.proto\x12\"google.cloud.websecurityscanner.v1\x1a\x31google/cloud/websecurityscanner/v1/scan_run.proto\x1a=google/cloud/websecurityscanner/v1/scan_run_error_trace.proto\"\xe8\x02\n\nScanRunLog\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12S\n\x0f\x65xecution_state\x18\x03 \x01(\x0e\x32:.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState\x12M\n\x0cresult_state\x18\x04 \x01(\x0e\x32\x37.google.cloud.websecurityscanner.v1.ScanRun.ResultState\x12\x1a\n\x12urls_crawled_count\x18\x05 \x01(\x03\x12\x19\n\x11urls_tested_count\x18\x06 \x01(\x03\x12\x14\n\x0chas_findings\x18\x07 \x01(\x08\x12J\n\x0b\x65rror_trace\x18\x08 \x01(\x0b\x32\x35.google.cloud.websecurityscanner.v1.ScanRunErrorTraceB\x85\x02\n&com.google.cloud.websecurityscanner.v1B\x0fScanRunLogProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            begin
         | 
| 16 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 17 | 
            +
            rescue TypeError => e
         | 
| 18 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 19 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 20 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 21 | 
            +
              parsed.clear_dependency
         | 
| 22 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 23 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 24 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 25 | 
            +
              imports = [
         | 
| 26 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanRunErrorTrace", "google/cloud/websecurityscanner/v1/scan_run_error_trace.proto"],
         | 
| 27 | 
            +
              ]
         | 
| 28 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 29 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 30 | 
            +
                if import_file.name != expected_filename
         | 
| 31 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 20 32 | 
             
                end
         | 
| 21 33 | 
             
              end
         | 
| 34 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 35 | 
            +
              warn "This will become an error in the next major version."
         | 
| 22 36 | 
             
            end
         | 
| 23 37 |  | 
| 24 38 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_run.proto
         | 
| 3 4 |  | 
| @@ -7,34 +8,34 @@ require 'google/cloud/websecurityscanner/v1/scan_run_error_trace_pb' | |
| 7 8 | 
             
            require 'google/cloud/websecurityscanner/v1/scan_run_warning_trace_pb'
         | 
| 8 9 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 9 10 |  | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
                 | 
| 32 | 
            -
             | 
| 33 | 
            -
                   | 
| 34 | 
            -
                  value :ERROR, 2
         | 
| 35 | 
            -
                  value :KILLED, 3
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            descriptor_data = "\n1google/cloud/websecurityscanner/v1/scan_run.proto\x12\"google.cloud.websecurityscanner.v1\x1a=google/cloud/websecurityscanner/v1/scan_run_error_trace.proto\x1a?google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd0\x05\n\x07ScanRun\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\x0f\x65xecution_state\x18\x02 \x01(\x0e\x32:.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState\x12M\n\x0cresult_state\x18\x03 \x01(\x0e\x32\x37.google.cloud.websecurityscanner.v1.ScanRun.ResultState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12urls_crawled_count\x18\x06 \x01(\x03\x12\x19\n\x11urls_tested_count\x18\x07 \x01(\x03\x12\x1b\n\x13has_vulnerabilities\x18\x08 \x01(\x08\x12\x18\n\x10progress_percent\x18\t \x01(\x05\x12J\n\x0b\x65rror_trace\x18\n \x01(\x0b\x32\x35.google.cloud.websecurityscanner.v1.ScanRunErrorTrace\x12O\n\x0ewarning_traces\x18\x0b \x03(\x0b\x32\x37.google.cloud.websecurityscanner.v1.ScanRunWarningTrace\"Y\n\x0e\x45xecutionState\x12\x1f\n\x1b\x45XECUTION_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\x0c\n\x08SCANNING\x10\x02\x12\x0c\n\x08\x46INISHED\x10\x03\"O\n\x0bResultState\x12\x1c\n\x18RESULT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\n\n\x06KILLED\x10\x03\x42\x82\x02\n&com.google.cloud.websecurityscanner.v1B\x0cScanRunProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            begin
         | 
| 17 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 18 | 
            +
            rescue TypeError => e
         | 
| 19 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 20 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 21 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 22 | 
            +
              parsed.clear_dependency
         | 
| 23 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 24 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 25 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 26 | 
            +
              imports = [
         | 
| 27 | 
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         | 
| 28 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanRunErrorTrace", "google/cloud/websecurityscanner/v1/scan_run_error_trace.proto"],
         | 
| 29 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanRunWarningTrace", "google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto"],
         | 
| 30 | 
            +
              ]
         | 
| 31 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 32 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 33 | 
            +
                if import_file.name != expected_filename
         | 
| 34 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 36 35 | 
             
                end
         | 
| 37 36 | 
             
              end
         | 
| 37 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 38 | 
            +
              warn "This will become an error in the next major version."
         | 
| 38 39 | 
             
            end
         | 
| 39 40 |  | 
| 40 41 | 
             
            module Google
         | 
| @@ -1,22 +1,34 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto
         | 
| 3 4 |  | 
| 4 5 | 
             
            require 'google/protobuf'
         | 
| 5 6 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 7 | 
            +
             | 
| 8 | 
            +
            descriptor_data = "\n?google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto\x12\"google.cloud.websecurityscanner.v1\"\x95\x02\n\x13ScanRunWarningTrace\x12J\n\x04\x63ode\x18\x01 \x01(\x0e\x32<.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code\"\xb1\x01\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aINSUFFICIENT_CRAWL_RESULTS\x10\x01\x12\x1a\n\x16TOO_MANY_CRAWL_RESULTS\x10\x02\x12\x17\n\x13TOO_MANY_FUZZ_TASKS\x10\x03\x12\x12\n\x0e\x42LOCKED_BY_IAP\x10\x04\x12*\n&NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN\x10\x05\x42\x8e\x02\n&com.google.cloud.websecurityscanner.v1B\x18ScanRunWarningTraceProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            begin
         | 
| 13 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 14 | 
            +
            rescue TypeError => e
         | 
| 15 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 16 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 17 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 18 | 
            +
              parsed.clear_dependency
         | 
| 19 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 20 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 21 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 22 | 
            +
              imports = [
         | 
| 23 | 
            +
              ]
         | 
| 24 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 25 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 26 | 
            +
                if import_file.name != expected_filename
         | 
| 27 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 18 28 | 
             
                end
         | 
| 19 29 | 
             
              end
         | 
| 30 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 31 | 
            +
              warn "This will become an error in the next major version."
         | 
| 20 32 | 
             
            end
         | 
| 21 33 |  | 
| 22 34 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/websecurityscanner/v1/web_security_scanner.proto
         | 
| 3 4 |  | 
| @@ -13,78 +14,37 @@ require 'google/cloud/websecurityscanner/v1/scan_run_pb' | |
| 13 14 | 
             
            require 'google/protobuf/empty_pb'
         | 
| 14 15 | 
             
            require 'google/protobuf/field_mask_pb'
         | 
| 15 16 |  | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
                 | 
| 33 | 
            -
                 | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
                 | 
| 37 | 
            -
                 | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
                 | 
| 41 | 
            -
                 | 
| 42 | 
            -
                   | 
| 43 | 
            -
                end
         | 
| 44 | 
            -
                add_message "google.cloud.websecurityscanner.v1.GetScanRunRequest" do
         | 
| 45 | 
            -
                  optional :name, :string, 1
         | 
| 46 | 
            -
                end
         | 
| 47 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListScanRunsRequest" do
         | 
| 48 | 
            -
                  optional :parent, :string, 1
         | 
| 49 | 
            -
                  optional :page_token, :string, 2
         | 
| 50 | 
            -
                  optional :page_size, :int32, 3
         | 
| 51 | 
            -
                end
         | 
| 52 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListScanRunsResponse" do
         | 
| 53 | 
            -
                  repeated :scan_runs, :message, 1, "google.cloud.websecurityscanner.v1.ScanRun"
         | 
| 54 | 
            -
                  optional :next_page_token, :string, 2
         | 
| 55 | 
            -
                end
         | 
| 56 | 
            -
                add_message "google.cloud.websecurityscanner.v1.StopScanRunRequest" do
         | 
| 57 | 
            -
                  optional :name, :string, 1
         | 
| 58 | 
            -
                end
         | 
| 59 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest" do
         | 
| 60 | 
            -
                  optional :parent, :string, 1
         | 
| 61 | 
            -
                  optional :page_token, :string, 2
         | 
| 62 | 
            -
                  optional :page_size, :int32, 3
         | 
| 63 | 
            -
                end
         | 
| 64 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse" do
         | 
| 65 | 
            -
                  repeated :crawled_urls, :message, 1, "google.cloud.websecurityscanner.v1.CrawledUrl"
         | 
| 66 | 
            -
                  optional :next_page_token, :string, 2
         | 
| 67 | 
            -
                end
         | 
| 68 | 
            -
                add_message "google.cloud.websecurityscanner.v1.GetFindingRequest" do
         | 
| 69 | 
            -
                  optional :name, :string, 1
         | 
| 70 | 
            -
                end
         | 
| 71 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListFindingsRequest" do
         | 
| 72 | 
            -
                  optional :parent, :string, 1
         | 
| 73 | 
            -
                  optional :filter, :string, 2
         | 
| 74 | 
            -
                  optional :page_token, :string, 3
         | 
| 75 | 
            -
                  optional :page_size, :int32, 4
         | 
| 76 | 
            -
                end
         | 
| 77 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListFindingsResponse" do
         | 
| 78 | 
            -
                  repeated :findings, :message, 1, "google.cloud.websecurityscanner.v1.Finding"
         | 
| 79 | 
            -
                  optional :next_page_token, :string, 2
         | 
| 80 | 
            -
                end
         | 
| 81 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListFindingTypeStatsRequest" do
         | 
| 82 | 
            -
                  optional :parent, :string, 1
         | 
| 83 | 
            -
                end
         | 
| 84 | 
            -
                add_message "google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse" do
         | 
| 85 | 
            -
                  repeated :finding_type_stats, :message, 1, "google.cloud.websecurityscanner.v1.FindingTypeStats"
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            descriptor_data = "\n=google/cloud/websecurityscanner/v1/web_security_scanner.proto\x12\"google.cloud.websecurityscanner.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x34google/cloud/websecurityscanner/v1/crawled_url.proto\x1a\x30google/cloud/websecurityscanner/v1/finding.proto\x1a;google/cloud/websecurityscanner/v1/finding_type_stats.proto\x1a\x34google/cloud/websecurityscanner/v1/scan_config.proto\x1a\x31google/cloud/websecurityscanner/v1/scan_run.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"n\n\x17\x43reateScanConfigRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x43\n\x0bscan_config\x18\x02 \x01(\x0b\x32..google.cloud.websecurityscanner.v1.ScanConfig\"\'\n\x17\x44\x65leteScanConfigRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"$\n\x14GetScanConfigRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"O\n\x16ListScanConfigsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x8f\x01\n\x17UpdateScanConfigRequest\x12\x43\n\x0bscan_config\x18\x02 \x01(\x0b\x32..google.cloud.websecurityscanner.v1.ScanConfig\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"x\n\x17ListScanConfigsResponse\x12\x44\n\x0cscan_configs\x18\x01 \x03(\x0b\x32..google.cloud.websecurityscanner.v1.ScanConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"#\n\x13StartScanRunRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"!\n\x11GetScanRunRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"L\n\x13ListScanRunsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"o\n\x14ListScanRunsResponse\x12>\n\tscan_runs\x18\x01 \x03(\x0b\x32+.google.cloud.websecurityscanner.v1.ScanRun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\"\n\x12StopScanRunRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"O\n\x16ListCrawledUrlsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"x\n\x17ListCrawledUrlsResponse\x12\x44\n\x0c\x63rawled_urls\x18\x01 \x03(\x0b\x32..google.cloud.websecurityscanner.v1.CrawledUrl\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x11GetFindingRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\\\n\x13ListFindingsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\"n\n\x14ListFindingsResponse\x12=\n\x08\x66indings\x18\x01 \x03(\x0b\x32+.google.cloud.websecurityscanner.v1.Finding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"-\n\x1bListFindingTypeStatsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\"p\n\x1cListFindingTypeStatsResponse\x12P\n\x12\x66inding_type_stats\x18\x01 \x03(\x0b\x32\x34.google.cloud.websecurityscanner.v1.FindingTypeStats2\xe9\x13\n\x12WebSecurityScanner\x12\xb9\x01\n\x10\x43reateScanConfig\x12;.google.cloud.websecurityscanner.v1.CreateScanConfigRequest\x1a..google.cloud.websecurityscanner.v1.ScanConfig\"8\x82\xd3\xe4\x93\x02\x32\"#/v1/{parent=projects/*}/scanConfigs:\x0bscan_config\x12\x94\x01\n\x10\x44\x65leteScanConfig\x12;.google.cloud.websecurityscanner.v1.DeleteScanConfigRequest\x1a\x16.google.protobuf.Empty\"+\x82\xd3\xe4\x93\x02%*#/v1/{name=projects/*/scanConfigs/*}\x12\xa6\x01\n\rGetScanConfig\x12\x38.google.cloud.websecurityscanner.v1.GetScanConfigRequest\x1a..google.cloud.websecurityscanner.v1.ScanConfig\"+\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/scanConfigs/*}\x12\xb7\x01\n\x0fListScanConfigs\x12:.google.cloud.websecurityscanner.v1.ListScanConfigsRequest\x1a;.google.cloud.websecurityscanner.v1.ListScanConfigsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=projects/*}/scanConfigs\x12\xc5\x01\n\x10UpdateScanConfig\x12;.google.cloud.websecurityscanner.v1.UpdateScanConfigRequest\x1a..google.cloud.websecurityscanner.v1.ScanConfig\"D\x82\xd3\xe4\x93\x02>2//v1/{scan_config.name=projects/*/scanConfigs/*}:\x0bscan_config\x12\xaa\x01\n\x0cStartScanRun\x12\x37.google.cloud.websecurityscanner.v1.StartScanRunRequest\x1a+.google.cloud.websecurityscanner.v1.ScanRun\"4\x82\xd3\xe4\x93\x02.\")/v1/{name=projects/*/scanConfigs/*}:start:\x01*\x12\xa8\x01\n\nGetScanRun\x12\x35.google.cloud.websecurityscanner.v1.GetScanRunRequest\x1a+.google.cloud.websecurityscanner.v1.ScanRun\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/scanConfigs/*/scanRuns/*}\x12\xb9\x01\n\x0cListScanRuns\x12\x37.google.cloud.websecurityscanner.v1.ListScanRunsRequest\x1a\x38.google.cloud.websecurityscanner.v1.ListScanRunsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/scanConfigs/*}/scanRuns\x12\xb2\x01\n\x0bStopScanRun\x12\x36.google.cloud.websecurityscanner.v1.StopScanRunRequest\x1a+.google.cloud.websecurityscanner.v1.ScanRun\">\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/scanConfigs/*/scanRuns/*}:stop:\x01*\x12\xd0\x01\n\x0fListCrawledUrls\x12:.google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest\x1a;.google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse\"D\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls\x12\xb3\x01\n\nGetFinding\x12\x35.google.cloud.websecurityscanner.v1.GetFindingRequest\x1a+.google.cloud.websecurityscanner.v1.Finding\"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/scanConfigs/*/scanRuns/*/findings/*}\x12\xc4\x01\n\x0cListFindings\x12\x37.google.cloud.websecurityscanner.v1.ListFindingsRequest\x1a\x38.google.cloud.websecurityscanner.v1.ListFindingsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/findings\x12\xe4\x01\n\x14ListFindingTypeStats\x12?.google.cloud.websecurityscanner.v1.ListFindingTypeStatsRequest\x1a@.google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats\x1aU\xca\x41!websecurityscanner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x02\n&com.google.cloud.websecurityscanner.v1B\x17WebSecurityScannerProtoP\x01ZVcloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb\xaa\x02\"Google.Cloud.WebSecurityScanner.V1\xca\x02\"Google\\Cloud\\WebSecurityScanner\\V1\xea\x02%Google::Cloud::WebSecurityScanner::V1b\x06proto3"
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            begin
         | 
| 23 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 24 | 
            +
            rescue TypeError => e
         | 
| 25 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 26 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 27 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 28 | 
            +
              parsed.clear_dependency
         | 
| 29 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 30 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 31 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 32 | 
            +
              imports = [
         | 
| 33 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanConfig", "google/cloud/websecurityscanner/v1/scan_config.proto"],
         | 
| 34 | 
            +
                ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
         | 
| 35 | 
            +
                ["google.cloud.websecurityscanner.v1.ScanRun", "google/cloud/websecurityscanner/v1/scan_run.proto"],
         | 
| 36 | 
            +
                ["google.cloud.websecurityscanner.v1.CrawledUrl", "google/cloud/websecurityscanner/v1/crawled_url.proto"],
         | 
| 37 | 
            +
                ["google.cloud.websecurityscanner.v1.Finding", "google/cloud/websecurityscanner/v1/finding.proto"],
         | 
| 38 | 
            +
                ["google.cloud.websecurityscanner.v1.FindingTypeStats", "google/cloud/websecurityscanner/v1/finding_type_stats.proto"],
         | 
| 39 | 
            +
              ]
         | 
| 40 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 41 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 42 | 
            +
                if import_file.name != expected_filename
         | 
| 43 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 86 44 | 
             
                end
         | 
| 87 45 | 
             
              end
         | 
| 46 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 47 | 
            +
              warn "This will become an error in the next major version."
         | 
| 88 48 | 
             
            end
         | 
| 89 49 |  | 
| 90 50 | 
             
            module Google
         | 
| @@ -35,7 +35,9 @@ module Google | |
| 35 35 | 
             
                # Details about how and where to publish client libraries.
         | 
| 36 36 | 
             
                # @!attribute [rw] version
         | 
| 37 37 | 
             
                #   @return [::String]
         | 
| 38 | 
            -
                #     Version of the API to apply these settings to.
         | 
| 38 | 
            +
                #     Version of the API to apply these settings to. This is the full protobuf
         | 
| 39 | 
            +
                #     package for the API, ending in the version element.
         | 
| 40 | 
            +
                #     Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
         | 
| 39 41 | 
             
                # @!attribute [rw] launch_stage
         | 
| 40 42 | 
             
                #   @return [::Google::Api::LaunchStage]
         | 
| 41 43 | 
             
                #     Launch stage of this version of the API.
         | 
| @@ -81,7 +83,7 @@ module Google | |
| 81 83 | 
             
                #     long-running operation pattern.
         | 
| 82 84 | 
             
                # @!attribute [rw] new_issue_uri
         | 
| 83 85 | 
             
                #   @return [::String]
         | 
| 84 | 
            -
                #     Link to a  | 
| 86 | 
            +
                #     Link to a *public* URI where users can report issues.  Example:
         | 
| 85 87 | 
             
                #     https://issuetracker.google.com/issues/new?component=190865&template=1161103
         | 
| 86 88 | 
             
                # @!attribute [rw] documentation_uri
         | 
| 87 89 | 
             
                #   @return [::String]
         | 
| @@ -111,6 +113,10 @@ module Google | |
| 111 113 | 
             
                #     Client library settings.  If the same version string appears multiple
         | 
| 112 114 | 
             
                #     times in this list, then the last one wins.  Settings from earlier
         | 
| 113 115 | 
             
                #     settings with the same version string are discarded.
         | 
| 116 | 
            +
                # @!attribute [rw] proto_reference_documentation_uri
         | 
| 117 | 
            +
                #   @return [::String]
         | 
| 118 | 
            +
                #     Optional link to proto reference documentation.  Example:
         | 
| 119 | 
            +
                #     https://cloud.google.com/pubsub/lite/docs/reference/rpc
         | 
| 114 120 | 
             
                class Publishing
         | 
| 115 121 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 116 122 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -203,9 +209,57 @@ module Google | |
| 203 209 | 
             
                # @!attribute [rw] common
         | 
| 204 210 | 
             
                #   @return [::Google::Api::CommonLanguageSettings]
         | 
| 205 211 | 
             
                #     Some settings.
         | 
| 212 | 
            +
                # @!attribute [rw] renamed_services
         | 
| 213 | 
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         | 
| 214 | 
            +
                #     Map from original service names to renamed versions.
         | 
| 215 | 
            +
                #     This is used when the default generated types
         | 
| 216 | 
            +
                #     would cause a naming conflict. (Neither name is
         | 
| 217 | 
            +
                #     fully-qualified.)
         | 
| 218 | 
            +
                #     Example: Subscriber to SubscriberServiceApi.
         | 
| 219 | 
            +
                # @!attribute [rw] renamed_resources
         | 
| 220 | 
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         | 
| 221 | 
            +
                #     Map from full resource types to the effective short name
         | 
| 222 | 
            +
                #     for the resource. This is used when otherwise resource
         | 
| 223 | 
            +
                #     named from different services would cause naming collisions.
         | 
| 224 | 
            +
                #     Example entry:
         | 
| 225 | 
            +
                #     "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
         | 
| 226 | 
            +
                # @!attribute [rw] ignored_resources
         | 
| 227 | 
            +
                #   @return [::Array<::String>]
         | 
| 228 | 
            +
                #     List of full resource types to ignore during generation.
         | 
| 229 | 
            +
                #     This is typically used for API-specific Location resources,
         | 
| 230 | 
            +
                #     which should be handled by the generator as if they were actually
         | 
| 231 | 
            +
                #     the common Location resources.
         | 
| 232 | 
            +
                #     Example entry: "documentai.googleapis.com/Location"
         | 
| 233 | 
            +
                # @!attribute [rw] forced_namespace_aliases
         | 
| 234 | 
            +
                #   @return [::Array<::String>]
         | 
| 235 | 
            +
                #     Namespaces which must be aliased in snippets due to
         | 
| 236 | 
            +
                #     a known (but non-generator-predictable) naming collision
         | 
| 237 | 
            +
                # @!attribute [rw] handwritten_signatures
         | 
| 238 | 
            +
                #   @return [::Array<::String>]
         | 
| 239 | 
            +
                #     Method signatures (in the form "service.method(signature)")
         | 
| 240 | 
            +
                #     which are provided separately, so shouldn't be generated.
         | 
| 241 | 
            +
                #     Snippets *calling* these methods are still generated, however.
         | 
| 206 242 | 
             
                class DotnetSettings
         | 
| 207 243 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 208 244 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 245 | 
            +
             | 
| 246 | 
            +
                  # @!attribute [rw] key
         | 
| 247 | 
            +
                  #   @return [::String]
         | 
| 248 | 
            +
                  # @!attribute [rw] value
         | 
| 249 | 
            +
                  #   @return [::String]
         | 
| 250 | 
            +
                  class RenamedServicesEntry
         | 
| 251 | 
            +
                    include ::Google::Protobuf::MessageExts
         | 
| 252 | 
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 253 | 
            +
                  end
         | 
| 254 | 
            +
             | 
| 255 | 
            +
                  # @!attribute [rw] key
         | 
| 256 | 
            +
                  #   @return [::String]
         | 
| 257 | 
            +
                  # @!attribute [rw] value
         | 
| 258 | 
            +
                  #   @return [::String]
         | 
| 259 | 
            +
                  class RenamedResourcesEntry
         | 
| 260 | 
            +
                    include ::Google::Protobuf::MessageExts
         | 
| 261 | 
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 262 | 
            +
                  end
         | 
| 209 263 | 
             
                end
         | 
| 210 264 |  | 
| 211 265 | 
             
                # Settings for Ruby client libraries.
         | 
| @@ -240,8 +294,8 @@ module Google | |
| 240 294 | 
             
                #     Example of a YAML configuration::
         | 
| 241 295 | 
             
                #
         | 
| 242 296 | 
             
                #      publishing:
         | 
| 243 | 
            -
                #         | 
| 244 | 
            -
                #          - selector:  | 
| 297 | 
            +
                #        method_settings:
         | 
| 298 | 
            +
                #          - selector: google.cloud.speech.v2.Speech.BatchRecognize
         | 
| 245 299 | 
             
                #            long_running:
         | 
| 246 300 | 
             
                #              initial_poll_delay:
         | 
| 247 301 | 
             
                #                seconds: 60 # 1 minute
         | 
| @@ -299,6 +353,15 @@ module Google | |
| 299 353 |  | 
| 300 354 | 
             
                  # Street View Org.
         | 
| 301 355 | 
             
                  STREET_VIEW = 4
         | 
| 356 | 
            +
             | 
| 357 | 
            +
                  # Shopping Org.
         | 
| 358 | 
            +
                  SHOPPING = 5
         | 
| 359 | 
            +
             | 
| 360 | 
            +
                  # Geo Org.
         | 
| 361 | 
            +
                  GEO = 6
         | 
| 362 | 
            +
             | 
| 363 | 
            +
                  # Generative AI - https://developers.generativeai.google
         | 
| 364 | 
            +
                  GENERATIVE_AI = 7
         | 
| 302 365 | 
             
                end
         | 
| 303 366 |  | 
| 304 367 | 
             
                # To where should client libraries be published?
         | 
| @@ -69,7 +69,6 @@ module Google | |
| 69 69 | 
             
                #     Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
         | 
| 70 70 | 
             
                #         .setNanos((int) ((millis % 1000) * 1000000)).build();
         | 
| 71 71 | 
             
                #
         | 
| 72 | 
            -
                #
         | 
| 73 72 | 
             
                # Example 5: Compute Timestamp from Java `Instant.now()`.
         | 
| 74 73 | 
             
                #
         | 
| 75 74 | 
             
                #     Instant now = Instant.now();
         | 
| @@ -78,7 +77,6 @@ module Google | |
| 78 77 | 
             
                #         Timestamp.newBuilder().setSeconds(now.getEpochSecond())
         | 
| 79 78 | 
             
                #             .setNanos(now.getNano()).build();
         | 
| 80 79 | 
             
                #
         | 
| 81 | 
            -
                #
         | 
| 82 80 | 
             
                # Example 6: Compute Timestamp from current time in Python.
         | 
| 83 81 | 
             
                #
         | 
| 84 82 | 
             
                #     timestamp = Timestamp()
         | 
| @@ -108,7 +106,7 @@ module Google | |
| 108 106 | 
             
                # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
         | 
| 109 107 | 
             
                # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
         | 
| 110 108 | 
             
                # the Joda Time's [`ISODateTimeFormat.dateTime()`](
         | 
| 111 | 
            -
                # http:// | 
| 109 | 
            +
                # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
         | 
| 112 110 | 
             
                # ) to obtain a formatter capable of generating timestamps in this format.
         | 
| 113 111 | 
             
                # @!attribute [rw] seconds
         | 
| 114 112 | 
             
                #   @return [::Integer]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-web_security_scanner-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-05-31 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 19 | 
            +
                    version: 0.19.0
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 29 | 
            +
                    version: 0.19.0
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         |