From bfbacd0b4338fd23696d7194ba8076cfdc40bb82 Mon Sep 17 00:00:00 2001 From: Michele Zuccala Date: Thu, 24 Feb 2022 21:59:46 +0100 Subject: [PATCH] :tada: Source Google Workspace Admin Reports: add support for Google Meet Audit Activity Events (#10244) * source(google-workspace-admin-reports): add support for Google Meet Audit activity events Signed-off-by: Michele Zuccala * remove required fields * bump connector version * run format Co-authored-by: marcosmarxm --- .../resources/seed/source_definitions.yaml | 2 +- .../src/main/resources/seed/source_specs.yaml | 2 +- .../source_chargebee/schemas/transaction.json | 658 +++++++++--------- .../Dockerfile | 2 +- .../integration_tests/abnormal_state.json | 3 + .../integration_tests/configured_catalog.json | 12 + .../sample_files/configured_catalog.json | 191 +++++ .../api.py | 5 + .../client.py | 3 +- .../schemas/meet.json | 116 +++ .../sources/google-workspace-admin-reports.md | 1 + 11 files changed, 650 insertions(+), 345 deletions(-) create mode 100644 airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/schemas/meet.json diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 180aaa6d5f61..71f5bf3067f0 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -294,7 +294,7 @@ - name: Google Workspace Admin Reports sourceDefinitionId: ed9dfefa-1bbc-419d-8c5e-4d78f0ef6734 dockerRepository: airbyte/source-google-workspace-admin-reports - dockerImageTag: 0.1.7 + dockerImageTag: 0.1.8 documentationUrl: https://docs.airbyte.io/integrations/sources/google-workspace-admin-reports icon: googleworkpace.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 81336ca9031e..ef47d6600745 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -3022,7 +3022,7 @@ - - "client_secret" oauthFlowOutputParameters: - - "refresh_token" -- dockerImage: "airbyte/source-google-workspace-admin-reports:0.1.7" +- dockerImage: "airbyte/source-google-workspace-admin-reports:0.1.8" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/google-workspace-admin-reports" connectionSpecification: diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json b/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json index 35ef221d6008..ced260d50b47 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json @@ -1,365 +1,341 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", - "name": "Transaction", - "type": "object", - "properties": { - "id": { - "type": ["string", "null"], - "max-length": 40 - }, - "customer_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "subscription_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "gateway_account_id": { + "$schema": "http://json-schema.org/draft-07/schema#", + "name": "Transaction", + "type": "object", + "properties": { + "id": { + "type": ["string", "null"], + "max-length": 40 + }, + "customer_id": { + "type": ["string", "null"], + "max-length": 50 + }, + "subscription_id": { + "type": ["string", "null"], + "max-length": 50 + }, + "gateway_account_id": { + "type": ["string", "null"], + "max-length": 50 + }, + "gateway_account_id": { + "type": ["string", "null"], + "max-length": 50 + }, + "payment_source_id": { + "type": ["string", "null"], + "max-length": 40 + }, + "payment_method": { + "type": ["string", "null"], + "enum": ["card", "cash", "check"] + }, + "refrence_number": { + "type": ["string", "null"], + "max-length": 100 + }, + "gateway": { + "type": ["string", "null"], + "enum": [ + "chargebee", + "stripe", + "wepay", + "braintree", + "authorize_net", + "paypal_pro", + "pin", + "eway", + "eway_rapid", + "worldpay", + "balanced_payments", + "beanstream", + "bluepay", + "elavon", + "first_data_global", + "hdfc", + "migs", + "nmi", + "ogone", + "paymill", + "paypal_payflow_pro", + "sage_pay", + "tco", + "wirecard", + "amazon_payments", + "paypal_express_checkout", + "gocardless", + "adyen", + "orbital", + "moneris_us", + "moneris", + "bluesnap", + "cybersource", + "vantiv", + "checkout_com", + "paypal", + "ingenico_direct", + "exact", + "mollie", + "not_applicable" + ] + }, + "type": { + "type": ["string", "null"], + "enum": ["authorization", "payment", "refund", "payment_reversal"] + }, + "date": { + "type": ["integer", "null"] + }, + "settled_at": { + "type": ["integer", "null"] + }, + "exchange_rate": { + "type": ["integer", "null"] + }, + "currency_code": { + "type": ["string", "null"] + }, + "amount": { + "type": ["string", "null"] + }, + "id_at_gateway": { + "type": ["string", "null"], + "max-length": 100 + }, + "status": { + "type": ["string", "null"], + "enum": [ + "in_progress", + "success", + "voided", + "failure", + "timeout", + "needs_attention" + ] + }, + "fraud_flag": { + "type": ["string", "null"], + "enum": ["safe", "suspicous", "fraudulent"] + }, + "initiator_type": { + "type": ["string", "null"], + "enum": ["costumer", "merchant"] + }, + "three_d_source": { + "type": ["boolean", "null"] + }, + "authorization_reason": { + "type": ["string", "null"], + "enum": ["blocking_funds", "verification"] + }, + "error_code": { + "type": ["string", "null"], + "max-length": 100 + }, + "error-text": { + "type": ["string", "null"], + "max-length": 65000 + }, + "voided_at": { + "type": ["integer", "null"] + }, + "resource_version": { + "type": ["integer", "null"] + }, + "updated_at": { + "type": ["integer", "null"] + }, + "fraud_reason": { + "type": ["string", "null"], + "max-length": 250 + }, + "amount_unused": { + "type": ["string", "null"] + }, + "masked_card_number": { + "type": ["string", "null"], + "max-length": 20 + }, + "reference_transaction_id": { + "type": ["string", "null"], + "max-length": 40 + }, + "refunded_txn_id": { + "type": ["string", "null"], + "max-length": 40 + }, + "reference_authorization_id": { + "type": ["string", "null"], + "max-length": 40 + }, + "amount_capturable": { + "type": ["integer", "null"] + }, + "reversal_transaction_id": { + "type": ["string", "null"], + "max-length": 40 + }, + "deleted": { + "type": ["boolean", "null"] + }, + "iin": { + "type": ["string", "null"], + "max-length": 6 + }, + "last4": { + "type": ["string", "null"], + "max-length": 4 + }, + "merchant_reference_id": { + "type": ["string", "null"], + "max-length": 500 + }, + "linked_invoices": { + "type": ["array", "null"], + "items": { + "type": ["object", "null"], + "properties": { + "invoice_id": { "type": ["string", "null"], "max-length": 50 - }, - "gateway_account_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "payment_source_id": { - "type": ["string", "null"], - "max-length": 40 - }, - "payment_method": { - "type": ["string", "null"], - "enum": [ - "card", - "cash", - "check" - ] - }, - "refrence_number": { - "type": ["string", "null"], - "max-length": 100 - }, - "gateway": { - "type": ["string", "null"], - "enum": [ - "chargebee", - "stripe", - "wepay", - "braintree", - "authorize_net", - "paypal_pro", - "pin", - "eway", - "eway_rapid", - "worldpay", - "balanced_payments", - "beanstream", - "bluepay", - "elavon", - "first_data_global", - "hdfc", - "migs", - "nmi", - "ogone", - "paymill", - "paypal_payflow_pro", - "sage_pay", - "tco", - "wirecard", - "amazon_payments", - "paypal_express_checkout", - "gocardless", - "adyen", - "orbital", - "moneris_us", - "moneris", - "bluesnap", - "cybersource", - "vantiv", - "checkout_com", - "paypal", - "ingenico_direct", - "exact", - "mollie", - "not_applicable" - ] - }, - "type": { - "type": ["string", "null"], - "enum": [ - "authorization", - "payment", - "refund", - "payment_reversal" - ] - }, - "date": { + }, + "applied_amount": { "type": ["integer", "null"] - }, - "settled_at": { + }, + "applied_at": { "type": ["integer", "null"] - }, - "exchange_rate": { + }, + "invoice_date": { "type": ["integer", "null"] - }, - "currency_code": { - "type": ["string", "null"] - }, - "amount": { - "type": ["string", "null"] - }, - "id_at_gateway": { - "type": ["string", "null"], - "max-length": 100 - }, - "status": { - "type": ["string", "null"], - "enum": [ - "in_progress", - "success", - "voided", - "failure", - "timeout", - "needs_attention" - ] - }, - "fraud_flag": { - "type": ["string", "null"], - "enum": [ - "safe", - "suspicous", - "fraudulent" - ] - }, - "initiator_type": { - "type": ["string", "null"], - "enum": [ - "costumer", - "merchant" - ] - }, - "three_d_source": { - "type": ["boolean", "null"] - }, - "authorization_reason": { + }, + "invoice_total": { + "type": ["integer", "null"] + }, + "invoice_status": { "type": ["string", "null"], "enum": [ - "blocking_funds", - "verification" + "paid", + "posted", + "payment_due", + "not_paid", + "voided", + "pending" ] - }, - "error_code": { - "type": ["string", "null"], - "max-length": 100 - }, - "error-text": { + } + } + } + }, + "linked_credit_notes": { + "type": ["array", "null"], + "items": { + "type": ["object", "null"], + "properties": { + "cn_id": { "type": ["string", "null"], - "max-length": 65000 - }, - "voided_at": { - "type": ["integer", "null"] - }, - "resource_version": { + "max-length": 50 + }, + "applied_amount": { "type": ["integer", "null"] - }, - "updated_at": { + }, + "applied_at": { "type": ["integer", "null"] - }, - "fraud_reason": { - "type": ["string", "null"], - "max-length": 250 - }, - "amount_unused": { - "type": ["string", "null"] - }, - "masked_card_number": { - "type": ["string", "null"], - "max-length": 20 - }, - "reference_transaction_id": { + }, + "cn_reason_code": { "type": ["string", "null"], - "max-length": 40 - }, - "refunded_txn_id": { + "enum": [ + "write_off", + "subscription_change", + "subscription_cancellation", + "subscription_pause", + "chargeback", + "product_unsatisfactory", + "service_unsatisfactory", + "order_change", + "order_cancellation", + "waiver", + "other", + "fraudulent" + ] + } + } + } + }, + "cn_create_reason_code": { + "type": ["string", "null"], + "max-length": 100 + }, + "cn_date": { + "type": ["integer", "null"] + }, + "cn_total": { + "type": ["integer", "null"] + }, + "cn_status": { + "type": ["string", "null"], + "enum": ["adjusted", "refunded", "refund_due", "voided"] + }, + "cn_reference_invoice_id": { + "type": ["string", "null"], + "max-length": 50 + }, + "linked_refunds": { + "type": ["array", "null"], + "items": { + "type": ["object", "null"], + "properties": { + "txn_id": { "type": ["string", "null"], "max-length": 40 - }, - "reference_authorization_id": { + }, + "txn_status": { "type": ["string", "null"], - "max-length": 40 - }, - "amount_capturable": { - "type": ["integer", "null"] - }, - "reversal_transaction_id": { + "enum": [ + "in_progress", + "success", + "voided", + "failure", + "timeout", + "needs_attention" + ] + } + } + } + }, + "txn_date": { + "type": ["integer", "null"] + }, + "txn_amount": { + "type": ["integer", "null"] + }, + "linked_payments": { + "type": ["array", "null"], + "items": { + "type": ["object", "null"], + "properties": { + "id": { "type": ["string", "null"], "max-length": 40 - }, - "deleted": { - "type": ["boolean", "null"] - }, - "iin": { - "type": ["string", "null"], - "max-length": 6 - }, - "last4": { - "type": ["string", "null"], - "max-length": 4 - }, - "merchant_reference_id": { - "type": ["string", "null"], - "max-length": 500 - }, - "linked_invoices": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "invoice_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "applied_amount": { - "type": ["integer", "null"] - }, - "applied_at": { - "type": ["integer", "null"] - }, - "invoice_date": { - "type": ["integer", "null"] - }, - "invoice_total": { - "type": ["integer", "null"] - }, - "invoice_status": { - "type": ["string", "null"], - "enum": [ - "paid", - "posted", - "payment_due", - "not_paid", - "voided", - "pending" - ] - } - } - } - }, - "linked_credit_notes": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "cn_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "applied_amount": { - "type": ["integer", "null"] - }, - "applied_at": { - "type": ["integer", "null"] - }, - "cn_reason_code": { - "type": ["string", "null"], - "enum": [ - "write_off", - "subscription_change", - "subscription_cancellation", - "subscription_pause", - "chargeback", - "product_unsatisfactory", - "service_unsatisfactory", - "order_change", - "order_cancellation", - "waiver", - "other", - "fraudulent" - ] - } - } - } - }, - "cn_create_reason_code": { - "type": ["string", "null"], - "max-length": 100 - }, - "cn_date": { - "type": ["integer", "null"] - }, - "cn_total": { - "type": ["integer", "null"] - }, - "cn_status": { + }, + "status": { "type": ["string", "null"], "enum": [ - "adjusted", - "refunded", - "refund_due", - "voided" + "in_progress", + "success", + "voided", + "failure", + "timeout", + "needs_attention" ] - }, - "cn_reference_invoice_id": { - "type": ["string", "null"], - "max-length": 50 - }, - "linked_refunds": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "txn_id": { - "type": ["string", "null"], - "max-length": 40 - }, - "txn_status": { - "type": ["string", "null"], - "enum": [ - "in_progress", - "success", - "voided", - "failure", - "timeout", - "needs_attention" - ] - } - } - } - }, - "txn_date": { - "type": ["integer", "null"] - }, - "txn_amount": { - "type": ["integer", "null"] - }, - "linked_payments": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"], - "max-length": 40 - }, - "status": { - "type": ["string", "null"], - "enum": [ - "in_progress", - "success", - "voided", - "failure", - "timeout", - "needs_attention" - ] - } - } - } - }, - "amount": { - "type": ["integer", "null"] - }, - "date": { - "type": ["integer", "null"] + } } + } + }, + "amount": { + "type": ["integer", "null"] + }, + "date": { + "type": ["integer", "null"] } + } } diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/Dockerfile b/airbyte-integrations/connectors/source-google-workspace-admin-reports/Dockerfile index 95ec5458894e..6f0ad633a34a 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/Dockerfile +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/Dockerfile @@ -34,5 +34,5 @@ COPY source_google_workspace_admin_reports ./source_google_workspace_admin_repor ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.7 +LABEL io.airbyte.version=0.1.8 LABEL io.airbyte.name=airbyte/source-google-workspace-admin-reports diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/abnormal_state.json b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/abnormal_state.json index a478506a2278..10417016c164 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/abnormal_state.json +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/abnormal_state.json @@ -11,6 +11,9 @@ "logins": { "time": "2121-04-05T03:06:30.849Z" }, + "meet": { + "time": "2121-04-05T03:06:30.849Z" + }, "mobile": { "time": "2121-04-05T03:06:30.849Z" } diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/configured_catalog.json index b95cf04bb2e2..2427cc906dbb 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/configured_catalog.json @@ -36,6 +36,18 @@ "cursor_field": ["time"], "destination_sync_mode": "append" }, + { + "stream": { + "name": "meet", + "json_schema": {}, + "supported_sync_modes": ["incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["time"] + }, + "sync_mode": "incremental", + "cursor_field": ["time"], + "destination_sync_mode": "append" + }, { "stream": { "name": "mobile", diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/sample_files/configured_catalog.json b/airbyte-integrations/connectors/source-google-workspace-admin-reports/sample_files/configured_catalog.json index 574e8435b575..f1a5b1d583b7 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/sample_files/configured_catalog.json +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/sample_files/configured_catalog.json @@ -392,6 +392,197 @@ "cursor_field": ["time"], "destination_sync_mode": "append" }, + { + "stream": { + "name": "meet", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "id": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "uniqueQualifier": { + "type": "string" + }, + "applicationName": { + "type": "string" + }, + "customerId": { + "type": "string" + } + }, + "required": [ + "time", + "uniqueQualifier", + "applicationName", + "customerId" + ] + }, + "etag": { + "type": "string" + }, + "actor": { + "type": "object", + "properties": { + "callerType": { + "type": "string" + }, + "email": { + "type": "string" + }, + "profileId": { + "type": "string" + } + }, + "required": ["callerType", "email", "profileId"] + }, + "events": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "intValue": { + "type": "string" + } + }, + "required": ["name", "intValue"] + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"] + } + ] + } + }, + "required": ["type", "name", "parameters"] + } + ] + } + } + }, + "supported_sync_modes": ["incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["time"] + }, + "sync_mode": "incremental", + "cursor_field": ["time"], + "destination_sync_mode": "append" + }, { "stream": { "name": "mobile", diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py index 61f8db4dfa16..ee0cf335d930 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py @@ -178,6 +178,11 @@ class LoginsAPI(ActivitiesAPI): application_name = "login" +class MeetAPI(ActivitiesAPI): + name = "Meet" + application_name = "meet" + + class MobileAPI(ActivitiesAPI): name = "Mobile" application_name = "mobile" diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py index 4d9c47fcc028..d9bcb9784fc2 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py @@ -7,7 +7,7 @@ from airbyte_cdk.sources.deprecated.client import BaseClient -from .api import API, AdminAPI, DriveAPI, IncrementalStreamAPI, LoginsAPI, MobileAPI, OAuthTokensAPI +from .api import API, AdminAPI, DriveAPI, IncrementalStreamAPI, LoginsAPI, MeetAPI, MobileAPI, OAuthTokensAPI class Client(BaseClient): @@ -17,6 +17,7 @@ def __init__(self, credentials_json: str, email: str, lookback: Optional[int] = "admin": AdminAPI(self._api), "drive": DriveAPI(self._api), "logins": LoginsAPI(self._api), + "meet": MeetAPI(self._api), "mobile": MobileAPI(self._api), "oauth_tokens": OAuthTokensAPI(self._api), } diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/schemas/meet.json b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/schemas/meet.json new file mode 100644 index 000000000000..d7599231bc2e --- /dev/null +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/schemas/meet.json @@ -0,0 +1,116 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "id": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "uniqueQualifier": { + "type": "string" + }, + "applicationName": { + "type": "string" + }, + "customerId": { + "type": "string" + } + }, + "required": ["time", "uniqueQualifier", "applicationName", "customerId"] + }, + "etag": { + "type": "string" + }, + "actor": { + "type": "object", + "properties": { + "callerType": { + "type": ["null", "string"] + }, + "email": { + "type": ["null", "string"] + }, + "profileId": { + "type": ["null", "string"] + } + } + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "object", + "anyOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "intValue": { + "type": "string" + } + } + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "boolValue": { + "type": "boolean" + } + } + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "multiValue": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + ] + } + } + } + } + }, + "time": { + "type": "string" + } + } +} diff --git a/docs/integrations/sources/google-workspace-admin-reports.md b/docs/integrations/sources/google-workspace-admin-reports.md index 86057d111bce..6d244239d56e 100644 --- a/docs/integrations/sources/google-workspace-admin-reports.md +++ b/docs/integrations/sources/google-workspace-admin-reports.md @@ -58,6 +58,7 @@ You should now be ready to use the Google Workspace Admin Reports API connector | Version | Date | Pull Request | Subject | | :------ | :-------- | :----- | :------ | +| 0.1.8 | 2022-02-24 | [10244](https://github.com/airbytehq/airbyte/pull/10244) | Add Meet Stream | | 0.1.7 | 2021-12-06 | [8524](https://github.com/airbytehq/airbyte/pull/8524) | Update connector fields title/description | | 0.1.6 | 2021-11-02 | [7623](https://github.com/airbytehq/airbyte/pull/7623) | Migrate to the CDK | | 0.1.5 | 2021-10-07 | [6878](https://github.com/airbytehq/airbyte/pull/6878) | Improve testing & output schemas |