google-cloud-security_center-v1 0.40.0 → 0.41.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/lib/google/cloud/security_center/v1/security_center/client.rb +93 -45
 - data/lib/google/cloud/security_center/v1/security_center/operations.rb +13 -5
 - data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +93 -45
 - data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +11 -4
 - data/lib/google/cloud/security_center/v1/version.rb +1 -1
 - data/lib/google/cloud/securitycenter/v1/finding_pb.rb +5 -1
 - data/lib/google/cloud/securitycenter/v1/group_membership_pb.rb +43 -0
 - data/lib/google/cloud/securitycenter/v1/toxic_combination_pb.rb +42 -0
 - data/proto_docs/google/cloud/securitycenter/v1/finding.rb +18 -0
 - data/proto_docs/google/cloud/securitycenter/v1/group_membership.rb +48 -0
 - data/proto_docs/google/cloud/securitycenter/v1/toxic_combination.rb +45 -0
 - metadata +6 -2
 
| 
         @@ -32,6 +32,9 @@ module Google 
     | 
|
| 
       32 
32 
     | 
    
         
             
                        # V1 APIs for Security Center service.
         
     | 
| 
       33 
33 
     | 
    
         
             
                        #
         
     | 
| 
       34 
34 
     | 
    
         
             
                        class Client
         
     | 
| 
      
 35 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 36 
     | 
    
         
            +
                          API_VERSION = ""
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
       35 
38 
     | 
    
         
             
                          # @private
         
     | 
| 
       36 
39 
     | 
    
         
             
                          DEFAULT_ENDPOINT_TEMPLATE = "securitycenter.$UNIVERSE_DOMAIN$"
         
     | 
| 
       37 
40 
     | 
    
         | 
| 
         @@ -366,12 +369,13 @@ module Google 
     | 
|
| 
       366 
369 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       367 
370 
     | 
    
         
             
                            call_metadata = @config.rpcs.bulk_mute_findings.metadata.to_h
         
     | 
| 
       368 
371 
     | 
    
         | 
| 
       369 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 372 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       370 
373 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       371 
374 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       372 
375 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       373 
376 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       374 
377 
     | 
    
         | 
| 
      
 378 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       375 
379 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       376 
380 
     | 
    
         | 
| 
       377 
381 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.bulk_mute_findings.timeout,
         
     | 
| 
         @@ -455,12 +459,13 @@ module Google 
     | 
|
| 
       455 
459 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       456 
460 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       457 
461 
     | 
    
         | 
| 
       458 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 462 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       459 
463 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       460 
464 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       461 
465 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       462 
466 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       463 
467 
     | 
    
         | 
| 
      
 468 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       464 
469 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       465 
470 
     | 
    
         | 
| 
       466 
471 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -537,12 +542,13 @@ module Google 
     | 
|
| 
       537 
542 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       538 
543 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_source.metadata.to_h
         
     | 
| 
       539 
544 
     | 
    
         | 
| 
       540 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 545 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       541 
546 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       542 
547 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       543 
548 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       544 
549 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       545 
550 
     | 
    
         | 
| 
      
 551 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       546 
552 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       547 
553 
     | 
    
         | 
| 
       548 
554 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_source.timeout,
         
     | 
| 
         @@ -624,12 +630,13 @@ module Google 
     | 
|
| 
       624 
630 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       625 
631 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_finding.metadata.to_h
         
     | 
| 
       626 
632 
     | 
    
         | 
| 
       627 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 633 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       628 
634 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       629 
635 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       630 
636 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       631 
637 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       632 
638 
     | 
    
         | 
| 
      
 639 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       633 
640 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       634 
641 
     | 
    
         | 
| 
       635 
642 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_finding.timeout,
         
     | 
| 
         @@ -711,12 +718,13 @@ module Google 
     | 
|
| 
       711 
718 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       712 
719 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_mute_config.metadata.to_h
         
     | 
| 
       713 
720 
     | 
    
         | 
