Exemplo n.º 1
0
 def Run(self, args):
     return models_util.SetIamPolicy(models.ModelsClient(), args.model,
                                     args.policy_file)
Exemplo n.º 2
0
def _Run(args):
    with endpoint_util.MlEndpointOverrides(region=args.region):
        return models_util.SetIamPolicy(models.ModelsClient(), args.model,
                                        args.policy_file)