From 7622b8fc5852578fb8cf216cb1e209467fec9148 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Tue, 3 Dec 2019 15:25:50 -0800 Subject: [PATCH] Add comments on iam_policy --- api/resource/iam_policy.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/resource/iam_policy.rb b/api/resource/iam_policy.rb index fe9fe24501b4..5fc14f7e90a4 100644 --- a/api/resource/iam_policy.rb +++ b/api/resource/iam_policy.rb @@ -64,8 +64,12 @@ class IamPolicy < Api::Object # How the API supports IAM conditions attr_reader :iam_conditions_request_type - # Just cloud run things + # Allows us to override the base_url of the resource. This is required for Cloud Run as the + # IAM resources use an entirely different base URL from the actual resource attr_reader :base_url_override + + # Allows us to override the import format of the resource. Useful for Cloud Run where we need + # variables that are outside of the base_url qualifiers. attr_reader :import_format_override def validate