| 
       714 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 721 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       715 
722 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       716 
723 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       717 
724 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       718 
725 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       719 
726 
     | 
    
         | 
| 
      
 727 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       720 
728 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       721 
729 
     | 
    
         | 
| 
       722 
730 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_mute_config.timeout,
         
     | 
| 
         @@ -800,12 +808,13 @@ module Google 
     | 
|
| 
       800 
808 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       801 
809 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_notification_config.metadata.to_h
         
     | 
| 
       802 
810 
     | 
    
         | 
| 
       803 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 811 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       804 
812 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       805 
813 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       806 
814 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       807 
815 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       808 
816 
     | 
    
         | 
| 
      
 817 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       809 
818 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       810 
819 
     | 
    
         | 
| 
       811 
820 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_notification_config.timeout,
         
     | 
| 
         @@ -881,12 +890,13 @@ module Google 
     | 
|
| 
       881 
890 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       882 
891 
     | 
    
         
             
                            call_metadata = @config.rpcs.delete_mute_config.metadata.to_h
         
     | 
| 
       883 
892 
     | 
    
         | 
| 
       884 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 893 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       885 
894 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       886 
895 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       887 
896 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       888 
897 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       889 
898 
     | 
    
         | 
| 
      
 899 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       890 
900 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       891 
901 
     | 
    
         | 
| 
       892 
902 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_mute_config.timeout,
         
     | 
| 
         @@ -962,12 +972,13 @@ module Google 
     | 
|
| 
       962 
972 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       963 
973 
     | 
    
         
             
                            call_metadata = @config.rpcs.delete_notification_config.metadata.to_h
         
     | 
| 
       964 
974 
     | 
    
         | 
| 
       965 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 975 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       966 
976 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       967 
977 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       968 
978 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       969 
979 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       970 
980 
     | 
    
         | 
| 
      
 981 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       971 
982 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       972 
983 
     | 
    
         | 
| 
       973 
984 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_notification_config.timeout,
         
     | 
| 
         @@ -1046,12 +1057,13 @@ module Google 
     | 
|
| 
       1046 
1057 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1047 
1058 
     | 
    
         
             
                            call_metadata = @config.rpcs.delete_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       1048 
1059 
     | 
    
         | 
| 
       1049 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1060 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1050 
1061 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1051 
1062 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1052 
1063 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1053 
1064 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1054 
1065 
     | 
    
         | 
| 
      
 1066 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1055 
1067 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1056 
1068 
     | 
    
         | 
| 
       1057 
1069 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -1127,12 +1139,13 @@ module Google 
     | 
|
| 
       1127 
1139 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1128 
1140 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_big_query_export.metadata.to_h
         
     | 
| 
       1129 
1141 
     | 
    
         | 
| 
       1130 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1142 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1131 
1143 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1132 
1144 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1133 
1145 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1134 
1146 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1135 
1147 
     | 
    
         | 
| 
      
 1148 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1136 
1149 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1137 
1150 
     | 
    
         | 
| 
       1138 
1151 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_big_query_export.timeout,
         
     | 
| 
         @@ -1209,12 +1222,13 @@ module Google 
     | 
|
| 
       1209 
1222 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1210 
1223 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
         
     | 
| 
       1211 
1224 
     | 
    
         | 
| 
       1212 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1225 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1213 
1226 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1214 
1227 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1215 
1228 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1216 
1229 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1217 
1230 
     | 
    
         | 
| 
      
 1231 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1218 
1232 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1219 
1233 
     | 
    
         | 
| 
       1220 
1234 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_iam_policy.timeout,
         
     | 
| 
         @@ -1290,12 +1304,13 @@ module Google 
     | 
|
| 
       1290 
1304 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1291 
1305 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_mute_config.metadata.to_h
         
     | 
| 
       1292 
1306 
     | 
    
         | 
| 
       1293 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1307 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1294 
1308 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1295 
1309 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1296 
1310 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1297 
1311 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1298 
1312 
     | 
    
         | 
