components/policy/tools/template_writers/writers/template_writer.py
def GetExpandedPolicyDescription(self, policy):
    '''Returns the expanded description of the policy containing the link to the
    documentation with schema and formatting.
    '''
    schema_description_link_text = self.GetLocalizedMessage(
        'schema_description_link')
    url = None
    if 'url_schema' in policy:
      url = policy['url_schema']
    if (policy['type'] in ('dict', 'external') or
        'validation_schema' in policy or 'description_schema' in policy):
      url = ('https://cloud.google.com/docs/chrome-enterprise/policies/?policy='
             + policy['name'])
    return schema_description_link_text.replace('$6', url) if url else ''
Returns the expanded description of the policy containing the link to the
    documentation with schema and formatting.
    
Returns the expanded description of the policy containing the link to the
documentation with schema and formatting.
Returns the expanded description of the policy containing the link to the documentation with schema and formatting .
def GetExpandedPolicyDescription(self, policy):
    schema_description_link_text = self.GetLocalizedMessage(
        'schema_description_link')
    url = None
    if 'url_schema' in policy:
      url = policy['url_schema']
    if (policy['type'] in ('dict', 'external') or
        'validation_schema' in policy or 'description_schema' in policy):
      url = ('https://cloud.google.com/docs/chrome-enterprise/policies/?policy='
             + policy['name'])
    return schema_description_link_text.replace('$6', url) if url else ''
def GetExpandedPolicyDescription ( self , policy ) : schema_description_link_text = self . GetLocalizedMessage ( 'schema_description_link' ) url = None if 'url_schema' in policy : url = policy [ 'url_schema' ] if ( policy [ 'type' ] in ( 'dict' , 'external' ) or 'validation_schema' in policy or 'description_schema' in policy ) : url = ( 'https://cloud.google.com/docs/chrome-enterprise/policies/?policy=' + policy [ 'name' ] ) return schema_description_link_text . replace ( '$6' , url ) if url else ''
Returns the expanded description of the policy containing the link to the
documentation with schema and formatting.
Returns the expanded description of the policy containing the link to the documentation with schema and formatting .
'''Returns the expanded description of the policy containing the link to the
    documentation with schema and formatting.
    '''
self
policy