1.2.xbranch, but the point is to have docs for that branch as well
AddressSettings addressSettings = AddressSettings.newBuilder() .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Just use the autowired CredentialsProvider.
I have a java-maven project which has a dependency - "spring-cloud-gcp-starter-pubsub"
I want to disable/enable pubsub with a property (not with a profile) but even when I think it is disabled, I see "failed to detect whether we are running on Google Compute Engine" info log.
I tried different properties like below but none of them seems to work. Do you know if any exist? With the dependency added, it always tries to connect.