| 
      
 1313 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1299 
1314 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1300 
1315 
     | 
    
         | 
| 
       1301 
1316 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_mute_config.timeout,
         
     | 
| 
         @@ -1371,12 +1386,13 @@ module Google 
     | 
|
| 
       1371 
1386 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1372 
1387 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_notification_config.metadata.to_h
         
     | 
| 
       1373 
1388 
     | 
    
         | 
| 
       1374 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1389 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1375 
1390 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1376 
1391 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1377 
1392 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1378 
1393 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1379 
1394 
     | 
    
         | 
| 
      
 1395 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1380 
1396 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1381 
1397 
     | 
    
         | 
| 
       1382 
1398 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_notification_config.timeout,
         
     | 
| 
         @@ -1450,12 +1466,13 @@ module Google 
     | 
|
| 
       1450 
1466 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1451 
1467 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_organization_settings.metadata.to_h
         
     | 
| 
       1452 
1468 
     | 
    
         | 
| 
       1453 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1469 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1454 
1470 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1455 
1471 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1456 
1472 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1457 
1473 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1458 
1474 
     | 
    
         | 
| 
      
 1475 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1459 
1476 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1460 
1477 
     | 
    
         | 
| 
       1461 
1478 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_organization_settings.timeout,
         
     | 
| 
         @@ -1532,12 +1549,13 @@ module Google 
     | 
|
| 
       1532 
1549 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1533 
1550 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_effective_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       1534 
1551 
     | 
    
         | 
| 
       1535 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1552 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1536 
1553 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1537 
1554 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1538 
1555 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1539 
1556 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1540 
1557 
     | 
    
         | 
| 
      
 1558 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1541 
1559 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1542 
1560 
     | 
    
         | 
| 
       1543 
1561 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_effective_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -1614,12 +1632,13 @@ module Google 
     | 
|
| 
       1614 
1632 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1615 
1633 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       1616 
1634 
     | 
    
         | 
| 
       1617 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1635 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1618 
1636 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1619 
1637 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1620 
1638 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1621 
1639 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1622 
1640 
     | 
    
         | 
| 
      
 1641 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1623 
1642 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1624 
1643 
     | 
    
         | 
| 
       1625 
1644 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -1693,12 +1712,13 @@ module Google 
     | 
|
| 
       1693 
1712 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1694 
1713 
     | 
    
         
             
                            call_metadata = @config.rpcs.get_source.metadata.to_h
         
     | 
| 
       1695 
1714 
     | 
    
         | 
| 
       1696 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1715 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1697 
1716 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1698 
1717 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1699 
1718 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1700 
1719 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1701 
1720 
     | 
    
         | 
| 
      
 1721 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1702 
1722 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1703 
1723 
     | 
    
         | 
| 
       1704 
1724 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_source.timeout,
         
     | 
| 
         @@ -1900,12 +1920,13 @@ module Google 
     | 
|
| 
       1900 
1920 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       1901 
1921 
     | 
    
         
             
                            call_metadata = @config.rpcs.group_assets.metadata.to_h
         
     | 
| 
       1902 
1922 
     | 
    
         | 
| 
       1903 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 1923 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       1904 
1924 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       1905 
1925 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       1906 
1926 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       1907 
1927 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       1908 
1928 
     | 
    
         | 
| 
      
 1929 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       1909 
1930 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       1910 
1931 
     | 
    
         | 
| 
       1911 
1932 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.group_assets.timeout,
         
     | 
| 
         @@ -2116,12 +2137,13 @@ module Google 
     | 
|
| 
       2116 
2137 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2117 
2138 
     | 
    
         
             
                            call_metadata = @config.rpcs.group_findings.metadata.to_h
         
     | 
| 
       2118 
2139 
     | 
    
         | 
| 
       2119 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2140 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2120 
2141 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2121 
2142 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2122 
2143 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2123 
2144 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2124 
2145 
     | 
    
         | 
| 
      
 2146 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2125 
