DriveClient(String, String, DriveScopes) Constructor
Namespace: DevCase.ThirdParty.Google.DriveAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public DriveClient(
string apiFile,
string mailAddress,
DriveScopes scopes
)
Public Sub New (
apiFile As String,
mailAddress As String,
scopes As DriveScopes
)
Dim apiFile As String
Dim mailAddress As String
Dim scopes As DriveScopes
Dim instance As New DriveClient(apiFile,
mailAddress, scopes)
public:
DriveClient(
String^ apiFile,
String^ mailAddress,
DriveScopes scopes
)
new :
apiFile : string *
mailAddress : string *
scopes : DriveScopes -> DriveClient
No code example is currently available or this language may not be supported.
Parameters
- apiFile String
-
The client_secrets.json file generated by Drive API console that contains the OAuthv2 login data
such as the client id, client secret, and redirection URI.
- mailAddress String
-
The mail address to authorize Drive service. (e.g: "yourmail@gmail.com")
- scopes DriveScopes
-
The Drive OAuthv2 scope.