Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby móc wysyłać żądania do interfejsu Google Drive Activity API, musisz powiadomić Google o swoim kliencie i zezwolić na dostęp do interfejsu API. Można to zrobić za pomocą konsoli Google Cloud do utworzenia projektu, który jest nazwanym zbiorem ustawień i informacji o dostępie do interfejsu API.
Konfigurowanie środowiska
Aby zacząć korzystać z interfejsu Drive Activity API, musisz utworzyć projekt w konsoli Google Cloud, włączyć interfejs API i utworzyć dane logowania.
Zanim zaczniesz korzystać z interfejsów API Google, musisz włączyć je w projekcie Google Cloud.
Możesz włączyć 1 lub więcej interfejsów API w pojedynczym projekcie Google Cloud.
W konsoli Google Cloud włącz interfejs Google Drive Activity API.
Możesz utworzyć dane logowania, korzystając z identyfikatora klienta OAuth lub konta usługi.
Więcej informacji znajdziesz w artykule Tworzenie danych logowania.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2023-09-14 UTC."],[[["To use the Google Drive Activity API, you must first create a Google Cloud project and enable the API."],["You need to create credentials, either an OAuth client ID or a service account, to allow access to the API."],["Setting up your environment involves creating a project, enabling the Google Drive Activity API, and creating credentials for API access."]]],["To use the Google Drive Activity API, first create a Google Cloud project through the Google Cloud console. Next, enable the Google Drive Activity API within that project. Finally, create credentials to access the API, choosing between an OAuth client ID or a service account, as detailed in the \"Create access credentials\" documentation. These steps are necessary to allow client access and send requests to the API.\n"]]