airbyte-source-google-search-console 1.9.0__py3-none-any.whl → 1.9.1rc1__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-search-console
3
- Version: 1.9.0
3
+ Version: 1.9.1rc1
4
4
  Summary: Source implementation for Google Search Console.
5
5
  License: Elv2
6
6
  Author: Airbyte
@@ -2,12 +2,12 @@ source_google_search_console/__init__.py,sha256=HQCPu-CK7XmVDtP9rmTdB2XyraVCc6pv
2
2
  source_google_search_console/components.py,sha256=_6gl-xgwmvRgChEGNZhMsuYAcTw7gIf3yfe7IKvWkPk,6767
3
3
  source_google_search_console/config_migrations.py,sha256=Cl4SUdJpAf6wMM_vVhqjjU89NfUq9LIGJ9zNrWiBk-A,4235
4
4
  source_google_search_console/exceptions.py,sha256=iD3jYC4WxVCEKGsqQ7Vaj1tbjhJZ4S5mnSDnwFJdsIQ,1097
5
- source_google_search_console/manifest.yaml,sha256=s7WVxmLhgyobNNovFcHAu6JYKX_4UlqnSID1pC1HKJE,54144
5
+ source_google_search_console/manifest.yaml,sha256=luNdDPiw_wOoZPFEHFiO7sSUH-AG_cpBiRhPses7vGQ,55028
6
6
  source_google_search_console/run.py,sha256=TBkPlseTERarkj6wL8AMEKgm5Xsb2drnltPVH6257-M,2195
7
7
  source_google_search_console/service_account_authenticator.py,sha256=pAWKAXfwfTY3xkXvQJH0EyFphFULdCIcC47YXYTO9X8,1307
8
8
  source_google_search_console/source.py,sha256=TFuafbBg8Nlb-LsYwNSXH1Xcz9U0ELZRX0e3hjCKPzs,7669
9
9
  source_google_search_console/spec.json,sha256=HebTMHop7twcJH6jjgAccYEgg93bTLGsp6jVdMj1x0c,9409
10
- airbyte_source_google_search_console-1.9.0.dist-info/METADATA,sha256=dqntQEZ33A7CkZ8YeSjbWtpglyVDRcw_4328p8Tkxjg,5621
11
- airbyte_source_google_search_console-1.9.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
12
- airbyte_source_google_search_console-1.9.0.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
13
- airbyte_source_google_search_console-1.9.0.dist-info/RECORD,,
10
+ airbyte_source_google_search_console-1.9.1rc1.dist-info/METADATA,sha256=IL1JIyJ0NTPBxv6Awzlry1bajJJEObrV7DwwNdvYh8Y,5624
11
+ airbyte_source_google_search_console-1.9.1rc1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
12
+ airbyte_source_google_search_console-1.9.1rc1.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
13
+ airbyte_source_google_search_console-1.9.1rc1.dist-info/RECORD,,
@@ -58,6 +58,19 @@ definitions:
58
58
  type: "{{ stream_partition.get('search_type') }}"
59
59
  aggregationType: "{{ 'auto' if config.get('always_use_aggregation_type_auto') else parameters.get('aggregationType') }}"
60
60
  dataState: "{{ config.get('data_state', 'final') }}"
61
+ error_handler:
62
+ type: DefaultErrorHandler
63
+ response_filters:
64
+ - type: HttpResponseFilter
65
+ action: RATE_LIMITED
66
+ error_message_contains: "Search Analytics QPS quota exceeded"
67
+ - type: HttpResponseFilter
68
+ action: FAIL
69
+ http_codes:
70
+ - 400
71
+ error_message: >-
72
+ Invalid aggregationType '{{ parameters.get('aggregationType') }}' used in the body of the API request. If you see this error, enable the
73
+ 'always_use_aggregation_type_auto' config setting which will automatically use aggregationType=auto
61
74
  paginator:
62
75
  type: DefaultPaginator
63
76
  page_token_option:
@@ -605,8 +618,8 @@ definitions:
605
618
  request_headers:
606
619
  Content-Type: "application/json"
607
620
  request_body_json:
608
- startDate: "{{ config.get('start_date') }}"
609
- endDate: "{{ config.get('end_date') }}"
621
+ startDate: "{{ config.get('start_date', '2021-01-01') }}"
622
+ endDate: "{{ config.get('end_date', today_utc()) }}"
610
623
  dimensions: ["searchAppearance"]
611
624
  type: "{{ stream_partition.get('search_type') }}"
612
625
  aggregationType: auto
@@ -675,6 +688,9 @@ definitions:
675
688
  error_handler:
676
689
  type: DefaultErrorHandler
677
690
  response_filters:
691
+ - type: HttpResponseFilter
692
+ action: RATE_LIMITED
693
+ error_message_contains: "Search Analytics QPS quota exceeded"
678
694
  - type: HttpResponseFilter
679
695
  action: FAIL
680
696
  http_codes:
@@ -1034,13 +1050,20 @@ dynamic_streams:
1034
1050
  # - Per Project Quota: 30,000,000 req/day (350 req/sec) / 40,000 req/min (60 req/sec)
1035
1051
  #
1036
1052
  # The most likely upper bound is based on the user quota since it is the lowest and the
1037
- # same authenticated user account may hit multiple site urls. The default is set to 40
1038
- # which equates to one request every 2 seconds which seems like a fair baseline.
1039
- #
1053
+ # same authenticated user account may hit multiple site urls.
1054
+ api_budget:
1055
+ type: HTTPAPIBudget
1056
+ policies:
1057
+ - type: MovingWindowCallRatePolicy
1058
+ rates:
1059
+ - limit: 1200
1060
+ interval: PT1M
1061
+ matchers: []
1062
+
1040
1063
  concurrency_level:
1041
1064
  type: ConcurrencyLevel
1042
- default_concurrency: "{{ config.get('num_workers', 40) }}"
1043
- max_concurrency: 100
1065
+ default_concurrency: "{{ config.get('num_workers', 3) }}"
1066
+ max_concurrency: 50
1044
1067
 
1045
1068
  schemas:
1046
1069
  search_analytics_all_fields: