[go-nuts] Re: Where can I find golang library for google cloud client library for using service account

2017-06-11 Thread prajakta . dandawate
Thank you. I will look into this. 

On Sunday, June 11, 2017 at 7:50:08 AM UTC-7, Dragos Harabor wrote:
>
> If you start chasing the code from a NewClient method, something like 
> https://godoc.org/cloud.google.com/go/bigquery#NewClient, you will end up 
> eventually at golang.org/x/oauth2/google. Reading the doc and code for 
> DefaultCredentials and FindDefaultCredentials may answer all your questions:
> https://godoc.org/golang.org/x/oauth2/google#DefaultCredentials
>
> You may also be interested in joining GCP Slack for these types of 
> specific questions:
> https://gcp-slack.appspot.com/
>
> On Saturday, June 10, 2017 at 11:18:51 PM UTC-7, Prajakta Dandawate wrote:
>>
>> Hello All ,
>>
>> Thank you. 
>>
>> Where do I find the package which uses service account to get the client 
>> and make Compute calls?
>> Is it possible to avoid oAuth/http calls, because if I use Oauth, I have 
>> to worry about getting token and renew.
>> Could anyone tell where is the piece of code which uses service account 
>> json for auth.
>>
>>
>> On Saturday, June 10, 2017 at 7:02:44 PM UTC-7, Dragos Harabor wrote:
>>>
>>> https://godoc.org/cloud.google.com/go
>>>
>>> https://github.com/GoogleCloudPlatform/google-cloud-go
>>>
>>> https://godoc.org/google.golang.org/api
>>>
>>> https://cloud.google.com/go/docs/
>>>
>>>
>>> On Friday, June 9, 2017 at 5:21:04 PM UTC-7, Prajakta Dandawate wrote:
>>>>
>>>> I am looking for the client library for Google cloud platform (for 
>>>> compute/networking, service account etc) equivalent to amazon's
>>>>
>>>> github.com/aws/aws-sdk-go/service 
>>>>
>>>> for Google cloud platform. 
>>>>
>>>>
>>>> After searching on the internet I could not identify and get the right 
>>>> library. 
>>>>
>>>> Please share the link if anyone has.
>>>>
>>>>
>>>> Thank you
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: Where can I find golang library for google cloud client library for using service account

2017-06-11 Thread prajakta . dandawate
Hello All ,

Thank you. 

Where do I find the package which uses service account to get the client 
and make Compute calls?
Is it possible to avoid oAuth/http calls, because if I use Oauth, I have to 
worry about getting token and renew.
Could anyone tell where is the piece of code which uses service account 
json for auth.


On Saturday, June 10, 2017 at 7:02:44 PM UTC-7, Dragos Harabor wrote:
>
> https://godoc.org/cloud.google.com/go
>
> https://github.com/GoogleCloudPlatform/google-cloud-go
>
> https://godoc.org/google.golang.org/api
>
> https://cloud.google.com/go/docs/
>
>
> On Friday, June 9, 2017 at 5:21:04 PM UTC-7, Prajakta Dandawate wrote:
>>
>> I am looking for the client library for Google cloud platform (for 
>> compute/networking, service account etc) equivalent to amazon's
>>
>> github.com/aws/aws-sdk-go/service 
>>
>> for Google cloud platform. 
>>
>>
>> After searching on the internet I could not identify and get the right 
>> library. 
>>
>> Please share the link if anyone has.
>>
>>
>> Thank you
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Where can I find golang library for google cloud client library for using service account

2017-06-09 Thread prajakta . dandawate
I am looking for the client library for Google cloud platform (for 
compute/networking, service account etc) equivalent to amazon's

github.com/aws/aws-sdk-go/service 

for Google cloud platform. 


After searching on the internet I could not identify and get the right library. 

Please share the link if anyone has.


Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.