2147 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2126 
2148 
     | 
    
         | 
| 
       2127 
2149 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.group_findings.timeout,
         
     | 
| 
         @@ -2329,12 +2351,13 @@ module Google 
     | 
|
| 
       2329 
2351 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2330 
2352 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_assets.metadata.to_h
         
     | 
| 
       2331 
2353 
     | 
    
         | 
| 
       2332 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2354 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2333 
2355 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2334 
2356 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2335 
2357 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2336 
2358 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2337 
2359 
     | 
    
         | 
| 
      
 2360 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2338 
2361 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2339 
2362 
     | 
    
         | 
| 
       2340 
2363 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_assets.timeout,
         
     | 
| 
         @@ -2421,12 +2444,13 @@ module Google 
     | 
|
| 
       2421 
2444 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2422 
2445 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_descendant_security_health_analytics_custom_modules.metadata.to_h
         
     | 
| 
       2423 
2446 
     | 
    
         | 
| 
       2424 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2447 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2425 
2448 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2426 
2449 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2427 
2450 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2428 
2451 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2429 
2452 
     | 
    
         | 
| 
      
 2453 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2430 
2454 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2431 
2455 
     | 
    
         | 
| 
       2432 
2456 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_descendant_security_health_analytics_custom_modules.timeout,
         
     | 
| 
         @@ -2640,12 +2664,13 @@ module Google 
     | 
|
| 
       2640 
2664 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2641 
2665 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_findings.metadata.to_h
         
     | 
| 
       2642 
2666 
     | 
    
         | 
| 
       2643 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2667 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2644 
2668 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2645 
2669 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2646 
2670 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2647 
2671 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2648 
2672 
     | 
    
         | 
| 
      
 2673 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2649 
2674 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2650 
2675 
     | 
    
         | 
| 
       2651 
2676 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_findings.timeout,
         
     | 
| 
         @@ -2736,12 +2761,13 @@ module Google 
     | 
|
| 
       2736 
2761 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2737 
2762 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_mute_configs.metadata.to_h
         
     | 
| 
       2738 
2763 
     | 
    
         | 
| 
       2739 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2764 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2740 
2765 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2741 
2766 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2742 
2767 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2743 
2768 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2744 
2769 
     | 
    
         | 
| 
      
 2770 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2745 
2771 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2746 
2772 
     | 
    
         | 
| 
       2747 
2773 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_mute_configs.timeout,
         
     | 
| 
         @@ -2828,12 +2854,13 @@ module Google 
     | 
|
| 
       2828 
2854 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2829 
2855 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_notification_configs.metadata.to_h
         
     | 
| 
       2830 
2856 
     | 
    
         | 
| 
       2831 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2857 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2832 
2858 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2833 
2859 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2834 
2860 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2835 
2861 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2836 
2862 
     | 
    
         | 
| 
      
 2863 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2837 
2864 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2838 
2865 
     | 
    
         | 
| 
       2839 
2866 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_notification_configs.timeout,
         
     | 
| 
         @@ -2921,12 +2948,13 @@ module Google 
     | 
|
| 
       2921 
2948 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       2922 
2949 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_effective_security_health_analytics_custom_modules.metadata.to_h
         
     | 
| 
       2923 
2950 
     | 
    
         | 
| 
       2924 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 2951 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       2925 
2952 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       2926 
2953 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       2927 
2954 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       2928 
2955 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       2929 
2956 
     | 
    
         | 
| 
      
 2957 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       2930 
2958 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       2931 
2959 
     | 
    
         | 
| 
       2932 
2960 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_effective_security_health_analytics_custom_modules.timeout,
         
     | 
| 
         @@ -3014,12 +3042,13 @@ module Google 
     | 
|
| 
       3014 
3042 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3015 
3043 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_security_health_analytics_custom_modules.metadata.to_h
         
     | 
| 
       3016 
3044 
     | 
    
         | 
| 
       3017 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3045 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3018 
