GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.GoogleCloud Class Reference

Handles Google Cloud operations such as project creation, API enabling, and API key generation. More...

Public Member Functions

 GoogleCloud (ICredentials credentials)
string GetProjectName (string projectId)
string CreateProject (string projectName, string projectId=null)
bool EnableApi (string googleProjectId, string serviceId)
bool EnableApi (string googleProjectId, GoogleApi api)
string GenerateApiKey (string googleProjectId)

Detailed Description

Handles Google Cloud operations such as project creation, API enabling, and API key generation.

Definition at line 29 of file GoogleCloud.cs.

Constructor & Destructor Documentation

◆ GoogleCloud()

GenerallyPositive.GoogleCloud.GoogleCloud ( ICredentials credentials)

Definition at line 33 of file GoogleCloud.cs.

Member Function Documentation

◆ CreateProject()

string GenerallyPositive.GoogleCloud.CreateProject ( string projectName,
string projectId = null )

Definition at line 65 of file GoogleCloud.cs.

◆ EnableApi() [1/2]

bool GenerallyPositive.GoogleCloud.EnableApi ( string googleProjectId,
GoogleApi api )

Definition at line 199 of file GoogleCloud.cs.

◆ EnableApi() [2/2]

bool GenerallyPositive.GoogleCloud.EnableApi ( string googleProjectId,
string serviceId )

Definition at line 146 of file GoogleCloud.cs.

◆ GenerateApiKey()

string GenerallyPositive.GoogleCloud.GenerateApiKey ( string googleProjectId)

Definition at line 213 of file GoogleCloud.cs.

◆ GetProjectName()

string GenerallyPositive.GoogleCloud.GetProjectName ( string projectId)

Definition at line 48 of file GoogleCloud.cs.


The documentation for this class was generated from the following file: