Globus SDK for JavaScript
    Preparing search index...
    • Parameters

      • configuration: GCSConfiguration
      • Optionaloptions: {
            query?: {
                include?: "all"[];
                marker?: string;
                page_size?: number;
                storage_gateway?: string;
            };
        } & {
            headers?: Headers;
            query?: {
                [key: string]: | string
                | number
                | boolean
                | (string | number | null | undefined)[]
                | null
                | undefined;
            };
        }
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  code?: "success";
                  data?: {
                      connector_id?: string;
                      DATA_TYPE: "user_credential#1.0.0";
                      deleted?: boolean;
                      display_name?: string
                      | null;
                      home_directory?: string;
                      id?: string;
                      identity_id?: string;
                      invalid?: boolean;
                      policies?:
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.0.0";
                              s3_key_id?: string
                              | null;
                              s3_secret_key?: string | null;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.1.0";
                              s3_key_id?: string
                              | null;
                              s3_requester_pays?: boolean;
                              s3_secret_key?: string | null;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.2.0";
                              s3_key_id?: string
                              | null;
                              s3_multi_keys?: (...)[] | null;
                              s3_requester_pays?: boolean;
                              s3_secret_key?: string | null;
                          }
                          | {
                              access_token?: string
                              | null;
                              DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                              email?: string | null;
                              refresh_token?: string | null;
                              scopes?: (...)[];
                              sub?: string | null;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_id?: string;
                              DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                              secret_key?: string;
                          }
                          | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                          | {
                              access_token?: string | null;
                              DATA_TYPE: "box_user_credential_policies#1.1.0";
                              email?: string | null;
                              max_upload?: number;
                              refresh_token?: string | null;
                              scopes?: (...)[];
                              sub?: string | null;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                          | {
                              access_token?: string | null;
                              DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                              email?: string | null;
                              refresh_token?: string | null;
                              root_info?: Record<(...), (...)>;
                              scopes?: (...)[];
                              sub?: string | null;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: string
                              | null;
                              DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                              email?: string;
                              projects?: (...)[];
                              refresh_token?: string | null;
                              scopes?: (...)[];
                              sub?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: string
                              | null;
                              DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                              email?: string | null;
                              refresh_token?: string | null;
                              scopes?: (...)[];
                              sub?: string | null;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                          | {
                              access_token?: string | null;
                              DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                              email?: string | null;
                              refresh_token?: string | null;
                              scopes?: (...)[];
                              sub?: string | null;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                      provisioned?: boolean;
                      storage_gateway_id?: string;
                      username?: string;
                  }[];
              } & (
                  | {
                      code: string;
                      data?: Record<string, unknown>[];
                      DATA_TYPE: "result#1.0.0";
                      detail?: unknown;
                      has_next_page: boolean;
                      http_response_code: number;
                      marker?: string | null;
                      message?: string;
                  }
                  | {
                      authorization_parameters?: { [key: string]: unknown }
                      | null;
                      code: string;
                      data?: Record<string, unknown>[];
                      DATA_TYPE: "result#1.1.0";
                      detail?: unknown;
                      has_next_page: boolean;
                      http_response_code: number;
                      marker?: string | null;
                      message?: string;
                  }
              ),
          >,
      >