3046 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3019 
3047 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3020 
3048 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3021 
3049 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3022 
3050 
     | 
    
         | 
| 
      
 3051 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3023 
3052 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3024 
3053 
     | 
    
         | 
| 
       3025 
3054 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_security_health_analytics_custom_modules.timeout,
         
     | 
| 
         @@ -3106,12 +3135,13 @@ module Google 
     | 
|
| 
       3106 
3135 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3107 
3136 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_sources.metadata.to_h
         
     | 
| 
       3108 
3137 
     | 
    
         | 
| 
       3109 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3138 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3110 
3139 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3111 
3140 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3112 
3141 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3113 
3142 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3114 
3143 
     | 
    
         | 
| 
      
 3144 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3115 
3145 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3116 
3146 
     | 
    
         | 
| 
       3117 
3147 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_sources.timeout,
         
     | 
| 
         @@ -3198,12 +3228,13 @@ module Google 
     | 
|
| 
       3198 
3228 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3199 
3229 
     | 
    
         
             
                            call_metadata = @config.rpcs.run_asset_discovery.metadata.to_h
         
     | 
| 
       3200 
3230 
     | 
    
         | 
| 
       3201 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3231 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3202 
3232 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3203 
3233 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3204 
3234 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3205 
3235 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3206 
3236 
     | 
    
         | 
| 
      
 3237 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3207 
3238 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3208 
3239 
     | 
    
         | 
| 
       3209 
3240 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.run_asset_discovery.timeout,
         
     | 
| 
         @@ -3286,12 +3317,13 @@ module Google 
     | 
|
| 
       3286 
3317 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3287 
3318 
     | 
    
         
             
                            call_metadata = @config.rpcs.set_finding_state.metadata.to_h
         
     | 
| 
       3288 
3319 
     | 
    
         | 
| 
       3289 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3320 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3290 
3321 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3291 
3322 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3292 
3323 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3293 
3324 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3294 
3325 
     | 
    
         | 
| 
      
 3326 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3295 
3327 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3296 
3328 
     | 
    
         | 
| 
       3297 
3329 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.set_finding_state.timeout,
         
     | 
| 
         @@ -3371,12 +3403,13 @@ module Google 
     | 
|
| 
       3371 
3403 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3372 
3404 
     | 
    
         
             
                            call_metadata = @config.rpcs.set_mute.metadata.to_h
         
     | 
| 
       3373 
3405 
     | 
    
         | 
| 
       3374 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3406 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3375 
3407 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3376 
3408 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3377 
3409 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3378 
3410 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3379 
3411 
     | 
    
         | 
| 
      
 3412 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3380 
3413 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3381 
3414 
     | 
    
         | 
| 
       3382 
3415 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.set_mute.timeout,
         
     | 
| 
         @@ -3461,12 +3494,13 @@ module Google 
     | 
|
| 
       3461 
3494 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3462 
3495 
     | 
    
         
             
                            call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
         
     | 
| 
       3463 
3496 
     | 
    
         | 
| 
       3464 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3497 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3465 
3498 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3466 
3499 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3467 
3500 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3468 
3501 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3469 
3502 
     | 
    
         | 
| 
      
 3503 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3470 
3504 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3471 
3505 
     | 
    
         | 
| 
       3472 
3506 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.set_iam_policy.timeout,
         
     | 
| 
         @@ -3545,12 +3579,13 @@ module Google 
     | 
|
| 
       3545 
3579 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3546 
3580 
     | 
    
         
             
                            call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
         
     | 
| 
       3547 
3581 
     | 
    
         | 
| 
       3548 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3582 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3549 
3583 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3550 
3584 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3551 
3585 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3552 
3586 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3553 
3587 
     | 
    
         | 
| 
      
 3588 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3554 
3589 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3555 
3590 
     | 
    
         | 
| 
       3556 
3591 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.test_iam_permissions.timeout,
         
     | 
| 
         @@ -3631,12 +3666,13 @@ module Google 
     | 
|
| 
       3631 
