Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

IAM Quickstart Sample

This sample demonstrates how to get started using the Google Cloud IAM APIs in C#.

This sample requires .NET Core 2.1 or later. That means using Visual Studio 2017, or the command line.

Links

Build and Run

  1. Follow the set-up instructions in the documentation.

  2. Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Google Cloud IAM API.

  3. Replace the placeholder information in QuickStart.cs with your project-specific information.

  4. From the command line:

    dotnet restore
    dotnet run

    The application should grant the member you inputted the Logs viewer role, print the permissions that they have as a Logs viewer, then revoke their Logs viewer role.

Contributing changes

Licensing