code: def create_google_volume(cls, name, bucket, client_email, private_key,
                               access_mode, description=None, prefix=None,
                               properties=None, api=None):
  
          
          service = {'type': VolumeType.GOOGLE,
                     'bucket': bucket,
                     'credentials': {'client_email': client_email,
                                     'private_key': private_key
                                     }
                     }
          if prefix:
              service['prefix'] = prefix
          if properties:
              service['properties'] = properties
  
          data = {'name': name,
                  'service': service,
                  'access_mode': access_mode
                  }
          if description:
              data['description'] = description
          api = api or cls._API
  
          extra = {
              'resource': cls.__name__,
              'query': data
          }
          logger.info('Creating google volume', extra=extra)
          response = api.post(url=cls._URL['query'], data=data).json()
          return Volume(api=api, **response)
docs: Create s3 volume.
          :param name: Volume name.
          :param bucket: Referenced bucket.
          :param client_email: Google client email.
          :param private_key: Google client private key.
          :param access_mode: Access Mode.
          :param description: Volume description.
          :param prefix: Volume prefix.
          :param properties: Volume properties.
          :param api: Api instance.
          :return: Volume object.