3666 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3632 
3667 
     | 
    
         
             
                            call_metadata = @config.rpcs.simulate_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       3633 
3668 
     | 
    
         | 
| 
       3634 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3669 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3635 
3670 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3636 
3671 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3637 
3672 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3638 
3673 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3639 
3674 
     | 
    
         | 
| 
      
 3675 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3640 
3676 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3641 
3677 
     | 
    
         | 
| 
       3642 
3678 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.simulate_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -3713,12 +3749,13 @@ module Google 
     | 
|
| 
       3713 
3749 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3714 
3750 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_external_system.metadata.to_h
         
     | 
| 
       3715 
3751 
     | 
    
         | 
| 
       3716 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3752 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3717 
3753 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3718 
3754 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3719 
3755 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3720 
3756 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3721 
3757 
     | 
    
         | 
| 
      
 3758 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3722 
3759 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3723 
3760 
     | 
    
         | 
| 
       3724 
3761 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_external_system.timeout,
         
     | 
| 
         @@ -3805,12 +3842,13 @@ module Google 
     | 
|
| 
       3805 
3842 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3806 
3843 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_finding.metadata.to_h
         
     | 
| 
       3807 
3844 
     | 
    
         | 
| 
       3808 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3845 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3809 
3846 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3810 
3847 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3811 
3848 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3812 
3849 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3813 
3850 
     | 
    
         | 
| 
      
 3851 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3814 
3852 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3815 
3853 
     | 
    
         | 
| 
       3816 
3854 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_finding.timeout,
         
     | 
| 
         @@ -3886,12 +3924,13 @@ module Google 
     | 
|
| 
       3886 
3924 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3887 
3925 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_mute_config.metadata.to_h
         
     | 
| 
       3888 
3926 
     | 
    
         | 
| 
       3889 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 3927 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3890 
3928 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3891 
3929 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3892 
3930 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3893 
3931 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3894 
3932 
     | 
    
         | 
| 
      
 3933 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3895 
3934 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3896 
3935 
     | 
    
         | 
| 
       3897 
3936 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_mute_config.timeout,
         
     | 
| 
         @@ -3969,12 +4008,13 @@ module Google 
     | 
|
| 
       3969 
4008 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       3970 
4009 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_notification_config.metadata.to_h
         
     | 
| 
       3971 
4010 
     | 
    
         | 
| 
       3972 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4011 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       3973 
4012 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       3974 
4013 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       3975 
4014 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       3976 
4015 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       3977 
4016 
     | 
    
         | 
| 
      
 4017 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       3978 
4018 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       3979 
4019 
     | 
    
         | 
| 
       3980 
4020 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_notification_config.timeout,
         
     | 
| 
         @@ -4051,12 +4091,13 @@ module Google 
     | 
|
| 
       4051 
4091 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4052 
4092 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_organization_settings.metadata.to_h
         
     | 
| 
       4053 
4093 
     | 
    
         | 
| 
       4054 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4094 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4055 
4095 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4056 
4096 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4057 
4097 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4058 
4098 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4059 
4099 
     | 
    
         | 
| 
      
 4100 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4060 
4101 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4061 
4102 
     | 
    
         | 
| 
       4062 
4103 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_organization_settings.timeout,
         
     | 
| 
         @@ -4135,12 +4176,13 @@ module Google 
     | 
|
| 
       4135 
4176 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4136 
4177 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_security_health_analytics_custom_module.metadata.to_h
         
     | 
| 
       4137 
4178 
     | 
    
         | 
| 
       4138 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4179 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4139 
4180 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4140 
4181 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4141 
4182 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4142 
4183 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4143 
4184 
     | 
    
         | 
| 
      
 4185 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4144 
4186 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4145 
4187 
     | 
    
         | 
| 
       4146 
4188 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_security_health_analytics_custom_module.timeout,
         
     | 
| 
         @@ -4217,12 +4259,13 @@ module Google 
     | 
|
| 
       4217 
