• Parameters

    • configuration: GCSConfiguration
    • Optional options: {
          query?: {
              include?: "all"[];
              storage_gateway?: string;
          };
      } & {
          headers?: Headers;
          query?: {
              [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
          };
      }
    • Optional sdkOptions: SDKOptions

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

Generated using TypeDoc