class_docstr: NOTE: This class is auto generated by the swagger code generator program.
  
  Do not edit the class manually.
docstr: Sets the docker_image_pinning_type of this KernelPushRequest.
  
  Which docker image to use for executing new versions going forward.  # noqa: E501
  
  :param docker_image_pinning_type: The docker_image_pinning_type of this KernelPushRequest.  # noqa: E501
  :type: str
docstr_tok: ["Sets","the","docker_image_pinning_type","of","this","KernelPushRequest",".","Which","docker","image","to","use","for","executing","new","versions","going","forward",".","#","noqa",":","E501",":","param","docker_image_pinning_type",":","The","docker_image_pinning_type","of","this","KernelPushRequest",".","#","noqa",":","E501",":","type",":","str"]
code: def docker_image_pinning_type(self, docker_image_pinning_type):
      """Sets the docker_image_pinning_type of this KernelPushRequest.
  
      Which docker image to use for executing new versions going forward.  # noqa: E501
  
      :param docker_image_pinning_type: The docker_image_pinning_type of this KernelPushRequest.  # noqa: E501
      :type: str
      """
      allowed_values = ["original", "latest"]  # noqa: E501
      if docker_image_pinning_type not in allowed_values:
          raise ValueError(
              "Invalid value for `docker_image_pinning_type` ({0}), must be one of {1}".format(  # noqa: E501
                  docker_image_pinning_type, allowed_values
              )
          )
  
      self._docker_image_pinning_type = docker_image_pinning_type
  
imports: import pprint
  import re
  import six
label_desc: Use image node_id 33 for calling the KernelPushRequest obj's underlying member method code with example usage: obj.docker_image_pinning_type(docker_image_pinning_type) without return types