@ SuppressWarnings ( "WeakerAccess" ) public Policy setIamPolicy ( String instanceId , Policy policy ) { return ApiExceptions . callAndTranslateApiException ( setIamPolicyAsync ( instanceId , policy ) ) ; }
Replaces the IAM policy associated with the specified instance .