4259 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4218 
4260 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_source.metadata.to_h
         
     | 
| 
       4219 
4261 
     | 
    
         | 
| 
       4220 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4262 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4221 
4263 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4222 
4264 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4223 
4265 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4224 
4266 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4225 
4267 
     | 
    
         | 
| 
      
 4268 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4226 
4269 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4227 
4270 
     | 
    
         | 
| 
       4228 
4271 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_source.timeout,
         
     | 
| 
         @@ -4306,12 +4349,13 @@ module Google 
     | 
|
| 
       4306 
4349 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4307 
4350 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_security_marks.metadata.to_h
         
     | 
| 
       4308 
4351 
     | 
    
         | 
| 
       4309 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4352 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4310 
4353 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4311 
4354 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4312 
4355 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4313 
4356 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4314 
4357 
     | 
    
         | 
| 
      
 4358 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4315 
4359 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4316 
4360 
     | 
    
         | 
| 
       4317 
4361 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_security_marks.timeout,
         
     | 
| 
         @@ -4393,12 +4437,13 @@ module Google 
     | 
|
| 
       4393 
4437 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4394 
4438 
     | 
    
         
             
                            call_metadata = @config.rpcs.create_big_query_export.metadata.to_h
         
     | 
| 
       4395 
4439 
     | 
    
         | 
| 
       4396 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4440 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4397 
4441 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4398 
4442 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4399 
4443 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4400 
4444 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4401 
4445 
     | 
    
         | 
| 
      
 4446 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4402 
4447 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4403 
4448 
     | 
    
         | 
| 
       4404 
4449 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_big_query_export.timeout,
         
     | 
| 
         @@ -4474,12 +4519,13 @@ module Google 
     | 
|
| 
       4474 
4519 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4475 
4520 
     | 
    
         
             
                            call_metadata = @config.rpcs.delete_big_query_export.metadata.to_h
         
     | 
| 
       4476 
4521 
     | 
    
         | 
| 
       4477 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4522 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4478 
4523 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4479 
4524 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4480 
4525 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4481 
4526 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4482 
4527 
     | 
    
         | 
| 
      
 4528 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4483 
4529 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4484 
4530 
     | 
    
         | 
| 
       4485 
4531 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_big_query_export.timeout,
         
     | 
| 
         @@ -4555,12 +4601,13 @@ module Google 
     | 
|
| 
       4555 
4601 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4556 
4602 
     | 
    
         
             
                            call_metadata = @config.rpcs.update_big_query_export.metadata.to_h
         
     | 
| 
       4557 
4603 
     | 
    
         | 
| 
       4558 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4604 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4559 
4605 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4560 
4606 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4561 
4607 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4562 
4608 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4563 
4609 
     | 
    
         | 
| 
      
 4610 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4564 
4611 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4565 
4612 
     | 
    
         | 
| 
       4566 
4613 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_big_query_export.timeout,
         
     | 
| 
         @@ -4653,12 +4700,13 @@ module Google 
     | 
|
| 
       4653 
4700 
     | 
    
         
             
                            # Customize the options with defaults
         
     | 
| 
       4654 
4701 
     | 
    
         
             
                            call_metadata = @config.rpcs.list_big_query_exports.metadata.to_h
         
     | 
| 
       4655 
4702 
     | 
    
         | 
| 
       4656 
     | 
    
         
            -
                            # Set x-goog-api-client  
     | 
| 
      
 4703 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
       4657 
4704 
     | 
    
         
             
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
       4658 
4705 
     | 
    
         
             
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
       4659 
4706 
     | 
    
         
             
                              gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION,
         
     | 
| 
       4660 
4707 
     | 
    
         
             
                              transports_version_send: [:rest]
         
     | 
| 
       4661 
4708 
     | 
    
         | 
| 
      
 4709 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
       4662 
4710 
     | 
    
         
             
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
       4663 
4711 
     | 
    
         | 
| 
       4664 
4712 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_big_query_exports.timeout,
         
     |