class_docstr: Creates a new ACL entry on the specified object.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:GCSObjectCreateAclEntryOperator`
  
  :param bucket: Name of a bucket.
  :param object_name: Name of the object. For information about how to URL encode object
      names to be path safe, see:
      https://cloud.google.com/storage/docs/json_api/#encoding
  :param entity: The entity holding the permission, in one of the following forms:
      user-userId, user-email, group-groupId, group-email, domain-domain,
      project-team-projectId, allUsers, allAuthenticatedUsers
  :param role: The access permission for the entity.
      Acceptable values are: "OWNER", "READER".
  :param generation: Optional. If present, selects a specific revision of this object.
  :param user_project: (Optional) The project to be billed for this request.
      Required for Requester Pays buckets.
  :param gcp_conn_id: (Optional) The connection ID used to connect to Google Cloud.
  :param impersonation_chain: Optional service account to impersonate using short-term
      credentials, or chained list of accounts required to get the access_token
      of the last account in the list, which will be impersonated in the request.
      If set as a string, the account must grant the originating account
      the Service Account Token Creator IAM role.
      If set as a sequence, the identities from the list must grant
      Service Account Token Creator IAM role to the directly preceding identity, with first
      account from the list granting this role to the originating account (templated).
class_docstr_tok: ["Creates","a","new","ACL","entry","on","the","specified","object",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","GCSObjectCreateAclEntryOperator","`",":","param","bucket",":","Name","of","a","bucket",".",":","param","object_name",":","Name","of","the","object",".","For","information","about","how","to","URL","encode","object","names","to","be","path","safe",",","see",":","https",":","\/\/cloud.google.com\/storage\/docs\/json_api\/","#","encoding",":","param","entity",":","The","entity","holding","the","permission",",","in","one","of","the","following","forms",":","user-userId",",","user-email",",","group-groupId",",","group-email",",","domain-domain",",","project-team-projectId",",","allUsers",",","allAuthenticatedUsers",":","param","role",":","The","access","permission","for","the","entity",".","Acceptable","values","are",":","``","OWNER","''",",","``","READER","''",".",":","param","generation",":","Optional",".","If","present",",","selects","a","specific","revision","of","this","object",".",":","param","user_project",":","(","Optional",")","The","project","to","be","billed","for","this","request",".","Required","for","Requester","Pays","buckets",".",":","param","gcp_conn_id",":","(","Optional",")","The","connection","ID","used","to","connect","to","Google","Cloud",".",":","param","impersonation_chain",":","Optional","service","account","to","impersonate","using","short-term","credentials",",","or","chained","list","of","accounts","required","to","get","the","access_token","of","the","last","account","in","the","list",",","which","will","be","impersonated","in","the","request",".","If","set","as","a","string",",","the","account","must","grant","the","originating","account","the","Service","Account","Token","Creator","IAM","role",".","If","set","as","a","sequence",",","the","identities","from","the","list","must","grant","Service","Account","Token","Creator","IAM","role","to","the","directly","preceding","identity",",","with","first","account","from","the","list","granting","this","role","to","the","originating","account","(","templated",")","."]
code: def execute(self, context: Context) -> None:
      hook = GCSHook(
          gcp_conn_id=self.gcp_conn_id,
          impersonation_chain=self.impersonation_chain,
      )
      FileDetailsLink.persist(
          context=context,
          task_instance=self,
          uri=f"{self.bucket}/{self.object_name}",
          project_id=hook.project_id,
      )
      hook.insert_object_acl(
          bucket_name=self.bucket,
          object_name=self.object_name,
          entity=self.entity,
          role=self.role,
          generation=self.generation,
          user_project=self.user_project,
      )
  
imports: from __future__ import annotations
  import datetime
  import subprocess
  import sys
  import warnings
  from pathlib import Path
  from tempfile import NamedTemporaryFile, TemporaryDirectory
  from typing import TYPE_CHECKING, Sequence
  import pendulum
  from google.api_core.exceptions import Conflict
  from google.cloud.exceptions import GoogleCloudError
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
  from airflow.providers.google.common.links.storage import FileDetailsLink, StorageLink
  from airflow.utils import timezone
label_desc: Use image node_id 2 for calling the GCSObjectCreateAclEntryOperator obj's underlying member method code with example usage: obj.execute(context) without return types